Click here to Skip to main content
15,867,453 members
Please Sign up or sign in to vote.
2.00/5 (2 votes)
See more:
how many types of views in asp.net mvc plz tell me i m new in mvc..........................................................................
Posted
Updated 4-Dec-19 5:15am

This is not a good question. See this link and you will come to know the basics.

Basic Understanding On ASP.NET MVC 4[^]

Regards..
 
Share this answer
 
There is no such thing as types of views.
Views in MVC is what is seen by the user. The controller takes in the user inputs, talks to the Model, does required logics/validations and then renders the required View.
In one case a view can be a mere page with a header saying 'Welcome to MVC', in another case the View can be a complex page having grids, textboxes and stuffs.
So, View is not defined by type, rather it depends upon the user inputs.
Have a look at the below link:
http://www.asp.net/mvc/tutorials/older-versions/views/asp-net-mvc-views-overview-cs[^]

Regards
Anurag
 
Share this answer
 
Comments
Ch Smrutiranjan 3-Mar-15 6:21am    
Also this is helpful : http://blog.falafel.com/types-asp-net-mvc-views/
views are 3 Types
1. model
Business Entity and it is used to represent he application data.

2. Controller
Redirect to the specific view using view()method.

3. view
It's the presentation layer of mvc
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900