41.Can a view be shared across multiple controllers? If Yes, How we can do that? Yes we can share a view across multiple controllers. We can put the view in …
Interview Questions and AnswersMVCTechnical Interview Questions and Answers
41.Can a view be shared across multiple controllers? If Yes, How we can do that? Yes we can share a view across multiple controllers. We can put the view in …
31.How to change the action name in ASP.Net MVC? “ActionName” attribute can be used for changing the action name. Below is the sample code snippet to demonstrate more : [ActionName(“TestActionNew”)] …
21.What are HTML Helpers in ASP.Net MVC? HTML Helpers are like controls in traditional web forms. But HTML helpers are more lightweight compared to web controls as it does not …
11.What are Actions in ASP.Net MVC? Actions are the methods in Controller class which is responsible for returning the view or json data. Action will mainly have return type : …
1.Breifly explain us what is ASP.Net MVC? ASP.Net MVC is a pattern which is used to split the application’s implementation logic into three components i.e. models, views, and controllers.