Welcome to MSDN Blogs Sign in | Join | Help

Browse by Tags

All Tags » WCF   (RSS)

Silverlight Web Services Team Blog

For those interested in WCF development on Silverlight, the Silverlight Web Services team just set up a team blog .
Posted by phenning | 0 Comments
Filed under: ,

Custom transport channels and BindingElements

When creating a custom transport channel, you must be sure to remove the encoding binding element from the binding context before returning from your BuildChannelFactory and BuildChannelListener calls. The best place to do this is within the constructor
Posted by phenning | 0 Comments
Filed under:

Custom UserNamePassword Validators in .Net Framework 3.5

In the version of WCF that shipped with .Net Framework 3.0 we didn't support custom validators with transport level HTTP security. We received much feedback from the community that this was a highly desired feature, so I'm happy to say we added support
Posted by phenning | 3 Comments
Filed under:

Client IP addresses in Orcas

As Nicholas promised , here is some more information about client IP address in Orcas. In the Orcas release of WCF, we added the ability for services to get the IP address and port of the calling client from your service methods when the underlying transport
Posted by phenning | 2 Comments
Filed under:

Accessing the Http Query String from a service method.

I'm trying to access the query string used by the client when contacting my service. How can I do this? You can access the query string through the HttpRequestMessageProperty. OperationContext context = OperationContext.Current; MessageProperties properties
Posted by phenning | 0 Comments
Filed under:

Securing WCF to only respond to local requests.

Is it possible to secure a web service to only respond to local requests over HTTP? Yes, you just need to make sure that you listen at http://127.0.0.1/MyService/ with HostNameComparisonMode = Exact. ServiceHost service = new ServiceHost( typeof (MyService),
Posted by phenning | 0 Comments
Filed under:

Changing BindingElement settings on a Binding.

We don’t allow you to modify the properties of the binding directly, but you can create a copy of the binding elements used to create a particular binding, alter the desired properties, then use the binding element collection to create a new custom binding.
Posted by phenning | 0 Comments
Filed under:
 
Page view tracker