Click here to Skip to main content
Click here to Skip to main content
Add your own
alternative version
Go to top

Custom Authentication and Security for Routing Service of WCF 4.0

, 13 Oct 2012
Defining security contextes in Routing service environment.
Routing_Service_POC-noexe.zip
Routing_Service_POC
POC
RoutingServicePOC
ClientCommonLib
obj
Debug
Properties
Client
bin
Debug
Client.vshost.exe.manifest
MessageLog.svclog
obj
x86
Debug
Properties
GlobalCommonLib
GlobalCommonLib.csproj.user
obj
Debug
Properties
RoutingServicePOC.5.1.ReSharper.user
RoutingServicePOC.suo
RoutingServicePOC
Filter
obj
Debug
CSAutoParameterize
original
transformed
Package
PackageTmp
RoutingService.svc
RoutingServicePOC.zip
TransformWebConfig
original
transformed
Properties
RoutingService.svc
RoutingServicePOC.csproj.user
ServiceA.Contract
obj
Debug
Properties
ServiceA
bin
Debug
ServiceA.vshost.exe.manifest
obj
x86
Debug
Properties
ServiceB.Contract
obj
Debug
Properties
ServiceB
bin
Debug
ServiceB.vshost.exe.manifest
obj
x86
Debug
Properties
ServiceCommonLib
obj
Debug
Properties
_ReSharper.RoutingServicePOC
BuildScriptCache
.crc
.version
9
6ecd42b4.dat
NamedArguments
.crc
.version
8
64bd7be7.dat
ProjectModel
ProjectModel.dat
Resources
.crc
.version
SymbolCache.bin
TagPrefixes
.crc
.version
5
5402198f.dat
TodoCache
.crc
.version
5
5402198f.dat
WebsiteFileReferences
.crc
.version
WordIndex
.crc
.version
1
3da9581c.dat
Routing_Service_POC.zip
library
ICSharpCode.SharpZipLib.dll
Ionic.Zip.dll
bin
Debug
ClientCommonLib.dll
GlobalCommonLib.dll
ClientCommonLib.dll
Client.exe
Client.vshost.exe
Client.vshost.exe.manifest
ClientCommonLib.dll
GlobalCommonLib.dll
MessageLog.svclog
ServiceA.Contract.dll
ServiceB.Contract.dll
Client.exe
bin
Debug
GlobalCommonLib.dll
ICSharpCode.SharpZipLib.dll
Ionic.Zip.dll
GlobalCommonLib.csproj.user
GlobalCommonLib.dll
RoutingServicePOC.5.1.ReSharper.user
RoutingServicePOC.suo
bin
GlobalCommonLib.dll
ICSharpCode.SharpZipLib.dll
Ionic.Zip.dll
RoutingServicePOC.dll
bin
GlobalCommonLib.dll
RoutingServicePOC.dll
RoutingService.svc
RoutingServicePOC.zip
RoutingServicePOC.dll
RoutingService.svc
RoutingServicePOC.csproj.user
bin
Debug
ServiceA.Contract.dll
ServiceA.Contract.dll
GlobalCommonLib.dll
ServiceA.Contract.dll
ServiceA.exe
ServiceA.vshost.exe
ServiceA.vshost.exe.manifest
ServiceCommonLib.dll
ServiceA.exe
bin
Debug
ServiceB.Contract.dll
ServiceB.Contract.dll
GlobalCommonLib.dll
ServiceB.Contract.dll
ServiceB.exe
ServiceB.vshost.exe
ServiceB.vshost.exe.manifest
ServiceCommonLib.dll
ServiceB.exe
bin
Debug
GlobalCommonLib.dll
ServiceCommonLib.dll
ServiceCommonLib.dll
.crc
.version
6ecd42b4.dat
.crc
.version
64bd7be7.dat
ProjectModel.dat
.crc
.version
SymbolCache.bin
.crc
.version
5402198f.dat
.crc
.version
5402198f.dat
.crc
.version
.crc
.version
3da9581c.dat
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using ServiceB.Contract;
using ServiceCommonLib;

namespace ServiceB
{
    public class ServiceB : IServiceB
    {
        [CentralSessionDataContextBehavior]
        public string DoWork()
        {
            System.Console.WriteLine("Consuming Service B");
            return "I am Service B";

        }
    }
}

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)

Share

About the Author

Morshed Anwar
Team Leader Adaptive Enterprise Limited (www.ael-bd.com)
Bangladesh Bangladesh
No Biography provided

| Advertise | Privacy | Mobile
Web02 | 2.8.140916.1 | Last Updated 13 Oct 2012
Article Copyright 2012 by Morshed Anwar
Everything else Copyright © CodeProject, 1999-2014
Terms of Service
Layout: fixed | fluid