Fcg.Core.WebApi 1.0.8

dotnet add package Fcg.Core.WebApi --version 1.0.8
                    
NuGet\Install-Package Fcg.Core.WebApi -Version 1.0.8
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Fcg.Core.WebApi" Version="1.0.8" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Fcg.Core.WebApi" Version="1.0.8" />
                    
Directory.Packages.props
<PackageReference Include="Fcg.Core.WebApi" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Fcg.Core.WebApi --version 1.0.8
                    
#r "nuget: Fcg.Core.WebApi, 1.0.8"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package Fcg.Core.WebApi@1.0.8
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Fcg.Core.WebApi&version=1.0.8
                    
Install as a Cake Addin
#tool nuget:?package=Fcg.Core.WebApi&version=1.0.8
                    
Install as a Cake Tool

Fcg.Core.WebApi

Um pacote completo contendo extensões, configurações e middlewares fundamentais para turbinar as Web APIs do ecossistema Fiap Cloud Games (FCG).

🎯 Objetivo

Reduzir o boilerplate na criação de novos microsserviços (APIs REST). Em vez de duplicar configurações de Segurança, JWT e Tratamento de Exceções em cada API, os microsserviços devem simplesmente importar este pacote e chamar os métodos de extensão.

📦 Conteúdo do Pacote

Este pacote estende funcionalidades do Fcg.Core.Abstractions fornecendo:

  • Extensions: Métodos .AddFcgJwtAuthentication(), .AddFcgServices() para injeção de dependência rápida e limpa no IServiceCollection.
  • Middlewares: Middleware de Tratamento Global de Exceções (GlobalExceptionHandlerMiddleware), traduzindo exceções de domínio em status code (400, 404, 500) padronizados.
  • Security: Facilidades para lidar com claims do usuário autenticado na requisição atual.
  • Responses: Classes genéricas para formatar respostas padrão de endpoints de API (Sucesso, Erro de Validação).

🚀 Como Instalar

Instale através do NuGet:

.NET CLI

dotnet add package Fcg.Core.WebApi

Package Manager

Install-Package Fcg.Core.WebApi

🤝 Como Contribuir

Repositório no GitHub

Product Compatible and additional computed target framework versions.
.NET net9.0 is compatible.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 was computed.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (1)

Showing the top 1 NuGet packages that depend on Fcg.Core.WebApi:

Package Downloads
Fcg.Core.Abstractions.Application

Pacote principal contendo as abstrações da application (Validation Behavior) compartilhadas entre os microsserviços do Fiap Cloud Games.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
1.0.8 114 8/10/2026
1.0.7 102 8/10/2026
1.0.6 94 8/10/2026
1.0.5 93 8/10/2026
1.0.4 95 8/10/2026
1.0.3 138 7/29/2026
1.0.2 100 7/28/2026
1.0.1 104 7/16/2026
1.0.0 132 7/13/2026