ASP.NET MVC, MVC, C#, PYTHON, JQUERY

Friday, August 31, 2018

What is Controller in ASP.NET MVC





As you know an MVC application consists of three parts: model, view, and controller. The development of a web application usually required the knowledge of all the three parts.
In ASP.NET MVC Controllers are responsible for processing an incoming user request, executing the appropriate application code and communicating with the model, and rendering the required view.

                            How to Create Controller.

In ASP.NET MVC, controllers handle all incoming request. For creating a controller you need to create a .cs containing the controller class in the controller folder.

public class HomeController :Controller {  //Write Some Code}
Share:

0 comments:

Post a Comment

SOCIAL PROFILES

Search This Blog

Powered by Blogger.

Fixed Menu (yes/no)

yes

Contact Form

Name

Email *

Message *

Tags

Ads Section

Tags

ASP.NET MVC (7) C# (11) jQuery (1)