Deploying .NET Core 3.1 app in Azure Dev Ops

There is a walkthrough available on Build, test, and deploy .NET Core apps on the official docs. Scott Hanselman has a great guide to upgrade your .NET Core 2.2 app to .NET Core 3.1 if you haven't done the upgrade already. However, if you have updated your app .NET Core 3.1, deploying it in Azure … Continue reading Deploying .NET Core 3.1 app in Azure Dev Ops

Adaptive Cards support in web chat using bot framework

Microsoft's bot framework allows developers to create bots with rich cards support using Adaptive Cards. When using the bot connector service (directline) to test your bots, certain elements may not render. This is because Directline will drop elements it does not recognize. Fortunately there is a work around available. Set the attachment content type property … Continue reading Adaptive Cards support in web chat using bot framework

Enabling HTTP/2 support in Azure Web App

HTTP/2 will make our applications faster, simpler, and more robust Azure supports HTTP/2 since March 2018 (announcement) although its not the default when creating new web apps.To add HTTP/2 support to your web app, Go to portal.azure.comNavigate to your Web App and select "Configuration" tab under SettingsOn the right pane for configuration, head to the "General … Continue reading Enabling HTTP/2 support in Azure Web App

Azure Web App on Linux: SSL with Let’s Encrypt

If you ever need a SSL certificate for your Azure Web app that's hosted on Linux, use certbot and get a SSL certificate for free.Here is a great blog post from Jessica Deen, The Deen of DevOps - How to set up a Let's Encrypt SSL Cert for Azure Web App with Linux in 5 steps … Continue reading Azure Web App on Linux: SSL with Let’s Encrypt

Dependency Injection – Registering Generic Types in ASP.NET Core

Source: Steve Gordon’s blog post We want to be able to ask for an IThing<SomeType> in the constructor of a consumer which will get the correct GenericThing<SomeType> injected. We can use a extension method on the ServiceCollection that accepts the types as parameters. Our registration would then look like this serviceCollection.AddSingleton(typeof(IThing<>), typeof(GenericThing<>)); via Studio for WP … Continue reading Dependency Injection – Registering Generic Types in ASP.NET Core

UWP: Extend your app into the TitleBar

Lets take a look at ways and tips to extend your app real estate into the Windows's Title Bar and give your app a new look. CoreApplicationViewTitleBar coreTitleBar = CoreApplication.GetCurrentView().TitleBar; coreTitleBar.ExtendViewIntoTitleBar = true; TitleBar.Height = coreTitleBar.Height; Window.Current.SetTitleBar(MainTitleBar); From EternalCoding While doing that also take a look at Embed Titlebar into your UWP app from JuniperPhoton … Continue reading UWP: Extend your app into the TitleBar