Showing results for 2011 - Page 2 of 7 - .NET Blog

Nov 1, 2011
Post comments count0
Post likes count0

Updated Async CTP

Stephen Toub - MSFT
Stephen Toub - MSFT

In April, we released the Async CTP Refresh, and since then we've seen fantastic adoption of the technology.  We've also seen the technology landscape evolve.  Windows Phone 7.5, aka "Mango", was released.  Silverlight 5 has had both a Beta and an RC release.  And there have been multiple patches to Visual Studio and the .NET Fr...

.NET Parallel Programming
Oct 27, 2011
Post comments count0
Post likes count0

Update 4.0.2 for the Microsoft .NET Framework 4

Brandon Bray
Brandon Bray

Update (2017): See .NET Framework Releases to learn about newer releases. This release is now unsupported. With .NET 4, we’ve focused on bringing certain features to market through updates without having to wait for the .NET 4.5 release. This post covers what the latest platform update has to offer. Vivek Mishra from the .NET Servicing team authore...

.NET
Oct 27, 2011
Post comments count0
Post likes count0

Update 4.0.2 for the Microsoft .NET Framework 4

Brandon Bray
Brandon Bray

Update (2017): See .NET Framework Releases to learn about newer releases. This release is now unsupported. With .NET 4, we’ve focused on bringing certain features to market through updates without having to wait for the .NET 4.5 release. This post covers what the latest platform update has to offer. Vivek Mishra from the .NET Servicing team authore...

.NET
Oct 27, 2011
Post comments count0
Post likes count0

Update 4.0.2 for the Microsoft .NET Framework 4

Brandon Bray
Brandon Bray

Update (2017): See .NET Framework Releases to learn about newer releases. This release is now unsupported. With .NET 4, we’ve focused on bringing certain features to market through updates without having to wait for the .NET 4.5 release. This post covers what the latest platform update has to offer. Vivek Mishra from the .NET Servicing team authore...

.NET
Oct 27, 2011
Post comments count0
Post likes count0

Update 4.0.2 for the Microsoft .NET Framework 4

Brandon Bray
Brandon Bray

Update (2017): See .NET Framework Releases to learn about newer releases. This release is now unsupported. With .NET 4, we’ve focused on bringing certain features to market through updates without having to wait for the .NET 4.5 release. This post covers what the latest platform update has to offer. Vivek Mishra from the .NET Servicing team authore...

.NET
Oct 24, 2011
Post comments count0
Post likes count0

When at last you await

Stephen Toub - MSFT
Stephen Toub - MSFT

When you start using async methods heavily, you’ll likely see a particular pattern of composition pop up from time to time.  Its structure is typically either of the form: async Task FooAsync() {     … // some initialization code without awaits      await BarAsync(…); ...

.NET Parallel Programming
Oct 24, 2011
Post comments count0
Post likes count2

Task.Run vs Task.Factory.StartNew

Stephen Toub - MSFT
Stephen Toub - MSFT

In .NET 4, Task.Factory.StartNew was the primary method for scheduling a new task.  Many overloads provided for a highly configurable mechanism, enabling setting options, passing in arbitrary state, enabling cancellation, and even controlling scheduling behaviors.  The flip side of all of this power is complexity.  You need to know w...

.NET Parallel Programming
Oct 3, 2011
Post comments count0
Post likes count0

Large Object Heap Improvements in .NET 4.5

Brandon Bray
Brandon Bray

Garbage collection is one of premiere features of the .NET managed coding platform. As the platform has become more capable, we’re seeing developers allocate more and more large objects. Since large objects are managed differently than small objects, we’ve heard a lot of feedback requesting improvement. Today’s post is by Surupa B...

.NET
Oct 3, 2011
Post comments count0
Post likes count0

New articles on async/await in MSDN Magazine

Stephen Toub - MSFT
Stephen Toub - MSFT

The October 2011 issue of MSDN Magazine is now available online.  In it, you can find three articles about the new async/await features of C# and Visual Basic.  While the articles can stand alone, they were written with each other in mind in order to provide a 1-2-3 on-ramp into the world of asynchronous programming with these new languag...

.NET Parallel Programming
Oct 2, 2011
Post comments count0
Post likes count0

Keeping Async Methods Alive

Stephen Toub - MSFT
Stephen Toub - MSFT

Consider a type that will print out a message when it’s finalized, and that has a Dispose method which will suppress finalization: class DisplayOnFinalize : IDisposable {     public void Dispose() { GC.SuppressFinalize(this); }     ~DisplayOnFinalize() { Console.WriteLine(“Finalized”); } } Now conside...

.NET Parallel Programming