Important ASP.Net MVC interview questions and answers

In this blog, I have collected ASP.Net MVC interview questions and answers. For an ASP.Net developer, MVC is very important for interviews in any MNCs. Whether you are a fresher or have .Net MVC development experience, the .Net MVC interview questions given below will prove to be very beneficial for you. Top ASP.Net MVC Interview … Read more

Caching in ASP.Net MVC

In this blog, we will see how to implement caching in MVC?Before writing MVC code for caching, you should be very much clear about “What is Caching?” What is Caching? Cache means to store it in a temp memory for future use. Caching is often used to store information that’s frequently served to users in … Read more

How to use multiple layout pages in MVC application?

In this blog, we will see how to use multiple Layout pages in an MVC application.Layout pages are used to share common designs across all view pages. For eg, header and footer are generally common across the application. In this case, the Layout page is useful. What is a Layout page in MVC? A layout … Read more

Exception Handling in MVC

In this blog, we will see Exception handling in MVC. There are more than one ways to handle an exception in ASP.Net MVC. Let’s see in details below – How to Handle Exception in ASP.Net MVC? As already mentioned above that, we can handle an exception in ASP.Net MVC in multiple ways. We will see … Read more

Areas in ASP.Net MVC

In the previous blog, I wrote about Filters in MVC. In this blog, we will see What is Area in ASP.Net MVC? What is Area in MVC? The Area in MVC is basically a part of the project. It means an application could have the different section such as Admin, Users or Customers, Moderator, Editor, … Read more

Filters in .NET MVC with Example

Filters in .NET MVC

In this article, we will see about Filters in .NET MVC. We will learn what are filters in MVC and where can we use them in our application. So let’s start and learn .NET MVC filters. Previous Chapter: Data Validation and Annotation in .NET MVC What are Filters in .NET MVC? Suppose you have to … Read more

HTML helpers in MVC

HTML Helper methods are predefined methods in ASP.Net MVC to work with HTML forms.HTML helper methods generate specific HTML tags on browser. In this blog, we will see HTML Helpers in details. For eg – HTML helper @Html.TextBoxFor(model=>model.ProductName) output is <input type=”text” name=”ProductName”> Note – ProductName is a property in our Model. Similarly for TextBoxArea, … Read more

What’s new in ASP.Net Core MVC?

In this blog, we will see What’s new in ASP.Net Core MVC?. This is my very first blog on ASP.Net Core MVC. After MVC version 5, ASP.Net Core MVC 1.0 and ASP.Net Core MVC 2.0 has been launched in year 2016 and 2017 respectively. Features of ASP.Net Core MVC? 1. Platform independent The very first … Read more

ViewBag vs ViewData vs TempData

In this article, we will learn about the differences between ViewBag vs ViewData vs TempData. In ASP.NET MVC, ViewBag, View Data and TempData are used for passing information from the controller to view and in the next request. ViewBag and ViewData are practically comparable and it assists us with moving the information from the controller … Read more

Anti-forgery tokens in MVC

In this blog, we will see Anti-forgery tokens in MVC. This is a built-in functionality in MVC given by Microsoft. This is a security aspect in ASP.NET MVC.Previous Blog – Data Annotation in ASP.Net MVC Secure MVC form using Anti-Forgery Token Anti-forgery token is used to secure the application against Cross-Site Request Forgery (CSRF). What … Read more

RSS
YouTube
YouTube
Instagram