.NET Blog

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

Introducing .NET Standard

Questions? Check out the .NET Standard FAQ. You can find the latest version of the compatibility matrix here. In my last post, I talked about how we want to make porting to .NET Core easier. In this post, I'll focus on how we're making this plan a reality with .NET Standard. We'll cover which APIs we plan to include, how cross-framework ...

Secure ASP.NET ViewState

(image) During an appearance on the .NET Rocks podcast last week, a question was raised about securely sending information through ASP.NET ViewState.  I responded to the question by indicating that the typical security concern for web content is not to trust any content submitted from the web, including ViewState.  After that podcast was ...

Reusing Configuration Files in ASP.NET Core

Introduction The release of ASP.NET Core 1.0 has enticed existing ASP.NET customers to migrate their projects to this new platform. While working with a customer to move their assets to ASP.NET Core, we encountered an obstacle. Our customer had a many configuration files () they used regularly. They had hundreds of configuration files that ...

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

The week in .NET: On .NET with Steeltoe – C# Functional Extensions – Firewatch

To read last week's post, see The week in .NET: .NET Core 1.0.1 – On .NET with Peachpie – Avalonia – Folk Tale. On .NET Last week, we had David Morhovich and Zach Brown on the show to talk about Steeltoe: This week, we'll speak with Sébastien Ros about Orchard 2, the new version of the .NET CMS that can run on .NET Core. The show ...

GLAD is available

GC ETW series - GC ETW Events - Part 1 GC ETW Events - Part 2 GC ETW Events - Part 3 GC ETW Events - Part 4 Processing GC ETW Events Programmatically with the GLAD Library (this post) End of last year I mentioned we wanted to provide an API for you to really investigate GC/managed memory related performance called GLAD. ...

Custom ASP.NET Core Middleware Example

One of the great things about ASP.NET Core is its extensibility. The behavior of an ASP.NET Core app's HTTP request handling pipeline can be easily customized by specifying different middleware components. This allows developers to plug in request handlers like MVC middleware, static file providers, authentication, error pages, or even their ...

Introducing IdentityServer4 for authentication and access control in ASP.NET Core

This is a guest post by Brock Allen and Dominick Baier. They are security consultants, speakers, and the authors of many popular open source security projects, including IdentityServer. Modern applications need modern identity. The protocols used for implementing features like authentication, single sign-on, API access control and federation ...

The week in .NET: .NET Core 1.0.1 – On .NET with Peachpie – Avalonia – Folk Tale

To read last week's post, see The week in .NET – 9/7/2016. .NET Core 1.0.1 shipped! We shipped .NET Core 1.0.1 yesterday. Check out the announcement! On .NET Last week, we spoke with Benjamin Fistein and Jakub Míšek about Peachpie, a PHP compiler for .NET. We've had Ben and Jakub on the show before, and they came back to show us some ...

Announcing September 2016 Updates for .NET Core 1.0

Today, we are releasing a set of reliability and quality updates for .NET Core 1.0. The quickest way to get the updates is to head over to dot.net/core and follow the updated install instructions for your operating system. You can download and install the update as an MSI for Windows, a PKG for macOS and updated zips and packages for Linux ...