Returning Status Codes in an ASP.Net MVC Core Controller
There are a few ways to return different status codes in an ASP.Net MVC Core controller. Simplified Helper Methods Some helper methods for the most common codes (there may be [...]
There are a few ways to return different status codes in an ASP.Net MVC Core controller. Simplified Helper Methods Some helper methods for the most common codes (there may be [...]
When using Identity in ASP.Net Core, it can be useful to seed some data for testing purposes. How to go about that is not entirely obvious, given that the tables [...]
https://haacked.com/archive/2011/01/06/razor-syntax-quick-reference.aspx/
Because .NET Standard is implemented by later versions of the .NET Framework and .NET Core, these two very different project types can actually play nicely together. (I think of .NET [...]
This example demonstrates how to create & configure an ASP.Net Core 3.1 MVC project with Entity Framework. I've included instructions on adding the appropriate NuGet packages, setting up the connection [...]
This example demonstrates how to add an Entity Framework Core database context as a service using Dependency Injection (a form of Inversion of Control) in ASP.Net MVC Core 3.1. I've [...]
This is a very incomplete post with some quick & dirty notes about serializing objects in ASP.Net WebForms. All included code is VB.Net. Default ASP.Net serialization Classes must have annotation [...]
When building applications with ASP.Net Core and Entity Framework, Microsoft often recommends in their official training (including course 20486D) that developers use the Repository Pattern to further abstract Entity Framework. [...]
This example demonstrates how to add an Entity Framework Core database context as a service using Dependency Injection (a form of Inversion of Control) in ASP.Net MVC Core 2, with [...]
In a console or Windows Forms app, it would be common to load an object from the database, work with it a bit, then save it. But with WebForms, the [...]