Click here to Skip to main content
15,881,089 members
Articles / Programming Languages / C#

A Beginner's Tutorial for Understanding WCF Instance Management

Rate me:
Please Sign up or sign in to vote.
4.83/5 (14 votes)
2 Apr 2013CPOL9 min read 33.5K   564   33  
This article discusses about the various ways of managing the WCF service class instances.

Microsoft Visual Studio Solution File, Format Version 11.00
# Visual Studio 2010
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SampleService", "SampleService\SampleService.csproj", "{65009440-BA06-4399-88A0-05D9BF8B1D4E}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SelfHostConsole", "SelfHostConsole\SelfHostConsole.csproj", "{3E05BBA0-7CF2-49A3-BF1C-2306356C7225}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "TestClient", "TestClient\TestClient.csproj", "{94AB0743-9ACB-403C-9F49-DAA4956EC7B3}"
EndProject
Global
	GlobalSection(SolutionConfigurationPlatforms) = preSolution
		Debug|Any CPU = Debug|Any CPU
		Debug|Mixed Platforms = Debug|Mixed Platforms
		Debug|x86 = Debug|x86
		Release|Any CPU = Release|Any CPU
		Release|Mixed Platforms = Release|Mixed Platforms
		Release|x86 = Release|x86
	EndGlobalSection
	GlobalSection(ProjectConfigurationPlatforms) = postSolution
		{65009440-BA06-4399-88A0-05D9BF8B1D4E}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
		{65009440-BA06-4399-88A0-05D9BF8B1D4E}.Debug|Any CPU.Build.0 = Debug|Any CPU
		{65009440-BA06-4399-88A0-05D9BF8B1D4E}.Debug|Mixed Platforms.ActiveCfg = Debug|Any CPU
		{65009440-BA06-4399-88A0-05D9BF8B1D4E}.Debug|Mixed Platforms.Build.0 = Debug|Any CPU
		{65009440-BA06-4399-88A0-05D9BF8B1D4E}.Debug|x86.ActiveCfg = Debug|Any CPU
		{65009440-BA06-4399-88A0-05D9BF8B1D4E}.Release|Any CPU.ActiveCfg = Release|Any CPU
		{65009440-BA06-4399-88A0-05D9BF8B1D4E}.Release|Any CPU.Build.0 = Release|Any CPU
		{65009440-BA06-4399-88A0-05D9BF8B1D4E}.Release|Mixed Platforms.ActiveCfg = Release|Any CPU
		{65009440-BA06-4399-88A0-05D9BF8B1D4E}.Release|Mixed Platforms.Build.0 = Release|Any CPU
		{65009440-BA06-4399-88A0-05D9BF8B1D4E}.Release|x86.ActiveCfg = Release|Any CPU
		{3E05BBA0-7CF2-49A3-BF1C-2306356C7225}.Debug|Any CPU.ActiveCfg = Debug|x86
		{3E05BBA0-7CF2-49A3-BF1C-2306356C7225}.Debug|Mixed Platforms.ActiveCfg = Debug|x86
		{3E05BBA0-7CF2-49A3-BF1C-2306356C7225}.Debug|Mixed Platforms.Build.0 = Debug|x86
		{3E05BBA0-7CF2-49A3-BF1C-2306356C7225}.Debug|x86.ActiveCfg = Debug|x86
		{3E05BBA0-7CF2-49A3-BF1C-2306356C7225}.Debug|x86.Build.0 = Debug|x86
		{3E05BBA0-7CF2-49A3-BF1C-2306356C7225}.Release|Any CPU.ActiveCfg = Release|x86
		{3E05BBA0-7CF2-49A3-BF1C-2306356C7225}.Release|Mixed Platforms.ActiveCfg = Release|x86
		{3E05BBA0-7CF2-49A3-BF1C-2306356C7225}.Release|Mixed Platforms.Build.0 = Release|x86
		{3E05BBA0-7CF2-49A3-BF1C-2306356C7225}.Release|x86.ActiveCfg = Release|x86
		{3E05BBA0-7CF2-49A3-BF1C-2306356C7225}.Release|x86.Build.0 = Release|x86
		{94AB0743-9ACB-403C-9F49-DAA4956EC7B3}.Debug|Any CPU.ActiveCfg = Debug|x86
		{94AB0743-9ACB-403C-9F49-DAA4956EC7B3}.Debug|Mixed Platforms.ActiveCfg = Debug|x86
		{94AB0743-9ACB-403C-9F49-DAA4956EC7B3}.Debug|Mixed Platforms.Build.0 = Debug|x86
		{94AB0743-9ACB-403C-9F49-DAA4956EC7B3}.Debug|x86.ActiveCfg = Debug|x86
		{94AB0743-9ACB-403C-9F49-DAA4956EC7B3}.Debug|x86.Build.0 = Debug|x86
		{94AB0743-9ACB-403C-9F49-DAA4956EC7B3}.Release|Any CPU.ActiveCfg = Release|x86
		{94AB0743-9ACB-403C-9F49-DAA4956EC7B3}.Release|Mixed Platforms.ActiveCfg = Release|x86
		{94AB0743-9ACB-403C-9F49-DAA4956EC7B3}.Release|Mixed Platforms.Build.0 = Release|x86
		{94AB0743-9ACB-403C-9F49-DAA4956EC7B3}.Release|x86.ActiveCfg = Release|x86
		{94AB0743-9ACB-403C-9F49-DAA4956EC7B3}.Release|x86.Build.0 = Release|x86
	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
India India

I Started my Programming career with C++. Later got a chance to develop Windows Form applications using C#. Currently using C#, ASP.NET & ASP.NET MVC to create Information Systems, e-commerce/e-governance Portals and Data driven websites.

My interests involves Programming, Website development and Learning/Teaching subjects related to Computer Science/Information Systems. IMO, C# is the best programming language and I love working with C# and other Microsoft Technologies.

  • Microsoft Certified Technology Specialist (MCTS): Web Applications Development with Microsoft .NET Framework 4
  • Microsoft Certified Technology Specialist (MCTS): Accessing Data with Microsoft .NET Framework 4
  • Microsoft Certified Technology Specialist (MCTS): Windows Communication Foundation Development with Microsoft .NET Framework 4

If you like my articles, please visit my website for more: www.rahulrajatsingh.com[^]

  • Microsoft MVP 2015

Comments and Discussions