Click here to Skip to main content
15,892,005 members
Articles / Programming Languages / C#

Digest Authentication on a WCF REST Service

Rate me:
Please Sign up or sign in to vote.
4.95/5 (27 votes)
27 Feb 2011CPOL10 min read 158.3K   3.3K   65  
An article that explains Digest Authentication and a library to use Digest Authentication with WCF Rest and validate against any back-end.

Microsoft Visual Studio Solution File, Format Version 11.00
# Visual Studio 2010
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "WCFServer", "WCFServer\WCFServer.csproj", "{15594807-D341-4D63-A1A0-7DF3E9F8B319}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "DigestAuthenticationOnWCF", "DigestAuthenticationOnWCF\DigestAuthenticationOnWCF.csproj", "{454EDFB8-D743-479B-9F67-1C9E693D6594}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "DigestAuthenticationOnWCFTest", "DigestAuthenticationOnWCFTest\DigestAuthenticationOnWCFTest.csproj", "{2FE50E2F-9656-4762-A5A2-C1912441CD1F}"
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "External Dependencies", "External Dependencies", "{9856B1E0-7E1E-4059-868B-E8F0DFFB6403}"
	ProjectSection(SolutionItems) = preProject
		External Dependencies\Microsoft.ServiceModel.Web.dll = External Dependencies\Microsoft.ServiceModel.Web.dll
		External Dependencies\Microsoft.ServiceModel.Web.pdb = External Dependencies\Microsoft.ServiceModel.Web.pdb
		External Dependencies\nunit.framework.dll = External Dependencies\nunit.framework.dll
		External Dependencies\Rhino.Mocks.dll = External Dependencies\Rhino.Mocks.dll
	EndProjectSection
EndProject
Global
	GlobalSection(SolutionConfigurationPlatforms) = preSolution
		Debug|Any CPU = Debug|Any CPU
		Release|Any CPU = Release|Any CPU
	EndGlobalSection
	GlobalSection(ProjectConfigurationPlatforms) = postSolution
		{15594807-D341-4D63-A1A0-7DF3E9F8B319}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
		{15594807-D341-4D63-A1A0-7DF3E9F8B319}.Debug|Any CPU.Build.0 = Debug|Any CPU
		{15594807-D341-4D63-A1A0-7DF3E9F8B319}.Release|Any CPU.ActiveCfg = Release|Any CPU
		{15594807-D341-4D63-A1A0-7DF3E9F8B319}.Release|Any CPU.Build.0 = Release|Any CPU
		{454EDFB8-D743-479B-9F67-1C9E693D6594}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
		{454EDFB8-D743-479B-9F67-1C9E693D6594}.Debug|Any CPU.Build.0 = Debug|Any CPU
		{454EDFB8-D743-479B-9F67-1C9E693D6594}.Release|Any CPU.ActiveCfg = Release|Any CPU
		{454EDFB8-D743-479B-9F67-1C9E693D6594}.Release|Any CPU.Build.0 = Release|Any CPU
		{2FE50E2F-9656-4762-A5A2-C1912441CD1F}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
		{2FE50E2F-9656-4762-A5A2-C1912441CD1F}.Debug|Any CPU.Build.0 = Debug|Any CPU
		{2FE50E2F-9656-4762-A5A2-C1912441CD1F}.Release|Any CPU.ActiveCfg = Release|Any CPU
		{2FE50E2F-9656-4762-A5A2-C1912441CD1F}.Release|Any CPU.Build.0 = Release|Any CPU
	EndGlobalSection
	GlobalSection(SolutionProperties) = preSolution
		HideSolutionNode = FALSE
	EndGlobalSection
EndGlobal

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Architect http://www.simpletechture.nl
Netherlands Netherlands
Patrick Kalkman is a senior Software Architect with more than 20 years professional development experience. He works for SimpleTechture where he helps teams develop state of the art web applications.

Patrick enjoys writing his blog. It discusses agile software development. Patrick can be reached at patrick@simpletechture.nl.

Published Windows 8 apps:


Published Windows Phone apps:


Awards:

Best Mobile article of March 2012
Best Mobile article of June 2012

Comments and Discussions