DTI.Api 1.0.3

The owner has unlisted this package. This could mean that the package is deprecated, has security vulnerabilities or shouldn't be used anymore.
dotnet add package DTI.Api --version 1.0.3
NuGet\Install-Package DTI.Api -Version 1.0.3
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="DTI.Api" Version="1.0.3" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add DTI.Api --version 1.0.3
#r "nuget: DTI.Api, 1.0.3"
#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 DTI.Api as a Cake Addin
#addin nuget:?package=DTI.Api&version=1.0.3

// Install DTI.Api as a Cake Tool
#tool nuget:?package=DTI.Api&version=1.0.3

Use BaseApiController to create Web API controllers that return ApiResult to the caller. Works extremely well with Dapper. Works with any data that can be expressed as IEnumerable<dynamic>. Callers to you API will get consistent ApiResult structure.

public class CountiesSelectController : BaseApiController { [HttpGet] public HttpResponseMessage Get() { try { using (var connection = new SqlConnection(myConnectionString)) { return ProcessedRequest(new ApiResult { Data = connection.Query("CountiesSelect", commandType: CommandType.StoredProcedure) }); } } catch (Exception ex) { return ProcessedRequestLogException(ex); } } }

Product Compatible and additional computed target framework versions.
.NET Framework net472 is compatible.  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