ASP.Net Interview Questions
Question: What id full form of ASP?
Answer: Full-Form of ASP is Active Server Pages.
Question: What id ASP.Net ?
Answer: ASP.NET is a web application framework designed and developed by Microsoft. ASP.NET is open source and a subset of the .net Framwork and successor of the classic ASP(Active Server Pages). With version 1.0 of the .NET Framework, it was first released in January 2002. ASP.NET is Microsoft's framework to build Web applications.ASP.Net is based on Client-Server technology the Client being the Browser which sends request and the Server which has the ASP.Net Code executes the request.
Question: Where is an ASP.Net Application installed?
Answer: ASP.Net is Client-Server based technology the Client being the Browser which sends call or requisition and the Server which has the ASP.Net Code executes the call or requisition that is send by the Browser. ASP.Net Applications installed on a Windows Server machine with the Internet Information Services (IIS) application.
Question: What is the meaning of ViewState in ASP.Net?
Answer: ViewState is used to manage the State of a Web Page. ViewState data is stored in Hashed Format in a Hidden Field on the Web Page. ViewState helps save the values of Field Form across PostBacks.
Question: What is the meaning of PostBack in ASP.Net?
Answer: In website development, a postback is the Exchange/Swap of information between servers to report a user's action on a website, network. PostBack is an ASP.Net term for Form Submission. When User clicks a Submit Button, the Form data is sent to the Server for processing, this process is called PostBack.
Question: What is the meaning of Session in ASP.Net?
Answer: Session is used to store value on Server Side in ASP.Net. Session is User-Specific means the data is not shared and it is unique for each User. A Session object stores information about, or change settings for a user session.
Question: What is the Web.config file?
Answer: Web.config file Stores configuration settings for an ASP.NET application. A configuration file (web.config) is used to manage various settings that define a website. ASP.NET Configuration system is used to describe the properties and behaviors of various aspects of ASP.NET applications.
Question: What is the difference between Server.Transfer and Response.Redirect?
Answer: Server.Transfer redirects within the server, Response.Redirect sends a client-side redirect. Server.Transfer Transfers control to another page on the server without involving the browser. The original page's context (e.g., form data, query string) is passed to the new page. Response.Redirect Sends a 302 (or 301 for permanent redirects) HTTP status code to the browser, instructing it to request a different URL
Comments
Post a Comment