InfoQ

InfoQ

News

My Bookmarks

Login or Register to enable bookmarks for unlimited time.

The content has been bookmarked!

There was an error bookmarking this content! Please retry.

Visual Studio 2010 and .NET 4.0 Beta 1

Posted by Al Tenhundfeld on May 18, 2009

Sections
Development
Topics
.NET Framework ,
.NET

After numerous CTPs, Microsoft has released Beta 1 of Visual Studio 2010 and .NET 4.0. This long awaited release, initially available only to MSDN subscribers, includes ASP.NET 4.0 enhancements, improved SharePoint Development, better support for parallel programming and cloud development, and new application lifecycle management capabilities. After Wednesday May 20th, Beta should be publically available via MS downloads (not active until Wednesday).

Arguably the most anticipated component of .NET Framework 4.0, ASP.NET 4.0 will have many new features and improvements:

  • Core improvements: extensible output caching and session state improvements
  • Improved AJAX libraries, including a better JavaScript API
  • WebForms improvements: ClientID manipulation, more granular ViewState control, improved databound controls (ListView)
  • Routing
  • Dynamic Data

It should be noted that ASP.NET MVC is not included in VS 2010 Beta 1. "Right now, if you try and open an MVC project with VS 2010 Beta 1, you’ll get some error message about the project type not being supported. The easy fix for now is to remove the ASP.NET MVC ProjectTypeGuid entry."

Another goal for the next version of Visual Studio and the .NET Framework is to support emerging trends. Expect more integration with cloud development, specifically Windows Azure, and parallel multi-thread programming.

Parallel programming improvements include native C++ libraries that use lambda functions and align well with STL and Parallel Extensions to the .NET Framework offers support for imperative data and task parallelism, declarative data parallelism.

The .NET Framework 4.0 also provides the core framework support to build parallel applications through technologies such as P-LIINQ and parallel language semantics and framework components. Visual Studio 2010 provides integrated parallel development support. In Visual Studio 2010 the debugger is aware of the parallel nature of code and can present the state of the application execution during debugging across the different parallel execution units. The debugger also has custom displays for parallel code such as task & thread windows and a “multi” or “cactus” stack view window that graphically shows the execution path of the individual tasks.

The Visual Studio UI shell has been rewritten in WPF with a focus on removing clutter, providing richer action feedback, and improving floating documents and windows.

SharePoint development in Visual Studio 2010 will also see improvements through enhanced customization abilities with new templates, designers and explorers; integrated management of workflows association and initiation; F5 deployment and debugging for SharePoint apps; and improved SharePoint site navigation with Server Explorer

Visual Studio Team System also has many new features including improved application lifecycle management, the Microsoft Test Runner allowing historical debugging, realtime code modeling tools, test impact analyzers, and enhanced version control capabilities with gated check-ins, branch visualization, and build workflows.

Visual Studio rewritten? ;) by Gabor Ratky Posted
Re: Visual Studio rewritten? ;) by Al Tenhundfeld Posted
Refactoring by Oliver Weichhold Posted
Re: Refactoring by Francois Ward Posted
Under the radar... Also included in VS2010 (and in this beta) by sebastian h Posted
  1. Back to top

    Visual Studio rewritten? ;)

    by Gabor Ratky

    I bet you were not serious about Visual Studio being rewritten in WPF ;) While parts of the shell have been, let's just say that Visual Studio is still mostly native COM code.

  2. Back to top

    Re: Visual Studio rewritten? ;)

    by Al Tenhundfeld

    Ah yes, I didn't mean to say VS had been entirely rewritten from the ground up. I just meant that the UI shell had been updated to use WPF; I've edited that paragraph to be clearer. Thanks for catching my mistake!

  3. Back to top

    Refactoring

    by Oliver Weichhold

    Unbelievable, still no news about refactoring improvements that would at least bring DevStudio to the level of the major Java IDEs a couple years ago.

  4. Back to top

    Re: Refactoring

    by Francois Ward

    Yup, refactoring is still the same I've been playing with VS2010 since it hit MSDN. Really sweet overall, everything has been massively overhauled... -except- for refactoring.

    Mind you, there are plugins that will bring refactoring support beyond the (free) Java IDEs, but those aren't free themselves, so its a bit silly.

    Beta 1 is -far- from feature complete however. My understanding is that its a rather old build (the sharepoint stuff is not in there for the most part, the C++ support is in its infancy, etc), so it might get there. My understanding is that the refactoring system was overhauled in VS2008, but they didn't have time to actually put it to use, and it should be in VS2010...so its just a matter of implementing the various refactoring snippets.

    Lets hope they do, but it will take a long before I give up my Resharper :)

  5. Back to top

    Under the radar... Also included in VS2010 (and in this beta)

    by sebastian h

    Under the radar... Also included in VS2010 (and included in this beta release) are significant extensions to Dotfuscator CE that support
    * the injection of feature and session monitoring (streaming usage data to a developer-specified endpoint),
    * the injection of application expiry dates, and
    * the injection of tamper defense and notification.
    * Opt-in/Opt-out logic can also be injected.

    Microsoft first announced this functionality at PDC2008
    www.microsoft.com/Presspass/press/2008/oct08/10...

    If you want a detailed walk through (including vs2010 b1 screen shots), check out Bill Leach’s blog entry at blogs.preemptive.com/post/Whate28099s-new-with-...

    For a MSFT employee blog entry on this same functionality, visit blogs.msdn.com/terryclancy/archive/2009/05/19/v...

Educational Content

Jesper Boeg on Priming Kanban

In this interview, Jesper Boeg, author of the new InfoQ book – Priming Kanban, discusses the keys to using Kanban effectively, and how to get started if you are currently using other approaches.

New-age Transactional Systems - Not Your Grandpa's OLTP

John Hugg discusses high volume transaction processing applications with high and low frequency profiles, and how VoltDB can be used for that purpose.

Cool Code

Kevlin Henney examines code samples to see what can be learned from them starting from the premise that one won’t write great code unless he knows how to read it.

Collaboration: At the Extremities of Extreme

Jason Ayers share the observations he made watching a team of developers collaborating in real time on the same code base, pushing XP, pair programming and continuous integration to their extremes.

Yesod Web Framework

Michael Snoyman presents Yesod, a web framework written in Haskell and containing a web server, templating, ORM, libraries (templating, gravatar, etc.).

Transactions without Transactions

Richard Kreuter and Kyle Banker on how to avoid classical RDBMS transactional systems by using compensation mechanisms, transactional messaging or transactional procedures.

Attila Szegedi on JVM and GC Performance Tuning at Twitter

Attila Szegedi talks about performance tuning Java and Scala programs at Twitter: how to approach GC problems, the importance of asynchronous I/O, when to use MySQL/Cassandra/Redis, and much more.

10 tips on how to prevent business value risk

One category of risk that project teams need to ensure they address is business value failure – delivering a product that fails to provide value for the business investor.