Tell me what are the Folders in MVC application solutions?
Submitted by: MuhammadWhen you create a project a folder structure gets created by default under the name of your project which can be seen in solution explorer. Below I will give you a brief explanation of what these folders are for.
☛ Model: This folder contains classes that is used to provide data. These classes can contain data that is retrieved from the database or data inserted in the form by the user to update the database.
☛ Controllers: These are the classes which will perform the action invoked by the user. These classes contains methods known as "Actions" which responds to the user action accordingly.
☛ Views: These are simple pages which uses the model class data to populate the HTML controls and renders it to the client browser.
☛ App_Start: Contains Classes such as FilterConfig, RoutesConfig, WebApiConfig. As of now we need to understand the RouteConfig class. This class contains the default format of the URL that should be supplied in the browser to navigate to a specified page.
Submitted by: Muhammad
☛ Model: This folder contains classes that is used to provide data. These classes can contain data that is retrieved from the database or data inserted in the form by the user to update the database.
☛ Controllers: These are the classes which will perform the action invoked by the user. These classes contains methods known as "Actions" which responds to the user action accordingly.
☛ Views: These are simple pages which uses the model class data to populate the HTML controls and renders it to the client browser.
☛ App_Start: Contains Classes such as FilterConfig, RoutesConfig, WebApiConfig. As of now we need to understand the RouteConfig class. This class contains the default format of the URL that should be supplied in the browser to navigate to a specified page.
Submitted by: Muhammad
Read Online MVC Developer Job Interview Questions And Answers
Top MVC Developer Questions
☺ | Tell me in which assembly is the MVC framework is defined? |
☺ | Explain what are Filters in MVC? |
☺ | Tell us attribute based routing in MVC? |
☺ | Suppose if we have multiple filters, what’s the sequence for execution? |
☺ | Tell us what are the Difference between ViewBag&ViewData? |
Top Coding/Programming Categories
☺ | Python Interview Questions. |
☺ | OOP Interview Questions. |
☺ | Software engineering Interview Questions. |
☺ | PHP Interview Questions. |
☺ | VBA (Visual Basic for Applications) Interview Questions. |