In this tutorial I will show you how to upload a files in ASP.NET MVC 4.0. So how to do this?? Lets get start. Create a new MVC 4.0 application and add a new controller, name it as HomeController. We will use Index ActionMethod to write the code to upload the file.
We need two ActionMethod named Index, one is for HttpGet and another for HttpPost. Within the HttpGet ActionMethod we don't need to...
Monday, December 22, 2014
Tuesday, December 16, 2014
Starting with MVC4.0 Razor
In this post I will show you how to create a MVC4.0 project with Razor as a view engine. But before that lets see what is MVC.
MVC stands for Model View Controller.
Model
Responsible for storing and retrieving data
Maintenance of states.
Notification of observers of change in state.
Classes...
Subscribe to:
Posts (Atom)