Interview questions and answers for 3-8 year experience

What is the difference between an abstract class and interface? When would you want to use them? OOP Concepts practical questions example in C# Static Class in C# What are Anonymous methods? What is the difference between Finalize()and Dispose()? What is the difference between ref and out parameters? What is the difference between Var, object […]

Read More

Global Exception Handling in ASP.NET Core WEB API

In my previous post, I have used multiple ways (Exception filter, Global.asax, OnException at Controller etc.,) to implement exception handling in Asp.Net MVC. Asp.Net Core comes with many in-built and ready to use middleware, and you can add them to your application in the Startup class Configure method. One of the in-bulit ASP.NET Core diagnostic […]

Read More

Exception handling in ASP.NET MVC

In this article, we will learn how to use exception handling in Asp.Net MVC and which one is the best technique and why. In Asp.Net MVC, we can handle exception by multiple way as below Try Catch block:- It is the traditional way to handle exception. In this way, we simply use the try and […]

Read More