AI-Enhanced Development in .NET with Semantic Kernel

Description

In this training, participants will learn how to integrate Large Language Models (LLMs) into ASP.NET Core applications, design structured prompts, and orchestrate AI workflows using plugins, memory, and Retrieval-Augmented Generation (RAG). The course emphasizes real-world architecture patterns, including API design, AI service abstraction, and secure, scalable deployment.

Indicative Duration: 20 training hours
*Duration is adjusted based on the final scope and the target audience.


Scope

1. AI in .NET and prompting
โ€ข What are LLMs and how they work
โ€ข Role of Microsoft Semantic Kernel
โ€ข Comparison with traditional APIs
โ€ข
Connecting to Azure OpenAI
โ€ข Configuration best practices

Hands-on: Build AI endpoint in ASP.NET Core

โ€ข Structured prompts
โ€ข Prompt templates
โ€ข Input/output control
โ€ข Avoiding hallucinations

Hands-on: Build reusable prompt templates

2. Plugins, Function Calling,
Memory & RAG
โ€ข Native functions (C#)
โ€ข Tool calling
โ€ข Plugin architecture

Hands-on: Build a plugin (e.g., customer lookup, weather API)

โ€ข Embeddings
โ€ข Vector databases
โ€ข Retrieval-Augmented Generation (RAG)

Hands-on: Build document Q&A system

3. Building a Full AI Web API โ€ข API design patterns
โ€ข AI service abstraction
โ€ข Dependency injection with SK

Hands-on: Build full backend (chat + plugins + RAG)

4. Frontend Integration โ€ข Connecting frontend to AI API
โ€ข Chat UI patterns
โ€ข Streaming responses

Hands-on: Simple Angular chat interface

5. Security & Responsible AI โ€ข Prompt injection
โ€ข Data leakage risks
โ€ข Guardrails
โ€ข Compliance considerations
6. Observability & Optimization โ€ข Logging prompts/responses
โ€ข Token cost control
โ€ข Performance tuning
7. Agents & Automation โ€ข Planner patterns
โ€ข Multi-step workflows
โ€ข Agent architectures (Planner-Executor-Validator)
8. Intelligent automation systems Hands-on: Build AI agent
โ€ข Banking assistant
โ€ข Customer support copilot

โ€ข Document Q&A system
โ€ข AI-powered analytics assistant

 

 


Learning Objectives

Upon completion of the course participants will be able to:

  1. Design and implement AI-powered Web APIs using .NET and Semantic Kernel
  2. Build and use plugins to connect AI with real business logic and systems
  3. Develop end-to-end applications with frontend interaction (chat-based or task-driven)
  4. Apply security best practices (prompt injection protection, data handling)
  5. Monitor and optimize AI performance (latency, token usage, cost)

Target Audience

  • Roles: .NET developers transitioning into AI-enabled applications
  • Seniority: Junior to Mid-Level Professionals or Senior Professionals exploring AI in enterprise environments

Prerequisite Knowledge

  • Intermediate knowledge of C# and .NET (ASP.NET Core)
  • Understanding of REST APIs
  • Basic familiarity with cloud concepts (preferably Azure)

Delivery Method

Sessions can be delivered via the following formats:

  • Live Online โ€“ Interactive virtual sessions via video conferencing
  • On-Site โ€“ At your organizationโ€™s premises
  • In-Person โ€“ At Code.Hubโ€™s training center
  • Hybrid โ€“ A combination of online and in-person sessions