.NET Core and Kubernetes

Slides:



Advertisements
Similar presentations
Building a social networking portal on Windows Azure in 1 hour Saranya Sriram Developer Evangelist Microsoft, India.
Advertisements

Global Windows Azure Bootcamp Auckland March
VIR314. Understand the scenarios Application support Understand the scenarios Application support Review of the sequencing process Demo Review of the.
Boston Bootcamp April 27 th, 2013 Azure Websites Udaiappa Ramachandran ( Udai
Windows Azure Conference 2014 Deploy your Java workloads on Windows Azure.
Esri UC2013. Technical Workshop. Technical Workshop 2013 Esri International User Conference July 8–12, 2013 | San Diego, California Customizing the Operations.
Extending the Operations Dashboard
Copyright © New Signature Who we are: Focused on consistently delivering great customer experiences. What we do: We help you transform your business.
Docker for Ops: Operationalize Your Apps in Production Vivek Saraswat Sr. Product Evan Hazlett Sr. Software
Microsoft Build /9/2017 5:00 AM © 2016 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY,
11/19/2017 9:41 PM © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN.
Building Azure Web Apps
DevOps with ASP.NET Core and Entity Framework Core
12/29/2017 3:36 AM © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN.
Modernizing your. NET applications with. NET Standard,
Microservice Bus Tutorial Huabing Zhao
Stress Free Deployments with Octopus Deploy
4/24/ :07 PM © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN.
Accelerate your DevOps with OpenShift by Red Hat
Develop, debug and deploy containerized applications with Docker
Introduction to ASP.NET 2.0
6/11/2018 8:14 AM THR2175 Building and deploying existing ASP.NET applications using VSTS and Docker on Windows Marcel de Vries CTO, Xpirit © Microsoft.
Developing Hybrid Apps on Microsoft Azure Stack
Learning about Containers in the Real World
Easily manage SQL everywhere from anywhere with SQL Tools
SPC Developer 6/25/2018 © 2012 Microsoft Corporation. All rights reserved. Microsoft, Windows, and other product names are or may be registered trademarks.
7/19/2018 9:40 PM © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN.
Modernizing Application Delivery with Containers & Kubernetes
Dmytro Mykhailov How HashiCorp platform tools can make the difference in development and deployment Target and goal of HashiCorp.
Building Applications with Windows Azure and SQL Azure
Nano Server in the cloud - some real use cases to take away
9/20/ :55 PM © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN.
PaaS - Development Stefan Geiger Gerry
Using docker containers
Azure Container Instances
Microsoft /12/2018 8:06 AM BRK2103 Deliver more features faster with a modern development and test solution Claude Remillard Group Program Manager.
11/27/2018 4:20 AM © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN.
Developing for the cloud with Visual Studio
ARCH-1: Application Architecture made Simple
12/5/ :36 AM © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN.
12/7/2018 2:05 AM © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN.
Learn. Imagine. Build. .NET Conf
Microsoft Virtual Academy
Introduction to Building Applications with Windows Azure
From Source to Production: The Latest in Container Dev
Tech·Ed North America /2/2019 4:47 PM
Your code is not just…your code
2/16/2019 9:42 PM © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN.
Lighting Up Real-time Web Communications with SignalR
Versioning system (e.g. github) holding code artifacts like war files
Windows Azure Web Sites & On-Premises Connectivity
Developing for Windows Azure
5 Azure Services Every .NET Developer Needs to Know
DEVOPS & THE FUTURE OF TESTING
OpenShift as a cloud for Data Science
Building highly scalable enterprise systems (on Azure)
Office 365 Development July 2014.
Introduction to ASP.NET Parts 1 & 2
Johan Lindberg, inRiver
Azure App Service Web App for Containers
Containers and DevOps.
Building, Debugging & Deploying Containerized
Docker for DBAs SQL Saturday 8/17/2019.
SQL Server Devops with production data
9/16/2019 6:55 PM © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN.
Your code is not just…your code
Alex Karcher 5 tips for production ready Azure Functions
ASP.NET Core 2.0 The Future of Web Apps Shahed Chowdhuri
DevOps for Desktop Apps
Presentation transcript:

.NET Core and Kubernetes Glenn Condron glenn@microsoft.com @condrong Brady Gaster bradyg@microsoft.com @bradygaster Brady - 2 min Introductions

Introduction Agenda Sample app architectural overview The new Worker Template Configuration with Azure App Configuration Service Messaging with Azure Service Bus Topics, Subscriptions, and Sessions gRPC for internal-cluster APIs Kubernetes tools used for Visual Studio and Visual Studio Code Deployment with Azure DevOps Brady - 5 min Intro the scenario, set the stage

Sample App - Rochambot Rock, paper, scissors game Some ground rules Humans play an army of bots Each bot is a microservice Some ground rules Data is written via Topics (never direct) Microservices don’t share databases Minimal shared code between microservices Glenn – 10 mins Talk about the rules of the road, our tenets, etc.

Demo: A quick look at Rochambot Glenn – 12 mins

App Flow Web & Workers deployed to AKS Azure Kubernetes Cluster Workers Web Web & Workers deployed to AKS Configured from Azure App Config Azure App Configuration Brady – 13 mins

Code: Configuring with Azure App Configuration Brady – 15 min Show the way we wire up the config Point out that IConfiguration is being used everywhere, as if it were appsettings files Show the settings in the portal

App Flow Web & Workers deployed to AKS matchmaking plays results Azure Service Bus Web & Workers deployed to AKS Configured from Azure App Config Player requests a game Player bot accepts game Game Master sees match start Azure Kubernetes Cluster Workers Web Azure App Configuration Glenn – 17 mins Point out that the web posts a message to a topic Point out how the other services have subscribed to, and respond to, the message

Code: A look at messaging with Azure Service Bus Topics, Subscriptions, and Sessions Glenn – 20 mins Show some of the messaging code Don’t talk about our difficulties yet – later in the talk

App Flow Web & Workers deployed to AKS matchmaking plays results Azure Service Bus Web & Workers deployed to AKS Configured from Azure App Config Player requests a game Player bot accepts game Game Master sees match start Game Master records match start Azure Kubernetes Cluster Workers Web Azure Cosmos DB Azure App Configuration Brady – 21 mins

Code: Saving data with Cosmos DB Brady – 25 mins Show the data-access classes in GameMaster

App Flow Web & Workers deployed to AKS matchmaking plays results Azure Service Bus Web & Workers deployed to AKS Configured from Azure App Config Player requests a game Player bot accepts game Game Master sees match start Game Master records match Player makes a play Bot makes a play Game Master sees the move Game Master saves the move Azure Kubernetes Cluster Workers Web Azure Cosmos DB Azure App Configuration Glenn – next three slides end at 30 mins

App Flow Web & Workers deployed to AKS matchmaking plays results Azure Service Bus Web & Workers deployed to AKS Configured from Azure App Config Player requests a game Player bot accepts game Game Master sees match start Game Master records match Player makes a play Bot makes a play Game master sees the move Game Master saves the move Game Master posts game results message Player gets score Bot gets result Game Master saves the result Azure Kubernetes Cluster Workers Web Azure Cosmos DB Azure App Configuration Glenn – next two slides end at 30 mins

App Flow Web & Workers deployed to AKS matchmaking plays results Azure Service Bus Web & Workers deployed to AKS Configured from Azure App Config Player requests a game Player bot accepts game Game Master sees match start Game Master records match Player makes a play Bot makes a play Game master sees the move Game Master saves the move Game Master posts game results message Player gets score Bot gets result Game Master saves the result UI Updated via gRPC API Azure Kubernetes Cluster Workers Web Azure Cosmos DB Azure App Configuration Glenn – 30 mins

Code: the gRPC game and leaderboard APIs Brady – 40 mins Show the .csproj files and how one’s server and one’s client Show the proto files and how they’re the same

Dev Publish Flow Create the AKS cluster Azure Kubernetes Cluster Create the AKS cluster Package code into Docker images Brady – end segment at 45 mins

Dev Publish Flow Create the AKS cluster Azure Kubernetes Cluster Create the AKS cluster Package code into Docker images Publish images to an image repository Container Registry Brady – end segment at 45 mins

Dev Publish Flow Create the AKS cluster Azure Kubernetes Cluster Create the AKS cluster Package code into Docker images Publish images to an image repository Author Helm deployment templates Container Registry Brady – end segment at 45 mins

Dev Publish Flow Create the AKS cluster Azure Kubernetes Cluster Web Workers Create the AKS cluster Package code into Docker images Publish images to an image repository Author Helm deployment templates Apply the Helm templates to the cluster Container Registry Brady – end segment at 45 mins

Code: Deploying with Helm and VS/VS Code Brady – 50 mins Show the VS Code tools Talk about Dev Spaces and how it enables collaborative development

Resources .NET Microservices https://dotnet.microsoft.com/apps/aspnet/microservices Using Workers as Windows Services https://devblogs.microsoft.com/aspnet/net-core-workers-as-windows-services/ Using Workers with ACI https://devblogs.microsoft.com/aspnet/dotnet-core-workers-in-azure-container-instances/ Kubernetes Tools for Visual Studio https://aka.ms/kubernetes-for-vs Kubernetes Tools for Visual Studio Code https://code.visualstudio.com/docs/azure/kubernetes Azure App Configuration http://aka.ms/appconfig Health Checks https://aka.ms/dotnetcore-healthchecks Glenn – 60 mins Wrap up, talk about how we’ll be open-sourcing it post-conference

Please use EventsXD to fill out a session evaluation. Thank you!