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                
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="Valco.Common.WebApi" Version="1.0.0" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Valco.Common.WebApi --version 1.0.0                
#r "nuget: Valco.Common.WebApi, 1.0.0"                
#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.
// 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

.net framework 4.5+: NuGet license

.net core: NuGet license

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+: NuGet license .net core: NuGet license

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

.net framework 4.5+: NuGet license

Common.Contracts.WCF is a free library with common classes for Contracts layer in microservices for realization by WCF.

Common WebApi helpers

.net framework 4.5+: NuGet license

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 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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

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 690 1/2/2019