Blazor 0.2.0 release now available

Just a few weeks ago we announced the first preview release of an experimental web UI framework called Blazor. Blazor enables full-stack web development using C# and WebAssembly. So far thousands of web developers have taken on the challenge to try out Blazor and done some pretty remarkable things: Started using Blazor to build RealWorld… Read more

Get started building .NET web apps that run in the browser with Blazor

Today we released our first public preview of Blazor, a new experimental .NET web framework using C#/Razor and HTML that runs in the browser with WebAssembly. Blazor enables full stack web development with the stability, consistency, and productivity of .NET. While this release is alpha quality and should not be used in production, the code… Read more

ASP.NET Core 2.1.0-preview1: Functional testing of MVC applications

For ASP.NET Core 2.1 we have created a new package, Microsoft.AspNetCore.Mvc.Testing, to help streamline in-memory end-to-end testing of MVC applications using TestServer. This package takes care of some of the typical pitfalls when trying to test MVC applications using TestServer. It copies the .deps file from your project into the test assembly bin folder. It… Read more

ASP.NET Core 2.1.0-preview1: GDPR enhancements

2018 sees the introduction of the General Data Protection Regulation, an EU framework to allow EU citizens to control, correct and delete their data, no matter where in the word it is held. In ASP.NET Core 2.1 Preview 1 we’ve added some features to the ASP.NET Core templates to allow you to meet some of… Read more

ASP.NET Core 2.1.0-preview1: Introducing Identity UI as a library

ASP.NET Core has historically provided project templates with code for setting up ASP.NET Core Identity, which enables support for identity related features like user registration, login, account management, etc. While ASP.NET Core Identity handles the hard work of dealing with passwords, two-factor authentication, account confirmation, and other hairy security concerns, the amount of code required… Read more

ASP.NET Core 2.1.0-preview1: Razor UI in class libraries

One frequently requested scenario that ASP.NET Core 2.1 improves is building UI in reusable class libraries. With ASP.NET Core 2.1 you can package your Razor views and pages (.cshtml files) along with your controllers, page models, and data models in reusable class libraries that can be packaged and shared. Apps can then include pre-built UI… Read more

ASP.NET Core 2.1.0-preview1: Improvements to IIS hosting

The ASP.NET Core Module (ANCM) is a global IIS module that has been responsible for proxying requests over from IIS to your backend ASP.NET Core application running Kestrel. Since 2.0 we have been hard at work to bring to two major improvements to ANCM: version agility and performance. Note, that in the 2.1.0-preview1 release, we have… Read more

ASP.NET Core 2.1-preview1: Introducing HTTPClient factory

HttpClient factory is an opinionated factory for creating HttpClient instances to be used in your applications. It is designed to: Provide a central location for naming and configuring logical HttpClients. For example, you may configure a client that is pre-configured to access the github API. Codify the concept of outgoing middleware via delegating handlers in… Read more

ASP.NET Core 2.1.0-preview1: Improvements for building Web APIs

ASP.NET Core 2.1 adds a number of features that make it easier and more convenient to build Web APIs. These features include Web API controller specific conventions, more robust input processing and error handling, and JSON patch improvements. Please note that some of these features require enabling MVC compatibility with 2.1, so be sure to… Read more

ASP.NET Core 2.1.0-preview1: Introducing compatibility version in MVC

This post was written by Ryan Nowak In 2.1 we’re adding a feature to address a long-standing problem for maintaining MVC – how do we make improvements to framework code without making it too hard for developers to upgrade to the latest version? This is not an easy concern to solve – and with 7… Read more