Ureader.com  
Microsoft software help and Community
   home   |   control panel login   |   archive   |  
 
Windos
win32.3rdparty
win32.directx.audio
win32.directx.ddk
win32.directx.graphics
win32.directx.input
win32.directx.managed
win32.directx.misc
win32.directx.networking
win32.directx.sdk
win32.directx.video
win32.dirx.grap.shaders
win32.gdi
win32.international
win32.kernel
win32.messaging
win32.mmedia
win32.networks
win32.ole
win32.rtc
win32.tapi
win32.tapi.beta
win32.tools
win32.ui
win32.wince
win32.wmi
windows.mediacenter
winfx.aero
winfx.announcements
winfx.avalon
winfx.collaboration
winfx.fundamentals
winfx.general
winfx.indigo
winfx.sdk
winfx.winfs
  
 
date: Tue, 1 Jul 2008 05:34:24 -0700 (PDT),    group: microsoft.public.windows.developer.winfx.indigo        back       


WCF using ASP.NET   
Dear All,



I managed to create my first WCF application, which is the
HelloWorld.  Basically I created the HelloService.cs,
IHelloService.cs, and HelloService.svc, and everything works fine.



However I have an application I am trying to convert from the normal
asmx webservice to WCF.

My idea is to have multiple classes and interfaces in a layer, called
the ServiceLayer, and then 1 svc in another application, calling these
Interfaces, and hosted on IIS.



First of all is it possible to do.  And if it is, how can I achieve
that?  Does anyone has any examples to show.



Thanks for your help and time



Johann
date: Tue, 1 Jul 2008 05:34:24 -0700 (PDT)   author:   monfu

Re: WCF using ASP.NET   
Hi

You are perfectly capable of separating your components into a hosting assembly and a service implementation assembly.
The only requirements posed by IIS is that your (ASP.NET) WCF host is able to discover the classes mentioned in your .svc file. This file (.svc) mentions a ServiceHostFactory class that is responsible of constructing the services upon activation from a client call.

So - just make sure that the class mentioned by FQN (Fully Qualified Name) in your .svc file is discoverable from ASP.NET (i.e. they are present in your bin-folder.

/Claus Konrad

"monfu"  wrote in message news:77a91743-5fed-4ef7-b3a6-6c02f9ef997b@i18g2000prn.googlegroups.com...> Dear All,
> 
> 
> 
> I managed to create my first WCF application, which is the
> HelloWorld.  Basically I created the HelloService.cs,
> IHelloService.cs, and HelloService.svc, and everything works fine.
> 
> 
> 
> However I have an application I am trying to convert from the normal
> asmx webservice to WCF.
> 
> My idea is to have multiple classes and interfaces in a layer, called
> the ServiceLayer, and then 1 svc in another application, calling these
> Interfaces, and hosted on IIS.
> 
> 
> 
> First of all is it possible to do.  And if it is, how can I achieve
> that?  Does anyone has any examples to show.
> 
> 
> 
> Thanks for your help and time
> 
> 
> 
> Johann
>
date: Wed, 3 Sep 2008 14:39:58 +0200   author:   Claus Konrad

Google
 
Web ureader.com


    COPYRIGHT 2007, YARDI TECHNOLOGY LIMITED, ALL RIGHT RESERVE  |   contact us