Click here to Skip to main content
15,896,606 members
Articles / Web Development / ASP.NET

A threading framework to optimize interoperation between .NET and apartment threaded COM components

Rate me:
Please Sign up or sign in to vote.
4.73/5 (6 votes)
7 May 200710 min read 50K   743   42  
A generic solution and an accompanying threading framework to optimize calls between .NET and apartment threaded COM components

Microsoft Visual Studio Solution File, Format Version 9.00
# Visual Studio 2005
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ASPCompat", "ASPCompat\ASPCompat.csproj", "{D605E662-4A85-472A-B95D-EE920A55E956}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "NUnitTests", "NUnitTests\NUnitTests.csproj", "{892D1969-B67D-48E9-A1E6-60BD27AA0554}"
EndProject
Project("{E24C65DC-7377-472B-9ABA-BC803B73C61A}") = "C:\...\WebTest\", "WebTest\", "{5061FB61-2033-4401-95F3-A9E7488F6A9C}"
	ProjectSection(WebsiteProperties) = preProject
		ProjectReferences = "{D605E662-4A85-472A-B95D-EE920A55E956}|ASPCompat.dll;"
		Debug.AspNetCompiler.VirtualPath = "/WebTest"
		Debug.AspNetCompiler.PhysicalPath = "WebTest\"
		Debug.AspNetCompiler.TargetPath = "PrecompiledWeb\WebTest\"
		Debug.AspNetCompiler.Updateable = "true"
		Debug.AspNetCompiler.ForceOverwrite = "true"
		Debug.AspNetCompiler.FixedNames = "false"
		Debug.AspNetCompiler.Debug = "True"
		Release.AspNetCompiler.VirtualPath = "/WebTest"
		Release.AspNetCompiler.PhysicalPath = "WebTest\"
		Release.AspNetCompiler.TargetPath = "PrecompiledWeb\WebTest\"
		Release.AspNetCompiler.Updateable = "true"
		Release.AspNetCompiler.ForceOverwrite = "true"
		Release.AspNetCompiler.FixedNames = "false"
		Release.AspNetCompiler.Debug = "False"
		VWDPort = "4626"
		DefaultWebSiteLanguage = "Visual C#"
	EndProjectSection
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "NUnitASPTests", "NUnitASPTests\NUnitASPTests.csproj", "{4E7D004A-4433-44BD-BAE5-D7F4E1F1BD6E}"
EndProject
Global
	GlobalSection(SolutionConfigurationPlatforms) = preSolution
		Debug|.NET = Debug|.NET
		Debug|Any CPU = Debug|Any CPU
		Debug|Mixed Platforms = Debug|Mixed Platforms
		Release|.NET = Release|.NET
		Release|Any CPU = Release|Any CPU
		Release|Mixed Platforms = Release|Mixed Platforms
	EndGlobalSection
	GlobalSection(ProjectConfigurationPlatforms) = postSolution
		{D605E662-4A85-472A-B95D-EE920A55E956}.Debug|.NET.ActiveCfg = Debug|Any CPU
		{D605E662-4A85-472A-B95D-EE920A55E956}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
		{D605E662-4A85-472A-B95D-EE920A55E956}.Debug|Any CPU.Build.0 = Debug|Any CPU
		{D605E662-4A85-472A-B95D-EE920A55E956}.Debug|Mixed Platforms.ActiveCfg = Release|Any CPU
		{D605E662-4A85-472A-B95D-EE920A55E956}.Debug|Mixed Platforms.Build.0 = Release|Any CPU
		{D605E662-4A85-472A-B95D-EE920A55E956}.Release|.NET.ActiveCfg = Release|Any CPU
		{D605E662-4A85-472A-B95D-EE920A55E956}.Release|Any CPU.ActiveCfg = Release|Any CPU
		{D605E662-4A85-472A-B95D-EE920A55E956}.Release|Any CPU.Build.0 = Release|Any CPU
		{D605E662-4A85-472A-B95D-EE920A55E956}.Release|Mixed Platforms.ActiveCfg = Release|Any CPU
		{D605E662-4A85-472A-B95D-EE920A55E956}.Release|Mixed Platforms.Build.0 = Release|Any CPU
		{892D1969-B67D-48E9-A1E6-60BD27AA0554}.Debug|.NET.ActiveCfg = Debug|Any CPU
		{892D1969-B67D-48E9-A1E6-60BD27AA0554}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
		{892D1969-B67D-48E9-A1E6-60BD27AA0554}.Debug|Any CPU.Build.0 = Debug|Any CPU
		{892D1969-B67D-48E9-A1E6-60BD27AA0554}.Debug|Mixed Platforms.ActiveCfg = Release|Any CPU
		{892D1969-B67D-48E9-A1E6-60BD27AA0554}.Debug|Mixed Platforms.Build.0 = Release|Any CPU
		{892D1969-B67D-48E9-A1E6-60BD27AA0554}.Release|.NET.ActiveCfg = Release|Any CPU
		{892D1969-B67D-48E9-A1E6-60BD27AA0554}.Release|Any CPU.ActiveCfg = Release|Any CPU
		{892D1969-B67D-48E9-A1E6-60BD27AA0554}.Release|Any CPU.Build.0 = Release|Any CPU
		{892D1969-B67D-48E9-A1E6-60BD27AA0554}.Release|Mixed Platforms.ActiveCfg = Release|Any CPU
		{892D1969-B67D-48E9-A1E6-60BD27AA0554}.Release|Mixed Platforms.Build.0 = Release|Any CPU
		{5061FB61-2033-4401-95F3-A9E7488F6A9C}.Debug|.NET.ActiveCfg = Debug|.NET
		{5061FB61-2033-4401-95F3-A9E7488F6A9C}.Debug|.NET.Build.0 = Debug|.NET
		{5061FB61-2033-4401-95F3-A9E7488F6A9C}.Debug|Any CPU.ActiveCfg = Debug|.NET
		{5061FB61-2033-4401-95F3-A9E7488F6A9C}.Debug|Mixed Platforms.ActiveCfg = Debug|.NET
		{5061FB61-2033-4401-95F3-A9E7488F6A9C}.Debug|Mixed Platforms.Build.0 = Debug|.NET
		{5061FB61-2033-4401-95F3-A9E7488F6A9C}.Release|.NET.ActiveCfg = Debug|.NET
		{5061FB61-2033-4401-95F3-A9E7488F6A9C}.Release|.NET.Build.0 = Debug|.NET
		{5061FB61-2033-4401-95F3-A9E7488F6A9C}.Release|Any CPU.ActiveCfg = Debug|.NET
		{5061FB61-2033-4401-95F3-A9E7488F6A9C}.Release|Mixed Platforms.ActiveCfg = Debug|.NET
		{5061FB61-2033-4401-95F3-A9E7488F6A9C}.Release|Mixed Platforms.Build.0 = Debug|.NET
		{4E7D004A-4433-44BD-BAE5-D7F4E1F1BD6E}.Debug|.NET.ActiveCfg = Debug|Any CPU
		{4E7D004A-4433-44BD-BAE5-D7F4E1F1BD6E}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
		{4E7D004A-4433-44BD-BAE5-D7F4E1F1BD6E}.Debug|Any CPU.Build.0 = Debug|Any CPU
		{4E7D004A-4433-44BD-BAE5-D7F4E1F1BD6E}.Debug|Mixed Platforms.ActiveCfg = Release|Any CPU
		{4E7D004A-4433-44BD-BAE5-D7F4E1F1BD6E}.Debug|Mixed Platforms.Build.0 = Release|Any CPU
		{4E7D004A-4433-44BD-BAE5-D7F4E1F1BD6E}.Release|.NET.ActiveCfg = Release|Any CPU
		{4E7D004A-4433-44BD-BAE5-D7F4E1F1BD6E}.Release|Any CPU.ActiveCfg = Release|Any CPU
		{4E7D004A-4433-44BD-BAE5-D7F4E1F1BD6E}.Release|Any CPU.Build.0 = Release|Any CPU
		{4E7D004A-4433-44BD-BAE5-D7F4E1F1BD6E}.Release|Mixed Platforms.ActiveCfg = Release|Any CPU
		{4E7D004A-4433-44BD-BAE5-D7F4E1F1BD6E}.Release|Mixed Platforms.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 has no explicit license attached to it but may contain usage terms in the article text or the download files themselves. If in doubt please contact the author via the discussion board below.

A list of licenses authors might use can be found here


Written By
Web Developer
United States United States
I am a tech lead working for Cap Gemini. Although I primarily work with the Microsoft technology stack (including .NET and legacy technologies) I like to keep myself informed about developments in the Java world.

Comments and Discussions