SlideShare a Scribd company logo
4
Most read
11
Most read
12
Most read
Udaiappa Ramachandran (Udai)
Web: https://udai.io
LinkedIn: https://linkedin.com/in/udair
.NET Aspire
About me
 Udaiappa Ramachandran (Udai)
 CTO/CSO @ Akumina Inc.,
 Microsoft MVP
 Cloud Expert – Microsoft Azure, AWS and Google
 Organizer – New Hampshire CLOUD .NET User Group
https://meetup.com/nashuaug
Agenda
 Introduction to .NET Aspire
 Building Blocks
 Demo
.NET Aspire Building Blocks
 Service Defaults
 Dashboard
 Orchestration
 Service Discovery
 Integrations
 Deployment
.NET Aspire Service Defaults
 Observability
 Resiliency
 Health Checks
.NET Aspire Orchestration
var builder = DistributedApplication.CreateBuilder(args);
var cache = builder.AddRedis("cache").WithRedisCommander();
var api = builder.AddProject<Projects.AspireDemo_Api>("aspiredemo-api")
.WithReference(cache);
builder.AddProject<Projects.AspireDemo_Web>("aspiredemo-web")
.WithReference(api);
builder.Build().Run();
.NET Aspire Service Discovery
var builder = DistributedApplication.CreateBuilder(args);
var cache = builder.AddRedis("cache").WithRedisCommander();
var api = builder.AddProject<Projects.AspireDemo_Api>("aspiredemo-api")
.WithReference(cache);
builder.AddProject<Projects.AspireDemo_Web>("aspiredemo-web")
.WithReference(api);
builder.Build().Run();
builder.Services.AddHttpClient<UserService>(c =>
{
var url = "https+http://aspiredemo-api";
c.BaseAddress = new(url);
});
.NET Aspire Dashboard
 Structured Logs
 Metrics
 Distributed Traces
 Dependencies
CNCF Cloud Native Landscape
https://
.NET Aspire Integrations
.NET Aspire Deployment Options
 HOW YOU DO IT TODAY
 AWS CDK
 AZURE DEV CLI
 dotnet run--publisher manifest--output-path aspire-manifest.json
 azd init
 azd infra synth //it outputs files that is created by azd up
 azd up
 VISUAL STUDIO
.NET Aspire Standalone Dashboard
Visit https://aspiredashboard.com
//Bash
docker run --rm -it  -p 18888:18888 -p 4317:18889  -d --name aspire-dashboard 
-e DOTNET_DASHBOARD_UNSECURED_ALLOW_ANONYMOUS="true" 
mcr.microsoft.com/dotnet/aspire-dashboard:9.0
//PowerShell
docker run --rm -it -p 18888:18888 -p 4317:18889 -d --name aspire-dashboard -e
DOTNET_DASHBOARD_UNSECURED_ALLOW_ANONYMOUS="true"
mcr.microsoft.com/dotnet/aspire-dashboard:9.0
OTLP Key Command: docker logs aspire-dashboard
Browse to: http://localhost:18888/
https://learn.microsoft.com/en-us/dotnet/aspire/fundamentals/dashboard/
References
 https://aka.ms/dotnet/aspire
 https://aka.ms/dotnet/aspire/start
 https://github.com/dotnet/aspire-samples
 https://github.com/CommunityToolkit/Aspire
 https://github.com/CommunityToolkit/Aspire/blog
 https://github.com/CommunityToolkit/Aspire/docs
 https://aka.ms/dotnet/aspire/hosting-integration
 https://aka.ms/dotnet/aspire/client-integration
 https://github.com/dotnet/aspire-samples/tree/main/samples/AspireWithAzureFunctions
 https://github.com/Azure/azure-functions-dotnet-worker
 https://github.com/dotnet/aspire
 https://learn.microsoft.com/dotnet/aspire/serverless/functions
 https://github.com/integrations-on-dotnet-aspire-for-aws
Thank you for your time and trust!
Nashua CLOUD .NET User Group

More Related Content

