Create an account


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Announcing ASP.NET Core in .NET 5

#1
Announcing ASP.NET Core in .NET 5

<div style="margin: 5px 5% 10px 5%;"><img src="https://www.sickgaming.net/blog/wp-content/uploads/2020/11/announcing-asp-net-core-in-net-5.jpg" width="150" height="150" title="" alt="" /></div><div><div class="row justify-content-center">
<div class="col-md-4">
<div><img loading="lazy" src="https://www.sickgaming.net/blog/wp-content/uploads/2020/11/announcing-asp-net-core-in-net-5.jpg" width="58" height="58" alt="Daniel Roth" class="avatar avatar-58 wp-user-avatar wp-user-avatar-58 alignnone photo"></p>
<p>Daniel</p>
</div>
</div>
</div>
<div class="entry-meta entry-meta-layout">
<p>November 10th, 2020</p>
</p></div>
<p><!-- .entry-meta --> </p>
<p><a href="https://devblogs.microsoft.com/dotnet/announcing-net-5-0/">.NET 5 is now released</a>! .NET 5 is the next version of .NET Core and the future of the .NET platform. With .NET 5 you have everything you need to build rich, interactive front end web UI and powerful backend services.</p>
<p>ASP.NET Core in .NET 5 is loaded with lots of great new features and improvements. Here’s a sampling:</p>
<p>For a full list of everything that’s new in ASP.NET Core in this release, check out the <a href="https://docs.microsoft.com/aspnet/core/release-notes/aspnetcore-5.0">ASP.NET Core in .NET 5 release notes</a>. See also the <a href="https://github.com/dotnet/core/blob/master/release-notes/5.0">.NET 5 release notes</a> for additional details and known issues.</p>
<h2 id="get-started">Get started</h2>
<p>To get started with ASP.NET Core in .NET 5, <a href="https://dotnet.microsoft.com/download/dotnet-core/5.0">install the .NET 5 SDK</a>. .NET 5 is also included with the latest updates to Visual Studio and Visual Studio for Mac, so if you’ve already updated your IDE, then you should be good to go.</p>
<p><a href="https://visualstudio.microsoft.com/vs/">Visual Studio 2019 16.8</a> or later is required to use .NET 5 from Visual Studio. .NET 5 is also supported with <a href="https://visualstudio.microsoft.com/">Visual Studio for Mac</a>. To use .NET 5 with <a href="https://visualstudio.microsoft.com/">Visual Studio Code</a>, install the latest version of the <a href="https://code.visualstudio.com/Docs/languages/csharp">C# extension</a>.</p>
<h2 id="upgrade-an-existing-project">Upgrade an existing project</h2>
<p>To upgrade an existing ASP.NET Core app from .NET Core 3.1 to .NET 5:</p>
<p>To upgrade an existing ASP.NET Core app from .NET 5 RC2 to .NET 5:</p>
<ul>
<li>Update all Microsoft.AspNetCore.*, Microsoft.Extensions.*, and System.* package references to <code>5.0.0</code>.</li>
</ul>
<p>That’s it! You should be all set to enjoy the benefits of .NET 5.</p>
<p>See also the full list of <a href="https://docs.microsoft.com/dotnet/core/compatibility/3.1-5.0">breaking changes</a> in ASP.NET Core for .NET 5.</p>
<h2 id="performance-improvements">Performance improvements</h2>
<p>With every .NET release a special effort is made to improve all aspects of the performance in ASP.NET Core applications. ASP.NET Core in .NET 5 is the fastest .NET web framework we’ve ever shipped!</p>
<p>.NET 5 contains great performance improvements in the <a href="https://devblogs.microsoft.com/dotnet/performance-improvements-in-net-5/">runtime and libraries</a> and for the <a href="https://devblogs.microsoft.com/aspnet/grpc-performance-improvements-in-net-5/">gRPC components</a>. These improvements, when applied to ASP.NET Core, result in some significant wins in throughput (RPS) and latency. The performance results below are taken from the <a href="https://www.techempower.com/benchmarks/#section=data-r19&amp;hw=ph&amp;test=plaintext">TechEmpower benchmarks for ASP.NET Core with .NET Core 3.1</a> and from the <a href="https://www.techempower.com/benchmarks/#section=test&amp;runid=10218082-6e18-4513-9be4-e721bb8a1596&amp;hw=ph&amp;test=plaintext&amp;a=2">latest results for ASP.NET Core with .NET 5</a>.</p>
<p><strong>Troughput (max, in RPS)</strong></p>
<table>
<thead>
<tr>
<th align="left">Scenario</th>
<th align="right">3.1</th>
<th align="right">5.0</th>
<th align="right">Change</th>
</tr>
</thead>
<tbody>
<tr>
<td align="left">Plaintext Platform</td>
<td align="right">8,593</td>
<td align="right">11,690</td>
<td align="right">+36.0%</td>
</tr>
<tr>
<td align="left">Json Platform</td>
<td align="right">872</td>
<td align="right">1,261</td>
<td align="right">+44.6%</td>
</tr>
<tr>
<td align="left">Fortunes Platform</td>
<td align="right">344</td>
<td align="right">423</td>
<td align="right">+23.0%</td>
</tr>
<tr>
<td align="left">Plaintext</td>
<td align="right">3,993</td>
<td align="right">4,420</td>
<td align="right">+12.4%</td>
</tr>
<tr>
<td align="left">Json</td>
<td align="right">743</td>
<td align="right">912</td>
<td align="right">+22.6%</td>
</tr>
<tr>
<td align="left">Fortunes</td>
<td align="right">223</td>
<td align="right">259</td>
<td align="right">+16.2%</td>
</tr>
</tbody>
</table>
<p><strong>Latency (mean, in ms)</strong></p>
<table>
<thead>
<tr>
<th align="left">Scenario</th>
<th align="right">3.1</th>
<th align="right">5.0</th>
<th align="right">Change</th>
</tr>
</thead>
<tbody>
<tr>
<td align="left">Plaintext Platform</td>
<td align="right">1.52</td>
<td align="right">0.82</td>
<td align="right">-46.3%</td>
</tr>
<tr>
<td align="left">Json Platform</td>
<td align="right">1.24</td>
<td align="right">0.41</td>
<td align="right">-66.7%</td>
</tr>
<tr>
<td align="left">Fortunes Platform</td>
<td align="right">1.57</td>
<td align="right">1.26</td>
<td align="right">-19.7</td>
</tr>
<tr>
<td align="left">Plaintext</td>
<td align="right">0.87</td>
<td align="right">0.83</td>
<td align="right">-4.2%</td>
</tr>
<tr>
<td align="left">Json</td>
<td align="right">1.52</td>
<td align="right">1.20</td>
<td align="right">-21.1%</td>
</tr>
<tr>
<td align="left">Fortunes</td>
<td align="right">1.11</td>
<td align="right">0.87</td>
<td align="right">-21.6</td>
</tr>
</tbody>
</table>
<p>The “platform” tests represent highly optimized benchmark implementations, while the non-platform tests use more typical framework components.</p>
<p>The TechEmpower performance composite score, an index based on all of the TechEmpower benchmarks aggregated together, increased from 5,659 to 6,626 with .NET 5, which represents a 17% increase.</p>
<h2 id="deploy-net-5-web-apps-to-azure-app-service-today">Deploy .NET 5 Web Apps to Azure App Service Today</h2>
<p>The ASP.NET and Azure App Service teams have worked tirelessly together throughout the .NET 5 timeline to make sure ASP.NET developers have access to the latest bits of the .NET 5 runtime <strong>on day zero</strong>. This means that, as soon as you can download .NET 5 and get started building apps with it, you can deploy those .NET 5 apps to App Service using Visual Studio and Visual Studio Code, and you’ll have full support for deploying .NET 5 apps to App Service using GitHub Actions.</p>
<p>This day-zero availability of .NET 5 on App Service will be made possible by their new <a href="https://aka.ms/app-service-early-access">Early Access Runtime</a> feature, which will enable not only .NET 5 apps, but <strong>every subsequent release of .NET from now on.</strong> This means no more waiting for the platform to support the runtime – it’ll “just be there” as soon as the runtime is available. You can learn more about the Azure App Service Early Access Runtime technology <a href="https://aka.ms/app-service-early-access">on the App Service team’s blog</a>.</p>
<p>Whilst Early Access will give you a supported path to deploying your .NET 5 apps to Azure App Service immediately, there are some slight nuances to how Early Access works with which you can familiarize yourself on the <a href="https://aka.ms/app-service-early-access-dotnet">App Service Early Access .NET page</a>.</p>
<h2 id="join-us-for-the-net-5-release-at-net-conf-2020">Join us for the .NET 5 release at .NET Conf 2020</h2>
<p>Come celebrate with us and learn all about the .NET 5 release at <a href="https://dotnetconf.net">.NET Conf 2020</a>, a FREE, three day virtual developer event co-organized by the .NET community and Microsoft. This year marks the 10th anniversary of the conference, and it will be better than ever with over 80 live sessions from speakers in the community and from the Microsoft product teams. The conference starts today and goes from November 10-12. We hope you can join us!</p>
<h2 id="thank-you">Thank you!</h2>
<p>Thank you to everyone in the community who helped make this release of .NET 5 possible! This release represents the culmination of many GitHub issues, pull requests, design feedback comments and documentation updates contributed by many members of the .NET community. We couldn’t have made it to this point without you!</p>
<p>We hope you enjoy this release of ASP.NET Core in .NET 5. We are eager to hear about your experiences with this latest release. Let us know what you think on <a href="https://github.com/dotnet/aspnetcore/issues">GitHub</a> by filing new issues and by commenting on or expressing your support (?) for existing ones.</p>
<p>Thanks again for trying out ASP.NET Core!</p>
</div>


https://www.sickgaming.net/blog/2020/11/...-in-net-5/
Reply



Forum Jump:


Users browsing this thread:
1 Guest(s)

Forum software by © MyBB Theme © iAndrew 2016