How to enable C# 7 in Visual Studio 2017

Microsoft .NET
Microsoft .NET

I was working with Visual Studio 2017 and found that 4.6.2 is not installed as default yet, so I wrote this article here about that.  In that article I also point out that you need to install the System.ValueType NuGet package to the Tuples capabilities to work. This time I wanted to get the Pattern…

2

.Net Framework 4.6.2 not in Visual Studio 2017

Microsoft .NET
Microsoft .NET

Cannot find the .NET Framework 4.6.2 in Visual Studio 2017?  Without it you cannot get all the cool new C# features? When you create a new project for example, you may only see .NET Framework versions up to 4.6.1 as seen in Figure 1. Figure 1, where is 4.6.2 in Visual Studio 2017 This is…

9

ASP.NET Core (-4077,–4047,–4089, -4095)

ASP.NET Core
ASP.NET Core

If you get any of these errors, take a memory dump of your process, like I discuss below and look at the stacks. Create a memory dump for your slow performing Web App How to take a memory dump from a specific App Service instance Create and deploy an ASP.NET Core Web API to Azure…

0

How to change app settings Azure App Service Bot Service

ladybug.ai
ladybug.ai

I have written a number of articles about my experience creating a Bot #Bot #chatbot.  Check them out. Here are some other more recent articles I have written on this subject: Create a Bot using an Azure App Service Bot Service Most common chatbot questions and how to answer them Publishing a chatbot using Bot…

1

How to redirect a WWW custom domain to a naked domain

Azure App Service
Azure App Service

I worte this article some time ago which discusses how to map a naked domain to an Azure App Service.  An updated version can be found here. Also, check out these articles as well. How to redirect a WWW custom domain to a naked domain HTTPS only on Azure App Service Web Apps Mapping a…

0

How to map a naked domain to an Azure App Service

Azure App Service
Azure App Service

A naked domain is one which has no WWW or subdomain before the actual domain name.  For example, contoso.com is naked in contrast to www.contoso.com which is a standard internet address.  I wrote this article some time ago and thought it was time for an upgrade, so here goes. Also, check out these articles as…

0

How to call an async method from a console app main method

.NET Core
.NET Core

I find myself needing to look this code snippet up time to time so I thought I’d write it up. Check out some of my other articles I wrote in regards to ASP.NET Core and .Net Core How to call an async method from a console app main method How to deploy a .NET Core…

0

How to deploy a .NET Core console application to Azure, WebJob

.NET Core
.NET Core

Check out some of my other articles I wrote in regards to ASP.NET Core and .Net Core How to call an async method from a console app main method How to deploy a .NET Core console application to Azure, WebJob .NET Core application, where is my EXE, how to publish Create a VNET and access…

0

.NET Core application, where is my EXE, how to publish

.NET Core
.NET Core

Short answer, there isn’t one.  When you compile your .NET Core console application for example, you get a DLL.  Then you execute it using the DOTNET command from the .NET Core SDK found here. Check out some of my other articles I wrote in regards to ASP.NET Core and .Net Core How to call an…

1

How I called an asynchronous method from a loop

.NET Core
.NET Core

Check out some of my other articles I wrote in reagrds to ASP.NET Core and .Net Core How to call an async method from a console app main method How to deploy a .NET Core console application to Azure, WebJob .NET Core application, where is my EXE, how to publish Create a VNET and access…

2

What’s new in IIS 10 – Microsoft Internet Information Services 10 New Features

IIS Internet Information Services
IIS Internet Information Services

With each version of Microsoft Windows Server comes a new version of Internet Information Services (IIS).  With the recent release of Windows Server 2016 comes IIS version 10.  Before I cover these new features, here are a few articles which I have already written which you may be interested in: What’s new in IIS 8.5…

6

IIS on Nano server

IIS Internet Information Services
IIS Internet Information Services

If you have not seen my full post about all the IIS 10 new features, check it out here. Also, if you have not already reviewed my other articles on using IIS on Nano, then you might want to take a look at them.  Just so you know the perspective I am coming from and…

1

Failed to run WebJob

KUDU Azure App Service
KUDU Azure App Service

It is possible to run an Azure WebJob even when the Azure App Service Web App is not running.  Figure 1 illustrates a running WebJob while the Web App is not running. Figure 1, running a WebJob when the Web App is stopped Notice that there is only 1 W3WP process shown in the Process…

0

Troubleshooting an Azure App Service WebJob

KUDU Azure App Service
KUDU Azure App Service

Whenever you write a WebJob, for example in C#, you should always place your code within try{} catch{} code blocks.  If you do not manage your exceptions and your code throws an exception, it will likely terminate to process. I wanted to find out what happened when my WebJob threw an exception and I did…

0