Pages

Showing posts with label Security. Show all posts
Showing posts with label Security. Show all posts

Friday, May 4, 2012

How to solve Http 401 error for Http Put and Delete with WCF Rest

With the popularity of WCF Rest services, it is now a bit more common to issue HTTP PUT and HTTP DELETE requests. I don't remember using those verbs before in my career. Whenever I needed to delete something or update something, I would use HTTP POST and then handle the data in the back end. But times have changed, and with WCF Rest embracing the HTTP protocol, you are more likely to work with those two verbs more often.

Friday, March 9, 2012

Custom authentication for WCF REST over Https

I recently had to build a WCF REST service over HTTPS. Once built and functioning we decided to include  some sort of authentication mechanism, so that the service could only be used by authorized members and not anyone on the internet, which makes perfect sense.