开发者

Converting to Visual Studio 2008 and .NET 3.5

开发者 https://www.devze.com 2022-12-15 14:26 出处:网络
The process of converting from Visual Studio .NET 2003 to Visual Studio 2008 is satisfyingly start forward.

The process of converting from Visual Studio .NET 2003 to Visual Studio 2008 is satisfyingly start forward.

I thought it would be worth asking a couple of questions though:

1) Are there any 'gotchas' with this conversion process that we should be aware of?

2) Same question goes for upgrading 开发者_如何学Cthe .NET Framework from 1.1 to 3.5?

Thanks.


There are two things I remember that hit us from back when we moved from 2003 to 2005:

  • smtp e-mail is in a different place (iirc system.net vs system.web)
  • asp.net has a completely different compilation model, and so web site may need a lot of work to get them to where you want them

Also, I recommend immediately going through your code base and replacing any ArrayLists with generic Lists and interfaces. Not because things won't work or for the performance, but to enable you to interact with the old code more easily. It sucks to have new code with a nice generic IEnumerable<T> instance (perhaps the result of a linq expression) and to need to convert to an ArrayList to pass it to an old function.

I'm probably missing a few things, but otherwise things should for the most part just work.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号