In this article I will help you to understand the CORS (Cross origin resource sharing). And we will understand enabling cors on a web api which I have developed as an example for this article.
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.
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.
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.
ASP.NET MVC Routing
In my previous article I have discussed about the how to display a collection data and how to edit the data. But 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.
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.
In this series of the article I will discuss about the ASP.NET MVC, the concepts and terminologies which we should be aware while working on this wonderful technology. In the first part of the series I will create an ASP.NET MVC application from scratch to display a collection of data in the tabular form. I will add a controller to the application and a corresponding view to the same controller which will be helpful to show the data.While going through the article I will discuss about the important concepts along with code examples. I will use VS 2015 to create the application.