Nancy.WebApi 1.0.0

There is a newer version of this package available.
See the version list below for details.
dotnet add package Nancy.WebApi --version 1.0.0
                    
NuGet\Install-Package Nancy.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="Nancy.WebApi" Version="1.0.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Nancy.WebApi" Version="1.0.0" />
                    
Directory.Packages.props
<PackageReference Include="Nancy.WebApi" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Nancy.WebApi --version 1.0.0
                    
#r "nuget: Nancy.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.
#:package Nancy.WebApi@1.0.0
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Nancy.WebApi&version=1.0.0
                    
Install as a Cake Addin
#tool nuget:?package=Nancy.WebApi&version=1.0.0
                    
Install as a Cake Tool

The purpose of the project is to enable attribute routing and minimizing the code changes with switching between Nancy and ASP.NET WebAPI.
Here is some sample usage:

[RoutePrefix("api/userApi")]
public class UserApi : ApiController
{       
   [HttpGet("/")]
   public IEnumerable<User> GetAll()
   {
       return new List<User> { new User(), new User() };
   }


   [HttpGet("/{id}")]
   public User GetById(int id)
   {
       return new User();
   }
}

Product Compatible and additional computed target framework versions.
.NET Framework net is compatible. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (1)

Showing the top 1 NuGet packages that depend on Nancy.WebApi:

Package Downloads
Nancy.WebApi.HelpPages

Nancy.WebApi.HelpPages Adding WebApi HelpPages to Nancy. By default, the help page url is [baseUrl]/help

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
1.0.2 7,813 2/10/2016
1.0.1 1,592 1/26/2016
1.0.0 2,205 1/24/2016