Author: Microsoft Visual Studio - Bewertung: 0x - Views:1
Building APIs with ASP.NET Core? In this @VisualStudioLive session from Visual Studio Live! Las Vegas 2026, Phil Japikse walks through the fundamentals and modern best practices for creating fast, scalable RESTful services using .NET.
From dependency injection and configuration to model binding, validation, and content negotiation, this session blends core concepts with practical demos to help you build clean, maintainable APIs in real-world applications.
🔑 What You’ll Learn
• Key differences between ASP.NET Web API and ASP.NET Core APIs
• How dependency injection works (scoped, singleton, transient) and when to use each
• Structuring your app with Program.cs, top-level statements, and service configuration
• Using the options pattern and environment-based configuration (appsettings.json)
• Model binding, validation, and handling errors with model state
• Returning data with IActionResult and controller base helpers
• Content negotiation (JSON, XML, CSV) and custom formatters
• Data shaping techniques for flexible API responses
• Securing APIs with CORS and best practices for configuration
• Using filters for global exception handling and logging
⏱️ Chapters
00:00 Introduction + RESTful services in ASP.NET Core
04:05 Program.cs, top-level statements, and app setup
06:40 Dependency injection fundamentals (scoped, singleton, transient)
11:30 Injecting services and using FromServices
14:41 Keyed services and dependency validation
17:24 Environment configuration and appsettings.json
21:05 Options pattern and configuration binding
29:00 JSON serialization and naming conventions
32:46 Returning data and IActionResult patterns
33:49 Content negotiation (JSON, XML, CSV)
37:55 Data shaping and dynamic responses
45:30 CORS configuration and security considerations
49:19 Model binding, validation, and model state
52:07 Logging with Serilog and structured logging
53:21 ControllerBase helpers and HTTP responses
55:09 Routing and API controller behavior
57:41 Filters and global exception handling
59:15 Custom validation attributes and best practices
👤 Speaker
Phil Japikse
CTO & Chief Architect, Pintas & Mullins
🔗 Links
• Download Visual Studio 2026: http://visualstudio.com/download
• Explore more VS Live! Las Vegas sessions: https://aka.ms/VSLiveLV26
• Join upcoming VS Live! events: https://aka.ms/VSLiveEvents
#dotnet #visualstudio #vslive
SOCIAL SHARE CARD GENERATOR