| by Achyut Kendre | No comments

Model Binding and View Model

Example Link : https://drive.google.com/file/d/1SWHelMUiJLC7ekRcR1DzQkLgybmjuuWT/view?usp=sharing What is Model Binding? ASP.NET MVC model binding allows you to map HTTP request data with a model. It is the process of creating .NET objects using the data sent by the browser in an HTTP request. Model binding is a well-designed bridge between the HTTP request and the C# action […]

Read More
| by Achyut Kendre | No comments

What is View in ASP.NET MVC?

View is responsible for UI part of the application. View is just a file located in folder that is sub folder of views folder which contains UI Code. Link for Example Source Code: https://drive.google.com/file/d/1qgr4DKHx0swBp4BDDD2ul0MBd42t1Fhl/view?usp=sharing View Can contain the UI code it can be server side code with C# and Client Side Code like CSS/HTML/ Images […]

Read More
| by Achyut Kendre | No comments

How to Communicate Data from Action To View?

In this article we will try to understand how to communicate data from controller action to view. Example Source Code: https://drive.google.com/file/d/18rhAi973kxqTGDpnOV3-gh11NDzlePkz/view?usp=sharing Since Controller Action is method and View is file we should have some ways to communicate the result of processing to view to create the presentation we have following options – View Bag View […]

Read More
| by Achyut Kendre | No comments

What is Url Routing? How it works in ASP.NET MVC 5?

Example Link : https://drive.google.com/file/d/1LdPfsfpnRy0BytOUCaLJnauN6_9hRpnR/view The ASP.NET Routing module/Route Engine is responsible for mapping incoming browser requests to particular MVC controller actions. When you create a new ASP.NET MVC application, the application is already configured to use ASP.NET Routing. ASP.NET MVC uses Route Table for routing and Route table contains entires/recors called route and every route […]

Read More
| by Achyut Kendre | No comments

Action Parameters and Return Values

In this article we will learn about action parameters and return values in details – Links to download Source Code :https://drive.google.com/file/d/1pICbI7zaHkLvXVzad_guyNIPU0GBsVAr/view?usp=sharing and https://drive.google.com/file/d/1Vlj-M7RCGnD45gq70gDqNGbztHJR9tWM/view?usp=sharing Action Parameters in ASP.NET MVC Action can have primitive or complex types of parameters. If action has a primitive types of parameter’s by default it will search the values of those parameters […]

Read More
| by Achyut Kendre | No comments

What is Controller & Action?

In previous article we told you that controller is c part of MVC who is responsible for logic part of the application, in this article we will elaborate more about the controller and action. What is Controller? Controller in ASP.NET MVC is just a class located in Controllers folder will have a suffix of Controller […]

Read More
| by Achyut Kendre | No comments

What is ASP.NET MVC 5?

What is design Patterns? Design patterns tells you how to write a code, design patterns provides you some set of guide lines, rules specifications if we follow them it will give us some advantage. Every design pattern has it’s own advantage. Few popular design patterns are – MVC MVP MVVM Repository and many more. What […]

Read More
| by Achyut Kendre | No comments

How to use HTML Helpers in ASP.NET MVC?

Example Code: https://drive.google.com/file/d/1i3fuhlDZ-iWlrvn023UA1WahDNorFUeS/view?usp=sharing Html helpers are the extension methods of HTML Helper class use to generate html in a view. All Html Helpers are divided into following categories – Standard Helpers Strongly Typed Helpers Template Helpers View provides you a built in object called HTML of type Html Helper using which we can call those […]

Read More