In my experience, once a SOAP API gets into production and is working, nobody wants to touch it. They can be very finicky beasts. Sometimes the most innocuous update can stop a client application in its tracks. Exposing a SOAP API to external customers just raises the risk level. One approach I frequently see is […]
I think most us ASP.Net Web API developers have, at some point, experienced the problem where their API is returning a 500 Internal Server Error, but tracing through with Visual Studio doesn’t reveal any exceptions in our code. This problem is often caused when a MediaTypeFormatter is unable to serialize an object. This simple message […]
Ever since Microsoft’s first efforts to deliver a REST style framework in .net, back in 3.5, there has been a continuous stream of questions that has asked: how to I add a service reference to that API? How do I generate a client proxy? How do I access the WSDL for the REST service? Can […]
It appears I need to go on vacation more often. I seem to get more chance to experiment. One of my first discussions about RACK was with Mike Kelly where he suggested a simple solution to implementing HEAD across an API. Simply use a RACK application to convert a HEAD request to a GET and then when […]
So, I’m still working on that walkthrough of the Contact Manager. Not sure how valuable it is now that Glenn posted his latest summary. Between that and the session at PDC you should be able to get a pretty good idea how it works. So the code for this project is all available on the Microsoft site. […]
Chances are, if you have read any of my blog posts before, you will probably be aware of my appreciation of a certain HTTPClient library that appeared in the WCF REST Starter kit a few years ago. After a very long incubation period and some periods of uncertainty about its future I am really excited […]
I have been looking thought the latest release of the WCF REST Starter Kit and there are some interesting things there. Especially the new HttpClient class in the Microsoft.Http namespace. I will not talk about the server side of things because I really don’t have anything nice to say and until I have some constructive […]
If you have a Windows machine with VS2008, .Net 3.5, svn and patch on it, you can get the source for Witty here [1] and a patch [2] that will make it run against Identi.ca Enjoy! [1] https://code.google.com/archive/p/wittytwitter/ [2] http://code.google.com/p/wittytwitter/issues/detail?id=147
I did some experimentation today with authentication over http. Using the System.Net.WebClient class I made requests against both a HttpListener based server and WCF service contract using webHttpBinding. With HttpListener I can get Basic authentication and WindowsIntegratedAuthentication working just fine. With WebHttpBinding I cannot get either. I am aware that with WebHttpBinding over https you […]