Skip to content

qmatteoq/NetConf2025

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

7 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

.NET Conf 2025 Milan - Demo Repository

Welcome to the official demo repository for .NET Conf 2025 held in Milan! This repository contains various sample applications and demonstrations showcasing the latest features and capabilities of .NET 10 and Microsoft Teams development.

πŸ“‹ Table of Contents

🎯 Overview

This repository demonstrates cutting-edge .NET development practices and Microsoft 365/Teams application development through two comprehensive solutions:

M365Agent Solution

  • Microsoft 365 Agents Framework: Next-generation conversational AI agents
  • Azure OpenAI Integration: Advanced language model capabilities with function invocation
  • Model Context Protocol: Direct access to Microsoft Learn documentation
  • M365 Agents Playground: Compatible with Microsoft's agent development environment

TeamsAgent Solution

  • Teams SDK Integration: Advanced conversational agents for Microsoft Teams
  • Feedback Management: Complete end-to-end feedback collection and viewing system
  • Azure AI Search: Intelligent document search and RAG capabilities
  • Microservices Architecture: Distributed application design with .NET Aspire

Common Features

  • Azure Integration: Cloud-native applications with Azure services
  • Modern Web Development: ASP.NET Core with Blazor components
  • .NET 10 Features: Latest .NET capabilities and performance improvements
  • .NET Aspire: Service orchestration and management for both solutions

πŸš€ Solutions

This repository contains two comprehensive solutions showcasing different aspects of modern .NET and Microsoft 365 development:

πŸ€– M365Agent Solution

A complete Microsoft 365 Agents solution featuring AI-powered conversational agents with Model Context Protocol (MCP) integration.

Projects:

  • M365Agent.Api: Core AI agent service with Azure OpenAI integration
  • M365Agent.App: Microsoft 365 Agents Playground compatible bot application
  • M365Agent.AppHost: .NET Aspire orchestration for the M365 solution
  • M365Agent.ServiceDefaults: Shared service configurations

Key Features:

  • Microsoft 365 Agents framework integration
  • Azure OpenAI chat client with function invocation
  • Model Context Protocol (MCP) for Microsoft Learn documentation access
  • LearnAgent specialized for Microsoft products and services questions
  • .NET Aspire orchestration with dev tunnels
  • M365 Agents Playground compatibility

Technologies: .NET Aspire, Azure OpenAI, Microsoft Agents AI, Model Context Protocol, Microsoft 365 Agents

πŸ”§ TeamsAgent Solution

A comprehensive Teams application ecosystem featuring AI-powered agents, feedback management, and Azure AI Search integration.

Projects:

  • TeamsAgent: Main Teams agent application with Azure AI Search
  • FeedbackApi: RESTful API service for feedback management
  • FeedbackViewer: Blazor Server application for viewing feedback
  • M365Agent: Teams app integration components
  • TeamsAgent.AppHost: .NET Aspire application host
  • TeamsAgent.ServiceDefaults: Shared service configurations

Key Features:

  • Teams SDK integration with AI capabilities
  • Azure AI Search for document indexing and RAG
  • Complete feedback management system
  • Interactive Blazor components
  • Microservices architecture with .NET Aspire
  • Cross-service communication and orchestration

Technologies: ASP.NET Core, Microsoft Teams API, Azure AI Search, Blazor Server, Entity Framework Core, .NET Aspire

πŸ“‹ Prerequisites

Before running the applications in this repository, ensure you have:

Software Requirements

Azure Services

Microsoft 365 & Teams

Development Tools

πŸ› οΈ Getting Started

1. Clone the Repository

git clone https://github.com/qmatteoq/NetConf2025.git
cd NetConf2025

2. Setup Azure Resources

  1. Create an Azure AI Search service (for TeamsAgent solution)
  2. Create an Azure OpenAI resource (for both solutions)
  3. Note down the connection strings and API keys

3. Configure Application Settings

Update the appsettings.Development.json files in each solution with your Azure service configurations.

4. Running the M365Agent Solution

# Navigate to the M365Agent directory
cd M365Agent

# Restore dependencies
dotnet restore

