by bill-s, 2019-07-02T08:09:30.874Z
With .NET Core 3.0 Preview 6, we added authentication & authorization support to server-side Blazor apps. It only takes a matter of seconds to wire up an app to Azure Active Directory with support for single or multiple organizations. Once the project is created, it contains all the configuration elements in its appsettings.json to function. This is great, but in a team environment – or in a distributed topology – configuration files lead to all sorts of problems. In this post, we’ll take a look at how we can extract those configuration values out of JSON files and into an Azure App Configuration instance, where they can be used by other teammates or apps.
by bill-s, 2019-07-02T07:59:19.526Z
In our previous post, we announced dotnet try a global tool which allows developers to create interactive workshops and documentation. Tutorials created with dotnet try let users start learning without having to install an editor. Features like IntelliSense and live diagnostics give users a sophisticated learning and editing experience. Today, we are releasing a new dotnet new template called trydotnet-tutorial. This template can be installed next to existing dotnet new templates. It creates a project and associated files to help content authors understand the basics of dotnet try. This can serve as the foundation of your own awesome documentation!
by bill-s, 2019-07-02T07:59:34.759Z
With the ASP.NET Core 2.1 release, we included UseHsts and UseHttpRedirection by default. These methods put a site into an infinite loop if deployed to an Azure Linux App Service, Azure Linux virtual machine (VM), or behind any other reverse proxy besides IIS. TLS is terminated by the reverse proxy, and Kestrel isn’t made aware of the correct request scheme.
by bill-s, 2019-07-02T08:09:08.944Z
The eBook on ASP.NET Core 2 I wrote together with Ugo Lattanzi is available for download for free from the Free Ebooks section of Syncfusion Tech Portal.
by bill-s, 2019-07-03T22:29:23.215Z
In this article we describe how to build a UWP app that uses the gRPC protocol -the new WCF- to communicate with a remote host application running on ASP.NET Core 3.0. We’ll discuss:
defining the service model,
generating client and server code,
executing simple RPC calls,
executing server-side streaming RPC calls,
executing client-side streaming RPC calls, and
executing bidirectional streaming calls.
by bill-s, 2019-07-02T08:01:37.104Z
11 Essential ASP.NET Interview Questions
by bill-s, 2019-07-02T07:58:42.229Z
One of the most common requests I receive is to help businesses upgrade their websites to progressive web applications. This makes sense since I produce as much if not more content about PWAs than anyone else.
by bill-s, 2019-07-03T22:29:39.325Z
I’m a big fan of unit tests and integration tests and have written about them frequently. I also authored the original docs on writing integration tests in ASP.NET Core using TestHost and related types. However, sometimes it’s worthwhile to be able to test actual, live API endpoints. This article will lay out a relatively simple way to do this in a configurable manner using xUnit. In the past, I might have used a Visual Studio Web Test for this purpose, but Microsoft is dropping support for these (particularly in the cloud) so I needed a new solution.
by bill-s, 2019-07-02T07:59:01.966Z
It’s been a little while since my last high-performance post, but my use of the techniques and features continues! In this post, I want to present a more practical example which I hope will help to illustrate a real-world use case for some of the new .NET Core performance focused API changes.
by ThomasArdal, 2019-07-03T07:28:37.017Z
Test your XDT transformation files against the original Web.config file. The only online tool that shows you the diff of your changes directly in your browser.
by bill-s, 2019-07-02T07:57:39.240Z
Last month Microsoft announced a new open source Windows Terminal! It's up at https://github.com/microsoft/Terminal and it's great, but for the last several weeks you've had to build it yourself as a Developer. It's been very v0.1 if you know what I mean.