10. Exception handling in ASP.NET Core Web API using Middleware

This is the 10th article in the ASP.NET with Entity Framework beginner series. In previous articles we covered a lot of basic and necessary things that should be part of any web API project. We did not cover exception handling so far. In this article we will talk about how to configure exception handling in ASP.NET web API. If we throw exceptions, ASP.NET adds extra information like error in line number, inner exception and other details....

2 min · 290 words · Saqib Razzaq

11. Deploy ASP.NET web API and SQL Server to local Docker

In this article we will create docker containers for our web API. Docker containers are very fast, they are not like virtual machines, they only contain bare minimum environment to run the app. When container starts, only our app and its dependencies are initialized. In virtual machines, the whole OS/hardware is virtualized and it takes a lot of time to initialize the virtual machines. That makes Docker containers the ideal choice for virtualization....

11 min · 2283 words · Saqib Razzaq