ASP.NET Core

ASP.NET Core Prerequisites and First Web Application

Hello, In this article I will discuss about the latest .NET framework introduced by Miscrosoft. The latest framework is known as .NET core. I will discuss about the prerequisites to get started with ASP.NET core. We will develop our first web application in the newly introduced framework.

Continue reading

WebAPi Get Request

First ASP.NET Web API with GET request

In this article I will discuss about the need of the ASP.NET Web API along with the development of the first Web API application. The WEBAPI application which I will develop will support GET method.

Continue reading

The view 'Index' or its master was not found or no view engine supports the searched locations

Adding ASP.NET MVC view for Action Method

Do you know how to add the ASP.NET MVC View for a action method in the MVC project? or How does ASP.NET MVC engine searches for a view. Let’s develop a simple ASP.NET MVC application from scratch with controller and action in C# to find answer to these questions.

Continue reading

ASP.NET MVC Partial View Best Example

In my previous article I have discussed about the display of data collection, editing of data uaing HTTPPOST and routing in ASP.NET MVC. In this article I want to discuss about the asp,net mvc partial view. How to create partial view and where to use them. A partial view allows to put the C# and HTMl code into the file which can be used across multiple views in the same application. In the end of the article I will show the use of ChildActionOnly attribute for the action methods.

Continue reading

ASP.NET MVC Routing Explained with Example

ASP.NET MVC Routing

In my previous article I have discussed about the how to display a collection data and how to edit the dataBut one of the important concept of the ASP.NET MVC is directing of the request to the proper controller. I will ponder over this important concept of asp.net mvc routing with code examples in this article which will make you understand about it. I will also show how we can add default routes to handle the request from client applications.

Continue reading

Editing data in ASP.NET MVC with HttpPost

Editing the data in ASP.NET MVC

In my previous article I have shown how we can create an application to display a data collection in the ASP.NET MVC application. The beauty of ASP.NET MVC is that it takes care of all the plumbing and binding of the Model and View by itself but we should be aware of what is happening. This article is in continuation of the previous article. In this article we will see how we can Edit the data which we have created in the last application with code examples and we will learn about the HTML helpers and how they can be helpful in creating web application.

Continue reading