.NET Blog

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

HttpClient 2.2 is now RC

Today we are happy to announce the next step in providing a portable HttpClient with automatic decompression: we just pushed the RC version to NuGet.From Beta to RTMWe haven’t changed much since the beta we shipped three weeks ago – simply because we didn’t have to.In general we follow these steps when shipping ...
Comments are closed.0 0
.NET

How does VS determine which version of Razor engine to use when editing razor webpage files

In VS2013 Preview, we released new Razor V3 runtime and design time Engine to support MVC5 and Razor V3 website’s runtime and design time behavior. Unlike Razor V2 runtime and design time, VS2013 did not GAC these binaries. Instead, the binaries are installed in the project bin folder when corresponding NuGet package is installed, and in...

Introducing $select and $expand support in Web API OData

Last week Microsoft released the preview of Visual Studio 2013, and along with it came the ASP.NET and Web Tools for Visual Studio 2013 Preview. In this new release, we are expanding the OData support in Web API to include support for $select and $expand, two of the most popular OData query operators. In this blog post...

Understanding OWIN Forms authentication in MVC 5

OverviewThe new security feature design for MVC 5 is based on OWIN authentication middleware. The benefit for it is that security feature can be shared by other components that can be hosted on OWIN. Since the Katana team did a great effort to support the OWIN integrated pipeline in ASP.NET, it can also secure apps hosted on IIS, including ...

Manage CORS policy dynamically

Brief We introduced CORS support in ASP.NET Web API a few months ago. Out of the box it supports configuring CORS policy by attributes. It is a very intuitive and powerful way but lacks flexibility at runtime. Imaging your service allows a 3rd party to consume your service. You need the capability of updating the allowing origins list without...

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

IssueUnfortunately 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 scriptI authored these two scripts (one for x86 and x64) to fix the issue.Download hereNote:Option 2: Manually fixIf for ...