Skip to main content

Blog

Step by step: .NET Core and Azure Cosmos DB

·444 words·3 mins
Step by step: .NET Core and Azure Cosmos DB is a short post on how to connect to Cosmos DB, save a document and then query to find it. Let’s start: Create a Cosmos DB account # Create a Cosmos DB account in your Azure subscription. Once created get the URI and the primary Read-write key from the Keys section.

Use PowerShell to Enable Logging for Azure RM Web Apps

·671 words·4 mins
Recently I client ask me to enable application and http logging for more than 20 AzureRM Web Apps. Furthermore the client wanted the logs to be stored in a Storage Account. Issues started when I decided to Use PowerShell to Enable Logging for Azure RM Web Apps, because there is no equivalent to the ASM Enable-AzureWebsiteApplicationDiagnostic cmdlet for ARM resources.

Use Azure Media Services to Find Filler Words

·177 words·1 min
On April 22 I had the great opportunity to give a talk on Azure Functions in the Global Azure Bootcamp hosted in Madrid. I had a great time, but weeks later when the video was published I realised that I was using a filler word way to much through my presentation.

Step by step: Couchbase Lite with .Net Core

·327 words·2 mins
Not long after writing Step by step: Couchbase with .Net Core I discovered Couchbase Lite, which is still in development, but it looks like a great solution for embedded NoSQL scenarios. So let’s start with this simple: Step by step: Couchbase Lite with .Net Core tutorial. Create a folder for your new project # Open a command prompt an run

Step by step: Couchbase with .Net Core

·289 words·2 mins
This week I started to read an understand how Couchbase works and that’s the reason I decided to write: Step by step: Couchbase with .Net Core Tip: I’ll be using Docker to install and run Couchbase Now let’s start: Create a folder for your new project # Open a command prompt an run

Raspberry Pi: Run ASP.NET Core on Startup

·195 words·1 min
Last week I wrote: Step by step: Running ASP.NET Core on Raspberry Pi and didn’t have the time to write about running the application on startup. After browsing for a while I found this great post: Windows IoT Core: Running a PowerShell Script on Startup which showed me the way! As a prerequisite read and run the sample provided here: Step by step: Running ASP.NET Core on Raspberry Pi

Step by step: Running ASP.NET Core on Raspberry Pi

·428 words·3 mins
After reading .NET Core on Raspberry Pi and successfully running a console application on Windows 10 IoT Core on my Raspberry Pi 3 I decided to write: Step by step: Running ASP.NET Core on Raspberry Pi. First be aware of the following prerequisites: Windows 10 IoT Core I’m running Insider Preview v.10.0.15058.0 .NET Core 2.0 SDK Now let’s start:

Twilio with .NET Core

·297 words·2 mins
Last night after reading this tweet, I decided to try out Twilio with .NET Core Your feedback led to the newly redesigned C# helper library. See what's new and take it for a spin here: https://t.co/IuD4NZLBH9 pic.twitter.com/SzLB7udU1h — twilio (@twilio) February 28, 2017 Let’s create the sample console app: Create the application # Open a command prompt and run

Create a class with .NET Core and Roslyn

·429 words·3 mins
After my post first post on: Code Generation I decided to go a bit further, so today we’ll Create a class with .NET Core and Roslyn and write the output to the console. Let’s see: Create the application # Open a command prompt and run

Docker Machine with an existing Azure VNET

·106 words·1 min
Last week I had to provision a Docker host and I tried out the docker-machine command. The resulting host would have to use an existing Azure subnet from another resource group and I also needed to be able to reach the machine using it’s private IP. After reading the docs and playing for some minutes I came up with the correct command to use Docker Machine with an existing Azure VNET:

.NET Core Health Endpoint Monitoring Middleware

·516 words·3 mins
Today I’ll show a simple example of how to create a .Net Core Health Endpoint Monitoring Middleware. If you need to know about the Health Endpoint Monitoring Pattern check: https://msdn.microsoft.com/en-us/library/dn589789.aspx Create the application # Open a command prompt and run

Shadow IT a Digital Transformation Incubator

·344 words·2 mins
Shadow IT, defined as the use of IT systems, solutions and services inside organizations without explicit organizational approval, has always been seen as a problem and a huge risk for the enterprise. But what if I tell you that you should learn from Shadow IT and use it on your advantage instead of fighting it and suppressing it?

.NET Core, Roslyn and Code Generation

·485 words·3 mins
For ages I’ve been using T4 templates as main tool for code generation and scaffolding, but now that I’m an absolute fan of Visual Studio Code and .Net Core I need to explore other options such as Yeoman, Scripty and Roslyn. This post is just the result of my first and simplest experiment with .Net Core, Roslyn and Code Generation.

.Net Core and NancyFX: can writing a WebApi get any simpler?

·581 words·3 mins
Last Thursday I attended a Meetup hosted by my friends of @MsCodersMadrid in Madrid where, thanks to @snavarropino, I learned a bit about the NancyFX open source framework. I really couldn’t believe my eyes when I saw how simple it is to use NancyFX to write a Web API. Two of the things that got my attention were: the out of the box content negotiation and zero configuration dependency injection.

The Value of Online Influencer

·329 words·2 mins
I’ve been watching Black Mirror, a Netflix Original Series with a profound message which makes the spectator think and really reflect on how technology and social networks are transforming our lives through a series of non-related episodes. In one of the episodes, people live in a world where the more social influence they have (i.e. number of Facebook likes, followers or likes in Twitter, etc.) the more they can achieve or buy.

Debug ASP.NET Core on Docker with Visual Studio Code

Last Thursday I started reading the Free eBook: “Containerized Docker Application Lifecycle with Microsoft Tools and Platform” by Cesar de la Torre. The book is really easy to read and really gives the reader a glimpse on the way to approach the overall application lifecycle when using containers and Microsoft Technologies. One of the interesting things he mentions is the ability to debug your source code inside a container using Visual Studio or Visual Studio Code, so I decided to try it out and Debug ASP.NET Core on Docker with Visual Studio Code

First steps with .NET Core Tools MSBuild "alpha"

·518 words·3 mins
On November 16th, Microsoft announced the .NET Core Tools MSBuild"alpha". I’ve been developing .Net Core applications with Visual Studio Code for a while now, and I needed to try the new tooling. In this post I’ll show you which were my First steps with .NET Core Tools MSBuild “alpha” Installing .NET Core SDK 1.0 Preview 3 build 004056 # The first step was to install the new tools from: .NET Core SDK 1.0 Preview 3 build 004056