
The machine configuration required for the students to perform the hands-on
The links to download .NET SDK, Visual studio 2026 and SQL server 2025
From where to download the CosmosDB emulator
Walk-through on the list of the new and enhanced AI features supported in Visual studio 2026 to increase the productivity and rapid development
Visual Studio 2026 Introduces deep GitHub Copilot integration that goes beyond simple code completion. Copilot is now embedded across the entire IDE experience, understanding your project's patterns, architecture, and coding style to provide intelligent, context-aware suggestions.
GitHub Copilot in Visual Studio 2026 is not just a code completion tool—it's an AI pair programmer
Context-Aware Refactoring Suggestions
Copilot helps refactor code while maintaining your patterns.
Example: Refactoring to Use Named Query Filters (EF Core 10.0)
Copilot recognized a repeated filter pattern
Debugging Assistance
Copilot helps during debugging through the Copilot Chat panel, which understands your code context and debugging state.
What is “Did you mean” Code Search?
“Did you mean” is an AI-assisted fuzzy code search feature inside All-in-One Search.
Faster navigation in large solutions
No need to remember exact method names
Reduces context switching
Beginner-friendly & productivity-boosting
AI-powered symbol discovery
AI Profiler Agent - feature in Visual Studio 2026 Insiders leverages advanced AI capabilities to provide intelligent performance analysis, bottleneck detection, and optimization recommendations for your .NET applications. This feature combines traditional profiling tools with AI-powered insights to help developers identify and resolve performance issues more efficiently.
Intelligent Performance Analysis
AI-Powered Bottleneck Detection
Method-Level Profiling
Query Optimization
Memory Leak Detection
CPU Usage Analysis
Context Menu AI Actions
Explain code
Optimize logic
Generate comments
Create unit tests
Eg. Right-click a method → Generate unit tests
Microsoft announced two related updates for Visual Studio: support for bringing your own model (BYOM)
Expands model choice in Chat by letting developers connect API keys from multiple providers.
Use OpenAI, Azure OpenAI, Anthropic, Google models
Enterprise compliance friendly
Plug it directly into Visual Studio
You can install an MCP server directly from the GitHub MCP server registry via Extensions in Visual Studio.
From the Visual Studio menu, select Extensions > MCP Regsitries... to open the MCP Server Manager.
A practical walk-through to setup Github MCP server
Configuring the GitHub MCP server
Running the tools from Agent mode from Copilot chat
Understand how to use the prompts and prompt templates predefined in any MCP server you are integrating with Visual studio 2026 Copilot.
It helps rapid prompting to the MCP server , gaining productivity and perfect results.
First-class support for Span<T> and ReadOnlySpan<T> in the language, including new implicit conversion types and consider them in more places, allowing more natural programming with these integral types.
The token field enables you to write a property accessor body without declaring an explicit backing field. The token field is replaced with a compiler synthesized backing field.
The null-conditional member access operators, ?. and ?[], can now be used on the left hand side of an assignment or compound assignment.
The C# 14 feature for No-Operation with benefits if the receiver is null the assignment becomes a safe no-op; if it’s non-null the assignment executes normally
Feature of C# 14 - lets you produce a refactor-safe, compile-time string for the generic type identifier without supplying type arguments or getting runtime backtick text.
Allowing scoped, ref, in, out, ref readonly on lambda parameters without repeating the parameter type.
Before C# 14, you must include the explicit type on a parameter if it has any modifiers, such as ref or out. In C# 14, that restriction is removed
You can now declare instance constructors and events as partial members.
This feature lets you declare an event in one partial type declaration and provide the add/remove implementation in another.
Separates concerns: Signature and implementation (body) can be maintained independently.
Cleaner code
Improves testability
Better organization
Enhancement to the existing extension methods.
Extension members enable you to add properties and operators.
You can also extend types in addition to instances of types.
Asp.Net Core 10 new feature
When using the [FromForm] attribute with a complex object in minimal APIs, empty string values in a form post are now converted to null rather than causing a parse failure.
ASP.NET Core 10 introduces native support for OpenAPI 3.1 document generation.
This is a significant improvement over previous versions where you needed to use third-party packages like Swashbuckle.
Demo on how to generate OpenAPI 3.1 documentation from .NET 10 based API
YAML is a simple, indentation-based format used to define configuration and structured data in a human-friendly way.
It is extremely useful for describing, configuring, and managing APIs
ASP.NET 10 now supports serving the generated OpenAPI document in YAML format.
In ASP.NET Core 10, the `ProducesResponseTypeAttribute` has been enhanced to include an optional `Description` parameter.
This allows developers to provide detailed descriptions for different HTTP response types directly within their API controllers, improving the clarity and usefulness of generated OpenAPI documentation.
Automatically includes XML documentation comments in OpenAPI/Swagger documents.
Enable XML documentation: set <GenerateDocumentationFile>true</GenerateDocumentationFile> in your project file to generate XML docs during build.
The ISO week date system is effectively a leap week calendar system that is part of the ISO 8601 date and time standard issued by the International Organization for Standardization (ISO)
Benefits
Simplified Date Handling: Work with dates without time components
ISO 8601 Compliance: Standard week-based date calculations
Clean API: New overloads specifically for DateOnly type
Type Safety: DateOnly prevents accidental time component usage
Better Performance: No time-related overhead when only dates are needed
Numeric Ordering for String Comparison
Natural Sorting: Numbers in strings are compared numerically, not lexicographically
Human-Friendly Ordering: Matches how humans expect sorted lists (e.g., "file2" before "file10")
Version Sorting: Properly sorts version strings and identifiers with numeric parts
File Name Sorting: Correctly orders file names with numbers (e.g., "image1.jpg", "image2.jpg", "image10.jpg")
Flexible API: Works with StringComparer and CompareOptions for various comparison scenarios
The new float overload of TimeSpan.FromMilliseconds
Creating TimeSpan instances directly from float values
Before .Net 10 - Had to use TimeSpan.FromMilliseconds((double)floatValue)
In .Net 10 - Can directly use TimeSpan.FromMilliseconds(floatValue)
More explicit and type-safe
JsonSerializerOptions.Strict preset includes:
Disallows unmapped JSON members during deserialization
Disallows duplicate JSON properties
Enforces case-sensitive property name matching
Respects nullable annotations
How to configure Using JsonSerializerOptions.Strict preset ?
.NET 10 introduces JsonSerializerOptions.Strict preset
This preset automatically configures strict settings for enhanced data integrity
The AllowDuplicateProperties option in JsonSerializerOptions controls whether duplicate property names are allowed during JSON deserialization.
Prevents silent data corruption - Stops duplicate properties from silently overwriting values, which can cause incorrect data.
Improves data validation - Fails fast on malformed JSON, making issues visible during deserialization.
Enhances security - Reduces risk from malicious or malformed JSON that could exploit duplicate handling.
Standards compliance - Aligns with stricter JSON validation requirements and helps catch errors early in the pipeline.
JsonSerializerOptions - Unmapped Member Handling (Disallow Unmapped Members)
How to perform Unmapped Member Handling?
Using JsonSerializerOptions.Strict we can handle it.
Will raise JsonException and Unmapped properties are now rejected.
Default behavior is to allow unmapped properties.
In earlier versions unmapped properties were silently ignored.
JsonSerializerOptions - Case-Sensitive Property Matching
Case-Sensitive property matching during Json serialization.
Benefits
Early detection of API contract violations
Guarantees exact field name matching
Fails fast on schema violations
Stricter validation prevents injection attacks
JsonSerializerOptions - Respects nullable annotations
How can we handle nullable properties?
Missing nullable properties handling while deserialization
Respect Required Constructor Parameters
Enforces immutability and complete object construction
Ensures API contract compliance
Leverages compile-time type safety
This is especially valuable in systems where data integrity, security, and compliance are critical, such as financial systems, healthcare applications, and enterprise software with strict validation requirements.
Previously, deserializing from a PipeReader required converting it to a stream, but the new overloads eliminate that step by integrating PipeReader directly into the serializer
PipeReader reads data incrementally, so you don't need to load the entire JSON payload into memory. Useful for large JSON files or network streams where the full size isn't known upfront.
Reduces allocations and improves performance compared to converting bytes to a string or using a MemoryStream.
Real-time JSON processing pipelines
AOT stands for Ahead-of-Time compilation. It’s a .NET compilation model that differs from the traditional JIT (Just-In-Time) approach
Your code compiles directly to native machine code at build time
The old ValidationContext constructors used reflection or implicit parameters
Native AOT can’t use reflection reliably, so those constructors fail
The new AOT-safe constructor explicitly accepts all parameters (no reflection needed)
This enables validation to work in native AOT scenarios
The key improvements made to System.IO.Compression.ZipArchive in .NET 10
Optimized entry writing in Update mode - reduces memory by avoiding loading all entries
Parallelized extraction for better performance with large archives
Optimized internal data structures for reduced memory footprint
New asynchronous APIs for non-blocking operations
Scalability: Better handling of large ZIP archives
Learn how to create
DBContext file
Setting up relationship between entities
Creating the database migration file in VS 2026
Applying the migrations to create schema in SQL server
Support for .NET 10 LeftJoin and RightJoin Operators
EF Core 10.0 adds support for the new .NET 10 `LeftJoin` and `RightJoin` LINQ operators, simplifying left and right outer joins in your queries.
Previously, implementing a `LEFT JOIN` or `RIGHT JOIN` in LINQ required a combination of `SelectMany`, `GroupJoin`, and `DefaultIfEmpty` methods, which could be complex and less readable. With the introduction of these operators in .NET 10, such queries become more straightforward and maintainable.
EF Core 10.0 allows you to specify custom names for default constraints, rather than letting the database generate them automatically.
Previously, default constraints were auto-generated by the database. Now you can:
Name individual default constraints
Enable automatic naming for all default constraints
Benefits
Consistent naming conventions
Easier to identify constraints in database scripts
Better database documentation
Easier to reference constraints in stored procedures or scripts
EF 10 also fully supports the new JSON data type, also available on Azure SQL Database and on SQL Server 2025
While SQL Server has included JSON functionality for several versions, the data itself was stored in plain textual columns in the database; the new data type provides significant efficiency improvements and a safer way to store and interact with JSON.
When using `UseAzureSql()` or compatibility level 170+, EF automatically uses the new JSON data type for:
- Primitive collections (arrays)
- Complex types mapped to JSON
EF Core 10 - Vector search support
Vector Search in SQL Server enables semantic similarity searches using the native vector data type and VECTOR_DISTANCE() function.
It stores embeddings (numerical representations of meaning) and finds data by conceptual similarity rather than exact keyword matches.
AI-Powered Applications: Enables semantic search, recommendation systems, and RAG (Retrieval-Augmented Generation) directly in the database.
Native Vector Data Type: SQL Server 2025 and Azure SQL Database support the vector data type for storing embeddings (e.g., 1536-dimensional vectors for text).
This lecture will provide the information about
Setting up the table schema with vector data type supported in SQL server 2025
How to setup the DB context for the table entity with the vector data type column with EF.
A mock embedding generator for the sample data.
Learn how to code the vector search support with VECTOR_DISTANCE() function of EF Core
A sample code explanation for finding similar products from database using conceptual similarity
Finding the similar products by score using the distance of embeddings.
SSE as a lightweight, HTTP-native technology for server-to-client push notifications, contrasting it with WebSockets and SignalR for unidirectional real-time updates.
ASP.NET Core now supports returning a ServerSentEvents result using the TypedResults.ServerSentEvents API. This feature is supported in both Minimal APIs and controller-based apps.
Server-Sent Events (SSE) let a server push text updates to a browser over a single HTTP connection. In contrast to WebSockets, SSE is unidirectional: the browser receives events from the server, and the client can still send normal HTTP requests if it needs to.
Live Demo , Use cases , and Benefits of using SSE
The complete .NET 10 , C# 14 , EF Core 10 Course with AI driven development with Visual Studio 2026 - Insiders
All new advanced features you must know to be C#, EFCore 10 & .NET 10 expert.
This course is designed to help developers master the latest innovations in .NET 10, EF Core, and modern C#, with a strong focus on AI-driven features introduced in Visual Studio 2026 (Insiders).
Through practical, hands-on demos, you’ll learn how to build efficient, scalable, and intelligent applications using real-world development scenarios. From productivity-boosting AI tooling to modern language enhancements, this course equips you with skills you can apply immediately in your projects.
Whether you’re upgrading your existing .NET knowledge or preparing for next-generation development, this course ensures you stay ahead in the evolving .NET ecosystem.
All new advanced features you must know to be C#, EF Core 10 & .NET 10 expert.
We will use .NET 10 SDK.
We will use C# 14 for understanding sample code.
We will use Visual studio 2026 [Insiders].
Also the enhancements related to AI driven development
You will be taking an important step toward mastering next-generation .NET development.
With these new skills in .NET 10, EF Core, C#, and AI-powered features, you would be ready to design scalable, intelligent, and future-ready applications.