Avoid ASP Compatibility


To use an apartment-threaded component in an ASP.NET page, you must set the compatibility mode to ASP using the AspCompat="true" page directive. This allows the page to be executed on a single- threaded apartment ( STA ) thread, so that it can call into STA components (for example a component developed with VB6.0). However, in this mode, performance of the ASP.NET page can be quite severely degraded.




Professional ASP. NET 1.1
Professional ASP.NET MVC 1.0 (Wrox Programmer to Programmer)
ISBN: 0470384611
EAN: 2147483647
Year: 2006
Pages: 243

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net