|
Home > Archive > Commerce Server General > September 2006 > Should ASP.NET Pages using CS2007 set ASPCompat=True
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
Should ASP.NET Pages using CS2007 set ASPCompat=True
|
|
| Keith Franklin 2006-09-20, 7:37 pm |
| Is this a best practice to avoid issues with CS2007 components that utilize
COM?
| |
| Colin Bowern 2006-09-20, 7:37 pm |
| Keith,
I'm going to take a guess and say no. Mainly because Commerce Serer 2007
has done a lot to minimize the COM objects at play. In addition, the
Starter Site CTP doesn't seem to show any use of ASPCompat.
Cheers,
Colin
"Keith Franklin" <KeithF@Magenic.NoSpam.Com> wrote in message
news:3346DD6F-C772-4355-A6B7-1FC5EF321719@microsoft.com...
> Is this a best practice to avoid issues with CS2007 components that
> utilize COM?
| |
| Colin Bowern 2006-09-20, 7:37 pm |
| On a related note...
When to set AspCompat
http://odetocode.com/Blogs/scott/ar...09/20/6846.aspx
Cheers,
Colin
"Colin Bowern" <colin.bowern@nospam.officialcommunity.com> wrote in message
news:uXC9VZP3GHA.3516@TK2MSFTNGP06.phx.gbl...
> Keith,
>
> I'm going to take a guess and say no. Mainly because Commerce Serer 2007
> has done a lot to minimize the COM objects at play. In addition, the
> Starter Site CTP doesn't seem to show any use of ASPCompat.
>
> Cheers,
> Colin
>
> "Keith Franklin" <KeithF@Magenic.NoSpam.Com> wrote in message
> news:3346DD6F-C772-4355-A6B7-1FC5EF321719@microsoft.com...
>
>
| |
| Joseph Johnson 2006-09-21, 1:26 am |
| Colin and Keith,
Expanding on what Colin just mentioned, the only subsystems which still use
COM are Pipelines and Profiles.
The marketing and catalog system are all completely written in .NET, while
every part of the transaction system other than pipelines is also rewritten
in .NET.
I've also never seen ASPCompat set in any sample code, so as Colin said, no
real need to use it.
Joe
"Colin Bowern" <colin.bowern@nospam.officialcommunity.com> wrote in message
news:uXC9VZP3GHA.3516@TK2MSFTNGP06.phx.gbl...
> Keith,
>
> I'm going to take a guess and say no. Mainly because Commerce Serer 2007
> has done a lot to minimize the COM objects at play. In addition, the
> Starter Site CTP doesn't seem to show any use of ASPCompat.
>
> Cheers,
> Colin
>
> "Keith Franklin" <KeithF@Magenic.NoSpam.Com> wrote in message
> news:3346DD6F-C772-4355-A6B7-1FC5EF321719@microsoft.com...
>
>
| |
| David Messner [MSFT] 2006-09-21, 7:24 pm |
| Hi guys,
Just to clarify, ASPCOMPAT is not needed in normal use of CS2007. None of
the underlying COM objects that get called in the starter site application,
for example, require it. This is because they are all free-threaded (or
are both-threaded and aggregate the Free Threaded Marshaller). You could
get into trouble if you used some of the older apartment threaded COM
objects directly through interop (like SiteConfigReadOnly; use
SiteConfigReadOnlyFreeThreaded or CommerceResourceCollection instead). We
did a lot of work to make this so, since ASPCOMPAT adds a significant
overhead and limits application scalability.
Also, just to clarify, in addition to pipelines and profiles, the marketing
runtime still does use COM internally (ContentSelector,
DiscountItemCollection, MarketingExpressionEvaluator). The new Marketing
management API's are fully managed, however.
Thanks
-David
--
This posting is provided "AS IS" with no warranties, and confers no rights.
You assume all risk for your use. © 2006 Microsoft Corporation. All rights
reserved.
--------------------
From: "Joseph Johnson" <joe8t88@hotmail.com>
Subject: Re: Should ASP.NET Pages using CS2007 set ASPCompat=True
Date: Wed, 20 Sep 2006 19:51:21 -0500
Colin and Keith,
Expanding on what Colin just mentioned, the only subsystems which still use
COM are Pipelines and Profiles.
The marketing and catalog system are all completely written in .NET, while
every part of the transaction system other than pipelines is also rewritten
in .NET.
I've also never seen ASPCompat set in any sample code, so as Colin said, no
real need to use it.
Joe
"Colin Bowern" <colin.bowern@nospam.officialcommunity.com> wrote in message
news:uXC9VZP3GHA.3516@TK2MSFTNGP06.phx.gbl...
> Keith,
>
> I'm going to take a guess and say no. Mainly because Commerce Serer 2007
> has done a lot to minimize the COM objects at play. In addition, the
> Starter Site CTP doesn't seem to show any use of ASPCompat.
>
> Cheers,
> Colin
>
> "Keith Franklin" <KeithF@Magenic.NoSpam.Com> wrote in message
> news:3346DD6F-C772-4355-A6B7-1FC5EF321719@microsoft.com...
>
>
|
|
|
|
|