|
You are here |
aspnetboilerplate.com | ||
| | | | |
blog.codefarm.me
|
|
| | | | | Model validation is a crucial aspect of building robust ASP.NET Core applications, ensuring data integrity and providing a smooth user experience. This post explores the various mechanisms for validating data, from built-in attributes and custom validation logic to handling non-nullable reference types and top-level node validation. 1. Model state 2. Validation 3. Validation attributes 4. Error messages 5. Non-nullable reference types and [Required] attribute 6. Custom attributes 7. Refereces 1. Model state Model state represents data binding and validation errors that occur before action execution, which web apps typically handle by redisplaying pages, while ApiController-decorated Web APIs automatically return a 400 response. [ApiController] [Route("api/[c... | |
| | | | |
www.claudiobernasconi.ch
|
|
| | | | | Minimal APIs allow you to create HTTP APIs with minimal dependencies and a minimal number of files. Learn about Minimal APIs. | |
| | | | |
www.kallemarjokorpi.fi
|
|
| | | | | I gathered to this blog post a list of external libraries that I usually add to a greenfield .NET API project. | |
| | | | |
perlhacks.com
|
|
| | | The London Perl Mongers have had a website for a very long time. Since some time in 1998, I think. At first, I hosted a static site for us. Later on, we bought our own server and hosted it at a friendly company around Silicon Roundabout. But for most of the lifetime of the organisation, | ||