Showing results for January 2011 - .NET Blog

Jan 27, 2011
Post comments count0
Post likes count0

HTML5 & CSS3 in Visual Studio 2010 SP1

Web Development Tools Microsoft
Web Development Tools Microsoft

Since the release of Visual Studio 2010 SP1 beta last month, there has been a lot of questions regarding the support for HTML5 and CSS3. HTML5 Visual Studio 2010 was originally released without HTML5 support, so does SP1 finally add support for it? Yes, to some extent. The entire HTML5 specification isn’t supported but most of the new elements a...

ASP.NET
Jan 26, 2011
Post comments count0
Post likes count0

TPL Dataflow on TC Labs

Stephen Toub - MSFT
Stephen Toub - MSFT

After releasing a CTP of TPL Dataflow as part of the Async CTP, we had multiple requests for a standalone download for just the System.Threading.Tasks.Dataflow.dll.  Thanks to everyone who asked for this, and as of this morning, such an installer for an updated version of the preview is now available!  This is part of a special ...

.NET Parallel Programming
Jan 25, 2011
Post comments count0
Post likes count0

Parallel Computing Virtual Labs on MSDN

Stephen Toub - MSFT
Stephen Toub - MSFT

Interested in trying out the support for parallel computing in Visual Studio 2010 or .NET 4, but don’t have either installed?  No problem.  You can now use the MSDN Virtual Labs site to try these out from the comforts of your favorite browser (that supports ActiveX).  Multiple labs are available: Enjoy!

.NET Parallel Programming
Jan 20, 2011
Post comments count0
Post likes count0

How to get Razor intellisense for @model in a class library project

Web Development Tools Microsoft
Web Development Tools Microsoft

Many of us follow a modular architecture and create MVC3 Razor view in a separate class library project. Following  is a screenshot of the class library project that I have created. Now if I open a view with @model typed in it, I notice  that it shows squiggle for @model and no intellisense is shown. (error: There is build provider regis...

ASP.NET
Jan 15, 2011
Post comments count5
Post likes count5

AsyncLazy

Stephen Toub - MSFT
Stephen Toub - MSFT

A question I’ve seen come up from time to time is “Why doesn’t Lazy<T> support asynchronous initialization?”  It’s a fair question.  After all, if you’re using Lazy<T> because you have an expensive resource you want to delay the creation of until it’s absolutely needed, it’s fair...

.NET Parallel Programming
Jan 13, 2011
Post comments count1
Post likes count4

await anything;

Stephen Toub - MSFT
Stephen Toub - MSFT

One of the very cool things about the new await keyword in C# and Visual Basic is that it’s pattern based.  It works great with Task and Task<TResult>, and awaiting those two types will represent the vast majority of uses, but they’re by no means the only types that can be awaited.  The languages support awaiting any ins...

.NET Parallel Programming
Jan 13, 2011
Post comments count0
Post likes count0

Interested in working on Technical Computing? We’re hiring!

Stephen Toub - MSFT
Stephen Toub - MSFT

The Parallel Computing Platform team is part of a larger organization at Microsoft focused on technical computing, which as Wikipedia describes it “is the application of the mathematical and computational principles of scientific computing to solve practical problems of industrial interest.”  Suffice it to say that there are a ton ...

.NET Parallel Programming
Jan 13, 2011
Post comments count2
Post likes count5

Await, and UI, and deadlocks! Oh my!

Stephen Toub - MSFT
Stephen Toub - MSFT

It’s been awesome seeing the level of interest developers have had for the Async CTP and how much usage it’s getting.  Of course, with any new technology there are bound to be some hiccups.  One issue I’ve seen arise now multiple times is developers accidentally deadlocking their application by blocking their UI thread, ...

.NET Parallel Programming
Jan 12, 2011
Post comments count0
Post likes count0

How to get Razor syntax support in Visual Studio 2010

Web Development Tools Microsoft
Web Development Tools Microsoft

What’s Razor?Razor is a simple-syntax view engine that is released as part of ASP.NET Model View Controller (MVC) 3. Read more about the syntax on ScottGu’s blog or on ASP.NET How can I get Razor syntax support in Visual Studio 2010?It’s simple. Install the MVC3 RTM bits via Web Platform Installer or download the installer directl...

ASP.NET
Jan 8, 2011
Post comments count0
Post likes count0

Video on Web Deployment using Visual Studio 2010 and MSDeploy

Web Development Tools Microsoft
Web Development Tools Microsoft

Back in November I participated in Virtual Tech Days which is an online conference presented by Microsoft. In the session I discussed the enhancements to web deployment using Visual Studio 2010 and MSDeploy. Some of the topics which I covered includ: You can download the video & all of my sample files at http:...

ASP.NET