nancy-template-webservice - Nancy.Template.Webservice 0.5.0

Nancy template for web services including a few helpful libraries, for the full list of the libraries see the github page on the project url.

PM> Install-Package Nancy.Template.Webservice -Version 0.5.0 -Source https://www.myget.org/F/nancy-template-webservice/api/v3/index.json

Copy to clipboard

> nuget.exe install Nancy.Template.Webservice -Version 0.5.0 -Source https://www.myget.org/F/nancy-template-webservice/api/v3/index.json

Copy to clipboard

> dotnet add package Nancy.Template.Webservice --version 0.5.0 --source https://www.myget.org/F/nancy-template-webservice/api/v3/index.json

Copy to clipboard
<PackageReference Include="Nancy.Template.Webservice" Version="0.5.0" />
Copy to clipboard
source https://www.myget.org/F/nancy-template-webservice/api/v3/index.json

nuget Nancy.Template.Webservice  ~> 0.5.0
Copy to clipboard

> choco install Nancy.Template.Webservice --version 0.5.0 --source https://www.myget.org/F/nancy-template-webservice/api/v2

Copy to clipboard
Import-Module PowerShellGet
Register-PSRepository -Name "nancy-template-webservice" -SourceLocation "https://www.myget.org/F/nancy-template-webservice/api/v2"
Install-Module -Name "Nancy.Template.Webservice" -RequiredVersion "0.5.0" -Repository "nancy-template-webservice" 
Copy to clipboard

Nancy.Template.Webservice Mit License

Dotnet template library used to create web services using the Nancy web Framework.

Note: Since Nancyfx is no longer being maintained i will be deprioritizing this library, please check here for details

Builds

Appveyor
Build status

Packages

NuGet (Stable) MyGet (Prerelease)
NuGet MyGet

Purpose

A quick scaffolder for web services build using Nancyfx as the web framework. It provides the basic tools for validations, endpoint creation and database usage. As is the case with Nancy, it is relatively customizable.

It can be altered to use:

  1. multiple types of logs (as based on the serilog sinks).
  2. different types of caches (as based on the rapid cache lib).
  3. other types of ORMs (i. e. Dapper) by replacing the Repository class with byo.
  4. alternatively move to swagger (legacy version) from openapi replacing the nancy.metadata.openapi with nancy.metadata.swagger library from nuget.

Install

For installation via the dotnet install command:

dotnet new -i "Nancy.Template.Webservice::*"

For myget installations you can specify the source on the dotnet command:

dotnet new -i "Nancy.Template.Webservice::*" --nuget-source https://www.myget.org/F/nancy-template-webservice/api/v3/index.json

Then you can freely use it by executing the following dotnet command:

dotnet new nancyws -o MySampleWs

Uninstall

To uninstall simply execute:

dotnet new -u "Nancy.Template.Webservice"

Dependencies

This template targets dotnet core 3.1. The following libraries are included as part of the projects:

For further information on custom templates, refer to the Microsoft documentation.

Upgrade to netcore 3.1

Owners

Jaxelr

Authors

Jaxel Rojas

Project URL

https://github.com/Jaxelr/Nancy.Template.Webservice

License

MIT

Tags

template;nancyfx;webservice;

Info

7 total downloads
7 downloads for version 0.5.0
Download (2.39 MB)
Found on the current feed only

Package history

Version Size Last updated Downloads Mirrored?
0.5.0 2.39 MB Thu, 23 Jul 2020 20:46:01 GMT 7