Valco.Common.WebApi
1.0.0
dotnet add package Valco.Common.WebApi --version 1.0.0
NuGet\Install-Package Valco.Common.WebApi -Version 1.0.0
<PackageReference Include="Valco.Common.WebApi" Version="1.0.0" />
paket add Valco.Common.WebApi --version 1.0.0
#r "nuget: Valco.Common.WebApi, 1.0.0"
// Install Valco.Common.WebApi as a Cake Addin #addin nuget:?package=Valco.Common.WebApi&version=1.0.0 // Install Valco.Common.WebApi as a Cake Tool #tool nuget:?package=Valco.Common.WebApi&version=1.0.0
Common Models
Common.Models is a free library with common classes for Data layer in microservices. It contains common init classes for repositories and unit of work. Also common base classes for db entities.
UPD: .net core lib doesn't contain repo interfaces anymore. DbContext in ef core = UoW.
Common Contracts
.net framework 4.5+: .net core:
Common.Contracts is a free library with common classes for Contracts layer in microservices. It contains abstract request and response classes for building structured service. Also this library contains common interface for all microservices with common method(ServiceInfo) model which should be provided by all services.
Common Contracts for WCF
Common.Contracts.WCF is a free library with common classes for Contracts layer in microservices for realization by WCF.
Common WebApi helpers
Common.WebApi is a free library with helpers for converting ServiceResponse to proper HTTP status, common library for logging all requests and responses.
For registration logger for all REST requests and responses add next code to App_Start/WebApiConfig.cs to Register method
// Custom log handler for every REST request
config.MessageHandlers.Add(new CustomLogHandler());
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET Framework | net45 is compatible. net451 was computed. net452 was computed. net46 was computed. net461 was computed. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed. |
-
- Microsoft.AspNet.WebApi.Client (>= 5.2.7)
- Microsoft.AspNet.WebApi.Core (>= 5.2.7)
- Newtonsoft.Json (>= 12.0.1)
- NLog (>= 4.5.11)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated |
---|---|---|
1.0.0 | 686 | 1/2/2019 |