Csharp
22 items tagged with "csharp"
Tutorials6
How to build an HTTP API with Azure Functions
Create and deploy a serverless HTTP-triggered API on Azure Functions using the Azure CLI and a consumption plan.
How to build a CRUD API on Azure Cosmos DB
Model documents and perform CRUD operations against Azure Cosmos DB for NoSQL from a .NET application.
How to manage secrets with Azure Key Vault
Store secrets, keys, and certificates in Azure Key Vault and access them from apps using managed identity.
How to set up a .NET project with xUnit tests
Create a .NET solution with a class library and an xUnit test project using the dotnet CLI.
How to write asynchronous C# with async and await
Use C# async and await with Task to run I/O-bound work concurrently, avoid blocking, and handle cancellation.
Scan a .NET Solution for Upgrade Drift
Point Vibgrate CLI at a .NET solution to measure upgrade drift across projects and produce a SARIF report for Azure DevOps.
Blueprints3
.NET Framework to .NET 8 Modernization Blueprint
Migrate legacy .NET Framework applications to cross-platform .NET 8 with the SDK project format, modern hosting, and EF Core.
Visual Basic / WinForms to Web Application Blueprint
Modernize legacy VB6 or .NET WinForms desktop apps into a browser-based web application with a modern API backend.
ASP.NET Web Forms to Blazor Blueprint
Modernize a legacy ASP.NET Web Forms application to Blazor on .NET, replacing postback pages with components and an API.
Migrations3
.NET 8 to .NET 9 Migration
Upgrade from .NET 8 LTS to .NET 9 with improved performance and new features
.NET Framework to .NET 8 Migration
Modernize from .NET Framework to cross-platform .NET 8 (ASP.NET Core, modern configuration, updated dependencies)
.NET Framework to .NET 9 Migration
Modernize from .NET Framework to cross-platform .NET 9 with updated dependencies and hosting
Stacks5
ASP.NET + Blazor
A .NET stack pairing ASP.NET Core with Blazor to build interactive web UIs in C#, sharing code across server and client.
.NET Web API Stack
Modern C# backend stack using ASP.NET Core, Entity Framework Core, and SQL Server or PostgreSQL for high-performance cross-platform services.
ASP.NET MVC + EF Core
Microsoft's server-rendered web stack using ASP.NET Core MVC and Entity Framework Core over SQL Server or Postgres, for robust enterprise web applications.
.NET MAUI
Microsoft's cross-platform framework for building native mobile and desktop apps for iOS, Android, macOS, and Windows from a single C# and XAML codebase.
Xamarin (Legacy)
Microsoft's earlier cross-platform mobile framework using C# and Xamarin.Forms, now superseded by .NET MAUI but still present in many maintained codebases.
Comparisons2
Java vs C#
Two mature, statically typed languages with managed runtimes: Java on the JVM with broad portability, C# on .NET with strong language features and tooling.
.NET vs .NET Framework
Modern .NET (formerly .NET Core) is the cross-platform, actively developed runtime, while .NET Framework is the legacy Windows-only platform now in maintenance.