Vensoft Knowledge Hub

< All Topics
Print

ASP Dot Net Interview Questions

[vc_tta_accordion style=”modern” color=”sky” spacing=”3″ gap=”3″ active_section=”1″][vc_tta_section title=”What is ASP.Net?” tab_id=”1617801187722-50877aa1-4813″]

It is a framework developed by Microsoft on 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.

[/vc_tta_section][vc_tta_section title=”What’s the use of Response.Output.Write()?” tab_id=”1617801187738-6c8b89c3-b0bb”]

We can write formatted output using Response.Output.Write().

[/vc_tta_section][vc_tta_section title=”In which event of page cycle is the ViewState available?” tab_id=”1617803442906-3a125849-6dae”]

After the Init() and before the Page_Load().

[/vc_tta_section][vc_tta_section title=”What is the difference between Server.Transfer and Response.Redirect?” tab_id=”1617803485958-236d83b4-f030″]

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.

[/vc_tta_section][vc_tta_section title=”From which base class all Web Forms are inherited?” tab_id=”1617803529061-3d1b4acf-164c”]

Page class.

[/vc_tta_section][/vc_tta_accordion]