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
can we use sql data base with visual studio

I need Online Real Commission Management system Project Description: Real Estate -- Store and retrieve Purchase plot customers, Employee to refer the customers get commiss

Converting temperature from Fahrenheit to Celsius - Program C# I am facing some problems in the code for Converting temperature from Fahrenheit to Celsius. Can anybody suggest

Question: (a) Explain the Postback process as use with Web Forms. (b) Write extract codes to demonstrate how to store and retrieve values in: (i) a Session Object (ii)

Passport Authentication This is a centralized authentication service given by Microsoft that offers a single logon facility and membership services for participating sites. ASP

How can we connect to Microsoft Access, Foxpro , Oracle etc ? The Microsoft provides System.Data.OleDb namespace to communicate with the databases such as Oracle, scess  etc. I


What are runtime services? Runtime services having of predefined and user-defined classes that are available to the workflow runtime engine during implementation to customize t

What are shared (VB.NET)/Static(C#) variables? Shared/Static classes are used when a class gives functionality which is not specific to any instance. In brief if you want an ob

What is Common Type System (CTS)? CTS is the component of CLR by which .NET Framework provides support for multiple languages because it have a type system that is common acros