Prerequisites for using C# 6 Roslyn -
there's lot of buzz around c# 6
however, wanted know if work in asp.net , asp.net mvc?
i mean, c# 6 cannot run in framework 4.5 (or can it?)
should use c# 6 backend of asp.net/(mvc), because doesn't have private servers.
so, should wait hosters godaddy upgrade system, before use anticipated c# 6?
the preview-release of c# 6.0 compiler - compiler. doesn't target new version of .net framework. such, there's nothing new needs installed on server - compile code new compiler, upload it, , you're done.
of course, doesn't mean features available if you're not using sufficiently up-to-date version of .net - if you're targeting .net 2.0, don't use linq since introduced in .net 3.5.
also, lot of features you've heard "buzz" haven't been implemented yet, in preview-release. they're planned, that's all. if there's particular feature you've heard you're wanting make use of, should check whether it's been implemented before bother downloading it.
the point though c# compiler , .net framework 2 separate things. there has not (yet) been announcement of new version of .net framework.
another point worth bearing in mind though preview-release compiler says - preview-release. not final release, , need aware features change or removed under time final release comes around. how is, can't say, , risks involved in using new features introduced preview compiler production application weigh.
Comments
Post a Comment