Month: July 2018

AzureCloud

Meet your Cloud Developer Advocates

What is a Cloud Developer Advocate? Their a global group of passionate developers that advocate to help solve problems with the cloud. Jeremy Likness wrote up a great post on what is a Cloud Developer Advocate that is great to read and he himself is a Cloud Developer Advocate. These folks are here to help and support you, so don’t be shy and reach out and connect with them. I’ve learned so much from them and have had the pleasure to meet and speak in person at a few events like the Microsoft Tech Summit, Microsoft Build and the Global Azure Summit.

To see a list of the current Cloud Developer Advocates and how you can to reach out and connect with them, please head over to the Cloud Developer Advocates page.

image

Enjoy!

Reference

Azure Advocates on Twitter

Cloud Developer Advocates Website

What is a Cloud Developer Advocate?

DevelopmentEvents

Discover the world of .NET – .NET Conf 2018

Discover the world of .NET for free this September 12-14, 2018 by attending the .NET Conf virtual developer event, which is co-organized by Microsoft and the .NET community. Over the course of the three days, you will have a wide selection of live sessions from .NET community and the .NET product teams. This is a great chance for you to learn, ask questions and get inspired for your next great project.

You will learn to build for web, mobile, desktop, games, services, libraries and more for a variety of platforms and devices all with .NET. We have sessions for everyone, no matter if you are just beginning or are a seasoned engineer. We’ll have presentations on .NET Core and ASP.NET Core, C#, F#, Azure, Visual Studio, Xamarin, and much more.

Join your fellow developers in a city near you, and learn more about the world of .NET, Azure, and Xamarin. To watch the sessions from last year, take a look at the 2017 sessions on demand from Channel 9.

Agenda

Day 1 – September 12

8:00 – 9:30
Keynote broadcasted from Microsoft Channel 9 Studios

9:30 – 17:00
Sessions broadcasted from Microsoft Channel 9 Studios

17:00 – 18:30
Virtual Attendee Party! Engage with our partners on Twitter and win prizes!

Day 2 – September 13

9:00 – 17:00
Sessions broadcasted from Microsoft Channel 9 Studios

17:00 – 23:59
Community Sessions in local languages & time zones around the world

Day 3 – September 14

0:00 – 17:00
Community Sessions in local languages & time zones around the world

All times listed are in Pacific Daylight Time (UTC -7).

Attend a Local .NET Conf

In addition to the three day virtual event being held from September 12-14, there will also be some local events you can attend. Take a look at this page for locations and to register. In Canada we will have 2 local events in Vancouver BC and Mississauga ON.

September 26, 2018
Vancouver, BC, Canada
Register Here

October 25, 2018
Mississauga, Ontario, Canada
Register Here

Run your own local event

If you’re interested in running your own .NET Conf take a look at this link for details.

Enjoy!

References

https://www.dotnetconf.net

https://www.dotnetconf.net/local-events/

https://github.com/dotnet-presentations/dotnetconf2018

Azure

Azure Service Fabric Mesh is now in Public Preview

wp_ss_20180716_0001

Earlier today, Service Fabric Mesh was made available to everyone as a public preview. At Build 2018, Microsoft announced and demonstrated Service Fabric Mesh, a serverless offering of Azure Service Fabric. The public preview is available in three Azure regions: US West, US East, and Europe West and the availability will expand to other regions in the coming months.

Azure Service Fabric Mesh, a fully-managed service that enables developers to deploy and operate containerized applications without having to manage VMs, storage or networking configuration, while keeping the enterprise-grade reliability, scalability, and mission-critical performance of Service Fabric. Service Fabric Mesh supports both Windows and Linux containers, so you can develop with the programming language and framework of your choice.

You can get started today by heading over to the Azure Service Fabric Mesh documentation.

Be sure to take a look at the Azure Service Fabric Mesh Public Preview Announcement for frequently asked questions (FAQ) on what’s supported, and limitations. Since this is only a public preview, there is no SLA for production use.

Enjoy!

Resources

Azure Service Fabric Mesh Public Preview Announcement

Azure Service Fabric Mesh tools now available for Visual Studio 2017

