/explore
|
You are here |
aspnetboilerplate.com | ||
| | | | |
www.claudiobernasconi.ch
Minimal APIs allow you to create HTTP APIs with minimal dependencies and a minimal number of files. Learn about Minimal APIs. |
|
| | | | | ||
| | | | |
benfoster.io
The next in my series on building multi-tenant applications with ASP.NET Core, this post looks at how to achieve database isolation with Entity Framework Core, using a database-per-tenant strategy. |
|
| | | | | ||
| | | | |
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.rootstrap.com
|
|
| | | |||