what is aspcompat? what it does?

Answer Posted / kavitha

AspCompat is an attribute used in the @ Page directive. It
specifies whether or not to execute an ASP.NET page on a
single-threaded apartment (STA). It works as a
compatibility option. The default value of this attribute
is false. Setting this attribute to true creates an
apartment of type STA for the page. This allows the page to
call STA components, such as the components developed with
Microsoft Visual Basic 6.0.

Is This Answer Correct ?    8 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How do u optimize a query in asp.net?

555


Describe the difference between inline and code behind - which is best in?

504


Explain asp.net page life cycle?

600


What is redirecting behavior?

517


Where do we store our connection string in asp.net application?

518






In a webservice, need to display 10 rows from a table. Which is the best choice among datareader or dataset?

645


Where is the view state data stored in asp net?

554


What is http request and response?

525


Is redux flux?

523


What is the full meaning of asp.net?

518


How is mvc different from asp.net? : Asp.Net MVC

538


what are the ihttphandler and ihttphandlerfactory interfaces ?

505


What is a server farm in iis?

530


What parameters can you pass in the url of the api?

653


What is the purpose of master page?

512