Visual Studio Samples

Explore code samples and examples for building amazing applications with Visual Studio.

C# WinForms Sample

Modern C# WinForms Desktop App

A comprehensive example demonstrating modern UI patterns and best practices for building Windows Forms applications with C#.

C# WinForms Desktop UI
.NET MAUI Sample

Cross-Platform .NET MAUI App

Build native applications for Windows, macOS, iOS, and Android with a single C# codebase using .NET MAUI.

.NET MAUI C# Cross-Platform Mobile
ASP.NET Core Sample

ASP.NET Core Blazor WebAssembly Application

Learn how to create interactive web UIs with C# directly in the browser using Blazor WebAssembly.

ASP.NET Core Blazor WebAssembly C#
Azure Functions Sample

Serverless with Azure Functions

Discover how to build scalable, event-driven applications using Azure Functions with various triggers and bindings.

Azure Serverless Functions C#
C++ Sample

High-Performance C++ Library

Explore efficient algorithms and data structures implemented in C++ for demanding applications.

C++ Performance Library
Xamarin Sample

Xamarin.Forms for Cross-Platform Mobile

A practical guide to building native Android and iOS applications using Xamarin.Forms and C#.

Xamarin C# Mobile Cross-Platform