.NET Blog

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

Announcing the DotNetCompilerPlatform 1.0.2 release

Update Microsoft.CodeDom.Providers.DotNetCompilerPlatform is now open sourced on GitHub. If you have any suggestion or issue, please go to this link and post your thought there.   Today I'm pleased to announce that the Microsoft.CodeDom.Providers.DotNetCompilerPlatform 1.0.2 package is released on NuGet. It enables ASP.NET to support...

Enabling the .NET Compiler Platform (“Roslyn”) in ASP.NET applications

The .NET languages team recently announced the availability and open sourcing of a public preview of “Roslyn”, the new .NET Compiler Platform. This is the long awaited .NET “compiler as a service” that represents the future of languages and compilation for .NET. You can download a preview including new compilers and ...

Writing Web API Client Code for Multiple Platforms Using Portable Libraries

The Microsoft ASP.NET Web API Client Libraries make it easy to write .NET clients that interact with RESTful HTTP services. Unfortunately, until recently the Web API client libraries did not support all platforms. Because of this limitation, developers had to maintain different code, depending on the target platform. The new release of ...

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

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 ...

ASP.NET Web Application: Publish/Package Tokenizing Parameters

  Today I just saw a question posted on stackoverflow.com asking Why are some Web.config transforms tokenised into SetParameters.xml and others are not? Let me give some background on this topic for those who are not aware of what the question is. With Visual Studio 2010 when you package your application using the Build Deployment Package...

The Aspnet Compiler Build Task in Visual Studio 2010 ASP.Net MVC 2 Projects

If you crack open the project file in an ASP.Net MVC 2 application (in notepad or unload your project and then click “Edit *.proj”), you will notice an interesting line. <MvcBuildViews>false</MvcBuildViews> This is an option to enable a post build task that will run the Asp_net compiler. This command will compile your ...

Pre-Order Visual Studio 2010 Professional upgrade today, and save hundreds

Microsoft Visual Studio 2010 Professional will launch on April 12 but you can beat the rush and secure your copy today by pre-ordering at the affordable estimated retail price of $549, a saving of $250. If you use a previous version of Visual Studio or any other development tool then you are eligible for this upgrade. Along with all the great...

Free Sandbox Hosting for Visual Studio 2010 RC and ASP.NET 4.0 RC from ORCS Web

ORCS Web has updated their Hosting Sandbox for Visual Studio 2010 RC and ASP.NET 4.0 RC.http://vs2010host.comTo learn more about the new Web Deployment features in Visual Studio 2010 check out this Step by Step Walkthrough on Web 1-Click Publish with VS 2010To provide feedback on the RC please visit the Visual Studio Connect site.  You ...

Visual Studio 2010 RC public download available now!

It’s finally here.  Visual Studio 2010 and .Net 4.0 release candidate is available for everyone to download now.To download the public RC of Visual Studio 2010 go the RC landing page:  Since the beta we’ve been focused on performance improvements, reducing memory requirements, increasing stability and fixing customer ...

Free Web Hosting to try ASP.NET 4 Beta1, VS 2010 Beta1 and MS Web Deployment Tool RC1

Today we are announcing the availability of FREE HOSTING accounts for web developers to try out the new feature sets of Visual Studio 2010 Beta1, ASP.NET 4 Beta1 and Microsoft Web Deployment Tool (MsDeploy) RC1… VS 2010 has great set of features on deploying web applications seamlessly…   One of the key features is the ability ...