Asp net mvc interview questions


SUBMITTED BY: Guest

DATE: Jan. 23, 2019, 6:33 p.m.

FORMAT: Text only

SIZE: 2.4 kB

HITS: 226

  1. Asp net mvc interview questions
  2. => http://mebanklongtif.nnmcloud.ru/d?s=YToyOntzOjc6InJlZmVyZXIiO3M6MjE6Imh0dHA6Ly9iaXRiaW4uaXQyX2RsLyI7czozOiJrZXkiO3M6MzE6IkFzcCBuZXQgbXZjIGludGVydmlldyBxdWVzdGlvbnMiO30=
  3. Separation of concern means we divide the application Model, Control and View. Four attributes — Required, String Length, Regular Expression and Range are used to cover the common validation scenarios. The code will stop working if the control id is changed in the source web form.
  4. We can replace the default implementation with our own container. Answer: Cookies are a State Management Technique that can store the values of control after a post-back. It also improves page ranking in search engines.
  5. TempData is used when the data is to be used in two consecutive requests, this could be between the actions or between the controllers. Any Client Downstream Server None ServerAndClient Answer: RenderSection is a method of the WebPageBase class. View state is data used to preserve page values and control values of Web Forms during postbacks. What response will it output? Example: ValidationSummary to display field errors: Html. To handle these requests you can register custom display modes.
  6. Latest 50 MVC Interview Questions - If you can share your question in the comment below.
  7. It manipulates the updates that model reflect at every change of the state of an application. It sends the request to View as a response or to Model. It acts as a mediator between Model and View. Request flow handles the request from the clients and passes it to the server. The Request flow is as follows: -Request is being taken from User to controller. User sends a request to the server. The request is processed depending on the file extension. In case of the first request there is a class called ApplicationManager gets created and it also creates the application domain where the website can run. The application that is created creates a hosting environment using HttpRuntime object. With these the core components like HttpContext, HttpRequest and HttpResponse also gets created. These objects that are created provide the response to the request. The object that is assigned to the process page is called as HttpApplication. This process starts the processing of the request that is handled by the Http module events.

comments powered by Disqus