06-04-2020, 04:55 PM
ASP.NET Core updates in .NET 5 Preview 4
<div style="margin: 5px 5% 10px 5%;"><img src="https://www.sickgaming.net/blog/wp-content/uploads/2020/05/asp-net-core-updates-in-net-5-preview-4.png" width="58" height="58" title="" alt="" /></div><div><div class="row justify-content-center">
<div class="col-md-4">
<div><img src="https://www.sickgaming.net/blog/wp-content/uploads/2020/05/asp-net-core-updates-in-net-5-preview-4.png" width="58" height="58" alt="Avatar" class="avatar avatar-58 wp-user-avatar wp-user-avatar-58 photo avatar-default"></p>
<p>Sourabh</p>
</div>
</div>
</div>
<div class="entry-meta">
<p>May 19th, 2020</p>
</p></div>
<p><!-- .entry-meta --> </p>
<p><a href="https://devblogs.microsoft.com/dotnet/announcing-net-5-preview-4-and-our-journey-to-one-net">.NET 5 Preview 4 is now available</a> and is ready for evaluation! .NET 5 will be a <a href="https://dotnet.microsoft.com/platform/support/policy/dotnet-core">current release</a>.</p>
<h2>Get started</h2>
<p>To get started with ASP.NET Core in .NET 5.0 Preview4 <a href="https://dotnet.microsoft.com/download/dotnet-core/5.0">install the .NET 5.0 SDK</a>.</p>
<p>If you’re on Windows using Visual Studio, we recommend <a href="https://visualstudio.microsoft.com/vs/preview/">installing the latest preview of Visual Studio 2019 16.6</a>.</p>
<p>If you’re on macOS, we recommend <a href="https://docs.microsoft.com/visualstudio/releasenotes/vs2019-mac-preview-relnotes">installing the latest preview of Visual Studio 2019 for Mac 8.6</a>.</p>
<h2>Upgrade an existing project</h2>
<p>To upgrade an existing ASP.NET Core 5.0 preview3 app to ASP.NET Core 5.0 preview4:</p>
<ul>
<li>Update all Microsoft.AspNetCore.* package references to <code>5.0.0-preview.4.*</code>.</li>
<li>Update all Microsoft.Extensions.* package references to <code>5.0.0-preview.4.*</code>.</li>
</ul>
<p>See the full list of <a href="https://github.com/aspnet/announcements/issues?q=is%3Aopen+is%3Aissue+milestone%3A5.0+label%3A%22Breaking+change%22">breaking changes</a> in ASP.NET Core 5.0.</p>
<p>That’s it! You should now be all set to use .NET 5 Preview 4.</p>
<h2>What’s new?</h2>
<h3>Performance Improvements to HTTP/2</h3>
<p>By adding support for HPack dynamic compression of HTTP/2 response headers in Kestrel, the 5.0.0-prevew4 release improves the performance of HTTP/2. For more information on how HPACK helps save bandwidth and help reduce latency, we recommend reading <a href="https://blog.cloudflare.com/hpack-the-silent-killer-feature-of-http-2/">this excellent write-up by the team at CloudFlare</a>.</p>
<h3>Reduction in container image sizes</h3>
<p>The canonical multi-stage Docker build for ASP.NET Core involves pulling both the SDK image and ASP.NET Core runtime image. By re-platting the SDK image upon the ASP.NET runtime image, we’re sharing layers between the two images. This dramatically reduces the size of the aggregate images that you pull. For more information about the size improvements and other container enhancements, check out the <a href="https://devblogs.microsoft.com/dotnet/announcing-net-5-preview-4-and-our-journey-to-one-net">.NET 5 Preview 4 blog post</a></p>
<p>See the <a href="https://github.com/dotnet/core/blob/master/release-notes/5.0">release notes</a> for additional details and known issues.</p>
<h2>Give feedback</h2>
<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 .NET 5 release. Let us know what you think by filing issues on <a href="https://github.com/dotnet/aspnetcore/issues">GitHub</a>.</p>
<p>Thanks for trying out ASP.NET Core!</p>
</div>
https://www.sickgaming.net/blog/2020/05/...preview-4/
<div style="margin: 5px 5% 10px 5%;"><img src="https://www.sickgaming.net/blog/wp-content/uploads/2020/05/asp-net-core-updates-in-net-5-preview-4.png" width="58" height="58" title="" alt="" /></div><div><div class="row justify-content-center">
<div class="col-md-4">
<div><img src="https://www.sickgaming.net/blog/wp-content/uploads/2020/05/asp-net-core-updates-in-net-5-preview-4.png" width="58" height="58" alt="Avatar" class="avatar avatar-58 wp-user-avatar wp-user-avatar-58 photo avatar-default"></p>
<p>Sourabh</p>
</div>
</div>
</div>
<div class="entry-meta">
<p>May 19th, 2020</p>
</p></div>
<p><!-- .entry-meta --> </p>
<p><a href="https://devblogs.microsoft.com/dotnet/announcing-net-5-preview-4-and-our-journey-to-one-net">.NET 5 Preview 4 is now available</a> and is ready for evaluation! .NET 5 will be a <a href="https://dotnet.microsoft.com/platform/support/policy/dotnet-core">current release</a>.</p>
<h2>Get started</h2>
<p>To get started with ASP.NET Core in .NET 5.0 Preview4 <a href="https://dotnet.microsoft.com/download/dotnet-core/5.0">install the .NET 5.0 SDK</a>.</p>
<p>If you’re on Windows using Visual Studio, we recommend <a href="https://visualstudio.microsoft.com/vs/preview/">installing the latest preview of Visual Studio 2019 16.6</a>.</p>
<p>If you’re on macOS, we recommend <a href="https://docs.microsoft.com/visualstudio/releasenotes/vs2019-mac-preview-relnotes">installing the latest preview of Visual Studio 2019 for Mac 8.6</a>.</p>
<h2>Upgrade an existing project</h2>
<p>To upgrade an existing ASP.NET Core 5.0 preview3 app to ASP.NET Core 5.0 preview4:</p>
<ul>
<li>Update all Microsoft.AspNetCore.* package references to <code>5.0.0-preview.4.*</code>.</li>
<li>Update all Microsoft.Extensions.* package references to <code>5.0.0-preview.4.*</code>.</li>
</ul>
<p>See the full list of <a href="https://github.com/aspnet/announcements/issues?q=is%3Aopen+is%3Aissue+milestone%3A5.0+label%3A%22Breaking+change%22">breaking changes</a> in ASP.NET Core 5.0.</p>
<p>That’s it! You should now be all set to use .NET 5 Preview 4.</p>
<h2>What’s new?</h2>
<h3>Performance Improvements to HTTP/2</h3>
<p>By adding support for HPack dynamic compression of HTTP/2 response headers in Kestrel, the 5.0.0-prevew4 release improves the performance of HTTP/2. For more information on how HPACK helps save bandwidth and help reduce latency, we recommend reading <a href="https://blog.cloudflare.com/hpack-the-silent-killer-feature-of-http-2/">this excellent write-up by the team at CloudFlare</a>.</p>
<h3>Reduction in container image sizes</h3>
<p>The canonical multi-stage Docker build for ASP.NET Core involves pulling both the SDK image and ASP.NET Core runtime image. By re-platting the SDK image upon the ASP.NET runtime image, we’re sharing layers between the two images. This dramatically reduces the size of the aggregate images that you pull. For more information about the size improvements and other container enhancements, check out the <a href="https://devblogs.microsoft.com/dotnet/announcing-net-5-preview-4-and-our-journey-to-one-net">.NET 5 Preview 4 blog post</a></p>
<p>See the <a href="https://github.com/dotnet/core/blob/master/release-notes/5.0">release notes</a> for additional details and known issues.</p>
<h2>Give feedback</h2>
<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 .NET 5 release. Let us know what you think by filing issues on <a href="https://github.com/dotnet/aspnetcore/issues">GitHub</a>.</p>
<p>Thanks for trying out ASP.NET Core!</p>
</div>
https://www.sickgaming.net/blog/2020/05/...preview-4/