Click here to Skip to main content
15,868,164 members
Articles / Programming Languages / C# 4.0

C# 5.0 vNext - New Asynchronous Pattern

Rate me:
Please Sign up or sign in to vote.
4.82/5 (93 votes)
20 Nov 2010CPOL22 min read 238.7K   2.3K   168  
C# 5.0 CTP was introduced recently, this article is specally dealing with my own understanding with this realease with few sample applications

Microsoft Visual Studio Solution File, Format Version 11.00
# Visual Studio 2010
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "WpfApplication1", "WpfApplication1\WpfApplication1.csproj", "{064BF17F-FA82-4607-9F25-5960F55D67DE}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "WpfAsynchrony", "WpfAsynchrony\WpfAsynchrony.csproj", "{0D8AC9EC-0262-4980-B74D-EC9E450B02CF}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SimplestAsync", "SimplestAsync\SimplestAsync.csproj", "{A6B99936-ADE6-437E-A3E8-7AA2902EDEE9}"
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
		{064BF17F-FA82-4607-9F25-5960F55D67DE}.Debug|Any CPU.ActiveCfg = Debug|x86
		{064BF17F-FA82-4607-9F25-5960F55D67DE}.Debug|Mixed Platforms.ActiveCfg = Debug|x86
		{064BF17F-FA82-4607-9F25-5960F55D67DE}.Debug|Mixed Platforms.Build.0 = Debug|x86
		{064BF17F-FA82-4607-9F25-5960F55D67DE}.Debug|x86.ActiveCfg = Debug|x86
		{064BF17F-FA82-4607-9F25-5960F55D67DE}.Debug|x86.Build.0 = Debug|x86
		{064BF17F-FA82-4607-9F25-5960F55D67DE}.Release|Any CPU.ActiveCfg = Release|x86
		{064BF17F-FA82-4607-9F25-5960F55D67DE}.Release|Mixed Platforms.ActiveCfg = Release|x86
		{064BF17F-FA82-4607-9F25-5960F55D67DE}.Release|Mixed Platforms.Build.0 = Release|x86
		{064BF17F-FA82-4607-9F25-5960F55D67DE}.Release|x86.ActiveCfg = Release|x86
		{064BF17F-FA82-4607-9F25-5960F55D67DE}.Release|x86.Build.0 = Release|x86
		{0D8AC9EC-0262-4980-B74D-EC9E450B02CF}.Debug|Any CPU.ActiveCfg = Debug|x86
		{0D8AC9EC-0262-4980-B74D-EC9E450B02CF}.Debug|Mixed Platforms.ActiveCfg = Debug|x86
		{0D8AC9EC-0262-4980-B74D-EC9E450B02CF}.Debug|Mixed Platforms.Build.0 = Debug|x86
		{0D8AC9EC-0262-4980-B74D-EC9E450B02CF}.Debug|x86.ActiveCfg = Debug|x86
		{0D8AC9EC-0262-4980-B74D-EC9E450B02CF}.Debug|x86.Build.0 = Debug|x86
		{0D8AC9EC-0262-4980-B74D-EC9E450B02CF}.Release|Any CPU.ActiveCfg = Release|x86
		{0D8AC9EC-0262-4980-B74D-EC9E450B02CF}.Release|Mixed Platforms.ActiveCfg = Release|x86
		{0D8AC9EC-0262-4980-B74D-EC9E450B02CF}.Release|Mixed Platforms.Build.0 = Release|x86
		{0D8AC9EC-0262-4980-B74D-EC9E450B02CF}.Release|x86.ActiveCfg = Release|x86
		{0D8AC9EC-0262-4980-B74D-EC9E450B02CF}.Release|x86.Build.0 = Release|x86
		{A6B99936-ADE6-437E-A3E8-7AA2902EDEE9}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
		{A6B99936-ADE6-437E-A3E8-7AA2902EDEE9}.Debug|Any CPU.Build.0 = Debug|Any CPU
		{A6B99936-ADE6-437E-A3E8-7AA2902EDEE9}.Debug|Mixed Platforms.ActiveCfg = Debug|Any CPU
		{A6B99936-ADE6-437E-A3E8-7AA2902EDEE9}.Debug|Mixed Platforms.Build.0 = Debug|Any CPU
		{A6B99936-ADE6-437E-A3E8-7AA2902EDEE9}.Debug|x86.ActiveCfg = Debug|Any CPU
		{A6B99936-ADE6-437E-A3E8-7AA2902EDEE9}.Release|Any CPU.ActiveCfg = Release|Any CPU
		{A6B99936-ADE6-437E-A3E8-7AA2902EDEE9}.Release|Any CPU.Build.0 = Release|Any CPU
		{A6B99936-ADE6-437E-A3E8-7AA2902EDEE9}.Release|Mixed Platforms.ActiveCfg = Release|Any CPU
		{A6B99936-ADE6-437E-A3E8-7AA2902EDEE9}.Release|Mixed Platforms.Build.0 = Release|Any CPU
		{A6B99936-ADE6-437E-A3E8-7AA2902EDEE9}.Release|x86.ActiveCfg = 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
President
India India
Did you like his post?

Oh, lets go a bit further to know him better.
Visit his Website : www.abhisheksur.com to know more about Abhishek.

Abhishek also authored a book on .NET 4.5 Features and recommends you to read it, you will learn a lot from it.
http://bit.ly/EXPERTCookBook

Basically he is from India, who loves to explore the .NET world. He loves to code and in his leisure you always find him talking about technical stuffs.

Working as a VP product of APPSeCONNECT, an integration platform of future, he does all sort of innovation around the product.

Have any problem? Write to him in his Forum.

You can also mail him directly to abhi2434@yahoo.com

Want a Coder like him for your project?
Drop him a mail to contact@abhisheksur.com

Visit His Blog

Dotnet Tricks and Tips



Dont forget to vote or share your comments about his Writing

Comments and Discussions