Skip to content
UdemyWeb DevelopmentPaid courseAll LevelsCertificate

GenAI for .NET: Build LLM Apps with OpenAI and Ollama (Udemy.com)

Develop Chat, Vector Search, VectorDB, RAG and EShop AI Apps using OpenAI, Ollama and Microsoft Extensions AI (MEAI)

Created by: Mehmet Ozkaya

Last updated August 2026

icon
What you will learn

  • GenAI Concepts: LLM, Token, SLM, Prompt Engineering
  • .NET + AI ecosystem: AI Development Tools and Libraries for .NET
  • Setup LLM Providers: GitHub Models, Ollama, Azure AI Foundry
  • Chat, Text Completions, Analysis and Function Calling w/ .NET
  • Text Completion LLM with GitHub Models OpenAI gpt-5-mini model
  • Classification, Summarization, Sentiment Analysis LLM Other Use Cases
  • Structured Output in LLM for Data Extraction Use Case
  • Build AI Chat App with .NET and gpt-5-mini model
  • Invoke .NET functions using GH gpt-5-mini model with Function Calling
  • .NET AI Vector Search using Vector Embeddings and Vector Store
  • Generate Embeddings and Calculate Similarity w/ CosineSimilarity
  • Develop .NET AI Vector Search App w/ Ollama and all-minilm embedding model
  • Retrieval Augmented Generation (RAG) Application w/ .NET AI
  • Build .NET Chat App w/ RAG Template w/ OpenAI gpt-5-mini model

How it compares

Against the other 815 rated Udemy courses in Web Development on CourseDuck:

  • Rating4.5 out of 5higher than 51% of them
  • Reviews612#247 of 816 by number of reviews
  • Length6.5 hoursshorter than 54% of them
  • Last updatedAugust 2026more recently than 93% of them

icon
Course Description

In this hands-on course, you'll learn to integrate OpenAI, Ollama and .NET's new Microsoft-Extensions-AI (MEAI) abstraction libraries to build a wide range of GenAI applications—from chatbots and semantic search to Retrieval-Augmented Generation (RAG) and image analysis.

Throughout the course, you’ll learn:

.NET + AI Ecosystem

You'll learn about Microsoft's new abstraction libraries like Microsoft-Extensions-AI, which makes it super easy to integrate & switch different LLM providers like OpenAI, Azure AI, Ollama and even self-hosted models.

Setting Up LLM Providers

Configure the LLM providers—such as GitHub Models, Ollama, and Azure AI Foundry—so you can choose the best fit for your use case.

Text Completion LLM w/ GitHub Models OpenAI gpt-5-mini and Ollama llama3.2 Model model

You’ll learn how to use .NET to integrate LLM models and performs Classification, Summarization, Data extraction, Anomaly detection, Translation and Sentiment Analysis use cases.

Build AI Chat App with .NET and gpt-5-mini model

You'll develop back-and-forth conversation based messaging with LLM and user where the AI maintains context across multiple user turns.  We will use Chat Streaming features when developing AI Chat Application.

Function Calling with .NET and gpt-5-mini model

Develop a function that will trigger from OpenAI GPT-5-mini. The model returns structured JSON specifying which .NET function to invoke, along with arguments for retrieving real-time data.

.NET AI Vector Search using Vector Embeddings and Vector Store

We’ll also cover Vector Search, a powerful feature that allows semantic search based on meaning—not keywords.

You’ll learn how to:

  • Generate embeddings using OpenAI’s text-embedding-3-small or Ollama’s all-MiniLM  embeddings model,

  • Store these in a vector database like Qdrant

  • Query the vector store with user embedding to find top matches by similarity

  • Retrieve relevant data based on similarity searches—all in our .NET applications.

RAG – Retrieval-Augmented Generation with .NET

You’ll learn how to combine vector search results with LLM responses to:

  • Retrieve relevant data from your own sources

  • Break documents into chunks → embed them → store in vector DB

  • At query time, embed the question → retrieve relevant chunks → pass them along with the user’s query to the LLM

  • Get accurate, context-specific answers using your internal data from LLM

We’ll implement the full RAG flow with real examples using .NET and Qdrant.

Image Analysis with .NET AI

Cover image recognition and analysis, showing how to send images to AI models, receive tags, captions or visual summaries and integrate those capabilities directly into your .NET apps

  • Vision models for object recognition, classification, or captioning

  • Combining text and image processing to build more powerful, multi-modal applications for traffic cam analysis operations

Final Project: E-Shop Semantic Search with .NET Aspire

You’ll build a complete full-stack AI-powered EShop Vector Search app step by step.

We’ll use:

  • .NET Aspire for service orchestration

  • Qdrant as our Vector Database

  • and GPT-5 Mini or Ollama’s local models to generate embeddings and respond intelligently to user queries

In this project, you’ll:

  • Generate product embeddings with OpenAI text-embeddings or Ollama all-minilm

  • Store them in Qdrant Vector DB  for fast similarity search

  • Implement a RAG flow that provides semantic search over our EShop product catalog

  • Enable users to search products by meaning—not just keywords