PDF
Integrating Jira Software Cloud With the AWS Code Suite
PPTX
Microserviços na vida real
PPTX
Strategies to automate deployment and provisioning of Microsoft Azure.
PDF
Cloud 101: Hands-on Heroku & AWS
PPTX
Automating Your Azure Environment
PDF
AWS Serverless Workshop
PPTX
Building and Running Your App in the Cloud
PPTX
TDC2017 | Florianopolis - Trilha DevOps How we figured out we had a SRE team ...
Integrating Jira Software Cloud With the AWS Code Suite
Microserviços na vida real
Strategies to automate deployment and provisioning of Microsoft Azure.
Cloud 101: Hands-on Heroku & AWS
Automating Your Azure Environment
AWS Serverless Workshop
Building and Running Your App in the Cloud
TDC2017 | Florianopolis - Trilha DevOps How we figured out we had a SRE team ...

Similar to .NET Aspire Presentation by Udaiappa Ramachandran (20)

DOCX
Azure Administration.docx
PPTX
Chris O'Brien - Best bits of Azure for Office 365/SharePoint developers
PPTX
The Azure API-ness Factory
PPTX
TDC 2016 - Arquitetura Java - Spring Cloud
PPTX
Azure Resource Manager - Technical Primer
PDF
10 Excellent Ways to Secure Spring Boot Applications - Okta Webinar 2020
PPTX
AWS CloudFormation Intrinsic Functions and Mappings
PDF
Front End Development for Back End Developers - vJUG24 2017
PPTX
20141002 delapsley-socalangularjs-final
PPTX
Introducing ASP.NET Core 2.0
PPTX
Real World Lessons in Progressive Web Application & Service Worker Caching
PPTX
Azure arm templates
PDF
Spring boot microservice metrics monitoring
PDF
Spring Boot - Microservice Metrics Monitoring
PPTX
Azure serverless Full-Stack kickstart
PDF
AppSec Tel Aviv - OWASP Top 10 For JavaScript Developers
PPSX
Windows Azure Cloud Services
PPTX
CCI2018 - Automatizzare la creazione di risorse con ARM template e PowerShell
PPTX
TDC2016SP - Construindo Microserviços usando Spring Cloud
PDF
7.habits.every.azure.admin.must.have.v082020
Azure Administration.docx
Chris O'Brien - Best bits of Azure for Office 365/SharePoint developers
The Azure API-ness Factory
TDC 2016 - Arquitetura Java - Spring Cloud
Azure Resource Manager - Technical Primer
10 Excellent Ways to Secure Spring Boot Applications - Okta Webinar 2020
AWS CloudFormation Intrinsic Functions and Mappings
Front End Development for Back End Developers - vJUG24 2017
20141002 delapsley-socalangularjs-final
Introducing ASP.NET Core 2.0
Real World Lessons in Progressive Web Application & Service Worker Caching
Azure arm templates
Spring boot microservice metrics monitoring
Spring Boot - Microservice Metrics Monitoring
Azure serverless Full-Stack kickstart
AppSec Tel Aviv - OWASP Top 10 For JavaScript Developers
Windows Azure Cloud Services
CCI2018 - Automatizzare la creazione di risorse con ARM template e PowerShell
TDC2016SP - Construindo Microserviços usando Spring Cloud
7.habits.every.azure.admin.must.have.v082020
Ad

More from Udaiappa Ramachandran (20)

PPTX
Transform Any Website into a Conversational Experience with NLWeb
PPTX
Scalable Multi-Agent AI with AutoGen by Udai
PPTX
Building .NET AI Applications with Google AI: Leveraging Vertex AI and Gemini
PPTX
Microsoft Fabric by Udaiappa Ramachandran.pptx
PPTX
AI-Driven Dynamic Data Querying and Visualization with KQL and SQL
PPTX
Advanced Application Protection with Azure WAF
PPTX
RAG Patterns and Vector Search in Generative AI
PPTX
Level up your security using Intune.pptx
PPTX
Building AI-Driven Apps Using Semantic Kernel.pptx
PPTX
AI-Plugins-Planners-Persona-SemanticKernel.pptx
PPTX
DOTNET8.pptx
PPTX
AzureSynapse.pptx
PPTX
Vector Search using OpenAI in Azure Cognitive Search.pptx
PPTX
SecureAzureServicesUsingADAuthentication.pptx
PPTX
AzureOpenAI.pptx
PPTX
OpenAI-Copilot-ChatGPT.pptx
PPTX
DiagnoseAndSolveproblems.pptx
PPTX
PPTX
CosmosDB.pptx
PPTX
Transform Any Website into a Conversational Experience with NLWeb
Scalable Multi-Agent AI with AutoGen by Udai
Building .NET AI Applications with Google AI: Leveraging Vertex AI and Gemini
Microsoft Fabric by Udaiappa Ramachandran.pptx
AI-Driven Dynamic Data Querying and Visualization with KQL and SQL
Advanced Application Protection with Azure WAF
RAG Patterns and Vector Search in Generative AI
Level up your security using Intune.pptx
Building AI-Driven Apps Using Semantic Kernel.pptx
AI-Plugins-Planners-Persona-SemanticKernel.pptx
DOTNET8.pptx
AzureSynapse.pptx
Vector Search using OpenAI in Azure Cognitive Search.pptx
SecureAzureServicesUsingADAuthentication.pptx
AzureOpenAI.pptx
OpenAI-Copilot-ChatGPT.pptx
DiagnoseAndSolveproblems.pptx
CosmosDB.pptx
Ad

