create-api-framework48

Automate creation of .NET Framework 4.8 Web API projects with OWIN, Lamar DI, Serilog, and Swagger.

Updated Feb 27, 2026
One-click install
npx skills add https://github.com/luisgustavooliveira/skills --skill create-api-framework48
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: create-api-framework48
Source: https://github.com/luisgustavooliveira/skills/tree/main/CreateApiFramework48
Command: npx skills add https://github.com/luisgustavooliveira/skills --skill create-api-framework48

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires Microsoft.AspNet.WebApi.Owin, Microsoft.Owin.Host.SystemWeb, Microsoft.Owin.Cors, Lamar, Newtonsoft.Json, Serilog, Serilog.Sinks.Console, Serilog.Sinks.File, Serilog.Extensions.Logging, Swashbuckle.Core, Polly, and includes scripts (resource) and references (resource) and assets (resource) components.

What problem does it solve?

This Skill addresses the challenge of manually setting up a modern .NET Framework 4.8 Web API project, providing a streamlined process to create a project with OWIN, Lamar DI, Serilog, Swagger, and best-practice patterns.

Core Features & Use Cases

  • Project Initialization: Automates the creation of a complete .NET Framework 4.8 Web API project structure.
  • Modern Patterns: Implements OWIN hosting, Lamar IoC, Serilog structured logging, Swashbuckle Swagger, global exception handling, and layered architecture.
  • Workflows: Offers workflows for scaffolding a new project and adding new layers to an existing solution.

Quick Start

Use the create-api-framework48 skill to scaffold a new .NET Framework 4.8 API project called MyApiProject.

Frequently Asked Questions about create-api-framework48

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I scaffold a .NET Framework 4.8 Web API project with OWIN and Lamar DI?

To scaffold a .NET Framework 4.8 Web API project, this automation initializes a complete solution structure with OWIN hosting, Lamar IoC, Serilog, Swagger, and layered architecture patterns. It sets up the foundational project files and references automatically.

What dependencies are required to build a modern .NET Framework 4.8 Web API?

Building a modern .NET Framework 4.8 Web API requires Microsoft.AspNet.WebApi.Owin, Microsoft.Owin.Host.SystemWeb, Lamar for dependency injection, Serilog for structured logging, Swashbuckle for Swagger, and Polly for resilience.

What's the best way to set up Serilog structured logging in a .NET Framework 4.8 Web API?

The best way to set up Serilog structured logging is through automated project initialization, which configures Serilog with Console and File sinks alongside the Serilog.Extensions.Logging package within the .NET Framework 4.8 Web API template.

Does this Web API scaffolding tool support global exception handling and Swagger?

Yes, this Web API scaffolding tool supports global exception handling and Swagger. It integrates Swashbuckle.Core for API documentation and implements best-practice patterns for comprehensive error management across the .NET Framework 4.8 application.

Can I use Lamar dependency injection instead of the default container in a .NET 4.8 Web API?

Yes, you can use Lamar dependency injection in a .NET 4.8 Web API. The scaffolding process explicitly configures Lamar as the IoC container, replacing the default dependency resolver to provide modern service registration within the OWIN pipeline.