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
Compute Average of 3 numbers - C# Program I didn't know the exact code for computing average of integer number. Can anybody suggest me the correct way for find out the average

Determining salvage value of an item - C# Program I am a learner of C# language and i am struggling with the programming functions in c#. Can you have any code examples for th

Converting Rs. to Paisa - C# Program Need the code of C# Program for Converting Rs. to Paisa.

Project Description: Someone to review all our IT systems / dfs replication / set up/ backups etc and give a report. Skills required: SQL, Microsoft Exchange, Windows Serv

What are tuples? Tuple is a fixed-size collection that can have elements of either similar or different data types. Same to arrays, a user must have to specify the size of a tu

What are wait handles? The Wait handles sends signals of a thread status from one thread to another thread. There are 3 kind of wait modes:- A)WaitOne. B)WaitAny. C)Wa

How would you implement inheritance using VB.NET? When we set out to execute a class using inheritance, we must first begin with an existing class from which we will derive our

What is difference between System.String and System.StringBuilder classes? String and StringBuilder classes are used to store string values but the dissimilarity in them is tha

What does Address Of operator do? The Address Of operator generates a delegate object for the BackgroundProcess method. A delegate within VB.NET is a object-oriented, type-safe

Design an interface and add code to command buttons using case statement, to find coursework to be calculated using formula 0.6*1/6*total Mark