Azure Friday – Azure Service Fabric Mesh Preview

Azure Service Fabric Mesh documentation

Azure Service Fabric Mesh samples

Azure Service Fabric Mesh pricing

Azure Service Fabric Mesh Container Quick Start

Azure

Getting started with Azure Event Grid Extension for Visual Studio Code

I love Visual Studio Code and all the extensions that are available. It has become my preferred editor for almost everything (replacing Notepad++), except for when developing in Visual Studio.

Recently there is a new extension that was made available for working with Azure Event Grid. Typically when working with Azure Event Grid I use a tool called Postman to send test messages to my Azure Event Grid resource. But now with this latest extension you can use Visual Studio Code.

In this post I’ll walk through how to get started and use the Azure Event Grid extension for Visual Studio Code. Let’s get started.

Prerequisites

Before we can begin we need to make sure we have the following installed and setup:

  1. An Azure Subscription. If you don’t have an Azure Account, you can sign up for one today for free and receive $200 in credits by selecting "Create a Free Azure Account…" or selecting "View->Command Palette" and searching for "Azure: Create an Account"
  2. Install Visual Studio Code
  3. Visual Studio Code Extensions:
    • Install extension Azure Tools for Visual Studio Code
    • Install extension Azure Event Grid

Connecting to your Azure Subscription

First thing we need to do is connect to your Azure subscription. This will happen automatically when you go to the Azure tab in Visual Studio Code. You can also sign in from the Command palette and searching for “Azure: Login”.

image

image

image

Create an Event Grid Topic

Now that you’re signed in, let’s go ahead and create an Event Grid topic.

1. In the Event Grid Topics pane, click on the + button to create a new topic:

image

2. Then select your Azure Subscription to associate this topic with:

image

3. Now provide a topic name. I will use “VSCodeEventGridTopicDemo” for my demo:

image

4. Next select a resource group for your topic. I will use  “RGVSCodeEventGridDemo” for my demo:

image

5. Select your location for the resources:

sshot-636

6. Done. In a few seconds your Azure Event Grid will be created and displayed in Visual Studio Code:

image

image

You can login to your Azure Subscription and see everything we just created. Keep your Azure Subscription loaded in the browser as we’ll use it for the next section.

image

Create Event Grid Subscription

Now that we have an Event Grid Topic setup we need to create a subscription to receive the events we send it.

1. Here I will create a new Azure Function app:

image

2. Now create a new Event Grid Trigger function and after it’s created click on the Add Event Grid subscription link:

image

3. Fill in the details relating to the Azure Event Grid Topic we created earlier and then press the Create button:

image

Your Event Grid Topic now has an Event Grid Subscription and is ready to test!

Generating Mock Events

Apart from managing your Event Grids resources in Visual Studio Code, you can also generate and send mock events which is great for testing purposes. Instead of using Postman to do this, I find the Event Grid Extension better and mocking and sending events. So let’s get started now mocking some events.

1. To generate a mocked event, right click on your Event Grid Subscription in Visual Studio Code and select Create Mock Event Generator:

image

2. A new file will be created with all the details for generating mocked events for this subscription. The pattern property is defined with regex patterns for generating random data. You will noticed I changed the data section pattern value with regex pattern to generate the mocked data for my event:

image

3. At the top of the event generator file will be two links: Send Events and Preview Events. The actions do exactly as they say and are what you want to use when generating your mocked events.

image

4. If we click on Preview Events, another file is created with a preview of mocked event data to be sent. Notice the different values between the events. This is from the regex logic defined in the event generator. This can be customized to generate data appropriate for your needs.

image

5. Now click on Send Events link at the top of the event generator file and go to your Azure Portal where you previously defined your Azure Function for your Event Grid Topic, and you will see in the logs your mocked events:

sshot-647

As you can see the Azure Event Grid extension for Visual Studio Code is very powerful and is a handy tool to use in your Azure development.

Enjoy!

Reference

Create your free Azure account

Azure Event Grid Overview

Azure Event Grid Documentation

Introduction to Azure serverless with Azure Functions, Logic Apps and Azure Event Grid