Welcome to MSDN Blogs Sign in | Join | Help

Browse by Tags

All Tags » HTTP   (RSS)

Using Polling Duplex Scaled Out

Tomasz Janczuk has posted another example using the HTTP polling duplex channel in Silverlight to build pub-sub style applications. This sample addresses the use of polling in a scaled-out configuration . The solution employed is to move the server queue
Posted by Nicholas Allen | 0 Comments
Filed under: , ,

Guide to the WCF REST Starter Kit Preview

We've got a new article up on MSDN by Aaron Skonnard that covers the most recent preview release of the WCF REST Starter Kit. The download for REST expands on the capabilities we added in Orcas for building web services with REST protocols with features
Posted by Nicholas Allen | 0 Comments
Filed under: , , ,

Deciphering HTTP Server API Error Codes

If you’ve tried using the HttpListener API to build a web server, then you may have noticed that many runtime errors come back as wrapped Win32 errors rather than different exception types. Since HttpListener doesn’t say what specific Win32 errors might
Posted by Nicholas Allen | 0 Comments
Filed under: ,

Labor Day 2009 and an HTTP Question

Today is a US national holiday, which generally means I don’t put up a post due to the drastically reduced number of readers. Here’s a look ahead at some of the topics coming this week though: Final part of the series on named pipes My notes on HTTP listener
Posted by Nicholas Allen | 0 Comments
Filed under: ,

Polling Duplex Sample with Silverlight 3

Tomasz Janczuk has posted a sample using the HTTP polling duplex binding in Silverlight to build a pub-sub application . The HTTP polling duplex binding uses long polling to provide duplex communication over HTTP. HTTP long polling is a decently resilient

What Will Be New in Networking for Beta 2

The NCL team has released their list of new networking features for .Net framework 4 beta 2 . A partial summary of the features is: Opening socket connections using the DNS name of the machine Opening socket connections for IPv4 and IPv6 simultaneously
Posted by Nicholas Allen | 0 Comments
Filed under: , , ,

Load Balanced Web Service Bindings

What options can I use with WSHttpBinding to make it friendlier to load balancing? The primary difficulty encountered when using WSHttp with a load balancer is that WSHttp is easy to configure to produce application-level sessions between the client and

Testing Services with HTTPS

How do I setup a test environment for a service that is using HTTPS? Certificate validation fails because the test machine doesn’t have the right machine name. Included in the definition of a certificate is the fully qualified domain name that you gave

Binary Http Binding

Do I need IIS7 to use binary with HTTP for WCF? No, all you need is a custom binding because we don’t include a standard binding with that configuration out of the box. Here’s a quick example of putting binary and HTTP together with either code or configuration:
Posted by Nicholas Allen | 3 Comments
Filed under: , , ,

Tripping over Missing Servers

A common complaint is that the first call on a client object takes some disproportionately large amount of time, usually ten seconds or more, while successive calls are instantaneous. There are many reasons why this might happen so there's no generic

Debugging HTTP with Replay

It's often useful when analyzing a failure to create a carefully controlled environment that reproduces the issue reliably. Using a controlled environment allows you to test hypotheses about the issue while eliminating some of the effects of random chance
Posted by Nicholas Allen | 1 Comments
Filed under: ,

Default Content Type

Why doesn't WCF recognize a request without a Content-Type header? An HTTP message that contains a body is supposed to include a Content-Type header that describes the body format. An indication of the body format is crucial to processing the message
Posted by Nicholas Allen | 0 Comments
Filed under: , , ,

MTOM Boundary Markers

What is the string "--uuid:…" doing embedded in MTOM messages? That string is a boundary marker that separates one part of the message from another. This scheme of separating message parts using a unique string is common to many types of multipart messages

Improving Hosted HTTP Request Scaling

A few months ago Wenlong Dong announced an improvement to HTTP request scalability when WCF is hosted in IIS. In order to take advantage of the improvement you need the combination of IIS7 or later and Orcas SP1 installed. Since this isn't the ubiquitous

SVC Script Maps

What registration in IIS is responsible for processing SVC files? There are two parts to the registration. One part is related to ASP.NET and the other part is related to WCF. The ASP.NET part is that the ASP.NET ISAPI has to be a service extension for
Posted by Nicholas Allen | 0 Comments
Filed under: , ,
More Posts Next page »
 
Page view tracker