Last post Nov 16, 2014 07:57 PM by gerrylowry
Nov 16, 2014 02:18 AM|aminnagpure|LINK
i was planning a switch to node.js due its async, but then i found C# 5.0 also provides async features in C#5.0, and studied it
iam using visual studio 2013, .net 4.5, when i tried to data entity model, it says c#5.0
but is it available for the whole the program
i want to use C# 5.0 for the whole of my website
including signalr, and also wants to use mongodb at the backend, and also wants to use async# 5.0 features with it.
can i do that
i have large website, which has reached its limit, cannot use sql server at the backend, it has to be nosql,
C# TTP and async, promise a very good perfomance
so any suggestions, i think async 5.0 is only available with .edmx files or calls, or can i use it anywhere, any settings to do to have compiler C# 5.0
suggestion for asp.net website with async 5.0 and mongodb
Nov 16, 2014 06:05 AM|avishek.kumar66|LINK
.Net4.5 has support for c#5, so you can write c# 5 programming with all type of projects with your current environment.
For more details about what features were launched with c# 5, visit this :
For more info about Async programming :
For Async controller programming in MVC, visit :
Mark as answer, if it helps.
Nov 16, 2014 09:16 AM|aminnagpure|LINK
how will i know that iam using C# 5.0
anywhere mentioned in the settings,???
Nov 16, 2014 09:26 AM|avishek.kumar66|LINK
To get version of framework - look at version of one of main Assemblies i.e.
Getting version of C# compiler is somewhat harder, but you should be able to guess version by checking what framework version is used.
If you are using command line compiler (csc.exe) you can check help to see version (also you'd need to know Framework version anyway:
Microsoft (R) Visual C# 2010 Compiler version 4.0.30319.1or just use csc /? in developer command prompt.
Nov 16, 2014 07:57 PM|gerrylowry|LINK
To some extent, c# is somewhat version agnostic, unless you require a feature supported in later versions of c#.
Perhaps the easiest way to identify your version of c# is to open Visual Studio and select Help, About Microsoft Visual Studio.
if you see "Visual C# 2013" in the list of installed products, then you will have c# 5.0 (or later, depending on Service Pack behaviour)
edit: worth reading: http://visualstudiomagazine.com/articles/2012/11/01/more-than-just-async.aspx end edit.