| 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

What is WPF? Why to use WPF?

Windows Presentation Foundation (WPF) is a UI framework that creates desktop client applications. The WPF development platform supports a broad set of application development features, including an application model, resources, controls, graphics, layout, data binding, documents, and security. We can say WPF is API to develop the desktop Applications on .NET Framework. Why Windows Presentation […]

Read More
| by Achyut Kendre | No comments

How to use extensions Method in LINQ?

LINQ also provides you extension methods those can be used to manipulate data, few extension methods are – Where(predicate):- it will get you all instances who satisfies the predicate.OrderBy(fieldname) :- sort the data in ascending orderOrderByDescending(fieldname) :- in descending orderSingle(predicate) : – find single instance who satisfies the predicate, if found returns it, if not […]

Read More
| by Achyut Kendre | No comments

What is LINQ? How to use LINQ ?

Example Code: https://drive.google.com/file/d/1CMK36IwA-9Bfay7H9jg71sBtvuCDnQ0d/view?usp=sharing LINQ is called Language Integrated Query Technology which allow you to query data from various data sources like – Database, XML ,JSON, Entities etc. LINQ is introduced in .NET 3.5 and Visual Studio 2008. The beauty of LINQ is it provides the ability to .NET languages(like C#, VB.NET, etc.) to generate queries […]

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