Click here to Skip to main content
15,886,799 members
Articles / Programming Languages / C#

Understanding SynchronizationContext: Part III

Rate me:
Please Sign up or sign in to vote.
4.96/5 (47 votes)
29 Dec 2008CPOL10 min read 93K   1.4K   137  
Using SynchronizationContext with WCF.

Microsoft Visual Studio Solution File, Format Version 10.00
# Visual Studio 2008
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "StaThreadSyncronizer", "StaThreadSyncronizer\StaThreadSyncronizer.csproj", "{3A630831-08FC-41F6-9E47-AEECAA5A89E2}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "TestApp", "TestApp\TestApp.csproj", "{DFE6FB0A-6386-4DA0-88A5-78EEBA7BCD0A}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "TestStaService", "TestStaService\TestStaService.csproj", "{FF09ED78-3BDC-41AE-82E7-D3298C6BEFEE}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "StaServiceHost", "StaServiceHost\StaServiceHost.csproj", "{5127CBF1-42EB-4A15-A63C-DAFE89A949DC}"
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "WCF", "WCF", "{36EAC760-8115-482A-884A-E0E600AD4553}"
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "STA", "STA", "{011FE41D-7D60-400E-9643-A42498EECF22}"
EndProject
Global
	GlobalSection(SolutionConfigurationPlatforms) = preSolution
		Debug|Any CPU = Debug|Any CPU
		Release|Any CPU = Release|Any CPU
	EndGlobalSection
	GlobalSection(ProjectConfigurationPlatforms) = postSolution
		{3A630831-08FC-41F6-9E47-AEECAA5A89E2}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
		{3A630831-08FC-41F6-9E47-AEECAA5A89E2}.Debug|Any CPU.Build.0 = Debug|Any CPU
		{3A630831-08FC-41F6-9E47-AEECAA5A89E2}.Release|Any CPU.ActiveCfg = Release|Any CPU
		{3A630831-08FC-41F6-9E47-AEECAA5A89E2}.Release|Any CPU.Build.0 = Release|Any CPU
		{DFE6FB0A-6386-4DA0-88A5-78EEBA7BCD0A}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
		{DFE6FB0A-6386-4DA0-88A5-78EEBA7BCD0A}.Debug|Any CPU.Build.0 = Debug|Any CPU
		{DFE6FB0A-6386-4DA0-88A5-78EEBA7BCD0A}.Release|Any CPU.ActiveCfg = Release|Any CPU
		{DFE6FB0A-6386-4DA0-88A5-78EEBA7BCD0A}.Release|Any CPU.Build.0 = Release|Any CPU
		{FF09ED78-3BDC-41AE-82E7-D3298C6BEFEE}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
		{FF09ED78-3BDC-41AE-82E7-D3298C6BEFEE}.Debug|Any CPU.Build.0 = Debug|Any CPU
		{FF09ED78-3BDC-41AE-82E7-D3298C6BEFEE}.Release|Any CPU.ActiveCfg = Release|Any CPU
		{FF09ED78-3BDC-41AE-82E7-D3298C6BEFEE}.Release|Any CPU.Build.0 = Release|Any CPU
		{5127CBF1-42EB-4A15-A63C-DAFE89A949DC}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
		{5127CBF1-42EB-4A15-A63C-DAFE89A949DC}.Debug|Any CPU.Build.0 = Debug|Any CPU
		{5127CBF1-42EB-4A15-A63C-DAFE89A949DC}.Release|Any CPU.ActiveCfg = Release|Any CPU
		{5127CBF1-42EB-4A15-A63C-DAFE89A949DC}.Release|Any CPU.Build.0 = Release|Any CPU
	EndGlobalSection
	GlobalSection(SolutionProperties) = preSolution
		HideSolutionNode = FALSE
	EndGlobalSection
	GlobalSection(NestedProjects) = preSolution
		{5127CBF1-42EB-4A15-A63C-DAFE89A949DC} = {36EAC760-8115-482A-884A-E0E600AD4553}
		{FF09ED78-3BDC-41AE-82E7-D3298C6BEFEE} = {36EAC760-8115-482A-884A-E0E600AD4553}
		{3A630831-08FC-41F6-9E47-AEECAA5A89E2} = {011FE41D-7D60-400E-9643-A42498EECF22}
		{DFE6FB0A-6386-4DA0-88A5-78EEBA7BCD0A} = {011FE41D-7D60-400E-9643-A42498EECF22}
	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
Web Developer
Canada Canada
I am currently working as a team leader with a group of amazing .NET programmers. I love coding with .NET, and I love to apply design patterns into my work. Lately I had some free time, so I decided to write some articles, hoping I will spare someone frustration and anxiety.

Comments and Discussions