Let me explain my problem shortly.
We have a big portal with a lot of code written in classic asp + asp.net 2.0 + JavaScript. We are planning to slowly migrate to .net 3.5 framework with WCF Services. Currently the ASP.Net code is using some business layer to access the database. But most of
the Classic ASP is using the old ADO code and directly accessing the data in the page itself.
Now, we decided to add a WCF layer between the UI and Business which will be easier to implement with ASP.Net + 3.5, compared to Classic ASP. And we can't invest a lot of Man Hours in converting the Classic ASP pages to asp.net just yet. So we decided to
Add a COM layer between Classic ASP and WCF services. So it will be like
Classic ASP -> COM -> CCW (COM Callable Wrapper - Interop) -> WCF -> Business for now.
Later on when we slowly convert the Classic asp pages to asp.net, the COM layer will be removed by default. But for now we are atleast pulling the Business code from Classic Asp pages.
We are following this approach because we are not sure how to go about accessing the WCF Service directly from the Classic ASP code.
It will be great if someone guides us into the right direction or give some more ideas/alternatives about this approach.
thanks
Mike
asp.netC#WCFaspservice.net web serviceasp .net 2. 0Asp .net 3.5C#.net 3.5.net 2.0 c#CCWInterOpclassic asp
mSmithFid
0 Points
1 Post
Accessing a WCF Service from Classic ASP
Jun 04, 2010 03:37 AM|LINK
Hi,
Let me explain my problem shortly.
We have a big portal with a lot of code written in classic asp + asp.net 2.0 + JavaScript. We are planning to slowly migrate to .net 3.5 framework with WCF Services. Currently the ASP.Net code is using some business layer to access the database. But most of the Classic ASP is using the old ADO code and directly accessing the data in the page itself.
Now, we decided to add a WCF layer between the UI and Business which will be easier to implement with ASP.Net + 3.5, compared to Classic ASP. And we can't invest a lot of Man Hours in converting the Classic ASP pages to asp.net just yet. So we decided to Add a COM layer between Classic ASP and WCF services. So it will be like
Classic ASP -> COM -> CCW (COM Callable Wrapper - Interop) -> WCF -> Business for now.
Later on when we slowly convert the Classic asp pages to asp.net, the COM layer will be removed by default. But for now we are atleast pulling the Business code from Classic Asp pages.
We are following this approach because we are not sure how to go about accessing the WCF Service directly from the Classic ASP code.
It will be great if someone guides us into the right direction or give some more ideas/alternatives about this approach.
thanks
Mike
asp.net C# WCF asp service .net web service asp .net 2. 0 Asp .net 3.5 C#.net 3.5 .net 2.0 c# CCW InterOp classic asp
arefinn
Contributor
4992 Points
750 Posts
Re: Accessing a WCF Service from Classic ASP
Jun 04, 2010 11:45 AM|LINK
Check out this link..it will be helpful
http://social.msdn.microsoft.com/forums/en-US/wcf/thread/817bfbd7-82ef-4210-aa44-ac076540a540/
http://social.msdn.microsoft.com/forums/en-US/wcf/thread/bb9d0a2b-d7ed-4012-b365-02605b971383
http://forums.asp.net/t/1131134.aspx
http://code.msdn.microsoft.com/CallWCFfromASP
BreathShadow
Member
35 Points
42 Posts
Re: Accessing a WCF Service from Classic ASP
Jun 04, 2010 01:24 PM|LINK