.NET Blog

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

Sharing Configuration in ASP.NET Core SPA Scenarios

This is a guest post from Mike Rousos ASP.NET Core 2.0 recently released and, with it, came some new templates, including new project templates for single-page applications (SPA) served from an ASP.NET Core backend. These templates make it easy to setup a web application with a rich JavaScript frontend and powerful ASP.NET Core backend. Even ...

Understanding Security Features in the SPA Template for VS2013 RC

The blog is based on Visual Studio 2013 RC release. We have completely rewritten the SPA template from the previous version( MVC 4). Here are some of the changes we made: Note that SPA VB template is still not available in this RC release. We will ship it with RTM release. In this blog, I will focus on the ...

Update: Knockout IntelliSense Highlight Bug Fix

In an earlier blog post on June 24th entitled Knockout IntelliSense Highlighting Bug Fix I described a bug fix in the Knockout IntelliSense feature. In that post I recommended installing Windows Azure SDK for .NET (VS 2012) – 2.0 to acquire the fix since it did not make it into any of the Visual Studio Updates for 2012. Several ...

Install MVC4 HotTowel SPA NuGetNuGet package in One ASP.NET Web API Project in VS2013 Preview

I was trying to install MVC4 HotTowel SPA package (MVC4 and Razor v2) on a VS2013 Preview One ASP.NET Web API Project (MVC5 and Razor V3). I blindly let the NuGetNuGet package overwrite all my files including the Viewsweb.config file, which caused some compatibility problems. This is what I did: 1. Create a Web API One ASP.NET project 2. ...

Fix SPA VB project creating issue for ASP.NET and Web Tools Preview Refresh for Visual Studio 2013 Preview

Issue Unfortunately after installing ASP.NET and Web Tools Preview Refresh for Visual Studio 2013 Preview, creating SPA VB template will fail. This post describes how to fix this issue. Option 1: Fix script I authored these two scripts (one for x86 and x64) to fix the issue. Download here Note: Option 2: Manually fix If for ...

MVC Single Page Application Template for ASP.NET and Web Tools 2012.2

With the final release of ASP.NET and Web Tools 2012.2, we refreshed single page application page on asp.net .  It talks about KnockoutJS Template and introduced 4 community created SPA templates that you can install as MVC templates. There are four improvements for the MVC SPA template RTM release over the RC release that worth a note...

MVC Single Page Application Template Update for ASP.NET and Web Tools 2012.2 RC

We added a C# MVC Single Page Application (SPA) template in ASP.NET Fall 2012 Update BUILD Preview. John Papa had written a detailed blog about the preview version. With help of John Papa’s detailed feedback and sample code, we’ve rewritten and reorganized the JavaScript code to make it more structured in RC. We really appreciate the help ...