I have a WCF service that uses the CRM 2011 sdk to interact with CRM. This is on server A which also houses CRM.
On my laptop, I have a Silverlight application that is referencing the WCF service. I got it working by hard coding my credentials on the WCF service and passing those credentials into the _serviceProxy. Eventually, the Silverlight application will be on server A and will be a webresource called by CRM but not until development is done.
Is there a way to pass my windows credentials over to the service and not hardcode my username/password/domain in the WCF service? I'm assuming there is no way in the service to retrieve the users windows credentials. Without the credentials, the call to the WCF fails.
Once I move the Silverlight app to server A as a webresource in CRM, will it be able to pick up my credentials or will I still need to pass/obtain them somehow?
Thanks