.NET Blog

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

ASP.NET Core 2.2.0-preview1: Endpoint Routing

Endpoint Routing in 2.2 What is it? We're making a big investment in routing starting in 2.2 to make it interoperate more seamlessly with middleware. For 2.2 this will start with us making a few changes to the routing model, and adding some minor features. In 3.0 the plan is to introduce a model where routing and middleware operate together ...

Publish HTML/JS website to Linux/Apache using Visual Studio

We received a question about how to use Visual Studio to deploy HTML/JS website to Linux / Apache.  To do it, you need to create an empty ASP.NET website project in Visual Studio (File->New Web Site…) and then include all the HTML/JS files. 1. Right click on the website Project, select “Publish Web Site”. 2. Drop ...

Visual Studio 2010 Web Publish Updates

Last week we rolled out some updates for our Visual Studio 2010 Web Publishing Experience. This post will give you an overview of the new features which we released. In the coming weeks there will be more posts getting into more details regarding individual features. You can get these updates in the Windows Azure SDK for Visual Studio 2010. ...

New Features for Web Development in Visual Studio 11 Beta

Visual Studio 11 Beta is now available to download.  Please visit Jason Zander's Blog for the download links and overview of the new features. We have many enhanced many features in the Beta. We'll discuss some of them in future blog posts.Here are a few web development tools features included in the Visual Studio 11 Beta compared to...

Enabling IIS Express support in VS 2010 Sp1

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

HTML5 & CSS3 in Visual Studio 2010 SP1

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

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

How to get Razor syntax support in Visual Studio 2010

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

Visual Studio 2010 SP1 Beta IIS Express Integration

A few days ago Jason Zander blogged about the availability of Visual Studio SP1 Beta (all links below in resources section). I am happy to let you guys know that with SP1 Beta we have enabled integration of IIS Express into Visual Studio. After you have installed SP1 Beta you have to download IIS Express separately for the option to “light ...

XDT (web.config) Transforms in non-web projects

One of the really cool features that we shipped for Visual Studio 2010 was web.config (XDT) transformations. Because the transformations are so simple and straightforward one of the first questions that someone asks after using it is “how can I use this in my other projects?” Unfortunately this feature is only built into the Web ...

Feedback usabilla icon