# Build the solution
dotnet build

# Run the AppHost (this will start the API and App services)
dotnet run --project M365Agent.AppHost

The M365Agent solution will:

  • Start the API service with the LearnAgent
  • Start the bot application compatible with M365 Agents Playground
  • Create a dev tunnel for external access
  • Optionally launch the M365 Agents Playground emulator

5. Running the TeamsAgent Solution

# Navigate to the TeamsAgent directory
cd TeamsAgent

# Restore dependencies
dotnet restore

# Build the solution
dotnet build

# Run the AppHost (this will start all services)
dotnet run --project TeamsAgent.AppHost

6. Teams Agent Specific Setup

For the Teams Agent specifically:

  1. Run the Indexer.ps1 script to create your document index
  2. Configure your Teams app manifest
  3. Deploy to Teams for testing

πŸ“ Project Details

Directory Structure

M365Agent/                        # Microsoft 365 Agents Solution
β”œβ”€β”€ M365Agent.Api/               # Core AI agent service
β”œβ”€β”€ M365Agent.App/               # Bot application for M365 Agents Playground
β”œβ”€β”€ M365Agent.AppHost/           # .NET Aspire orchestration
└── M365Agent.ServiceDefaults/   # Shared service configurations

TeamsAgent/                       # Teams Agent Solution  
β”œβ”€β”€ FeedbackApi/                 # Web API for feedback management
β”œβ”€β”€ FeedbackViewer/              # Blazor app for viewing feedback
β”œβ”€β”€ M365Agent/                   # Teams app integration components
β”œβ”€β”€ TeamsAgent/                  # Main Teams agent application
β”œβ”€β”€ TeamsAgent.AppHost/          # .NET Aspire host
└── TeamsAgent.ServiceDefaults/  # Shared configurations

Key Configuration Files

  • M365Agent.slnx - M365 Agents solution file
  • TeamsAgent.slnx - Teams Agent solution file
  • appsettings.json - Application configurations
  • launchSettings.json - Development launch profiles
  • manifest.json - Teams app manifest (in TeamsAgent/M365Agent)
  • m365agents.yml - M365 Agents configuration (in TeamsAgent/M365Agent)

πŸ”§ Technologies Showcased

.NET 10 Features

  • Performance Improvements: Latest runtime optimizations
  • Language Features: New C# capabilities
  • ASP.NET Core: Enhanced web development features
  • Entity Framework Core: Advanced ORM capabilities

Microsoft 365 & AI Platforms

  • Microsoft 365 Agents Framework: Next-generation conversational AI development
  • Microsoft Agents AI Library: Advanced agent building capabilities
  • Model Context Protocol (MCP): Structured access to external data sources
  • Azure OpenAI: Large language model integration with function invocation
  • M365 Agents Playground: Development and testing environment

Microsoft Teams Platform

  • Teams AI Library V2: Next-generation conversational AI for Teams
  • Teams Toolkit: Modern development experience
  • Adaptive Cards: Rich interactive components
  • Message Extensions: Enhanced user interactions

Azure Services

  • Azure AI Search: Intelligent document search and retrieval
  • Azure OpenAI: Large language model integration
  • Azure Identity: Secure authentication and authorization
  • Azure App Service: Cloud hosting and deployment

Modern Development Practices

  • Microservices Architecture: Distributed application design
  • API-First Development: RESTful service design
  • Cloud-Native: Azure-ready applications
  • .NET Aspire: Service orchestration and management for both solutions
  • Dev Tunnels: Secure external access for development

πŸ“„ License

This project is licensed under the MIT License - see the LICENSE file for details.

πŸ†˜ Support

  • General Questions: Create an issue in this repository
  • Documentation: Check the SUPPORT.md file
  • Security Issues: Please review our Security Policy

πŸ“š Additional Resources

🏷️ Tags

dotnet dotnet10 teams azure ai aspire blazor webapi milan netconf2025


Happy Coding! πŸš€

This repository was created for .NET Conf 2025 in Milan to showcase the latest .NET technologies and Microsoft Teams development capabilities.

About

No description, website, or topics provided.

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published