sonodan.
✅ Authentication with Cookies
ah it seems I was misunderstanding. I thought the fallback signin schema meant the type of schema, for instance cookie or JWT. I didn't realize it had to match one of the names of the schemas adding, i thought it meant the type
18 replies
Structuring SQL database to accommodate models
I'm using Dapper on this project, though I am contemplating a switch to EF as since then I've read this is general used more widely. In the interim, I'm looking up an equivalent to navigation properties in Dapper. Do you have any recommended reading resources on the approach you mentioned?
6 replies
Using SQL db to create object ID or application?
Thanks for the responses all. So when I insert a new record into the DB and it will create the ID, I need to read that ID back to memory so I can attached it to my object
Id
property. Is it ok to use the "output" SQL command when I use insert to return this value each time, or is there a better practice?15 replies
Http 400 Bad Request Response [Answered]
i replicated an eventmodel as a record as you did, without any properties that are custom classes, and it serializes and gives a 200 response -- so I figure this issue is somehow related to either me using a value type instead of reference, or the fact i've got classes that have custom properties?
I will update my code in general to follow the practices you showed in yours
139 replies
Http 400 Bad Request Response [Answered]
I was using newtonsoft to originally serialize the object into JSON for the HttpClient transport - but then you explained that the point of 'PostAsAsync' is that is deserializes for you, so I removed that part of the code but forgot to remove packrefernece
139 replies