Skip to content

Commit 1ddc6c3

Browse files
codebytesCopilot
andauthored
Standardize talk README, presenter details, and slide downloads (#30)
* Standardize talk README and publish PDF slides Preserve demo setup in a linked guide, use canonical presenter contacts, and include Slides.pdf in the Pages artifact. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> * Mark unavailable Aspireify resource as legacy Keep verified official Aspire links prominent and preserve the original unavailable resource in the detailed guide. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> --------- Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
1 parent f603436 commit 1ddc6c3

4 files changed

Lines changed: 111 additions & 100 deletions

File tree

‎.github/workflows/marp-pages.yml‎

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,12 @@ jobs:
3535
args: --theme-set slides/themes -o build/index.html --html -- slides/Slides.md
3636
env:
3737
MARP_USER: root:root
38+
- name: Marp Build (PDF)
39+
uses: docker://marpteam/marp-cli:latest
40+
with:
41+
args: --theme-set slides/themes -o build/Slides.pdf --html --pdf --allow-local-files -- slides/Slides.md
42+
env:
43+
MARP_USER: root:root
3844
- name: Setup Pages
3945
uses: actions/configure-pages@v6
4046
- name: Upload artifact

‎README.md‎

Lines changed: 12 additions & 99 deletions
Original file line numberDiff line numberDiff line change
@@ -1,114 +1,27 @@
1-
# Build with Aspire
1+
# Aspiring .NET with OpenAI and Ollama
22

3-
This repository contains resources and examples demonstrating building with .NET Aspire, including a complete implementation of the Model Context Protocol (MCP) for AI agent tools.
3+
A talk on building AI-powered, cloud-native applications with .NET Aspire, OpenAI, and Ollama, including an MCP server and Microsoft Agent Framework integration.
44

55
## Slides
66

7-
The slides for the related talk can be found at:\
8-
[http://chris-ayers.com/build-with-aspire/](http://chris-ayers.com/build-with-aspire/)
9-
10-
## Repository Content
11-
12-
This repository provides insights, best practices, and demonstrations for building with Aspire. Topics covered include:
13-
14-
- An introduction to Aspire.
15-
- Features and benefits of using Aspire.
16-
- Step-by-step guide to start a new project with Aspire.
17-
- Advanced scenarios like optimizing performance and scalability.
18-
- Publishing Aspire applications to various platforms.
19-
- Passing configuration and secrets to Aspire applications.
20-
- **MCP Server Implementation**: Complete implementation using the official MCP C# SDK with dynamic tool discovery over HTTPS/SSE
21-
22-
## Project Features
23-
24-
### MCP Server Integration
25-
26-
This project demonstrates a production-ready implementation of the Model Context Protocol (MCP):
27-
28-
- **Official MCP C# SDK**: Uses [modelcontextprotocol/csharp-sdk](https://github.com/modelcontextprotocol/csharp-sdk)
29-
- **Dynamic Tool Discovery**: API service discovers tools from MCP server at runtime
30-
- **HTTPS/SSE Transport**: Server-Sent Events for bidirectional communication
31-
- **Service Discovery**: Aspire handles endpoint resolution between services
32-
- **13 Built-in Tools**: Weather, System, and Math tools ready to use
33-
- **Microsoft Agent Framework**: Integrated with AI agent for autonomous tool usage
34-
35-
### Architecture
36-
37-
```
38-
API Service → (HTTPS/SSE) → MCP Server → Tools
39-
↓ ↓
40-
Chat Agent WeatherTools
41-
(Microsoft Agent Framework) SystemTools
42-
MathTools
43-
```
44-
45-
### Documentation
46-
47-
- **[api-tests/](./api-tests/)**: HTTP test files for all endpoints
48-
- **[MCP Server README](./src/BuildWithAspire.MCPServer/README.md)**: MCP Server implementation details
49-
50-
## Getting Started
51-
52-
### Prerequisites
53-
54-
- .NET 9.0 SDK or later
55-
- Docker Desktop (for Aspire)
56-
- Visual Studio Code or Visual Studio 2022
57-
58-
### Quick Start
59-
60-
```bash
61-
# Clone the repository
62-
git clone https://github.com/codebytes/build-with-aspire.git
63-
cd build-with-aspire
64-
65-
# Run with .NET CLI
66-
cd src/BuildWithAspire.AppHost
67-
dotnet run
68-
69-
# Or press F5 in VS Code / Visual Studio
70-
```
71-
72-
The Aspire Dashboard will open at `https://localhost:17020` showing all services.
73-
74-
### Service Endpoints
75-
76-
- **MCP Server**: http://localhost:8080
77-
- **API Service**: http://localhost:5020
78-
- **Aspire Dashboard**: https://localhost:17020
79-
80-
### Testing the MCP Server
81-
82-
```bash
83-
# List available tools
84-
curl http://localhost:5020/mcp/tools
85-
86-
# Check service health
87-
curl http://localhost:8080/health
88-
curl http://localhost:5020/health
89-
```
90-
91-
Use the [api-tests/](./api-tests/) directory for more HTTP test examples.
7+
[View HTML slides](https://chris-ayers.com/build-with-aspire/) | [Download PDF](https://chris-ayers.com/build-with-aspire/Slides.pdf)
928

939
## Resources
9410

11+
- [Slide source](slides/Slides.md)
12+
- [Demo and setup guide](docs/demo-guide.md)
13+
- [API test examples](api-tests/)
14+
- [MCP server documentation](src/BuildWithAspire.MCPServer/README.md)
9515
- [.NET Aspire](https://learn.microsoft.com/en-us/dotnet/aspire/get-started/aspire-overview)
16+
- [Aspire Samples](https://github.com/dotnet/aspire-samples)
9617
- [MCP Specification](https://modelcontextprotocol.io/)
9718
- [MCP C# SDK](https://github.com/modelcontextprotocol/csharp-sdk)
9819
- [Microsoft Agent Framework](https://github.com/microsoft/agent-framework)
99-
- [Aspirify](https://aspireify.net/)
100-
- [Aspire Samples](https://github.com/dotnet/aspire-samples)
101-
102-
## Connect with Chris Ayers
10320

104-
Feel free to connect with Chris Ayers on social media and visit his blog for more information on Playwright and other topics:
21+
## Contact
10522

106-
- Twitter: [@Chris_L_Ayers](https://twitter.com/Chris_L_Ayers)
107-
- Mastodon: [@Chrisayers@hachyderm.io](https://hachyderm.io/@Chrisayers)
108-
- LinkedIn: [chris-l-ayers](https://linkedin.com/in/chris-l-ayers/)
109-
- Blog: [https://chris-ayers.com/](https://chris-ayers.com/)
110-
- GitHub: [Codebytes](https://github.com/codebytes)
23+
**Chris Ayers**, Principal Software Engineer
11124

112-
## License
25+
[Blog](https://chris-ayers.com/) | [GitHub](https://github.com/codebytes) | [LinkedIn](https://linkedin.com/in/chris-l-ayers/) | [Bluesky](https://bsky.app/profile/chris-ayers.com) | [Mastodon](https://hachyderm.io/@Chrisayers)
11326

114-
This project is licensed under the MIT License. See the [LICENSE](LICENSE) file for more information.
27+
Licensed under the [MIT License](LICENSE).

‎docs/demo-guide.md‎

Lines changed: 92 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,92 @@
1+
# Build with Aspire demo guide
2+
3+
This repository contains resources and examples demonstrating building with .NET Aspire, including a complete implementation of the Model Context Protocol (MCP) for AI agent tools.
4+
5+
For slides and related resources, see the [talk README](../README.md).
6+
7+
## Repository Content
8+
9+
This repository provides insights, best practices, and demonstrations for building with Aspire. Topics covered include:
10+
11+
- An introduction to Aspire.
12+
- Features and benefits of using Aspire.
13+
- Step-by-step guide to start a new project with Aspire.
14+
- Advanced scenarios like optimizing performance and scalability.
15+
- Publishing Aspire applications to various platforms.
16+
- Passing configuration and secrets to Aspire applications.
17+
- **MCP Server Implementation**: Complete implementation using the official MCP C# SDK with dynamic tool discovery over HTTPS/SSE
18+
19+
## Project Features
20+
21+
### MCP Server Integration
22+
23+
This project demonstrates a production-ready implementation of the Model Context Protocol (MCP):
24+
25+
- **Official MCP C# SDK**: Uses [modelcontextprotocol/csharp-sdk](https://github.com/modelcontextprotocol/csharp-sdk)
26+
- **Dynamic Tool Discovery**: API service discovers tools from MCP server at runtime
27+
- **HTTPS/SSE Transport**: Server-Sent Events for bidirectional communication
28+
- **Service Discovery**: Aspire handles endpoint resolution between services
29+
- **13 Built-in Tools**: Weather, System, and Math tools ready to use
30+
- **Microsoft Agent Framework**: Integrated with AI agent for autonomous tool usage
31+
32+
### Architecture
33+
34+
```text
35+
API Service → (HTTPS/SSE) → MCP Server → Tools
36+
↓ ↓
37+
Chat Agent WeatherTools
38+
(Microsoft Agent Framework) SystemTools
39+
MathTools
40+
```
41+
42+
### Documentation
43+
44+
- **[api-tests/](../api-tests/)**: HTTP test files for all endpoints
45+
- **[MCP Server README](../src/BuildWithAspire.MCPServer/README.md)**: MCP Server implementation details
46+
47+
## Getting Started
48+
49+
### Prerequisites
50+
51+
- .NET 9.0 SDK or later
52+
- Docker Desktop (for Aspire)
53+
- Visual Studio Code or Visual Studio 2022
54+
55+
### Quick Start
56+
57+
```bash
58+
# Clone the repository
59+
git clone https://github.com/codebytes/build-with-aspire.git
60+
cd build-with-aspire
61+
62+
# Run with .NET CLI
63+
cd src/BuildWithAspire.AppHost
64+
dotnet run
65+
66+
# Or press F5 in VS Code / Visual Studio
67+
```
68+
69+
The Aspire Dashboard will open at `https://localhost:17020` showing all services.
70+
71+
### Service Endpoints
72+
73+
- **MCP Server**: http://localhost:8080
74+
- **API Service**: http://localhost:5020
75+
- **Aspire Dashboard**: https://localhost:17020
76+
77+
### Testing the MCP Server
78+
79+
```bash
80+
# List available tools
81+
curl http://localhost:5020/mcp/tools
82+
83+
# Check service health
84+
curl http://localhost:8080/health
85+
curl http://localhost:5020/health
86+
```
87+
88+
Use the [api-tests/](../api-tests/) directory for more HTTP test examples.
89+
90+
## Legacy resource
91+
92+
The original [Aspirify](https://aspireify.net/) link is preserved for reference. The domain failed DNS lookup on 2026-09-21 and is currently unavailable. For official Aspire documentation and samples, see the [talk README](../README.md).

‎slides/Slides.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
marp: true
33
theme: custom-default
4-
footer: '@Chris_L_Ayers - https://chris-ayers.com'
4+
footer: '[@chris-ayers.com](https://bsky.app/profile/chris-ayers.com) - [chris-ayers.com](https://chris-ayers.com/)'
55
---
66

77
![bg](./img/aspire_title.png)

0 commit comments

Comments
 (0)