| marp | true |
|---|---|
| theme | custom-default |
| footer | [@chris-ayers.com](https://bsky.app/profile/chris-ayers.com) - [chris-ayers.com](https://chris-ayers.com/) |
BlueSky: @chris-ayers.com
LinkedIn: - chris-l-ayers
Blog: https://chris-ayers.com/
GitHub: Codebytes
Mastodon: @Chrisayers@hachyderm.io
Twitter: @Chris_L_Ayers
- Security Defaults
- Azure AD authentication
- Secure secrets management
- Resilience & Scalability
- Automatic retry policies
- Circuit breakers for failure protection
- Custom Commands
- Workflow automation
- Database migrations, data seeding
- Development environment reset
- Launch Profiles
- Multiple environments (local, cloud, test)
- Environment variable configuration
- Real-time Monitoring
- Interactive Debugging
- Resource Management
- Secret Management
- Copilot AI Debugging
- GenAI Visualizer
- Automatic Configuration: AppHost passes settings to services
- Implicit Discovery: Services reference only what they need
- Named Endpoints: Multiple endpoints per service
- Environment Variables: Structured configuration strings
- Integration Testing: Test multiple components together
- Container Testing: Test with containerized services
- Emulator Support: Use local emulators for cloud services
- End-to-End Testing: Test full application workflows
- Provision and manage resources
- Automate infrastructure setup
- Cloud-native functionality
- Integrated logging and monitoring
- Authentication and authorization
- Configuration management
- Databases: PostgreSQL, MySQL, MongoDB, SQL Server
- Messaging: Kafka, RabbitMQ, NATS
- AI & Observability: Ollama, Semantic Kernel, OpenTelemetry
- JavaScript: Bun, Deno
- Systems Programming: Go, Rust
- Enterprise: Java/Spring
- Extensions: Node.js, SQL, MongoDB, Redis
- OpenAI hosting integration
- GitHub Models & Azure AI Foundry catalogs
- Dev Tunnels hosting support
var k8s = builder.AddKubernetesEnvironment("k8s");
var compose = builder.AddDockerComposeEnvironment("docker");
builder.AddProject<Projects.Api>("api")
.WithComputeEnvironment(compose);
builder.AddProject<Projects.Frontend>("frontend")
.WithComputeEnvironment(k8s);# Install
curl -sSL https://aspire.dev/install.sh | bash
dotnet tool install -g Aspire.Cli
# Commands
aspire new | run | add | update
aspire config | publish | deploy
aspire exec- Azure App Service
- Azure Container Apps
- Kubernetes
azd up # Deploy everything
azd deploy # App only
azd provision # Infrastructure only
azd init # Initialize// Parameters without defaults trigger dashboard prompts
var apiKey = builder.AddParameter("api-key", secret: true);
var dbUrl = builder.AddParameter("database-url");
var api = builder.AddProject<Projects.Api>("api")
.WithEnvironment("API_KEY", apiKey)
.WithEnvironment("DATABASE_URL", dbUrl);- Automatic prompting for missing parameters
- Rich form inputs in dashboard
- Secret masking for sensitive data
- Validation support with custom rules
- Save to user secrets for persistence
Input Types: Text, Password, Choice, Boolean, Number
| Component | Local | Cloud |
|---|---|---|
| AI Models | Ollama, Foundry local, LM Studio | Azure OpenAI, AI Foundry |
| Models | Llama 3, Phi-4, Qwen | GPT-4.1, GPT-5-mini, Claude 4 |
| Vector DB | Qdrant, Chroma, pgvector | Azure AI Search, Cosmos DB |
Features: Zero-friction transitions • Emulator support • Hybrid development • Auto configuration • Secret management
| API & Architecture | Description | Development | Description |
|---|---|---|---|
| Unified API | Common interface for AI providers | Local Development | Connect to Ollama, LM Studio |
| Pipeline Architecture | Chain components efficiently | Cloud Ready | Same code for Azure OpenAI |
| DI Integration | Works with .NET service container | Transport Options | HTTP, gRPC, direct calls |
| Provider-Agnostic | Single interface, multiple backends | Performance | Auto-batching and throttling |
// Local development with Ollama
builder.AddOllama("ollama")
.WithModel("llama3");
// Add client to use the model
builder.AddOllamaApiClient()
.AddChatClient();public class ExampleService(
IChatClient chatClient)
{
// Use chat client...
}- Zero Cost Development: No API charges for local models
- Privacy & Security: All data stays on your machine
- Offline Capability: Work without internet connectivity
- Fast Iteration: No network latency for testing
- Model Experimentation: Try different open-source models
// Single line change for production
builder.AddAzureOpenAI("ai");
// Same client code works unchanged
builder.AddAzureOpenAIClient()
.AddChatClient();public class ExampleService(
IChatClient chatClient)
{
// Use chat client...
}- Latest Models: Access to GPT-4, Claude, and cutting-edge AI
- Global Availability: 99.9% SLA with worldwide deployment
- Managed Infrastructure: No server maintenance required
- Advanced Features: Function calling, vision, audio processing
- Compliance Ready: SOC 2, HIPAA, and enterprise certifications
- Semantic Kernel: High-level orchestration framework
- AutoGen: Multi-agent conversation framework
- Fragmented Ecosystem: Different APIs, patterns, abstractions
- Consolidation: Replaces Semantic Kernel & AutoGen
- Built on Microsoft.Extensions.AI: Leverages unified abstractions
- Multi-Agent Orchestration: Coordinate multiple AI agents
- Event-Driven Architecture: Flexible agent communication
- Agent Types: Task-based, conversational, autonomous
- Memory Systems: Short-term and long-term context
- Tool Integration: Function calling and external tools
- Provider Agnostic: Works with any AI backend
Learn more: Microsoft Agent Framework








