In this tutorial, we will learn about ASP.NET MVC Models. After this tutorial, you will understand how to add models in ASP.NET MVC application? How to add properties in models? How to attach models’ properties with the controller action method to show data in a view. If you are new to ASP.NET MVC or if you want to know about Controller and view part of asp.net MVC application then see the previous tutorials [Read more…]
- How to add Views in asp.net MVC project.
- How to work with views.
- How to pass values from Controller to View.
- How to manage multiple views with single controller
In this tutorial you will learn Controller part of the ASP.NET MVC application. Basically, MVC has three parts Models, Views, and Controllers. Now you are going to learn the basics of asp.net mvc controller, ignoring models and views for a bit. After this tutorial you will be able to understand how MVC controller works and how to add action or methods in a controller class with single parameter or multiple parameters. [Read more…]
In this tutorial, we will make a simple ASP.NET MVC web application using empty project. This application will show a statement “Hello world..! Congratulation you have created your first ASP.NET MVC Web Application” using visual studio 2015. After this tutorial, you will be able to know how to create an asp.net mvc web application project, how to run a project on visual studio, and will also know that the purpose of every folder and file in empty project. [Read more…]