Recently uploaded (20)

PPTX
20250228 LYD VKU AI Blended-Learning.pptx
PDF
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
PPTX
Detection-First SIEM: Rule Types, Dashboards, and Threat-Informed Strategy
PDF
Approach and Philosophy of On baking technology
PPTX
Understanding_Digital_Forensics_Presentation.pptx
PDF
Shreyas Phanse Resume: Experienced Backend Engineer | Java • Spring Boot • Ka...
PDF
Reach Out and Touch Someone: Haptics and Empathic Computing
PDF
KodekX | Application Modernization Development
PDF
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
PPTX
Cloud computing and distributed systems.
PDF
How UI/UX Design Impacts User Retention in Mobile Apps.pdf
PDF
Building Integrated photovoltaic BIPV_UPV.pdf
PDF
cuic standard and advanced reporting.pdf
PDF
NewMind AI Weekly Chronicles - August'25 Week I
PDF
The Rise and Fall of 3GPP – Time for a Sabbatical?
PDF
Encapsulation theory and applications.pdf
PPTX
Digital-Transformation-Roadmap-for-Companies.pptx
PPTX
Big Data Technologies - Introduction.pptx
DOCX
The AUB Centre for AI in Media Proposal.docx
PDF
Chapter 3 Spatial Domain Image Processing.pdf
20250228 LYD VKU AI Blended-Learning.pptx
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
Detection-First SIEM: Rule Types, Dashboards, and Threat-Informed Strategy
Approach and Philosophy of On baking technology
Understanding_Digital_Forensics_Presentation.pptx
Shreyas Phanse Resume: Experienced Backend Engineer | Java • Spring Boot • Ka...
Reach Out and Touch Someone: Haptics and Empathic Computing
KodekX | Application Modernization Development
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
Cloud computing and distributed systems.
How UI/UX Design Impacts User Retention in Mobile Apps.pdf
Building Integrated photovoltaic BIPV_UPV.pdf
cuic standard and advanced reporting.pdf
NewMind AI Weekly Chronicles - August'25 Week I
The Rise and Fall of 3GPP – Time for a Sabbatical?
Encapsulation theory and applications.pdf
Digital-Transformation-Roadmap-for-Companies.pptx
Big Data Technologies - Introduction.pptx
The AUB Centre for AI in Media Proposal.docx
Chapter 3 Spatial Domain Image Processing.pdf

