

Recent
Read Azure Service Health Activity Logs with .NET Core
·520 words·3 mins
This week there was a small outage within the Azure Data Lake Store service and as consequence I wondered how could I Read Azure Service Health Activity Logs with .NET Core.
Let’s go for it:
Create a folder for your new project # Open a command promt an run:
Create a Service Principal and write required parameters to a .azureauth file
·513 words·3 mins
This week I had to repeat the process of creating a Service Principal in order to use the Microsoft.Azure.Management.Fluent lib with .NET Core so I decided it was time to script the process. With the following script you can Create a Service Principal and write required parameters to a .azureauth file.
Run ASP.NET Core on OpenShift
·443 words·3 mins
Today I’ll show you how to Run ASP.NET Core on OpenShift.
First be aware of the following prerequisites:
You’ll need a working Docker installation. If you are using Windows 10 you can get Docker for Windows here. Be sure to Disable TLS for 127.0.0.1:2375 for your Docker installation Be sure to set 172.30.0.0/16 as an Insecure Registry in your Docker installation Be sure to set 172.30.1.1:5000 as a Registry Mirror in your Docker installation You’ll need download the oc Client Tools Note: If you want to learn about OpenShift and what can you do with it, I recommend the free book: Openshift for Developers.
dotnet new templates for AWS Lambda and Raspberry Pi
After reading the following articles:
How to create your own templates for dotnet new Custom Project Templates Using dotnet new and having a twitter conversation with Sayed-Ibrahim-Hashimi I decided it was a nice idea to create some templates based on the code of some of my posts.
So here are the results:
HDInsight: Scale Horizontally
·300 words·2 mins
HDInsight: Scale Horizontally with Scale-HDInsightClusterNodes.ps1 a PowerShell workflow that will help you automate the process of scaling your cluster.
The script receives 4 parameters:
ResourceGroupName: The name of the resource group where the cluster resides ClusterName: The name of your HDInsight cluster Nodes: The number of nodes you want for the cluster ConnectionName: The name of your automation connection account and requires the following PowerShell modules: AzureRM.Profile, AzureRM.HDInsight
Deploy your ASP.NET Core Web API to AWS Lambda
·832 words·4 mins
Today I’ll show you how to Deploy your ASP.NET Core Web API to AWS Lambda.
First be aware of the following prerequisites:
You’ll need an AWS account: https://aws.amazon.com/ You’ll need AWS CLI installed: http://docs.aws.amazon.com/cli/latest/userguide/installing.html You’ll need your AWS security credentials Some basic knowledge on AWS Stacks, API Gateway, Lambda and Buckets Now let’s start:
Create a folder for your new project # Open a command promt an run