Six Things That'll Surprise You About .NET 4.0

acceptableseashoreSecurity

Nov 5, 2013 (4 years and 1 month ago)

93 views

Six Things

That’ll Surprise

You About

.NET 4.0




http://www.develop.com

We’ve combed through .NET 4 to pull out the cool features
that maybe didn’t get all the press


but should have.
Continue on, have a look, and be pleasantly surprised!

Six Things That’ll Surprise

You About .NET 4.0




http://www.develop.com

#1 Visual Studio 2010 Multi
-
Monitor Support

You may have known…

But did you know…

that code
-
focused functionality is a big part of the new features in 2010.

VS 2010 was rewritten in WPF and has true multi
-
monitor support?


You can now drag designer and code windows to separate monitors to
work on UI look
-
and
-
feel as well as code
-
behind at the same time.

Six Things That’ll Surprise

You About .NET 4.0




http://www.develop.com

#2 JQuery is now part of ASP.NET

You may have known…

But did you know…

that ASP.NET MVC is now built into Visual Studio 2010 and .NET 4.0.

JQuery (an open
-
source project) is now part of ASP.NET?


In fact, you can even open support tickets with Microsoft concerning
JQuery.

Six Things That’ll Surprise

You About .NET 4.0




http://www.develop.com

#3 WF 4 Has a Rehostable Designer

You may have known…

But did you know…

that Workflow 4 was completely rewritten from .NET 3.5 to 4.0.

The WF designer in VS 2010 can be rehosted in your own .NET apps?


Yes they told us that with .NET 3, but it was extremely complicated. With
WF 4, it’s only a couple of lines of code and you can now allow your users
to visual create custom workflows around your activity libraries.

Six Things That’ll Surprise

You About .NET 4.0




http://www.develop.com

#4 BCL has New Thread
-
Safe Collections

You may have known…

But did you know…

that .NET 4 has threading constructs like Parallel.For for CPU bound work.

there is a new collection namespace System.Collections.Concurrent?


Here you’ll find lock
-
free, thread
-
safe collections such as
ConcurrentQueue<T>.

Six Things That’ll Surprise

You About .NET 4.0




http://www.develop.com

#5 WPF has
Real

Text Support

You may have known…

But did you know…

that the WPF / Silverlight designers in VS 2010 are greatly improved.

the text rendering stack in WPF 4 has been completely rewritten?


Now text looks as clear in WPF as it does in GDI+ with ClearType
enabled. This includes animated text and other edge cases.

Six Things That’ll Surprise

You About .NET 4.0




http://www.develop.com

#6 CLR and BCL has new Numerical Types

You may have known…

But did you know…

that .NET 4 ships with an entirely new runtime (first new CLR since 2005).

there are new numerical types including BigInteger and ComplexNumber?


These can help in situations where overflow was a problem or where you
are modeling systems with advanced mathematical formulas.

Six Things That’ll Surprise

You About .NET 4.0




http://www.develop.com

RECAP


The Six Surprises of .NET 4.0

1. Visual Studio 2010 Multi
-
monitor Support

2. JQuery is now part of ASP.NET

3. WF 4 Has a Rehostable Designer

4. BCL has New Thread
-
Safe Collections

5. WPF has
Real

Text Support

6. CLR and BCL has new Numerical Types