From fa3e48233f258cd4026efd122aab06a0413117e9 Mon Sep 17 00:00:00 2001 From: Laurent Bugnion Date: Fri, 13 Sep 2024 16:11:56 +0200 Subject: [PATCH 1/3] Added "Creating an client-server application with GitHub Copilot, .NET and Visual Studio" --- SeasonOfAI-S2-Copilots/README.md | 13 +++++++--- .../client-server-app-vs-copilot.md | 25 +++++++++++++++++++ 2 files changed, 34 insertions(+), 4 deletions(-) create mode 100644 SeasonOfAI-S2-Copilots/client-server-app-vs-copilot.md diff --git a/SeasonOfAI-S2-Copilots/README.md b/SeasonOfAI-S2-Copilots/README.md index 2088d13..f03d962 100644 --- a/SeasonOfAI-S2-Copilots/README.md +++ b/SeasonOfAI-S2-Copilots/README.md @@ -1,19 +1,24 @@ # Season of AI - Season 2 - Copilots -### Oct 1 to Dec 31, 2024 + +## Oct 1 to Dec 31, 2024 + This folder contains prepared "content-in-a-box" that anyone can use to do a technical talk on "Copilot" concepts at a user group, meetup, or community event. At the end of the "season", the content in this repo will be archived, and a new season of content will be published. Each topic includes slides and presentation notes. Some will include pre-recorded demos and videos to help you prepare and/or present. Demo code will be available in separate repos linked from each presentation. -#### BEFORE YOU BEGIN +### BEFORE YOU BEGIN + Do you want to brush up on generative AI basics? Get started with [Generative AI for Beginniners](https://microsoft.github.io/generative-ai-for-beginners/) on GitHub -## Available content +### Available content - [Prompt Crafting Techniques for GitHub Copilot](./prompt-crafting-techniques-github-copilot.md) (VS Code, JavaScript) - [Build Your Own Copilot Using Teams AI Library and .NET](./build-your-own-copilot-teams-ai-library.md) (M365, .NET, Microsoft Copilot) - [GitHub Copilot Adventures](https://github.com/microsoft/community-content/blob/main/SeasonOfAI-S2-Copilots/github-copilot-adventures.md) (VS Code, JavaScript) +- [Build a .NET client-server application with Visual Studio and GitHub Copilot](./client-server-app-vs-copilot.md) (Blazor, Minimal Web API, .NET, Visual Studio, GitHub Copilot, Azure) + +### QR Code/Attendee Survey -## QR Code/Attendee Survey Whether you use the content provided here directly or adapt to make it your own, please include the provided "Season of AI" QR code slide at the end of your talk. The code links to an attendee survey that helps us better understand how this content is being used so we can keep making more of it in the future! QR code is available in three formats: diff --git a/SeasonOfAI-S2-Copilots/client-server-app-vs-copilot.md b/SeasonOfAI-S2-Copilots/client-server-app-vs-copilot.md new file mode 100644 index 0000000..6361135 --- /dev/null +++ b/SeasonOfAI-S2-Copilots/client-server-app-vs-copilot.md @@ -0,0 +1,25 @@ +# Creating an client-server application with GitHub Copilot, .NET and Visual Studio + +These instructions are designed for community leaders and presenters who wish to pick up this session on **GitHub Copilot Adventures**, and present it at community events. Below, you’ll find all the necessary assets and relevant instructions for each stage of the presentation. + +## Session Details + +**Session Title:** Build a .NET client-server application with Visual Studio and GitHub Copilot + +**Session Abstract:** Client-server applications are a modern way to develop and deploy code to the internet, and run the client in multiple platforms such as web browsers, mobile phones, etc. With .NET, you have a very versatile way to develop both the server-side code (for example with ASP.NET Minimap APIs) and the client-side application (for example with Blazor). But even if you are not familiar with .NET, our powerful tools Visual Studio and GitHub Copilot will assist you. In this session, you will learn how to create a new client-server application in .NET from scratch, with the help of GitHub Copilot. You will run the application fully locally with the Azurite storage emulator (included in Visual Studio). Finally, you will learn how to deploy to Azure using an automated CI/CD pipeline with GitHub actions. + +**Level:** 100-200 + +**Goal of the session:** Create a client-server application with .NET, Blazor, Minimal API in Visual Studio and with GitHub Copilot. Run the application locally, then deploy it to Azure. + +**Duration:** 45 Minutes for the local part. Fast learners can do the deployment part too, or use an extended session. + +**Speaker Expectation/Skills:** Basic programming skills, attention to details, basic understanding of how APIs work and how client-server applications are structured. + +## Assets you will need to redeliver this session + +* _[Available Soon]_ Complete instructions in markdown format, with illustrations +* _[Available Soon]_ Code snippets to verify the progress +* _[Available Soon]_ The source code at various steps of the lab +* _[Available Soon]_ PowerPoint Presentation +* _[Available Soon]_ Train the Trainer (TTT) video for the talk From 1ffad77a26029e4b989efb1d80cc1bd4f59ad648 Mon Sep 17 00:00:00 2001 From: Laurent Bugnion Date: Fri, 13 Sep 2024 16:12:52 +0200 Subject: [PATCH 2/3] Small fix --- SeasonOfAI-S2-Copilots/client-server-app-vs-copilot.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SeasonOfAI-S2-Copilots/client-server-app-vs-copilot.md b/SeasonOfAI-S2-Copilots/client-server-app-vs-copilot.md index 6361135..c56ccaf 100644 --- a/SeasonOfAI-S2-Copilots/client-server-app-vs-copilot.md +++ b/SeasonOfAI-S2-Copilots/client-server-app-vs-copilot.md @@ -1,6 +1,6 @@ # Creating an client-server application with GitHub Copilot, .NET and Visual Studio -These instructions are designed for community leaders and presenters who wish to pick up this session on **GitHub Copilot Adventures**, and present it at community events. Below, you’ll find all the necessary assets and relevant instructions for each stage of the presentation. +These instructions are designed for community leaders and presenters who wish to pick up this session, and present it at community events. Below, you'll find all the necessary assets and relevant instructions for each stage of the presentation. ## Session Details From 62baa94a69292c754c4f25a9541c61de42dbf4e7 Mon Sep 17 00:00:00 2001 From: Laurent Bugnion Date: Fri, 13 Sep 2024 16:15:10 +0200 Subject: [PATCH 3/3] Typos --- SeasonOfAI-S2-Copilots/client-server-app-vs-copilot.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SeasonOfAI-S2-Copilots/client-server-app-vs-copilot.md b/SeasonOfAI-S2-Copilots/client-server-app-vs-copilot.md index c56ccaf..81e7428 100644 --- a/SeasonOfAI-S2-Copilots/client-server-app-vs-copilot.md +++ b/SeasonOfAI-S2-Copilots/client-server-app-vs-copilot.md @@ -6,7 +6,7 @@ These instructions are designed for community leaders and presenters who wish to **Session Title:** Build a .NET client-server application with Visual Studio and GitHub Copilot -**Session Abstract:** Client-server applications are a modern way to develop and deploy code to the internet, and run the client in multiple platforms such as web browsers, mobile phones, etc. With .NET, you have a very versatile way to develop both the server-side code (for example with ASP.NET Minimap APIs) and the client-side application (for example with Blazor). But even if you are not familiar with .NET, our powerful tools Visual Studio and GitHub Copilot will assist you. In this session, you will learn how to create a new client-server application in .NET from scratch, with the help of GitHub Copilot. You will run the application fully locally with the Azurite storage emulator (included in Visual Studio). Finally, you will learn how to deploy to Azure using an automated CI/CD pipeline with GitHub actions. +**Session Abstract:** Client-server applications are a modern way to develop and deploy code to the internet, and run the client in multiple platforms such as web browsers, mobile phones, etc. With .NET, you have a very versatile way to develop both the server-side code (for example with ASP.NET Minimal APIs) and the client-side application (for example with Blazor). But even if you are not familiar with .NET, our powerful tools Visual Studio and GitHub Copilot will assist you. In this lab, you will learn how to create a new client-server application in .NET from scratch, with the help of GitHub Copilot. You will run and test the application fully locally with the Azurite storage emulator (included in Visual Studio). Finally, you will learn how to deploy to Azure using an automated CI/CD pipeline with GitHub actions. **Level:** 100-200