See also the article about localizing an ASP.NET system here. See also my video about localizing an ASP.NET system here. These days when you are designing a GUI (Graphical User Interface) one of the many topics to discuss is that of localization. Simply, localization means that local date format, currency and language will be supported […]
Read More →Archive for April, 2018
Localizing an ASP.Net program using C#
See also the article about localizing a WPF system here. See also my video about localizing a WPF system here. These days when you are designing a GUI (Graphical User Interface) one of the many topics to discuss is that of localization. Simply, localization means that local date format, currency and language will be supported […]
Read More →The number 400
What is significant about the number 400? 400 is 20² 400 is divisible by: 1, 2, 4, 5, 8, 10, 16, 20, 25, 40, 50, 80, 100, 200, 400 400 equals 2⁴ * 5² or ( 2*2*2*2*5*5) 400 is a self-number which are generated by this formula: You can write 400 like this: four hundred, […]
Read More →How to securely connect to Azure from C# and run REST APIs
Three things that got me here. First, I learned about creating a Service Principle in Azure and that the credentials for that those can be used to login to Azure, for a given Tenant/Directory ID. See here “Create an Azure service principal with Azure PowerShell”, also here if you want to see how to create […]
Read More →What is self-contained deployment mode, works locally but not after deploying
It happens very often that an application is coded, configured and tested on a local machine and when deployed to an Azure App Service or any other machine, for some reason there are unexpected errors and exceptions. Let the debugging begin. I wrote this article “ASP.NET Core 2.1 and HTTP Error 502.5 – Process Failure” […]
Read More →Publish a Web App for Containers Windows Docker Image
I wrote these other articles here “How to add Docker support to your ASP.NET Core application” and here “Publish a Docker Windows image to Docker Hub using Visual Studio” that discussed how I got to this point. So far, not many problems and it went pretty smooth. When I added Docker support to my ASP.NET […]
Read More →How to add Docker support to your ASP.NET Core application
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 →How to list all App Services within an App Service plan using PowerShell
Here is the PowerShell command to list out all the App Services running on an App Service Plan. $asp=Get-AzureRmAppServicePlan -ResourceGroupName “<RGNAME>” -Name “<ASPNAME<” $apps=Get-AzureRmWebApp -AppServicePlan $asp Foreach($app in $apps) { $app.Name }
Read More →Function ({name}) Error: The binding type(s) ‘{triggerType}’ are not registered.
I was working with an Azure Function V2 (beta) and got this exception, Figure 1, when I opened the Function in the portal. Error: Function (BlobTrigger-v2) Error: The binding type(s) ‘blobTrigger’ are not registered. Please ensure the type is correct and the binding extension is installed. Figure 1, Function Error: binding extension is installed The […]
Read More →How to create a read only user for a SQL Azure database
I am updating, or should I say, re-coding a website I have from ASP.NET Web Forms (aspx) to ASP.NET Core Razor Pages (chtml). The database it connects to only has a global admin, full access user identity. So I thought that I would fix that and create a need account for read only access. This […]
Read More →