azure
Step by step: Expose ASP.NET Core over HTTPS with Docker
·442 words·3 mins
azure
dotnet
aspnetcore
docker
https
Kestrel
openssl
This week I decided to modify the sample of my previous post: Step by step: Scale ASP.NET Core with Docker Swarm so you can add TLS to your ASP.NET Core applications and Dockerize it.
Let’s see how I changed the application in order to make it work:
Add HTTPS support for Kestrel # I added the following line to the dependencies in the project.json file.
Step by step: Scale ASP.NET Core with Docker Swarm
·388 words·2 mins
azure
dotnet
aspnetcore
docker
A few weeks ago I posted Step by step: ASP.NET Core on Docker were I showed how to build and run a Docker image with an ASP.NET Core application.
Today I bring you: Step by step: Scale ASP.NET Core with Docker Swarm so you can scale out or in the same application.
Assuming you have Docker 1.12 or later installed and running, follow this steps:
Use .NET Core to Create Azure Blob Storage SAS Keys
·270 words·2 mins
azure
dotnet
storage account
If you intend to use the WindowsAzure.Storage library with .Net Core you’ll hit a"compatibility wall" trying to make it work.
So how can we use .Net Core to Create Azure Blob Storage SAS Keys?
Add the System.Security.Cryptography.Algorithms dependency # Add the following dependency in your project.json file
Get Ready: Exam 70-533 Implementing Microsoft Azure Infrastructure Solutions
·291 words·2 mins
azure
certifications
exam
This week I cleared the 70-533 Implementing Microsoft Azure Infrastructure Solutions exam, and I want to share with you tips about the exam and the resources I used to study:
Should you take the exam?
If you are an Infrastructure Geek, Developer or Software Architect looking to validate your Microsoft Azure skills then this exam is for you. Also note that Microsoft expects you to:
Step by step: ASP.NET Core on Docker
·287 words·2 mins
azure
dotnet
aspnetcore
docker
This week I have to give an introductory talk on DevOps and Docker and therefore I decided to prepare a simple Step by step: ASP.NET Core on Docker sample.
Assuming you have Docker installed and running, follow these 4 simple steps:
Create a dockerfile # On your Docker box create a dockerfile with the following contents
Create vCard QR Codes using Azure Functions
·550 words·3 mins
azure
dotnet
azure functions
serverless
Today I’ll show you how to develop a Web API to Create vCard QR Codes using Azure Functions.
But wait what are Azure Functions?
As defined by Microsoft:
Azure Functions is a serverless event driven experience that extends the existing Azure App Service platform. These nano-services can scale based on demand and you pay only for the resources you consume.
Detect and Blur Faces with .NET Core and Face API
·726 words·4 mins
azure
dotnet
cognitive services
Today I’ll show you how to create a small console application that will Detect and Blur Faces with .NET Core and Face API.
First be aware of the following prerequisites:
**OS** **Prerequisites** Windows Windows: You must have .NET Core SDK for Windows or both Visual Studio 2015 Update 3* and .NET Core 1.0 for Visual Studio installed. linux, mac or docker checkout .NET Core You will also need an Azure Cognitive Services Face API account and the correct set of access keys. (Start here: Subscribe in seconds if you need a Cognitive Service Account and here for the Documentation)
Step by step: .NET Core, Azure Service Bus and AMQP
·729 words·4 mins
azure
dotnet
service bus
Today I’ll show you how to create a small console application with a Step by step: .NET Core, Azure Service Bus and AMQP example.
First be aware of the following prerequisites:
**OS** **Prerequisites** Windows Windows: You must have .NET Core SDK for Windows or both Visual Studio 2015 Update 3* and .NET Core 1.0 for Visual Studio installed. linux, mac or docker checkout .NET Core You will also need an Azure Service Bus namespace, topic and subscription with the correct set of credentials. (Start here: How to use Service Bus topics and subscriptions if you don’t know how to configure the Service Bus)
Stop or Start all WebApps in your Azure subscription
·409 words·2 mins
azure
devops
powershell
app service
Stop or Start all WebApps in your Azure subscription with Stop-Start-All-WebApps.ps1 a simple PowerShell workflow runbook that will help you automate the process of stopping or starting every single WebApp (Website) you’ve deployed.
The script receives two required parameters:
Stop: If set to true stop the WebApps (Websites) otherwise start the WebApps (Websites) CredentialAssetName: The name of a valid Credential Asset (AutomationPSCredential) you must have previously configured. As you can see below, the script is quite simple and uses the following PowerShell Activities and Cmdlets:
NHInsights an OracleManagedDataClientDriver for NHibernate and Application Insights
·238 words·2 mins
azure
dotnet
application insights
nhibernate
oracle
Let’s talk about NHInsights an OracleManagedDataClientDriver for NHibernate and Application Insights
If you use Oracle and NHibernate and you are trying to use Application Insights to diagnose issues with your database calls you will notice that for ASP.NET applications the out-of-the-box dependency monitor currently reports calls to these types of dependencies:
Create an Azure Site to Site VPN
·549 words·3 mins
azure
devops
powershell
vpn
site to site
In this post I’ll just show the list of PowerShell commands needed to Create an Azure Site to Site VPN and give you some tips when using a Check Point Security Gateway.
First things first! so if you have not installed and configured Azure PowerShell go for it: How to install and configure Azure PowerShell
Cloud Design Patterns: Prepara tu aplicación para Azure
·94 words·1 min
azure
dotnet
cloud
global azure
En esta sesión: Cloud Design Patterns: Prepara tu aplicación para Azure discutiremos los beneficios de aplicar patrones en el desarrollo de aplicaciones para la nube y los problemas que estos intentan resolver: disponibilidad, escalabilidad, resiliencia, seguridad, etc..
Esta es la agenda:
Design for the Cloud Problem Areas in the Cloud Availability
Export Azure Resource Groups Templates
·220 words·2 mins
azure
devops
dotnet
powershell
One of the great things about Azure is the possibility to Export Azure Resource Groups Templates. Each template is a json file containing the exact configuration of the services you’ve provisioned in a Resource Group.
Using this templates you can treat your Infrastructure as code and repeatedly deploy your application during every stage of the application lifecycle in the same way, each and every time.
Get Ready: Exam 70-532 Developing Microsoft Azure Solutions
·302 words·2 mins
azure
certifications
exam
Yesterday I cleared the **70-532 Develping Microsoft Azure Solutions **exam, and I want to share with you tips about the exam and the resources I used to study:
Should you take the exam?
If you are a Developer or Software Architect looking to validate your Microsoft Azure skills then this exam is for you. Also note that Microsoft expects you to:
Application Insights Analytics
·330 words·2 mins
azure
devops
application insights
For the last couple of months I’ve been using Application Insights to monitor, detect and diagnose performance issues in our applications. Last week I noticed that the Analytics button on the Application Insights blade was working:
Once you click it, your browser will open the Application Insights Analytics page with the following taxonomy:
EasyAzureServiceBus: easy Service Bus 1.1 for Windows Server
·186 words·1 min
azure
dotnet
service bus
A couple of years ago I started to work with one of my clients to implement an on-premises Service Bus solution.
While investigating the options I discovered a nice library, EasyNetQ: an easy .NET API for RabbitMQ, which inspired me to create a very similar project to simplify the use of pub/sub messaging with Service Bus 1.1 for Windows Server.
Get Ready: Exam 70-534 Architecting Microsoft Azure Solutions
·355 words·2 mins
azure
certifications
exam
I recently passed the 70-534 Architecting Microsoft Azure Solutions exam, and I want to share with you tips about the exam and the resources I used to study:
Should you take the exam?
If you are a Solutions or Software Architect looking to validate your Microsoft Azure skills then this exam is for you. Also note that Microsoft expects you to:
Prepare your App for Windows Azure! Create a custom Configuration Manager!
·224 words·2 mins
azure
dotnet
When you deploy an application to Windowes Azure, your application configuration cannot be changed cause it becomes part of the distributed package.
So what can you do if you want to set some dynamic settings (i.e Connection String settings)?
First of all you must use the ServiceDefinition.csdef file and add the dynamic settings there.
SQL Azure Requires Clustered Indexes in all tables
·82 words·1 min
azure
sql
Recently we performed some test against SQL Azure. We found that our system was throwing an exception cause SQL Azure requires a clustered index in each table (Wanna know why?).
So how can you find out what tables are causing the issue? The answer is simple, run the following query and you’ll have the list of tables to fix: