AtomicLiquid
❔ How to properly design microservice architecture in ASP Net Core?
I'm gonna try to add to what Anton has already written, and my takes on it:
I'm not an expert on this, but these are my two cents after working with microservices for the last 4-5 years based on my own experiences.
28 replies
❔ JSON Serialization Weird Model
Yeah,
Object
should and Fields
could be renamed to something more accurate of what you're trying to achieve using this model, just remember to annotate them properly within the parent component, e.g [JsonProperty("Object")]
.49 replies
✅ Dapper InsertAsync fails on Postgres with relation does not exist
Yeah, definitely seems like there's trade-offs no matter how I decide to name the tables. If I decide to not add the column annotation and rename all tables and fields to camel case, I will still face the same problems when I change back to using a MySQL database...
20 replies
✅ Dapper InsertAsync fails on Postgres with relation does not exist
Yep, definitely is sort of a dangerous road to tread...
Over to the original issue again, I am now facing an issue with the CRUD operations from Dapper again, is that it seems that I have to add the Column annotation for every single field within the database model, because it defaults to lowercase.
We're creating a tool that will be used by several different server admins, and it's open-source. This makes the solution of adding the
quote_ident
setting to the conf file a bit tedious for the users using our tool. Does this mean we should consider using camelCase throughout the tables and fields instead of capitalizing the first letter? Or is there another way?20 replies
✅ Dapper InsertAsync fails on Postgres with relation does not exist
Not sure if this is your expertise, but how would I go about creating Dapper queries that will work for several different database types, such as MSSQL, SQLite, MySQL etc? What do I have to keep in mind?
20 replies