GN2.Business
2.1.2
See the version list below for details.
dotnet add package GN2.Business --version 2.1.2
NuGet\Install-Package GN2.Business -Version 2.1.2
<PackageReference Include="GN2.Business" Version="2.1.2" />
<PackageVersion Include="GN2.Business" Version="2.1.2" />
<PackageReference Include="GN2.Business" />
paket add GN2.Business --version 2.1.2
#r "nuget: GN2.Business, 2.1.2"
#:package GN2.Business@2.1.2
#addin nuget:?package=GN2.Business&version=2.1.2
#tool nuget:?package=GN2.Business&version=2.1.2
Provides a api library for business services.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net10.0 is compatible. 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. |
-
net10.0
- Asp.Versioning.Mvc.ApiExplorer (>= 8.1.1)
- Azure.Storage.Blobs (>= 12.27.0)
- Duende.IdentityModel (>= 8.1.0)
- GN2.Core (>= 2.0.5)
- Microsoft.ApplicationInsights (>= 3.0.0)
- Microsoft.ApplicationInsights.AspNetCore (>= 3.0.0)
- Microsoft.AspNetCore.Authentication.JwtBearer (>= 10.0.5)
- Microsoft.AspNetCore.DataProtection.EntityFrameworkCore (>= 10.0.5)
- Microsoft.AspNetCore.Http.Abstractions (>= 2.3.9)
- Swashbuckle.AspNetCore (>= 10.1.7)
- System.IdentityModel.Tokens.Jwt (>= 8.17.0)
NuGet packages (1)
Showing the top 1 NuGet packages that depend on GN2.Business:
| Package | Downloads |
|---|---|
|
GN2.Common.Web
GN2 인증서버(OpenIddict 기반)를 사용하는 ASP.NET Core Web API 를 최소한의 코드로 구성하기 위한 패키지입니다. 컨트롤러 · JSON · API 버저닝 · 인증 · 인가 · CORS · Swagger · 예외 처리 · 헬스체크를 한 번에 등록합니다. 부트스트랩 — RegisterWebApi 와 UseWebApi 두 줄이면 API 서버가 구성됩니다. IdentityConfiguration 을 넘기면 GN2.Business 의 JwtBearer 인증과 4단계 역할 정책이 함께 등록되고, 파이프라인 순서(ForwardedHeaders → 예외 처리 → CORS → Swagger → 인증 → 인가 → 엔드포인트)도 알아서 맞춰집니다. 세부 제어가 필요하면 개별 Register/Use 메서드를 직접 조합할 수 있습니다. Swagger — API 버전마다 문서를 하나씩 만들고, 인증서버의 Authorization Code + PKCE 흐름을 Swagger UI 의 Authorize 버튼에 연결합니다. XML 주석 포함, [Authorize] 오퍼레이션의 401/403 표기, api-version 파라미터 정리를 기본 제공합니다. 오류 응답 — 처리되지 않은 예외와 모델 검증 실패를 RFC 7807 ProblemDetails 로 통일합니다. GN2.Core 의 RestException 은 예외에 담긴 상태 코드로 응답하며, 스택 트레이스는 개발 환경에서만 노출됩니다. 컨트롤러 — BaseApiController 가 ReturnValue · ReturnValues<T> 를 HTTP 결과로 변환하는 헬퍼와 현재 사용자 · 역할 · 스코프 조회, 페이징 헤더 출력을 제공합니다. EF Core — AuditableEntity 소유 타입 매핑과 공개/관리자 조회 필터, DataProtection 키의 DbContext 저장을 제공합니다. 유틸 — 절대 URL 생성, 업로드 파일의 안전한 확장자 · 파일명 생성, 페이징 번호 블록 계산. |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 3.0.0 | 281 | 8/22/2026 |
| 2.1.3 | 153 | 6/3/2026 |
| 2.1.2 | 143 | 3/26/2026 |
| 2.1.1 | 135 | 3/26/2026 |
| 2.1.0 | 205 | 3/11/2026 |
| 2.0.7 | 135 | 3/6/2026 |
| 2.0.6 | 144 | 3/3/2026 |
| 2.0.5 | 154 | 3/2/2026 |
| 2.0.4 | 144 | 3/2/2026 |
| 2.0.3 | 138 | 3/2/2026 |
| 2.0.2 | 142 | 3/2/2026 |
| 2.0.1 | 147 | 3/2/2026 |
| 2.0.0 | 137 | 3/2/2026 |
| 1.4.7 | 281 | 10/20/2025 |
| 1.4.6 | 247 | 10/20/2025 |
| 1.4.5 | 238 | 10/20/2025 |
| 1.4.4 | 231 | 10/20/2025 |
| 1.4.3 | 239 | 10/19/2025 |
| 1.4.2 | 245 | 10/19/2025 |
| 1.4.1 | 259 | 10/19/2025 |