.NET Blog
Free. Cross-platform. Open source. A developer platform for building all your apps.
Latest posts
Announcing the Fastest ASP.NET Yet, ASP.NET Core 1.1 RTM
We are happy to announce that ASP.NET Core 1.1 is now available as a stable release on nuget.org! This release includes a bunch of great new features along with many bug fixes and general enhancements. We invite you to try out the new features and to provide feedback. To update an existing project to ASP.NET Core 1.1 you will need to do the following: Side by side install NOTE: By installing the new SDK, you will update the default behavior of the command. It will use msbuild and process csproj projects instead of project.json. Similarly, will create a csproj profile file. In...
Announcing .NET Core 1.1
Updated (2017): See .NET Core Releases to learn about newer releases. We are excited to announce the release of .NET Core 1.1 RTM, the first "Current" release. You can start creating .NET Core 1.1 apps, today, in Visual Studio 2015, Visual Studio 2017 RC, Visual Studio Code and Visual Studio for the Mac. We used the 1.1 release to achieve the following improvements: News flash: ASP.NET Core 1.1 with Kestrel was ranked as the fastest mainstream fullstack web framework in the TechEmpower plaintext benchmark. News flash: Google Cloud is joining the .NET Foundation Technical Steering Group. ...
Announcing Entity Framework Core 1.1
Entity Framework Core (EF Core) is a lightweight, extensible, and cross-platform version of Entity Framework. Today we are making Entity Framework Core 1.1 available. EF Core follows the same release cycle as .NET Core. Continuous improvements every 2 months and new features released every 6 months. This is the first feature release since 1.0. Be sure to read the Upgrading to 1.1 section, at the end of this post, for important information about upgrading to the 1.1 release. What's in 1.1 The 1.1 release is focused on addressing issues that prevent folks from adopting EF Core. This includes fixing bugs and addin...
The week in .NET – Mitch Muenster – Stateless
To read last week's post, see The week in .NET – On .NET on CoreRT and .NET Native – Enums.NET – Ylands – Markdown Monster. On .NET Last week, we hosted the MVP Summit, and instead of having a big one-hour show, we did several mini-interviews with MVPs. The first one was published on Monday. Mitch Muenster spent 25 minutes with us talking about being a developer with autism: This week, we'll publish the other interviews that we recorded during the summit. Package of the week: Stateless Almost all applications implement processes that can be represented as workflows or state machines. Stateless is a library...
.NET Core Data Access
.NET Core was released a few months ago, and data access libraries for most databases, both relational and NoSQL are now available. In this post, I'll detail what client libraries are available, as well as show code samples for each of them. ORM EF Core Entity Framework is Microsoft's Object-Relational Mapper for .NET, and as such is one of the most-used data access technologies for .NET. EF Core, released simultaneously with .NET Core, is a lightweight and extensible version of Entity Framework that works on both .NET Core and .NET Framework. It has support for Microsoft SQL Server, SQLite, PostgreSQL, MySQL,...
The week in .NET – On .NET on CoreRT and .NET Native – Enums.NET – Ylands – Markdown Monster
To read last week's post, see The week in .NET – .NET Foundation – Serilog – Super Dungeon Bros. On .NET Last week, Mei-Chin Tsai and Jan Kotas were on the show: This week, we won't be streaming live, but we'll be taking advantage of the presence of many MVPs on campus for the MVP Summit to speak with as many of them as possible in the form of short 10-15 minute interviews. Package of the week: Enums.NET Enums.NET is a high-performance type-safe .NET enum utility library which caches enum members' name, value, and attributes and provides many operations as C# extension methods for ease of use. It is availa...
Visual Studio Tools for Azure Functions
Update 5-10-2017: The first release of Visual Studio 2017 Tools for Azure Functions is now available to try. As discussed in the Visual Studio 2017 Toolspost and these 2015 tools were preview tools that provided us great feedback and learning. However, as outlined in our roadmap post, the pivot to precompiled functions with a focus on .NET Standard 2.0 means we have no plans to release any further updates to 2015 at this time. We would encourage everyone to try out the new tools for Visual Studio 2017. Today we are pleased to announce a preview of tools for building Azure Functions for Visual Studio 2015. Azu...
The week in .NET – .NET Foundation – Serilog – Super Dungeon Bros
To read last week's post, see The week in .NET – .NET, ASP.NET, EF Core 1.1 Preview 1 – On .NET on EF Core 1.1 – Changelog – FluentValidation – Reverse: Time Collapse. On .NET: Martin Woodward on the .NET Foundation Last week, Martin Woodward was on the show to talk about the .NET Foundation: This week, we'll speak with Mei-Chin Tsai and Jan Kotas about CoreRT and .NET Native and .NET. The show is on Thursdays and begins at 10AM Pacific Time on Channel 9. We'll take questions on Gitter, on the dotnet/home channel and on Twitter. Please use the tag. It's OK to start sending us questions in advance if you can...
Bearer Token Authentication in ASP.NET Core
This is a guest post from Mike Rousos Introduction ASP.NET Core Identity automatically supports cookie authentication. It is also straightforward to support authentication by external providers using the Google, Facebook, or Twitter ASP.NET Core authentication packages. One authentication scenario that requires a little bit more work, though, is to authenticate via bearer tokens. I recently worked with a customer who was interested in using JWT bearer tokens for authentication in mobile apps that worked with an ASP.NET Core back-end. Because some of their customers don't have reliable internet connections, they...