What is the basic difference between ASP and ASP.NET?
Ans- The basic difference between ASP and ASP.NET is that ASP is interpreted; whereas, ASP.NET is compiled. This implies that since ASP uses VBScript; therefore, when an ASP page is executed, it is interpreted. On the other hand, ASP.NET uses .NET languages, such as C# and VB.NET, which are compiled to Microsoft Intermediate Language (MSIL).
How can we identify that the Page is Post Back?
What is the lifespan for items stored in ViewState?
Ans- The basic difference between ASP and ASP.NET is that ASP is interpreted; whereas, ASP.NET is compiled. This implies that since ASP uses VBScript; therefore, when an ASP page is executed, it is interpreted. On the other hand, ASP.NET uses .NET languages, such as C# and VB.NET, which are compiled to Microsoft Intermediate Language (MSIL).
How can we identify that the Page is Post Back?
Ans- Page object has an "IsPostBack" property, which can be checked to know that is the page posted back.
What is the lifespan for items stored in ViewState?
Ans- The items stored in ViewState live until the lifetime of the current page expires including the postbacks to the same page.
How information about the user's locale can be accessed?
How information about the user's locale can be accessed?
Ans- The information regarding a user's locale can be accessed by using the System.Web.UI.Page.Culture property.
What is the difference between SQL notification and SQL invalidation?
What is the difference between SQL notification and SQL invalidation?
Ans- The
SQL cache notification generates notifications when the data of a
database changes, on which your cache item depends. The SQL cache
invalidation makes a cached item invalid when the data stored in a SQL
server database changes.
What are the advantages of the code-behind feature?
Ans- The code-behind feature of ASP.NET offers a number of advantages:
What are the advantages of the code-behind feature?
Ans- The code-behind feature of ASP.NET offers a number of advantages:
- Makes code easy to understand and debug by separating application logic from HTML tags
- Provides the isolation of effort between graphic designers and software engineers
- Removes the problems of browser incompatibility by providing code files to exist on the Web server and supporting Web pages to be compiled on demand.
0 comments:
Post a Comment