.NET Aspire Presentation by Udaiappa Ramachandran

  • 1. Udaiappa Ramachandran (Udai) Web: https://udai.io LinkedIn: https://linkedin.com/in/udair .NET Aspire
  • 2. About me  Udaiappa Ramachandran (Udai)  CTO/CSO @ Akumina Inc.,  Microsoft MVP  Cloud Expert – Microsoft Azure, AWS and Google  Organizer – New Hampshire CLOUD .NET User Group https://meetup.com/nashuaug
  • 3. Agenda  Introduction to .NET Aspire  Building Blocks  Demo
  • 4. .NET Aspire Building Blocks  Service Defaults  Dashboard  Orchestration  Service Discovery  Integrations  Deployment
  • 5. .NET Aspire Service Defaults  Observability  Resiliency  Health Checks
  • 6. .NET Aspire Orchestration var builder = DistributedApplication.CreateBuilder(args); var cache = builder.AddRedis("cache").WithRedisCommander(); var api = builder.AddProject<Projects.AspireDemo_Api>("aspiredemo-api") .WithReference(cache); builder.AddProject<Projects.AspireDemo_Web>("aspiredemo-web") .WithReference(api); builder.Build().Run();
  • 7. .NET Aspire Service Discovery var builder = DistributedApplication.CreateBuilder(args); var cache = builder.AddRedis("cache").WithRedisCommander(); var api = builder.AddProject<Projects.AspireDemo_Api>("aspiredemo-api") .WithReference(cache); builder.AddProject<Projects.AspireDemo_Web>("aspiredemo-web") .WithReference(api); builder.Build().Run(); builder.Services.AddHttpClient<UserService>(c => { var url = "https+http://aspiredemo-api"; c.BaseAddress = new(url); });
  • 8. .NET Aspire Dashboard  Structured Logs  Metrics  Distributed Traces  Dependencies
  • 9. CNCF Cloud Native Landscape https://
  • 11. .NET Aspire Deployment Options  HOW YOU DO IT TODAY  AWS CDK  AZURE DEV CLI  dotnet run--publisher manifest--output-path aspire-manifest.json  azd init  azd infra synth //it outputs files that is created by azd up  azd up  VISUAL STUDIO
  • 12. .NET Aspire Standalone Dashboard Visit https://aspiredashboard.com //Bash docker run --rm -it -p 18888:18888 -p 4317:18889 -d --name aspire-dashboard -e DOTNET_DASHBOARD_UNSECURED_ALLOW_ANONYMOUS="true" mcr.microsoft.com/dotnet/aspire-dashboard:9.0 //PowerShell docker run --rm -it -p 18888:18888 -p 4317:18889 -d --name aspire-dashboard -e DOTNET_DASHBOARD_UNSECURED_ALLOW_ANONYMOUS="true" mcr.microsoft.com/dotnet/aspire-dashboard:9.0 OTLP Key Command: docker logs aspire-dashboard Browse to: http://localhost:18888/ https://learn.microsoft.com/en-us/dotnet/aspire/fundamentals/dashboard/
  • 13. References  https://aka.ms/dotnet/aspire  https://aka.ms/dotnet/aspire/start  https://github.com/dotnet/aspire-samples  https://github.com/CommunityToolkit/Aspire  https://github.com/CommunityToolkit/Aspire/blog  https://github.com/CommunityToolkit/Aspire/docs  https://aka.ms/dotnet/aspire/hosting-integration  https://aka.ms/dotnet/aspire/client-integration  https://github.com/dotnet/aspire-samples/tree/main/samples/AspireWithAzureFunctions  https://github.com/Azure/azure-functions-dotnet-worker  https://github.com/dotnet/aspire  https://learn.microsoft.com/dotnet/aspire/serverless/functions  https://github.com/integrations-on-dotnet-aspire-for-aws
  • 14. Thank you for your time and trust! Nashua CLOUD .NET User Group

Editor's Notes

  • #4: Powerful tools, templates, and packages for building observable production-ready aps Extensible, OpenTelemetry Built-in, & Ready for Any Cloud Aspire is a platform that will allow developers to build curated experiences that affect local development, testing and deployment of applications Build, test, and deploy apps seamlessy from code to cloud Extensible, OpenTelemetry built-in, & Ready fro any Cloud What Every App Needs – Observability, Resiliency, Scalability, and Manageability What .NET Gives: Observability –Built in metrics with dimensions, DI integration for metrics, Better Logging support (faster, can object serialization), Enrichment, Redaction, Testing fakes for logging & metrics Resiliency – New Polly based resiliency packages, SignalR Stateful Reconnect Scalability – AOT (increased density), Performance, Chiseled Ubuntu Manageability – Certificate auto-rotation support in Kestrel
  • #5: What are aspire defaults? ServiceDefaults stays in your projects; set of defaults that making sense as starting point Enable live telemetries, traces; healthy endpoints Resiliencey: real-time detection and response to issues; fault tolerance; scalability; redundancy;graceful degradation; Example logs the error
  • #7: Talk to multiple services needs to be discovered for communication. One application into other
  • #8: Standalone: docker run --rm –it –p 18888:18888 –p 4317:18889 –d –name aspire-dashboard mcr.Microsoft.com/dotnet/aspire-dashboard:9.0.0 aspiredashboard.com
  • #9: https://landscape.cncf.io/
  • #11: AspireHost> dotnet run --publisher manifest --output-path aspire-manifest.json azd init azd infra synth //it outputs files that is created by azd up azd up
  • #12: Make sure configure the OLTP into the app
  • #13: https://github.com/jamesmontemagno