Find method parameters with WinDbg

WinDbg Debugging Benjamin Perkins
WinDbg Debugging Benjamin Perkins

I wrote this article, see the bottom where I do the memory dump analysis and wanted to expand on it some. Simply, if you are running managed code then you can decompile the source and see what the value of the Int32 passed to the Sleep() method, Figure 1.  I explained how to save the…

0

Named Pipes and Azure App Services

Azure App Service Benjamin Perkins
Azure App Service Benjamin Perkins

According to this “Operating system functionality on Azure App Service” and my interpretation, it means if you attempt to use named pipes (*)(*) for anything other than inter-process communications (*) that it will not work. I was coding some stuff and was getting these errors: They both called out the provide: Named Pipes Provider and…

1

ASP.NET Compilation Azure App Service, Web Project, Web Site

ASP.NET Benjamin Perkins
ASP.NET Benjamin Perkins

There are numerous flavors of ASP.NET modules, for example Web Forms (Web Sites and Web Applications), Web Pages, Model-View-Controller (MVC) and the newest one Core.  In this article I want to discuss some learnings about the difference between the compilations of an ASP.NET Web Site (Figure 1) and an ASP.NET Web Application (Figure 2). Figure…

0

How to read, unable to read appsettings.json values ASP.NET Core

ASP.NET Core Benjamin Perkins
ASP.NET Core Benjamin Perkins

I wrote this article here “Database connection string when swapping between App Servers slots” and if you look at the last paragraph I mentioned a ‘gotcha’ when you have an application setting, “AppSetting” in your web.config file which has the same name as an application setting you have configured, via the portal of your Azure…

1

How to connect to a database from an Azure Function using Azure Key Vault

Azure Functions Benjamin Perkins
Azure Functions Benjamin Perkins

In my original article here where I stored the database connection string in an Environment Variable which is no longer an optimal approach (it was only for example).  I will now update the Azure Function to access an Azure Key Vault secret which has the database connection string and use it to make the database…

0

Azure Function 400 Bad Request

Azure Functions Benjamin Perkins
Azure Functions Benjamin Perkins

I was writing these articles and received this error when calling my Azure Function: Create an Azure Key Vault secret Using Managed Service Identity MSI with and Azure App Service or an Azure Function How to connect to a database from an Azure Function I narrowed it down to the request I was making to…

0

Implementing custom cultures, CultureInfo, localize Azure App Service

Azure App Service Benjamin Perkins
Azure App Service Benjamin Perkins

You cannot, at this moment, create a custom culture on an Azure App Service.  Cultures are part of the standard operating system and require changes to the registry to modify or add them.  An Azure App Service runs in a sandbox which does not allow code or script to modify the registry.  I do not…

0

How to install ASP.NET Core 2.1 for development

ASP.NET Core Benjamin Perkins
ASP.NET Core Benjamin Perkins

A few days ago Microsoft announced the release of .NET Core 2.1, ASP.NET Core 2.1 and Entity Framework 2.1 here. I wrote a few similar articles about installing Core components, read them to get some greater perspective: Create a .NET Core 2 application on Linux with Visual Studio Code How to enable C# 7 in…

0

How to install Entity Framework Core 2.1

.NET Core Benjamin Perkins
.NET Core Benjamin Perkins

I wrote this post about installing ASP.NET Core 2.1, plus these others which may be of interest: Create a .NET Core 2 application on Linux with Visual Studio Code How to enable C# 7 in Visual Studio 2017 How to install .NET Core 2.0 How to install .NET Standard 2.0 How to install ASP.NET Core…

0

How to Azure Function App with Hybrid Connection

Azure Functions Benjamin Perkins
Azure Functions Benjamin Perkins

On my path to create this article, I wrote numerous other along the way.  To get a overview of the project I worked on, read the following articles as well. Required parameter ‘adminPassword’ is missing (null). osDisk.managedDisk.id’ is not allowed Creating an Azure App Service Hybrid Connection How to deploy to Azure using an ARM…

0

Creating an Azure App Service Hybrid Connection

Networking Benjamin Perkins
Networking Benjamin Perkins

This is such a simple yet powerful tool to use, easy to implement and does some real hard core, complicated stuff in the back ground to get the connectivity to work.  Similar instructions can be found here “Azure App Service Hybrid Connections”. I wrote this article about connecting an Azure App Service to VM in…

0

How to use/create ARM templates for deployments

Template Azure ARM Benjamin Perkins
Template Azure ARM Benjamin Perkins

I was building a lab for the creation of a Hybrid Connection Manager (HCM) link between an Azure App Service and an Azure VM within a VNET.  In most cases, yes, you use HCM to access resources hosted within a another network (not always on Azure), but I didn’t have one of those and therefore…

0

Beginning C# 7 Programming with Visual Studio 2017, co-author Benjamin Perkins

Beginning C# 7 Programming Benjamin Perkins
Beginning C# 7 Programming Benjamin Perkins

Beginning C# 7 Programming with Visual Studio 2017, co-author Benjamin Perkins The Beginning C# 7 Programming with Visual Studio 2017 book is now available, check it out here.  I had again an opportunity to contribute some chapters to this book.  What an awesome experience!  There are lots of examples, experiences, discussions and reviews of the…

0

How to create an Azure Function in Visual Studio

Azure Functions Benjamin Perkins
Azure Functions Benjamin Perkins

These are some good instructions as well “Create your first function using Visual Studio”.  But I like to try it out myself.  Check out these other articles as well. How to connect to a database from an Azure Function Deploy an Azure Function created from Visual Studio Check out all my Azure Function articles here…

0

How to connect to a database from an Azure Function

Azure Functions Benjamin Perkins
Azure Functions Benjamin Perkins

I created a simple Azure Function and now I want to connect it to a database.  Check out these other articles as well. How to create an Azure Function in Visual Studio Deploy an Azure Function created from Visual Studio Check out all my Azure Function articles here I found this article also useful “Code…

0