The announcing .NET 5 Preview 6: ASP.Net Core Feature Updates

Announcing .NET 5 Preview 6: ASP.Net Core Feature Updates

Author image By Tejas Patel  |  Thursday, July 16, 2020 01:45 PM  |  4 min read  |   9

.NET 5

On 25th June 2020, Microsoft shipped the sixth preview of .NET 5 saying they have achieved the milestone that was released to combine things. With this announcement, there will be one .Net going forward that will be used to target Windows, iOS, macOS, Linux, Android, watchOS, and WebAssembly.

.Net 5 Preview designed to combine everything and is today’s hot topic to discuss. You’ll find several core development company considering .Net 5 Preview 6 features. Soon we’ll be expecting full-feature release with Preview 8. If you’re looking for .Net 5 Preview 6 download for windows, Linux and macOS, check below:

  • Windows and macOS installers
  • Binaries
  • Docker images
  • Snap installer

Let’s look for the .Net 5 Preview 6 features with its new release:

  • Blazor WebAssembly Template
  • Custom Handling of Authorization Failures
  • JSON Extension Methods
  • Allow Anonymous Access to Endpoint
  • SignalR Hub Filters

Using these features, Microsoft also announced that 50% of traffic gained from its .Net site in Preview 2 released. And .Net 5 is pretty functional that will fix bugs, polish existing features, and add new ones to get a higher scope for users. Preview 6 described as a small set of new features and performance improvements.

In today’s blog post, we’ll look into Preview 6 SDK features that support for Windows. Microsoft’s Program manager Richard Lander said: We can build and run windows forms apps on Windows ARM64 devices as we do on x64. The teams are currently working on adding support for WPF on Windows ARM64. The other change in .Net 5 Preview 6 is RyuJIT code quality improvement. It covers struct handling to remove redundant zero initializations. The platform’s support plans are updating, and soon user will be using them.

Check the sample below to understand how Windows Forms Apps runs on the ARM64 device.

Let’s get started with installing the .Net 5.0 SDK with ASP.NET Core in Preview 6. For .Net 5.0 you need to use Visual Studio 2019 16.7 and Visual Studio 2019 for Mac 8.6. Use the latest version of C# extension and use .Net 5.0 for Visual studio code.

Let’s dive in to understand what’s new in ASP.Net core updates

Blazor WebAssembly template

It includes .Net 5 SDK along with the Blazor Server template. With this, you can create a Blazor WebAssembly Project by running dotnet new blazorwasm. Blazor WebAssembly is a second supported way to host Blazor components like client-side in the browser that uses a WebAssembly-based .NET runtime. It comes with standardized bytecode for the web where the runtime downloaded with the Blazor WebAssembly app. You can hire ASP.Net MVC developer if you want to create a dotnet project with Blazor Web assembly.

JSON extension methods for HttpRequest and HttpResponse

With .Net 5.0 Preview 6, one can easily read and write JSON data. The HttpRequest and HttpResponse use ReadFromJsonAsonAsync and WriteAsJsonAsync extension methods. The methods use System.Text.Json serializer to handle JSON data. You can check for the JSON request content type using the HasJsonContentType extension method. The JSON extension methods can combine with endpoint routing with creating JSON APIs in style. You can get help from the ASP.Net Development company to work this out.

Let’s take an example that only has a handful of endpoints and use the route to code rather than having fully functional ASP.Net core MVC.

.NET Core Development Company

