Well, here we go. Not only have I had the opportunity to work with open source and Linux, now I get some taste of containers. I find the concept very interesting because containers solve many issues when in the context of cloud hosting and running code on a multitenant platform. This is how I added […]
Read More →Tags: ASP.NET Core
Target .NET Core 2.0 and .NET Standard 2.0
I originally downloaded and installed the 2.0.0-download.md version of the .NET Core SDK and Runtime from GitHub here. The mistake I made was to install the SDK Installer for the bit of my Visual Studio instead of my OS. I am running a 32bit version of Visual Studio on 64bit version of windows. I was […]
Read More →How to install .NET Standard 2.0
The release of .NET Standard has been officially announced here. I looked for a way to update .NET Standard to version 2.0 as I could see it was not installed on my workstation. As shown in Figure 1, I only had version 1.0 – 1.6 installed. Figure 1, how to upgrade, install new version of […]
Read More →ASP.NET Core with Entity Framework Core SqlException: cannot openserver
I am doing some ASP.NET Core self study and experienced this issue. The thing is that my client IP changes from time to time and need to add it to the the firewall so that database connections are allowed to it. This happens mostly when I am debugging or coding from my workstation while the […]
Read More →404 when I deploy an ASP.NET Core Web API
When I deployed an ASP.NET Core Web API to my Azure App Service API App I received a 404 Not Found when the page was opened, as seen in Figure 1. Figure 1, 404 ASP.NET Core The reason for this is that the deployment or default ASP.NET Core Web API template does not include a […]
Read More →ASP.NET Core with Entity Framework Core error, Login Failed
I was working with the EF NuGet package Microsoft.EntityFramework.Tools.DotNet and executed the command-line interface (CLI), also shown in Figure 1. dotnet ef database drop Running this method resulted in the same behavior: context.Database.EnsureDeleted(); Figure 1, Entity Framework Core, CLI I am not sure what exactly I was thinking, but it I did not really expect […]
Read More →ASP.NET Core with Entity Framework Core – ASPNETCORE_ENVIRONMENT
This is another one, Figure 1, that just kind of happened because I dropped my database. Once I re-created the database and my ASP.NET Core application could access it, all was back to normal. Figure 1, ASPNETCORE_ENVIRONMENT environment variable to Development, and restarting the application. Error. An error occurred while processing your request. Development Mode […]
Read More →Remote debug your Azure App Service 2017 including ASP.NET Core
We are moving at cloud speed here, I wrote this one here less that a year ago “Remote debug your Azure App Service Web App” that discusses how to use Cloud Explorer to remotely attach a debugger to an Azure App Service in Visual Studio 2015, now let’s see how you can do the same […]
Read More →ASP.NET Core (-4077,–4047,–4089, -4095)
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 […]
Read More →How to capture an ASP.NET Core memory dump on Azure App Service
I have written numerous articles about ASP.NET and creating memory dumps, but noticed I had not written one specifically about capturing an ASP.NET Core memory dump on an Azure App Service. Here are some of my ‘related’ articles of this matter. Create a memory dump for your slow performing Web App How to take a […]
Read More →