# Generative-AI-for-beginners-dotnet **Repository Path**: xiaoniugea/Generative-AI-for-beginners-dotnet ## Basic Information - **Project Name**: Generative-AI-for-beginners-dotnet - **Description**: No description available - **Primary Language**: Unknown - **License**: MIT - **Default Branch**: aaronpowell-patch-1 - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 1 - **Created**: 2025-03-26 - **Last Updated**: 2025-03-26 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # Generative AI for Beginners .NET - A Course ### Practical lessons teaching you how to build Generative AI applications in .NET [![GitHub license](https://img.shields.io/github/license/microsoft/Generative-AI-For-Beginners-Dotnet.svg)](https://github.com/microsoft/Generative-AI-For-Beginners-Dotnet/blob/master/LICENSE) [![GitHub contributors](https://img.shields.io/github/contributors/microsoft/Generative-AI-For-Beginners-Dotnet.svg)](https://GitHub.com/microsoft/Generative-AI-For-Beginners-Dotnet/graphs/contributors/) [![GitHub issues](https://img.shields.io/github/issues/microsoft/Generative-AI-For-Beginners-Dotnet.svg)](https://GitHub.com/microsoft/Generative-AI-For-Beginners-Dotnet/issues/) [![GitHub pull-requests](https://img.shields.io/github/issues-pr/microsoft/Generative-AI-For-Beginners-Dotnet.svg)](https://GitHub.com/microsoft/Generative-AI-For-Beginners-Dotnet/pulls/) [![PRs Welcome](https://img.shields.io/badge/PRs-welcome-brightgreen.svg?style=flat-square)](http://makeapullrequest.com) [![GitHub watchers](https://img.shields.io/github/watchers/microsoft/Generative-AI-For-Beginners-Dotnet.svg?style=social&label=Watch)](https://GitHub.com/microsoft/Generative-AI-For-Beginners-Dotnet/watchers/) [![GitHub forks](https://img.shields.io/github/forks/microsoft/Generative-AI-For-Beginners-Dotnet.svg?style=social&label=Fork)](https://GitHub.com/microsoft/Generative-AI-For-Beginner-Dotnets/network/) [![GitHub stars](https://img.shields.io/github/stars/microsoft/Generative-AI-For-Beginners-Dotnet.svg?style=social&label=Star)](https://GitHub.com/microsoft/Generative-AI-For-Beginners-Dotnet/stargazers/) [![Azure AI Community Discord](https://dcbadge.vercel.app/api/server/ByRwuEEgH4)](https://discord.com/invite/ByRwuEEgH4) Welcome to **Generative AI for Beginners .NET**, the hands-on course for .NET developers diving into the world of Generative AI! This isn’t your typical β€œhere’s some theory, good luck” course. This repository is all about **real-world applications** and **live coding** to empower .NET developers to take full advantage of Generative AI. This is **hands-on**, **practical**, and designed to be **fun**! Don't forget to [star (🌟) this repo](https://docs.github.com/en/get-started/exploring-projects-on-github/saving-repositories-with-stars) to find it easier later. ## πŸš€ Introduction Generative AI is transforming software development, and .NET is no exception. This course aims to simplify the journey by offering: - Short 5-10 minute videos for each lesson. - Fully functional .NET code samples you can run and explore. - Integration with tools like **GitHub Codespaces** and **GitHub Models** for seamless setup and fast time-to-code. But if you want to run the samples locally with your own models, you can totally do that too. You'll learn how to implement Generative AI into .NET projects, from basic text generation to building full-fledged solutions using **GitHub Models**, **Azure OpenAI Services** and **local models with Ollama**. ## πŸ“¦ Each Lesson Includes - **Short Video**: A quick overview of the lesson (5-10 minutes). - **Complete Code Samples**: Fully functional and ready to run. - **Step-by-Step Guidance**: Simple instructions to help you learn and implement the concepts. - **Deep Dive References**: This course focuses on the practical implementation of GenAI, to get deeper into the theoretical we also provide links to explanations in [Generative AI for Beginners - A Course](https://github.com/microsoft/generative-ai-for-beginners) when needed. ## πŸ—ƒοΈ Lessons | # | **Lesson Link** | **Description** | **Video** | **Extra Learning** | | --- | --- | --- | --- | --- | | 01 | [**Intro to Generative AI Basics for .NET Developers**](./01-IntroToGenAI/readme.md) | | [![Watch the video](./images/01-videocover.jpg)](https://microsoft-my.sharepoint.com/:v:/p/brunocapuano/EYehflkLCx9Di3QcSKOVNRMBGH_YS-6f-qtVrE-O5iB3iA?e=ypAQ4b&nav=eyJyZWZlcnJhbEluZm8iOnsicmVmZXJyYWxBcHAiOiJTdHJlYW1XZWJBcHAiLCJyZWZlcnJhbFZpZXciOiJTaGFyZURpYWxvZy1MaW5rIiwicmVmZXJyYWxBcHBQbGF0Zm9ybSI6IldlYiIsInJlZmVycmFsTW9kZSI6InZpZXcifX0%3D) | [Learn More](https://aka.ms/genainet) | | 02 | [**Setting Up for .NET Development with Generative AI**](./02-SettingUp.NETDev/readme.md) | | [![Watch the video](./images/02-videocover.jpg)](https://microsoft-my.sharepoint.com/:v:/p/brunocapuano/ERTkzBSAfKJEiLw2HLnzHnkBMEbpk17hniaVfr8lCm6how?e=gWOr33&nav=eyJyZWZlcnJhbEluZm8iOnsicmVmZXJyYWxBcHAiOiJTdHJlYW1XZWJBcHAiLCJyZWZlcnJhbFZpZXciOiJTaGFyZURpYWxvZy1MaW5rIiwicmVmZXJyYWxBcHBQbGF0Zm9ybSI6IldlYiIsInJlZmVycmFsTW9kZSI6InZpZXcifX0%3D) | [Learn More](https://aka.ms/genainet) | | 03 | [**Core Generative AI Techniques with .NET**](./03-CoreGenerativeAITechniques/readme.md) | | [![Watch the video](./images/03-videocover.jpg)](https://microsoft-my.sharepoint.com/:v:/p/brunocapuano/ERTkzBSAfKJEiLw2HLnzHnkBMEbpk17hniaVfr8lCm6how?e=gWOr33&nav=eyJyZWZlcnJhbEluZm8iOnsicmVmZXJyYWxBcHAiOiJTdHJlYW1XZWJBcHAiLCJyZWZlcnJhbFZpZXciOiJTaGFyZURpYWxvZy1MaW5rIiwicmVmZXJyYWxBcHBQbGF0Zm9ybSI6IldlYiIsInJlZmVycmFsTW9kZSI6InZpZXcifX0%3D) | [Learn More](https://aka.ms/genainet) | | 04 | [**Practical .NET Generative AI Samples**](./04-Practical.NETGenAISamples/readme.md) | | [![Watch the video](./images/04-videocover.jpg)](https://microsoft-my.sharepoint.com/:v:/p/brunocapuano/ERTkzBSAfKJEiLw2HLnzHnkBMEbpk17hniaVfr8lCm6how?e=gWOr33&nav=eyJyZWZlcnJhbEluZm8iOnsicmVmZXJyYWxBcHAiOiJTdHJlYW1XZWJBcHAiLCJyZWZlcnJhbFZpZXciOiJTaGFyZURpYWxvZy1MaW5rIiwicmVmZXJyYWxBcHBQbGF0Zm9ybSI6IldlYiIsInJlZmVycmFsTW9kZSI6InZpZXcifX0%3D) | [Learn More](https://aka.ms/genainet) | | 05 | [**Responsible Use of Generative AI in .NET Apps**](./05-ResponsibleGenAI/readme.md) | | [![Watch the video](./images/05-videocover.jpg)](https://microsoft-my.sharepoint.com/:v:/p/brunocapuano/ERTkzBSAfKJEiLw2HLnzHnkBMEbpk17hniaVfr8lCm6how?e=gWOr33&nav=eyJyZWZlcnJhbEluZm8iOnsicmVmZXJyYWxBcHAiOiJTdHJlYW1XZWJBcHAiLCJyZWZlcnJhbFZpZXciOiJTaGFyZURpYWxvZy1MaW5rIiwicmVmZXJyYWxBcHBQbGF0Zm9ybSI6IldlYiIsInJlZmVycmFsTW9kZSI6InZpZXcifX0%3D) | [Learn More](https://aka.ms/genainet) | | 06 | [**Real-World Scenarios and Next Steps**](./06-Real-WorldScenarios/readme.md) | | [![Watch the video](./images/06-videocover.jpg)](https://microsoft-my.sharepoint.com/:v:/p/brunocapuano/ERTkzBSAfKJEiLw2HLnzHnkBMEbpk17hniaVfr8lCm6how?e=gWOr33&nav=eyJyZWZlcnJhbEluZm8iOnsicmVmZXJyYWxBcHAiOiJTdHJlYW1XZWJBcHAiLCJyZWZlcnJhbFZpZXciOiJTaGFyZURpYWxvZy1MaW5rIiwicmVmZXJyYWxBcHBQbGF0Zm9ybSI6IldlYiIsInJlZmVycmFsTW9kZSI6InZpZXcifX0%3D) | [Learn More](https://aka.ms/genainet) | ## πŸ› οΈ What You Need To get started, you'll need: 1. A **GitHub account** (free is fine!) to [fork this entire repo](https://github.com/microsoft/generative-ai-for-beginners-dotnet/fork) to your own GitHub account. 1. **GitHub Codespaces enabled** for instant coding environments. You can enable GitHub Codespaces in your repository settings. Learn more about GitHub Codespaces [here](https://docs.github.com/en/codespaces). 1. A basic understanding of **.NET development**. Learn more about .NET [here](https://dotnet.microsoft.com/learn/dotnet/what-is-dotnet). And that's it. We've designed this course to be as low-friction as possible. We make use of the following to help you get started quickly: - **Run in GitHub Codespaces**: With one click, you'll get a pre-configured environment to test and explore the lessons. - **Leverage GitHub Models**: Try out AI-powered demos hosted directly within this repo, we explain more in the lessons, as we go. *(If you want to learn more about GitHub Models, click [here](https://docs.github.com/github-models))* Then when you're ready to expand we also have guides for: - Upgrading to **Azure OpenAI Services** for scalable and enterprise-ready solutions. - Using **Ollama** to run models locally on your hardware for enhanced privacy and control. ## 🀝 Want to Help? Contributions are welcome! Here's how you can help: - [Report issues](https://aka.ms/genainet/issues) or bugs in the repo. - Improve existing code samples or add new ones, [creating a pull request](https://aka.ms/genainet/issues) - Suggest additional lessons or enhancements. - Do you have suggestions or found spelling or code errors?, [create a pull request](https://aka.ms/genainet/issues) Check the [CONTRIBUTING.md](CONTRIBUTING.md) file for details on how to get involved. ## πŸ“„ License This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details. ## 🌐 Other Courses We have a lot of other content to help your learning journey. Check out: - [Generative AI for Beginners](https://github.com/microsoft/generative-ai-for-beginners) - [Mastering GitHub Copilot for AI Paired Programming](https://aka.ms/GitHubCopilotAI) - [Backend Web Development with .NET for Beginners](https://aka.ms/genainet/backendnetbeginners) - [Frontend Web Development with .NET for Beginners](https://aka.ms/genainet/frontendnetbeginners) - [Build Distributed Apps with .NET Aspire](https://aka.ms/genainet/distaspirebeginners) - [ML for Beginners](https://aka.ms/ml-beginners) - [Data Science for Beginners](https://aka.ms/datascience-beginners) - [Artificial Intelligence for Beginners](https://aka.ms/ai-beginners) - [Cybersecurity for Beginners](https://github.com/microsoft/Security-101?) [Let's start learning Generative AI and .NET!](02-SettingUp.NETDev/readme.md) πŸš€