This project brings everything you learn in this course into a single, full-stack, real-world app.

By the end of this course, you'll have the tools and confidence to build intelligent, GenAI-powered apps in .NET.

icon
Udemy Discount

The discount is applied through our link. Open the course from here and Udemy's current promotional price is applied at checkout on most courses, no code to type.

Some courses are excluded from Udemy's promotions. If the price does not drop, clear your browser cookies and use the button again.

icon
Instructor Details

Mehmet Ozkaya

Software Architect with 15+ years of experience designing enterprise systems at global companies. More than 225,000 learners have taken my courses, many of them through Udemy Business in the IT departments of large companies.

Focused on AI Agents, GenAI and Microservices Architectures on .NET, AWS  and Azure ecosystems.

Developed agentic systems, genai and microservices repositories on GitHub and create Udemy courses from real-world applications.

Also create courses about Designing Agentic AI Software Architectures for Cloud-Native and Serverless Event-driven Microservices.

I have regularly develop on GitHub, blog on Medium.


GitHub : mehmetozkaya

icon
More courses by Mehmet Ozkaya

$69.99

$11.99

$12.99

$10.99

$13.99

$12.99

icon
More Web Development courses

$19.99

$89.99

$89.99

$79.99

$10.99

$84.99

icon
Reviews

4.5

612 ratings on Udemy

Select a bar to show only those reviews.Select the bar again to show every rating.

By Cube Snell on 10/7/2026

The course is great! The material is exactly what I was looking for, I understand it's outdated. I had to knock down 1/2 star because I had trouble understanding the instructor at times and the CC was terrible.

By Eric Musyoka on 8/29/2026

The course content was great. The only reason I didn't give it five stars is because some part of the content is outdated. GitHub Models is no longer available, and I had to do learn how to proceed on my own with Microsoft Foundry. As much as I appreciate the learning curve, it would've been a lot better if Foundry was available. All in all, the course was well structured and the eShop microservices project brought it all home. Thank you.

By Anirudh MJ on 8/15/2026

A truly incredible course covering all the key Generative AI concepts from scratch! The final section, where we built an e-commerce application using .NET Aspire, was helpful in understanding how the concepts are applied in real-world projects. It would be even better if the RAG concepts were explained in detail, with a complete code walkthrough covering all the files, the flow, and the various chunking strategies used in real-world apps. Overall, a highly informative and knowledgeable course !

By Girish KG on 8/12/2026

This is really a very good course for all the beginners who want to learn the Generative AI concepts using .NET Core libraries. The instructor demonstrates the usage of different LLM providers with good examples with a good explanation on how to make use of different packages and libraries to build applications using C# and OpenAI. Highly recommended for beginners getting into GenAI ecosystem with .NET

By Fernando Hernández on 6/15/2026

The course is pretty good; it explains several things that are useful for .NET and keeps you up to date on how to build this type of app—Chatbots, Suggestions. That said, the course can move quickly, so you’ll almost need to have your code open to keep up, since sometimes they cut and paste large chunks of code. The course is based on .NET 9; I’d like to see it updated to .NET 10 since things are more stable there now. Overall, the course is excellent. You really see what the course covers without getting sidetracked by other thoughts. The only thing I’d like is for the final project to be built from scratch, so we can get hands-on experience with everything we’ve learned.

By Prachi Kokane on 5/16/2026

Amazing course! I learned a lot from it and really enjoyed the way the concepts were explained. Thank you for creating such an excellent GenAI course using .NET. Your practical approach and clear explanations made the learning experience very valuable.

By Leonardo Victor Soares Medeiros on 4/8/2026

This course covers topics that are well-explained, in-depth, and ready to be used in the market. I've taken other courses by Mehmet, and in all of them, we see his commitment to providing relevant content and profound knowledge.

By Kunta Houen on 4/3/2026

The introduction to the example projects do not mention or cover a few steps to get started. A little note saying that you need to create and set GitHub Actions Token, swapping to gpt-4o-mini in my case and getting local dbs working for final webshop example. It was fine for me, but maybe for other users this can create friction at the start of the course.

By Manuel Benjamin Berterreix on 2/22/2026

Es un buen curso, va directo al grano. Tuve algunas dificultades con la pronunciación del inglés, y con diferencias entre el código del video y el del repositorio (que copiaba y pegaba para evitar errores de tipeo) pero nada que no se pueda arreglar en el camino.

By Robert Hodorog on 1/3/2026

The content of the training well focused and described how the llm's can be used in a complex project. Without any Aspire knowledge, I was able to follow the material. The material well explaining also the Aspire part with the llm's.

Showing all 10 reviews on CourseDuck

Read all 612 reviews on Udemy

icon
Quality Score

No CourseDuck member has rated this course yet. Taken it? Give each part a thumbs up or down.

Content Quality
/
Video Quality
/
Qualified Instructor
/
Course Pace
/
Course Depth & Coverage
/

Overall Score : 90 / 100