Contents tagged with Tip
-
Tip 2 : Silverlight-Enabled WCF Service Deployment: Modify ServiceReferences.ClientConfig
When deploying Silverlight application, you will need to unzip the xap file, modify ServiceReferences.ClientConfig, and zip back the xap file. While there are other options such as modifying the ServiceReferences.ClientConfig before the last build or using code to bypass the ServiceReferences.ClientConfig, the unzip/modify/zip approach is the best because it separates the concerns between development and deployment as well as coding and configuration.
-
Tip 1 : WCF Service Deployment: Leave IIS-Hosted Service Endpoint Address Blank
In client configuration, it is required to specify an absolute address of endpoint. However, in IIS-hosted service configuration, it is required to specify a relative address. IIS manages the ServiceHost instance, which provides base address for service.