.NET Blog

Free. Cross-platform. Open source. A developer platform for building all your apps.

Latest posts

VS11 Beta JavaScript Feature comparison with VS2010sp1
Mar 15, 2012
0
0

VS11 Beta JavaScript Feature comparison with VS2010sp1

Web Development Tools Microsoft
Web Development Tools Microsoft

In Visual Studio 11 Beta, we have exciting JavaScript editing features for the developers. Last year, we blogged “JavaScript Web development differences between Visual Studio 11 Developer preview and Visual Studio 2010”. Here are the differences between Visual Studio 11 Beta and Visual Studio 2010. IntelliSense   XML Document Debug/Breakpoint MicrosoftAjax.js and other library Support Editor display Validation Misc   You feedback is very valuable for us.  Please go to http://connect...

Is it ok to use nested Parallel.For loops?
Mar 14, 2012
0
1

Is it ok to use nested Parallel.For loops?

Stephen Toub - MSFT
Stephen Toub - MSFT

Every now and then, I get this question: “is it ok to use nested Parallel.For loops?” The short answer is “yes.”  As is often the case, the longer answer is, well, longer. Typically when folks ask this question, they’re concerned about one of two things.  First, they’re concerned that each nested loop will assume it “owns the machine” and will thus try to use all of the cores for itself, e.g. if their code was running on an eight-core machine, they’re concerned that the outer loop would run eight of the nested loops in parallel, each of which would use eight threads, such that there would be 64 threads all churn...

Visual Studio 11 Beta HTML/CSS editor features
Mar 12, 2012
0
0

Visual Studio 11 Beta HTML/CSS editor features

Web Development Tools Microsoft
Web Development Tools Microsoft

Visual Studio 11 Beta has some more improvement in HTML and CSS editors over the Developer Preview time. You can see the major feature descriptions through www.asp.net/vnext .  In this channel9 video, Mads Kristensen demonstrated a few great HTML/CSS editor features in VS11 Beta (The video also demos Page inspector features by Jorge Gabuardi, and JavaScript feature by Mads as well). Also, Here is an additional list of HTML/CSS editor features that we improved in Visual Studio 11 Beta. HTML editor CSS editor ...

Optimizing the .NET Framework Deployment Experience for Users and Developers
Mar 7, 2012
0
0

Optimizing the .NET Framework Deployment Experience for Users and Developers

Brandon Bray
Brandon Bray

Rapid development has been one of the enduring themes behind the design of the .NET Framework. We know that authoring application installers is particularly difficult and could be improved. The following post is by Richard Lander from the program management team on the Common Language Runtime. He explains our motivations for introducing a new model for deploying the .NET Framework as seen in the Windows 8 Developer Preview and updated in the Windows 8 Consumer Preview.  – Brandon Everyone knows that it's all about the apps. I can think back to the early 1990s, when I was using both WordPerfect 5...

Visual Studio 11 Beta Razor editor issue workaround
Mar 6, 2012
0
0

Visual Studio 11 Beta Razor editor issue workaround

Web Development Tools Microsoft
Web Development Tools Microsoft

We found Visual Studio 11 Beta hits a crash bug when editing a Razor page (cshtml/vbhtml) in a MVC4 project or a Razor2 Website if the indenting option for the HTML editor is set to Block instead of Smart. The workaround is to go to Tools->Options->Text Editor->HTML->Tab and change the indenting option to Smart.HTML smart indenting is a new feature in Visual Studio 11 and is the default option. However, if you have previous versions of Visual Studio installed on the same machine, the old indenting option might get accidently migrated to your Visual Studio 11 Beta settings.  And the block HTML ind...

Are you using TPL Dataflow?  We’d love to know!
Mar 6, 2012
0
0

Are you using TPL Dataflow? We’d love to know!

Stephen Toub - MSFT
Stephen Toub - MSFT

Are you using the new System.Threading.Tasks.Dataflow.dll library, either from its CTPs or from the .NET 4.5 Developer Preview or Beta?  We'd love to hear about it, and if you have time, what your experiences have been (good or bad).  What kind of solution are you building, and how are you using TPL Dataflow in it?  Has the library helped from a code maintenance perspective?  From a performance perspective?  Are there features you’d like to see added in the future?Please email me at stoub at microsoft dot com.  We're looking forward to hearing from you.  Thanks in advance!...

Implementing a simple ForEachAsync, part 2
Mar 5, 2012
2
2

Implementing a simple ForEachAsync, part 2

Stephen Toub - MSFT
Stephen Toub - MSFT

After my previous post, I received several emails and comments from folks asking why I chose to implement ForEachAsync the way I did.  My goal with that post wasn’t to prescribe a particular approach to iteration, but rather to answer a question I’d received… obviously, however, I didn’t provide enough background. Let me take a step back then so as to put the post in context.Iteration is a common development task, and there are many different variations on how iteration might be implemented.  For example, a basic synchronous ForEach might be implemented as follows: public stat...

Update 4.0.3 for the Microsoft .NET Framework 4
Mar 5, 2012
0
0

Update 4.0.3 for the Microsoft .NET Framework 4

Layla Driscoll
Layla Driscoll

Update (2017): See .NET Framework Releases to learn about newer releases. This release is no longer supported. We continue to bring certain features through updates to .NET 4 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 authored the following. – Layla Update 4.0.3 for the Microsoft .NET Framework 4 is now available for download. This is the third platform update that offers new features on top of the initial release for the .NET Framework 4. You can learn about earlier platform updates via the following l...

Visual Studio 11 Beta Page Inspector Tutorial live in asp.net
Mar 5, 2012
0
0

Visual Studio 11 Beta Page Inspector Tutorial live in asp.net

Web Development Tools Microsoft
Web Development Tools Microsoft

Using Page Inspector In Visual Studio 11 Beta, you can see what elements in the source files (including server-side code) have produced the HTML markup that is rendered to the browser. Page Inspector also let you modify CSS properties and DOM element attributes and see the changes reflected immediately in the browser.  We have two tutorials live in www.asp.net .  Use it and let us know what you think.  We hope you like it. http://www.asp.net/web-forms/tutorials/aspnet-45/using-page-inspector-in-a-visual-studio-11-beta-web-forms-projecthttp://www.asp.net/mvc/tutorials/mvc-4/using-page-inspector-in-a...