We’re making a big investment in routing starting in 2.2 to make it interoperate more seamlessly with middleware. For 2.2 this will start with us making a few changes to the routing model, and adding some minor features. In 3.0 the plan is to introduce a model where routing and middleware operate together naturally. This post will focus on the 2.2 improvements, we’ll discuss 3.0 a bit further in the future.
.NET Core and ASP.NET Core offer several advantages over traditional .NET development. You should use .NET Core for your server applications if some or all of the following are important to your application’s success:
- Use of microservices
- Use of Docker containers
- High performance and scalability requirements
Side-by-side versioning of .NET versions by application on the same server
There are two supported implementations for building server-side applications with .NET: .NET Framework and .NET Core. Both share many of the same components and you can share code across the two. However, there are fundamental differences between the two and your choice depends on what you want to accomplish. This article provides guidance on when to use each.
Find a compiled list of 5 tools for bundling and minification in ASP.NET Core.
Supports .NET Core mstest, nunit and xunit tests.
Shows up under the “Explorer” side bar. (Ctrl+shift+E).
Force to run tests in test projects serially; (for integration or ui type of tests)
Add this to the xunit test project app.config file:
<?xml version="1.0" encoding="utf-8" ?> <configuration> <appSettings> ... <add key="xunit.methodDisplay" value="method" /> <add key="xunit.parallelizeAssembly" value="false" /> <add key="xunit.parallelizeTestCollections" value="false" /> <add key="xunit.maxParallelThreads" value="1" /> ...
Learn how to work with .NET Core in this mini-series
With .NET being open source, you can also install and use the .NET Framework on your Linux machine with multiple languages, such as C#, F#, and Visual Basic (coming soon). This Refcard guides you through productively using .NET on Linux, from installation to debugging. You will find an architectural overview, tips for using the new Command Line Interface (CLI), and tools and helpful settings as they relate to your development efforts. This Refcard also covers building MVC web sites, RESTful services, and standalone applications.
Source: .NET on Linux – DZone – Refcardz