Use of <%@ page aspcompat=true %> attribute, DOT NET Programming

What is the use of <%@ page aspcompat=true %> attribute ?

This attribute works as a compatibility option. We know that ASP worked in STA model and ASP.NET works in MTA model, but what if your ASP.NET application is using a VB COM component. In order that VB COM runs properly in ASP.NET threading model we have to fix attribute. After defining the ASPCOMPAT directive attribute ASP.NET pages runs in STA model & hence building the compatibility between the ASP.NET and old COM components that does not support the MTA model.

Posted Date: 9/22/2012 6:42:44 AM | Location : United States







Related Discussions:- Use of <%@ page aspcompat=true %> attribute, Assignment Help, Ask Question on Use of <%@ page aspcompat=true %> attribute, Get Answer, Expert's Help, Use of <%@ page aspcompat=true %> attribute Discussions

Write discussion on Use of <%@ page aspcompat=true %> attribute
Your posts are moderated
Related Questions
Show the code for the file dependency in cache? Partial Class Default_aspx Public Sub displayAnnouncement() Dim announcement As String If Cache("announcement") Is Noth

What are benefits and limitations of using Cookies? The benefits of using cookies for state management are as follows:- 1)    There is no server resources required as they a

What is the use of data adapter? The Data adapter are the objects that connect one or more Command objects to a Dataset object. They give logic that would get data from the dat

Read an Array and perform Sorting - C# program Can any one assist me in performing sorting of an array.

wiConstellation WEB site Project Description: Creation of a dynamic corporate WEB site with administration panel, requirement collaboration, product definition, Q&A, user man

In What scenarios you use a DOM parser and SAX parser? 1) If you do not require all the data from the XML file then SAX approach is most preferred than DOM as DOM can quiet mem

31: Need to develop Doctor Appointments application in .NET Project Description: I am seeking a .NET Web application which can do the subsequent: 1. Taking doctors and

How do we enable SQL Cache Dependency? Below are some of the steps to enable the SQL Cache Dependency:- Enable the notifications for database. Enable the notificatio

I need Academic expert for Genetic Algorithm Project Description: Seeking academic expert for Genetic Algorithm. Please bid on this project if you will start work today. S

What are the components of WF 4.0? WF having of various components that work together to make desired workflow. The components of WF are given as follows: Workflows and a