gio735
Explore posts from serversEF-Core unable to create migration
just got home and it worked, but I just don't understand why it stopped working the way it was, also for
update-database
instead of package manager just ran code normally so context.Database.Migrate();
could do the work and it did just fine. Any idea what could cause it?15 replies
✅ AutoValidateForgeryToken with fetch API
Sorry, I couldn't see the message. I just added it to the fetch() headers and as value gave
'@Html.AntiForgeryToken()'
.
made it work by adding @Html.AntiForgeryToken()
as a element and setting it's value as RequestVerificationToken
header3 replies
I'm having problem making a post in swagger. Its a one to many relationship where "Produto" is one.
If you want to pass that collection then just passing an empty one should fix your problem, but if you are not expecting it at all I believe it's better to make a new model for request which doesn't contain it at all
18 replies
Unable to get localization to get to work in MVC .net8
To create cookie and assign value, I'm using method almost same as shown in Microsoft documentation
right now I changed value of cookie manually and refreshed the page, but it's same, also would replacing it with
$"c={culture}|uic={culture}"
be appropriate?8 replies