Convince me to move to .net 3.5 (from 2.0) [closed

2020-02-16 12:25发布

I am into new desktop app development. I feel at home with .NET 2.0 and c#. I guess I don't need linq, nor care for WPF and other Vista-oid fancy keywords. I also like rather tight and slim 2.0 redistributable, even more for reason it's Vista and 7 included.

Why switch to 3.5?

20条回答
做自己的国王
2楼-- · 2020-02-16 12:55

One reason not to use 3.5 is Mono.

The Mono API today is somewhere in between .NET 2.0 and .NET 3.5 see our Roadmap for details about what is implemented.

Taken from here.

Another reason is that Winforms hasn't moved forward hardly at all, so you may want to wait until 4.whatever comes out before jumping.

My understanding is that some stuff, like LINQ, can be used just fine with .Net 2.0, since it's just a Library.

查看更多
等我变得足够好
3楼-- · 2020-02-16 12:55

If you don't need LINQ, don't want WPF (or WCF), and don't like the extended use of generics, the simple answer is: don't do it!

However once you have used just one of the above features of 3.5 you will wonder how you ever did without. The real reason to move to 3.5 is to get the benefit of these features.

So if you are completely happy with 2.0, and have never said "I wish I could just... xyz", I suggest you stay where you are.

查看更多
4楼-- · 2020-02-16 12:55

Read this blog http://weblogs.asp.net/scottgu/archive/2007/11/19/visual-studio-2008-and-net-3-5-released.aspx

From here you will get better idea on .Net 3.5 and VS 2008.

Why the higher version is coming is that,higher version is having easy for development and also having high performance :)

查看更多
▲ chillily
5楼-- · 2020-02-16 12:59

I would upgrade just for lambdas!

SaveButton.Click += new EventHandler((sender, e) => this.Save());
查看更多
趁早两清
6楼-- · 2020-02-16 12:59

If you don;t need to use any of the 3.5 features, then don't worry, it is just an addition of new Framework Libraries, the CLR and CLI havn't changed, thus everything you write, be it using framework libraries from version 2.0, 3.0 or 3.5 all ends up as the same IL code. Knowing this, if at some point in the future you decide you do want to add some 3.5 functionality to you application, you can do so with the knowledge that there will be no migration pains (ike the upgrade from 1.1 to 2.0) as all you're really doing is telling Visual Studio to "let you add the 3.0/3.5 dlls" to your project. Of course you will have to make sure your users have .net 3.0/3.5 installed.

查看更多
做自己的国王
7楼-- · 2020-02-16 13:01

It seems like every app needs to communicate with other apps now. So,

  • WCF

Having written a TCP communication library in the past, I would have been thrilled, overjoyed, ecstatic, and otherwise quite happy if I had been able to save those months by spending 1 day with WCF.

查看更多
登录 后发表回答