In my project we are using CSLA.NET 3.8.2, VS 2010 RC, SL 4. I am trying to host WcfPortal on Windows Service. Architect want to make sure similar to WcfPortal.svc, which is hosted on IIS, we should have business object access from Windows Service. Application should use these services typically when working over intranet.
I created a simple WCF application to host on Windows Service. The service worked perfectly with start and stop. Then I modified the simple application by adding Csla.dll reference to host IWcfPortal as below:
App.config file I have -
Service.cs file I have -
VS intellisense is fine as I am adding the code. As soon as I compile, I get compilation error: "The type or namespace name 'Csla' could not be found (are you missing a using directive or an assembly reference?)" . I see number of IWcfPortal implementation under different namespace. Not sure which one to use. Finally I got one implementation to compile. After I installed the Windows Service and browse to the baseAddress, nothing is coming back from WSDL file.
Any help would be highly appreciated.
For some unknown reason, the console application that I created for simple WCF service had target platform '.NET 4 Client Profile' set. After changing to '.NET 4', all compilation errors were resolved. CSLA WcfPortal is now hosted on Windows Service.
I'm trying to host my wcfportal in a windows service but can't find any examples. Would you mind posting the code or pointing me to an example.
Copyright (c) Marimer LLC