What is ViewStart Page in ASP.Net MVC?



What is ViewStart Page in ASP.Net MVC?..

Answer / Moh Sharif Khan

ViewStart is a special Razor view in ASP.Net MVC that gets executed before every view is rendered by the engine. It allows developers to apply common layouts, include shared scripts or styles, or set application-wide variables for all views.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Dot Net Framework Interview Questions

How do you specify comments using razor syntax?

1 Answers  


What are attributes

1 Answers  


How do assemblies find each other?

2 Answers  


what is split entity?

1 Answers   Microsoft,


Which is the base class for .net Class library?

12 Answers   Sonata, TCS,


Describe the gac in the .net framework.

1 Answers  


I have a GridView on web form, and a column in a grid is a linkbutton to open popup..., my problem is when i click on link button in a gridview popup opens as well works fine. but when i click on link button once again my popup window doesnt open. Can any one help please...

2 Answers  


Explain something about model, view and controllers in asp.net mvc?

1 Answers  


Briefly describe the roles of clr in .net framework?

1 Answers  


Explain the .net framework.

1 Answers  


What is GC (Garbage Collection) and how it works

1 Answers  


Mention the core components of .net framework?

1 Answers  


Categories