How to Host ASP.NET Core in Window Service

Did you know that we can host ASP.NET service on Windows with Windows Service without using IIS? The benefit of hosting on Windows Service is that the application will automatically restart after the server reboot. This functionality is implemented using a Worker Service Template that becomes the initial point for writing and building long-running service […]

Read more
ASP.NET Core 6 Hosting with ASPHostPortal

ASPHostPortal is one of the most popular ASP.NET Core hosting providers out there. They host over million domains currently. They offer a wide range of hosting options, plans at different price points, and phenomenal customer support. Whether you’re a small blog, medium-sized business, or large online store, ASPHostPortal has an option for you.  In a […]

Read more
How to Use Entity Framework Connect to SQL Server

This post shows goes through the steps to connect a .NET 6 API to SQL Server using Entity Framework Core, and automatically create/update the SQL Server database from code using EF Core migrations. We’ll start with an example .NET 6 CRUD API from a tutorial I posted recently, it uses the EF Core InMemory db […]

Read more