endpoints.MapGet(“/weather/{city:alpha}”, async context =>


    var city = (string)context.Request.RouteValues[“city”];

    var weather = GetFromDatabase(city);

    await context.Response.WriteAsJsonAsync(weather);



Extension method to allow endpoint access

In here, for anonymous access to the endpoint, you need to have a simpler AllowAnonymous extension along with using endpoint routing.

public void Configure(IApplicationBuilder app, IWebHostEnvironment env)





    app.UseEndpoints(endpoints =>


        endpoints.MapGet(“/”, async context =>


            await context.Response.WriteAsync(“Hello World!”);





Custom Handling of authorization failures

In this feature, we’ll be using the IAuthorizationMiddlewareResultHandler interface which invoked by Authorization Middleware. The default implementation will remain the same, and the custom handler will allow things based on why the authorization fails. Understand IAuthorizationMiddlewareResultHandler usage and its demonstration.

SignalR Hub filters

The Hub Filters are known as ASP.Net SignalR pipeline, which allows running code before and after Hub methods. It can work similarly to how middleware enables your code before and after using an HTTP request. It also includes common uses like logging, argument validation, and another error handling.


In the wake of this global pandemic, we’ve to adapt to the changing needs of our customers. We need to provide the support that assists with the smooth operations. We have given efforts to help customers address the most urgent needs. With time there are lot more expected features that will be available by November 2020 and will genuinely complete with .NET 6.

Additionally, Microsoft recommended that developers who build new applications with .Net Core 3.1 can migrate it to .Net 5. The company also defined that .Net framework application will support for long as windows will defend itself. If you’re still confused about how this will work out, hire ASP.Net MVC Development company or hire ASP.Net programmers for better results.


Announcing .NET 5 Preview 6: ASP.Net Core Feature Updates

Contact Us



Author image

Tejas Patel

Tejas Patel is a Co-Founder of Concetto Labs, I have 12+ years of professional experience in building high quality and scalable web applications using FullStack & PHP with its different frameworks.

Why Our Client Love Us?

  • Fast kick-off
  • Agile Ready
  • 98% Client Retention
  • 360-Degree solutions

Our integrity and process focuses largely on providing every customer the best recommendations for their respective business. Our clients become recurring customers because we always go beyond their expectations to deliver the best solutions.

Get In Touch
Mr. Sieva Savko
Customer for over 4 years Mr. Sieva Savko Norway

Concetto Labs have provided us with a tremendous amount of help. Their competence in various IT fields led to a positive outcome while facing different challenges. A lot of value was given by their helpful professional staff. To describe this company in three words: effectiveness, collaboration, trust. I would also like to personally thank Mr. Tejas Patel for his positive, friendly, and highly competent approach. The all-around support provided by him made every task at hand a no-brainer.

Miss. Caroline Jack
Customer for over 4 years Miss. Caroline Jack South Africa

It has been an absolute pleasure working with the Concetto Labs team! We have worked together on a few projects now, all of which have been successful. You can rely on good communication and response times from these guys. And they go above and beyond to ensure that the result is achieved. Because of their great service, they have become an integral part of our business and we will continue to use them going forward.

Mr. Richard Bartlett
Customer for over 3 years Mr. Richard Bartlett United States

Concetto Labs is a group of incredibly talented individuals. They are very responsive and communicate with you each and every step of the process. I worked with Manish Patel throughout the entire process and must say that I have never conducted business with a more honest and professional individual. Together with his team, Manish created exactly how we envisioned it to be. Thanks for all of your hard work.

Mr. Conrad Abraham
Customer for over 2 years Mr. Conrad Abraham United States

Concetto Labs team is my go-to for any simple or complex development projects. They have risen to the challenge. Great project management, communication, and super quick turnaround. I’ve done multiple projects with them and don’t plan on changing that.

Mr. Edward Chin
Customer for over 4 years Mr. Edward Chin Canada

Concetto Labs was able to bring my complex idea to life. Throughout the project, Concetto Labs maintained constant communications and was always professional - considering I had no experience in what I wanted to create their welcoming attitude, patience, and knowledge in the field created the perfect environment to work in. I was so impressed with their work that I've kept them on board as my go-to experts. Thanks for the worthwhile experience and the breathtaking product.

Karuna Govind
Karuna Govind CTO & Co Founder (Coupay) London, UK

We started working with Concettolabs due to the influx of work on mobile (Flutter) and frontend (React.js). It's been fantastic working with them. Good, consistent communication and good quality of work means they may be our first choice for many projects to come.

Good Firms Clutch App Futura Microsoft Associate Mobile App Top Developers Gesia


303-309, City Center, Science City Road,
Ahmedabad - 380060


2355 Prospect LN,
Broomfield CO-80023


1557 Clearbrook Dr,
Oshawa, ON L1K 2P6


6 Hastings Avenue,
Ilford, IG6 1DZ, UK


Lille Hunstad 4A,
8019 Bodø