Posts by nelson correa v. júnior • 11 points
4 posts
-
0
votes1
answer30
viewsA: Regex Data Annotation no dotnet core
If the data structure you are receiving or sending has a hyphen in the key (not the value), then you need to map pro(de)serialize. If it is JSON: [JsonProperty("position-number")] public string…
-
0
votes4
answers424
viewsA: Request with ajax
I wouldn’t shoot emails using an ajax request, simply. Because you don’t create a service (cron job) that runs every 1 hour and picks up all the emails that you haven’t gone through the sending…
-
1
votes2
answers518
viewsA: Ajax always falls into 'error' even when successful (C# MVC5)
This is because you are capturing Exception and giving a Json Re-turn(). When you use Return Json() the http Response is placed with Status Code 20x (success). It’s not because in your json you’re…
-
0
votes2
answers339
viewsA: ASP.net MVC - Save user permissions
Currently the best authentication/authorization model is through a token running it through the request header. There is a specification that addresses this, is the Openid Connect (OIDC). The big…
asp.net-mvcanswered nelson correa v. júnior 11