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

Apr 1, 2011
Post comments count0
Post likes count0

Hardening Server Applications

CLR Team
CLR Team

The Base Class Libraries team, the wider CLR team and Microsoft Research worked hard on this new technology and we are very proud to be able to share the news. Read the full article for details.

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

Razor tooling for MVC3 RC with Visual Studio 2010 Sp1 RTM

Web Development Tools Microsoft
Web Development Tools Microsoft

Do you see that Razor colorization, intellisense has stopped working after you have installed Visual Studio Sp1 RTM? The reason is that you might have MVC3 RC installed on the box which is not compatible with Visual Studio 2010 Sp1 RTM. To fix, you would need to install MVC3 RTM. Following are the details of the issue.What’s the issue?Razor i...

ASP.NET
Mar 14, 2011
Post comments count0
Post likes count0

Enabling IIS Express support in VS 2010 Sp1

Web Development Tools Microsoft
Web Development Tools Microsoft

  With the Sp1 release of Visual Studio 2010 now available for download, you now have the option to use IIS Express as the development server for your web projects instead of the built-in Visual Studio Development server (aka. Cassini). Here are some previous blog posts explaining the IIS Express integration features in VS 2010 Sp1 Beta, whic...

ASP.NET
Feb 24, 2011
Post comments count0
Post likes count0

How to compress CSS/JavaScript before publish/package

Web Development Tools Microsoft
Web Development Tools Microsoft

Today I saw a post on stackoverflow.com asking Using Microsoft AJAX Minifier with Visual Studio 2010 1-click publish. This is a response to that question. The Web Publishing Pipeline is pretty extensive so it is easy for us to hook in to it in order to perform operation such as these. One of those extension points, as we’ve blogged about befo...

ASP.NET
Feb 15, 2011
Post comments count0
Post likes count0

SpinWait.SpinUntil for unit testing

Stephen Toub - MSFT
Stephen Toub - MSFT

One of the hidden gems in .NET 4 is the System.Threading.SpinWait type.  This type is typically used for implementing lock-free solutions, and is used heavily throughout the rest of the threading and parallelism support in .NET 4.  That’s why I call it “hidden”, because most folks don’t implement their own lock-fre...

.NET Parallel Programming
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