O'Reilly logo

ASP.NET Web API by Joydip Kanjilal

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Implementing RESTful services in .NET 4.5

In this section, we will implement a RESTful service using the WCF. The WCF is a framework based on the Service Oriented Architecture (SOA) that is used to design distributed applications, which are applications that have the capability to intercommunicate. We will explore more about the WCF in Chapter 3, Working with Restful Services.

The UserNamePasswordValidator class

The UserNamePasswordValidator class has been introduced in the newer versions of the WCF. You can use this class to design and implement your own custom validators for validating a user's credentials.

The UserNamePasswordValidator class in the System.IdentityModel.Selectors namespace can be used to validate user credentials in WCF 4.5. You ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required