ProjectTracker PTWcfCleint

ProjectTracker PTWcfCleint

Old forum URL: forums.lhotka.net/forums/t/5186.aspx


SimonL posted on Friday, August 01, 2008

Hi,

 

Can anyone tell me how to set up the PTWcfClient and PTWcfService. I've done the following

1. I've downloaded CSLA 3.0.4 and unzipped the files.

2. I then added PTWcfClient and PTWcfService to the ProjectTracker solution.

3. Rebuilt the solution  

If I try and update the reference (PTWcfService) under the references section of PTWcfClient I keep getting error messages saying "unable to connect to remote server. Metadata contains a refernce that cannnot be resolved." etc.

I've also tried adding the folder www\PTWcfService to my c:\inetpub\wwwroot which then appears in IIS. Should I be able to browse to the .SVC file. 

I'm lost, does anybody know what steps I need to take to run the ProjectTracter Wcf sample (I'm not interested in the WcfPortal just the WCF client and service example).

Thanks,

Simon

 

 

 

RockfordLhotka replied on Saturday, August 02, 2008

The simplest possible thing is to check the server URL (including the port number) in the client config to make sure the client config points to the right place.

That demo is potentially quite complex. If you read the WCF chapter in the Using CSLA .NET 3.0 ebook you'll see that this app can be configured to use no security all the way through passing an encrypted username/password pair over the network for authentication. The simple model is pretty easy, but the encrypted authentication gets really complicated very rapidly.

Copyright (c) Marimer LLC