Understanding Views Basics in MVC 5

In this chapter, you will learn:
1. What is Views in MVC5?
2. How to create View Pages in MVC 5?

In the previous chapter, you learned what the Controller is and How to Create Controller in ASP.NET MVC 5. In this chapter, you will learn about View pages in MVC 5.

Basic Understanding

Views is a folder in MVC structure which contains .cshtml file and design layout which is used in displaying and rendering web pages onto the user’s computers.

The Views folder keeps a separate folder for each controller and each folder keeps different.cshtml pages for all action methods belong to that controller. Views folders name is same as Controllers name and .cshtml pages name same as action methods.

views  
This chapter contains following section to learn:

In the next chapter, you will start creating your first View Pages in ASP.NET MVC 5.

More Articles

 

Share your thought



PLEASE DISABLE ADBLOCKER AND SUPPORT US!

Please support us by enabling ads on this page. Refresh

YOU DON'T LIKE ADS, WE ALSO DON'T LIKE ADS!
 
But we have to show ads on our site to keep it free and updated. We have to pay huge server costs, domain costs, CDN Costs, Developer Costs, Electricity and Internet Bill. Your little contribution will encourage us to regularly update this site.