HighApi 0.1.1

dotnet add package HighApi --version 0.1.1
NuGet\Install-Package HighApi -Version 0.1.1
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="HighApi" Version="0.1.1" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add HighApi --version 0.1.1
#r "nuget: HighApi, 0.1.1"
#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 HighApi as a Cake Addin
#addin nuget:?package=HighApi&version=0.1.1

// Install HighApi as a Cake Tool
#tool nuget:?package=HighApi&version=0.1.1

HighApi

The easiest way to create a simple api for testing and prototyping with .NET using top level programming feature in C# 9 and the power of abstraction.

Goal

  • Make it easy to recommand C# and .NET for building RESTful APIs
  • Create a temp API for testing and prototyping in less than 12 lines of code
  • Focus on shaping the data from the start

Get started

  1. Create a new console app

  2. Open your .csproj file and enable preview flag like this :

    <PropertyGroup>
       <TargetFramework>net5.0</TargetFramework>
       <LangVersion>preview</LangVersion>
    </PropertyGroup>
    
  3. Add reference to the nuget package

  4. Start your journey

Result

image

Product Compatible and additional computed target framework versions.
.NET net5.0 is compatible.  net5.0-windows was computed.  net6.0 was computed.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
  • net5.0

    • No dependencies.

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
0.1.1 319 3/21/2021
0.1.0 267 3/21/2021