Showing results for 2009 - Page 6 of 19 - .NET Blog

Sep 22, 2009
Post comments count0
Post likes count1

TaskScheduler.FromCurrentSynchronizationContext

Stephen Toub - MSFT
Stephen Toub - MSFT

The Task abstractions in .NET 4 run on instances of the TaskScheduler class.  Two implementations of TaskScheduler ship as part of the .NET Framework 4.  The first is the default scheduler, which is integrated with the .NET 4 ThreadPool and takes advantage of its work-stealing queues.  The second is the type of TaskScheduler returned...

.NET Parallel Programming
Sep 21, 2009
Post comments count0
Post likes count0

Download four free sample chapters from Visual Web Developer book

Web Development Tools Microsoft
Web Development Tools Microsoft

Some time ago Jim Cheshire wrote a book on VWD 2008 and recently book publisher kindly allowed us to provide four chapters as free downloadable PDF files. The following chapters are available: You can find link to download at VWD section on ASP.NET Web site (look for Visual Web Developer Books section at the right side) or download ZIP f...

ASP.NET
Sep 11, 2009
Post comments count0
Post likes count0

Program Manager Opportunity on Visual Web Developer

Web Development Tools Microsoft
Web Development Tools Microsoft

The Web Development Tools team is looking for an energetic talented program manager familiar with emerging web standards to design the next generation web authoring experience. We’re looking for someone who is passionate about tooling for web standards including HTML, CSS, JavaScript, AJAX and ASP.Net. An ideal candidate will have 4+ years of p...

ASP.NET
Aug 30, 2009
Post comments count0
Post likes count1

The meaning of TaskStatus

Stephen Toub - MSFT
Stephen Toub - MSFT

Every System.Threading.Tasks.Task instance goes through a lifecycle, and it only makes this journey once.  To provide insight into where in that lifecycle a given Task is, the Task class provides an instance Status property.  That property returns a value from the TaskStatus enumeration that reflects the current point in the lifecycle.&ld...

.NET Parallel Programming
Aug 27, 2009
Post comments count0
Post likes count0

IL Stub Diagnostic Tool

CLR Team
CLR Team

  The IL Stub Diagnostic Tool enables real-time inspection of the contents of IL stubs. Developers now have a powerful tool to troubleshoot issues in interop marshalling, Introduction Jesse posted a great blog talking about the concept, history, and improvements of Intermediate Language (IL) stubs for CLR v4. He mentions The remainder of this...

.NET
Aug 25, 2009
Post comments count0
Post likes count0

The good and the bad of exception filters

CLR Team
CLR Team

Every so often we get asked questions about the CLR’s support for exception filters. Why do some languages support them and others do not? Is it a good idea to add them to my new language? When should I use a filter vs. catch/rethrow? Etc. I’ll try to answer some of these questions for you here, and while I won’t go into all of th...

.NET
Aug 12, 2009
Post comments count2
Post likes count0

Implementing Parallel While with Parallel.ForEach

Stephen Toub - MSFT
Stephen Toub - MSFT

The Parallel class in .NET 4 includes methods that implement three parallel constructs: parallelized for loops (Parallel.For), parallelized foreach loops (Parallel.ForEach), and parallelized statement regions (Parallel.Invoke).  One of the interesting things about Parallel.Invoke is that, in some cases and at least in the current implementatio...

.NET Parallel Programming
Aug 10, 2009
Post comments count0
Post likes count0

Improvements to Interop Marshaling in V4: IL Stubs Everywhere

CLR Team
CLR Team

  When the CLR needs to transition between managed and native code – usually because of P\Invoke or COM interop – we need to generate marshaling stubs (little chunks of code) to handle that specific call and transform the data from managed to native format and back again. . These stubs are little pieces of code that are usually ge...

.NET
Aug 8, 2009
Post comments count0
Post likes count0

Upgrading to Windows 7 with .NET 4 Beta 1

CLR Team
CLR Team

If you’re the kind of early adopter who installs .NET 4 Beta 1 and also wants the latest and greatest operating system (Windows 7), please check out Scott Hanselman’s recent blog post http://www.hanselman.com/blog/VistaUsersUninstallVisualStudio2010Beta1BeforeUpgradingToWindows7.aspx  While .NET 4 Beta 1 works well on both Vista ...

.NET
Aug 5, 2009
Post comments count0
Post likes count0

CLR Inside Out – Code Contracts

CLR Team
CLR Team

  The new installment of the “CLR Inside Out” column in MSDN magazine is available on line.  This month we have an article from Melitta Andersen on Code Contracts.  It provides an overview of the feature, and includes some recommendations the Base Class Libraries team figured out as they added Code Contracts to the BCL...

.NET