Tuesday, 26 June 2018

How to use multiple layout pages in MVC application?

In this blog, we will see how to use multiple Layout page in MVC application.

Thursday, 21 June 2018

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 ...

Tuesday, 19 June 2018

Areas in ASP.Net MVC

In the previosu blog, I wrote about Filters in MVC . In this blog, we will see What is Area in ASP.Net MVC?

Understanding ASP.Net MVC Filters

In ASP.Net MVC , a filter executes before or after executing an action method. Basically, Filter in MVC is a custom class where we can writ...

Thursday, 14 June 2018

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 brow...

Wednesday, 13 June 2018

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.

Saturday, 9 June 2018

ViewData vs ViewBag vs TempData

ViewData, ViewBag and TempData in ASP.Net MVC. Let's see the differences among these using code implementation.

Tuesday, 5 June 2018

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 ...

MVC data annotation for Model Validation

In this blog, we will see how data annotation work in MVC . We will also see how we can implement form validation using Data Annotation for ...

Monday, 4 June 2018

Microsoft acquires GitHub - World's largest source code platform

Today, we announced an agreement to acquire GitHub, the world’s leading software development platform. I want to share what this acquisiti...

What is ViewModel? Use more than one model in View using View Model.

In the previous blog, I wrote about How to Pass data to View? In this blog, we will see What is ViewModel and How to use it?

How to pass data from Controller to Views

In this blog, we will see how Controller interacts with View in ASP.Net MVC . In another way, we can say - How to pass data from Controller ...

Saturday, 2 June 2018

Error- This configuration section cannot be used at this path.This happens when the section is locked at a parent level.

Recently I installed Windows 10 and started developing application in MVC5. I hosted my application in IIS, but it was throwing below error ...

Attribute Routing in ASP.NET MVC 5

As you know, Routing is the important building block in ASP.NET MVC application. Apart from convention-based routing, MVC 5 supports attri...

How to add constraints in MVC Route

In my earlier blogs, I wrote about Routing in MVC and ActionResult in MVC In this blog, I will write about - How to add constraints in MVC...

Friday, 1 June 2018

ActionResult in MVC

Controllers executes all incoming requests using Action method. An ActionMethod may return different type of result. In this blog, we will ...