{"id":19241970,"url":"https://github.com/jaxelr/nancy.template.webservice","last_synced_at":"2025-10-28T19:36:55.742Z","repository":{"id":85526964,"uuid":"120343064","full_name":"Jaxelr/Nancy.Template.Webservice","owner":"Jaxelr","description":"Nancyfx 2 template for web services usage","archived":false,"fork":false,"pushed_at":"2024-01-26T12:51:41.000Z","size":65196,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-25T03:51:11.855Z","etag":null,"topics":["nancy","openapi","template","webservice"],"latest_commit_sha":null,"homepage":"","language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Jaxelr.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":".github/CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2018-02-05T18:17:16.000Z","updated_at":"2022-09-29T23:48:20.000Z","dependencies_parsed_at":null,"dependency_job_id":"5fa7b3ac-1bf2-47fb-a685-feba9fe617cd","html_url":"https://github.com/Jaxelr/Nancy.Template.Webservice","commit_stats":null,"previous_names":[],"tags_count":10,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Jaxelr%2FNancy.Template.Webservice","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Jaxelr%2FNancy.Template.Webservice/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Jaxelr%2FNancy.Template.Webservice/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Jaxelr%2FNancy.Template.Webservice/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Jaxelr","download_url":"https://codeload.github.com/Jaxelr/Nancy.Template.Webservice/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248351425,"owners_count":21089271,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["nancy","openapi","template","webservice"],"created_at":"2024-11-09T17:13:03.928Z","updated_at":"2025-10-15T20:10:40.892Z","avatar_url":"https://github.com/Jaxelr.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Nancy.Template.Webservice [![Mit License][mit-img]][mit]\n\nDotnet template library used to create web services using the Nancy web Framework.\n\n__Note:__ Since Nancyfx is no longer being maintained i will be deprioritizing this library, please check [here for details](https://github.com/NancyFx/Nancy/issues/3010)\n\n## Builds\n\n| Appveyor  |\n| :---:     |\n| [![Build status][build-img]][build] |\n\n## Packages\n\n| NuGet (Stable) | MyGet (Prerelease) |\n| :---: | :---: |\n| [![NuGet][nuget-img]][nuget] | [![MyGet][myget-img]][myget] |\n\n### Purpose\n\nA 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.  \n\nIt can be altered to use:\n\n1. multiple types of logs (as based on the serilog sinks).\n1. different types of caches (as based on the rapid cache lib).\n1. other types of ORMs (i. e. Dapper) by replacing the Repository class with byo.\n1. alternatively move to swagger (legacy version) from openapi replacing the nancy.metadata.openapi with nancy.metadata.swagger library from nuget.\n\n### Install\n\nFor installation via the dotnet install command:\n\n`dotnet new -i \"Nancy.Template.Webservice::*\"`\n\nFor myget installations you can specify the source on the dotnet command:\n\n`dotnet new -i \"Nancy.Template.Webservice::*\" --nuget-source https://www.myget.org/F/nancy-template-webservice/api/v3/index.json`\n\nThen you can freely use it by executing the following dotnet command:\n\n`dotnet new nancyws -o MySampleWs`\n\n### Uninstall\n\nTo uninstall simply execute:\n\n`dotnet new -u \"Nancy.Template.Webservice\"`\n\n### Dependencies\n\nThis template targets dotnet core 3.1. The following libraries are included as part of the projects:\n\n* [Nancy](https://github.com/NancyFx/Nancy)\n* [Nancy.Metadata.OpenApi](https://github.com/Jaxelr/Nancy.Metadata.OpenApi)\n* [Nancy.RapidCache](https://github.com/Jaxelr/Nancy.RapidCache)\n* [Nancy.Serilog](https://github.com/Zaid-Ajaj/Nancy.Serilog)\n* [Serilog](https://github.com/serilog/serilog)\n* [Microsoft.Extensions.Diagnostics.HealthChecks](https://github.com/dotnet/aspnetcore/tree/master/src/HealthChecks/HealthChecks)\n* [Insight.Database](https://github.com/jonwagner/Insight.Database)\n* [Xunit](https://github.com/xunit/xunit)\n* [NSubstitute](https://github.com/nsubstitute/NSubstitute)\n* [Altcover](https://github.com/SteveGilham/altcover)\n* [ReportGenerator](https://github.com/danielpalme/ReportGenerator)\n\nFor further information on custom templates, refer to the [Microsoft documentation][docs].\n\n[mit-img]: http://img.shields.io/badge/License-MIT-blue.svg\n[mit]: https://github.com/Jaxelr/Nancy.Template.Webservice/blob/master/LICENSE\n[build-img]: https://ci.appveyor.com/api/projects/status/4q831j12p00mkeij/branch/master?svg=true\n[build]: https://ci.appveyor.com/project/Jaxelr/nancy-template-webservice/branch/master\n[nuget-img]: https://img.shields.io/nuget/v/Nancy.Template.Webservice.svg\n[nuget]: https://www.nuget.org/packages/Nancy.Template.Webservice/\n[myget-img]: https://img.shields.io/myget/nancy-template-webservice/v/Nancy.Template.Webservice.svg\n[myget]: https://www.myget.org/feed/nancy-template-webservice/package/nuget/Nancy.Template.Webservice\n[docs]: https://docs.microsoft.com/en-us/dotnet/core/tools/custom-templates\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjaxelr%2Fnancy.template.webservice","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjaxelr%2Fnancy.template.webservice","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjaxelr%2Fnancy.template.webservice/lists"}