• ¿Documento equivocado? Cámbialo gratis
  • Escrito por estudiantes que aprobaron
  • Inmediatamente disponible después del pago
  • Leer en línea o como PDF
Vender
¿Dónde estudias?
Tu idioma
Document preview thumbnail
Vista previa 2 fuera de 8 páginas
Examen

ASP Net Questions Already Rated A+

Document preview thumbnail
Vista previa 2 fuera de 8 páginas

ASP Net Questions Already Rated A+ What is ASP.Net? It is a framework developed by Microsoft in which we can develop new generation web sites using web forms(aspx), MVC, HTML, Javascript, CSS etc. Its successor of Microsoft Active Server Pages(ASP). Currently there is ASP.NET 4.0, which is used to develop web sites. There are various page extensions provided by Microsoft that are being used for web site development. Eg: aspx, asmx, ascx, ashx, cs, vb, html, XML etc. What's the use of Response.Output.Write()? Response.Output.Write(). We can write formatted output using In which event of page cycle is the ViewState available? Page_Load(). After the Init() and before the What is the difference between Server.Transfer and Response.Redirect? In Server.Transfer page processing transfers from one page to the other page without making a round-trip back to the client's browser. This provides a faster response with a little less overhead on the server. The clients url history list or current url Server does not update in case of Server.Transfer. Response.Redirect is used to redirect the user's browser to another page or site. It performs trip back to the client where the client's browser is redirected to the new page. The user's browser history list is updated to reflect the new address From which base class all Web Forms are inherited? What are the different validators in ASP.NET? Page class. 1.Required field Validator 2. Range Validator 3. Compare Validator 4. Custom Validator 5. Regular expression Validator 6. Summary Validator Which validator control you use if you need to make sure the values in two different controls matched? Compare Validator control. ViewState is used to retain the state of server-side objects between page post What is ViewState? backs. Where the viewstate is stored after the page postback? ViewState is stored in a hidden field on the page at client side. ViewState is transported to the client and back to the server, and is not stored on the server or any other external source. How long the items in ViewState exists? They exist for the life of the current page. What are the different Session state management options available in ASP.NET? 2. Out-of-Process. In-Process stores the session in memory on the web server. 1. In-Process Out-of-Process Session state management stores data in an external server. The external server may be either a SQL Server or a State Server. All objects stored in session are required to be serializable for Out-of-Process state management. How you can add an event handler? e.g. Using the Attributes property of server side control. btnSubmit.Attributes.Add("onMouseOver","JavascriptCode();") 1 btnSubmit.Attributes.Add("onMouseOver","JavascriptCode();") What is caching? Caching is a technique used to increase performance by keeping frequently accessed data or files in memory. The request for a cached file/data will be accessed from cache instead of actual location of that file. What are the different types of caching? Output Caching, Fragment Caching, Data Caching. Which type if caching will be used if we want to cache the portion of a page instead of whole page? Fragment Caching: It caches the portion of the page generated by the request. For that, we can create user controls with the below code: %@ OutputCache Duration="120" VaryByParam="CategoryID;SelectedID"% List the events in page life cycle. 2) Page_Init 3) Page_InitComplete 4) Page_PreLoad 5) Page_Load 6) Page_LoadComplete 7) Page_PreRender 8)Render 1) Page_PreInit Can we have a web application running without web.Config file? Yes. Is it possible to create web application with both webforms and mvc? Yes. We have to include below mvc assembly references in the web forms application to create hybrid application.


Información del documento

Subido en
26 de febrero de 2024
Número de páginas
8
Escrito en
2023/2024
Tipo
Examen
Contiene
Preguntas y respuestas
$12.99

¿Documento equivocado? Cámbialo gratis Dentro de los 14 días posteriores a la compra y antes de descargarlo, puedes elegir otro documento. Puedes gastar el importe de nuevo.
Escrito por estudiantes que aprobaron
Inmediatamente disponible después del pago
Leer en línea o como PDF

Seller avatar
Los indicadores de reputación están sujetos a la cantidad de artículos vendidos por una tarifa y las reseñas que ha recibido por esos documentos. Hay tres niveles: Bronce, Plata y Oro. Cuanto mayor reputación, más podrás confiar en la calidad del trabajo del vendedor.
CertifiedGrades
3.9
(38)
Vendido
149
Seguidores
61
Artículos
8729
Última venta
2 meses hace




Por qué los estudiantes eligen Stuvia

Creado por compañeros estudiantes, verificado por reseñas

Calidad en la que puedes confiar: escrito por estudiantes que aprobaron y evaluado por otros que han usado estos resúmenes.

¿No estás satisfecho? Elige otro documento

¡No te preocupes! Puedes elegir directamente otro documento que se ajuste mejor a lo que buscas.

Paga como quieras, empieza a estudiar al instante

Sin suscripción, sin compromisos. Paga como estés acostumbrado con tarjeta de crédito y descarga tu documento PDF inmediatamente.

Student with book image

“Comprado, descargado y aprobado. Así de fácil puede ser.”

Alisha Student

Preguntas frecuentes

Ups! No podemos cargar tu documento ahora. Inténtalo de nuevo o contacta con soporte.