This questions tests your hands on experience with Razor View Engine - the new View Engine in ASP.NET MVC 3 framework.
The answer is to use parenthe ...
Search results for mvc
Answer
The solution is in depended from MVC.NET framework and universal across server-side technologies. Most modern AJAX applications utilize XmlH ...
What is namespace of asp.net mvc?
Posted by CMaster
Answer:
ASP.NET MVC namespaces and classes are located in the System.Web.Mvc assembly.
System.Web.Mvc namespace
Contains classes and interfaces that ...
Repository pattern is usefult for decoupling entity operations form presentation, which allows easy mocking and unit testing.
“The Repository will ...
How would you exclude ID and Name DB fields from binding to your object in ASP.NET MVC?
Posted by CommonInterview
Answer:
Exclude take comma separated list, so your attribute to exclude ID and Name would look like following:
[Bind(Exclude="ID,Name")] ...
Answer:
You should pass data by using ViewData.
More on ScottG blog
http://weblogs.asp.net/scottgu/
You should pass data by using ViewData.
More on ScottG blog
http://weblogs.asp.net/scottgu/
What are the main ASP.Net MVC action results and their uses? Which one have you used?
Posted by CommonInterview
ContentResult
EmptyResult
FileResult
FileContentResult
FilePathResult
FileStreamResult
HttpUnauthorizedResult
JavaScriptResult
JsonResult
Redi ...
What is edmx file?
Posted by CommonInterview
Actually it is loosely related to MVC. An .edmx file is an XML file that defines an Entity Data Model (EDM), describes the target database schema, and ...
