Category: Azure

ArchitectureAzureEvents

BRK3341 – Architect your solution with queues, grids, and hubs: When to use which and for what

image

Azure provides a lot of messaging solutions and it can become overwhelming for architects and developers to know when to use which server and for what use case. In this talk, Bahram Banisadr will show real life scenarios, code and discuss architecture patterns for messaging and events using Azure Event Hubs, Service Bus, Event Grid, and Storage Queues.

image

Watch the session for more details.

Enjoy!

References

BRK3341 – Architect your solution with queues, grids, and hubs: When to use which and for what

Microsoft Ignite 2018

Azure Event Grid

Azure Event Hubs

Azure Service Bus

Azure Storage Queues

AzureBooksDevOps

Download e-book ‘Effective DevOps’

DevOps is a culture and practice that unifies people, processes and tools across development and operations groups that aims to help deliver software faster and more reliably.

In this e-book from from O’Reilly, you get a practical guide for improving collaboration across teams, promoting efficient use of tools, and using the concepts of DevOps to work more effectively. You’ll also:

  • Explore the foundations and four pillars of effective DevOps: Collaboration, affinity, tools, and scaling.
  • Get an overview of DevOps, including the evolution, foundational terminology, and concepts.
  • Understand common misconceptions about DevOps and anti-patterns used in the practice.

See what it looks like to make effective changes in your organization using a DevOps mindset.

Download the e-book from here. This book was published on August 31, 2018.

Enjoy!

References

Microsoft Azure DevOps

Download e-book Effective DevOps

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?

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

AzureDevelopment

Connecting your code to the cloud with Visual Studio Connected Services

With each release of Visual Studio it’s getting easier to connect your application to Azure services. To access Visual Studio Connected Services, go to your projects Overview which can be accessed by right clicking on your project and select Overview.

image

Then select the Connected Services tab on the left to show the list of Connected Services available in your Visual Studio instance. More connected services can be installed from either the Visual Studio Marketplace or from within Visual Studio by going to the Tools –> Extensions and Updates… menu item.

image

To configure a particular Connected Service, just click on it and follow the prompts to wire up the desired Azure service.

Connected Services

With the announcement of what’s new in for Azure Development in Visual Studio on May 30 2018, support for three more Azure services were made available:

For a full list of available Connected Services take a look at the Microsoft Visual Studio Marketplace.

Enjoy!

References

New Updates for Azure Development in Visual Studio

Visual Studio Marketplace

AIAzureDevelopmentEventsProductivity

Microsoft Build 2018–Day 2 Highlights

Today’s keynote by Joe Belfiore was focused on Multi-sense + Multi-device for Microsoft 365, which is Windows, Office and EMS

Image showing how Microsoft 365 brings together Office 365, Windows 10, and Enterprise Mobility + Security (EMS), a complete, intelligent, and secure solution to empower employees.

Announcements

  • Fluent Design System updates.
  • UWP XAML Islands, which lets you incorporate UWP into WinForms, WPF and Win32 applications. This also means you can start to bring in the Fluent Design System into these UI frameworks.
  • Windows UI Library, which brings native platform controls as NuGet packages instead of being tied to the OS version. This will work from the Windows Anniversary Update and newer.
  • .NET Core 3.0, which will support side-by-side runtimes, along with support for WinForms, WPF and UWP.
  • MSIX, which is dubbed the best technology for installing applications on Windows. This inherits the Universal Windows Platform (UWP) features, works across Enterprise or Store distributions, and supports all Windows applications.
  • Windows SDK Insider Preview – https://aka.ms/winsdk
  • New developer revenue sharing model. Developers will get 85% when their app is found in the Microsoft store, and 95% when you provide your customers to your app in the Microsoft store.
  • Microsoft Launcher on Android will support Timeline for cross-device application launching. On iOS this will be supported through Microsoft Edge.
  • A new “Your Phone” experience coming soon to Windows 10 that enables you to see your connected phone text messages, photos and notifications and then interact with them without having to use your phone. Really neat experience – now if only they support Windows Mobile 10 Smile
  • Microsoft Sets was officially shown and demonstrated how it can be used for an easier way to organize your work and allow you to get back to work where you left off when ready. This means not having to have 25+ tabs open in Chrome or Edge. Nice!
  • Adaptive Cards is being added to Microsoft 365, which will enable developers to create rich interactive content within conversations. They demonstrated a GitHub Adaptive Card for Outlook (365) where you could comment and close an issue. Another example shown was paying for your invoice from an email.
  • There was a lot of buzz for Microsoft Graph, which is core to the Microsoft 365 platform. Microsoft Graph helps developers connect the dots between people, schedules, conversations, and content within the Microsoft cloud.
  • Cortana and Alexa start speaking to one another. Sometime in the future you will be able to access your Alexa device through Windows 10 and likewise on an Amazon Echo you will ne able to speak to Cortana.

Enjoy!

References

https://developer.microsoft.com/en-us/events/build

Modernizing applications for our multi-sense, multi-device world

Microsoft 365 empowers developers to build intelligent apps for where and how the world works