Igtampe.Redistributables.Launcher 1.1.0

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

// Install Igtampe.Redistributables.Launcher as a Cake Tool
#tool nuget:?package=Igtampe.Redistributables.Launcher&version=1.1.0                

Launcher

The IDACRA launcher makes it easy and simple to launch your ASP.NET Web API with my common configurations. Maybe it works for you as well. Launching uses the static Launch method, with generic type parameters for your main/master DBContext, and your error handling middleware. Along with this, provide a set of Launcher Options for your Swagger page, and other metadata.

Launch Options

Field Description
App App Details (see App Details)
Author Author details (see Author Details)
AllowAllCORS Allow any and all CORS requests (useful for APIs but may be a security risk)
AlwaysDev Allways act as if this was a development environment, exposing the Swagger and Developer exceptions regardless of environment
ToManifest() See Manifest

App Details

Details of the app you are launching

Field Description
Name Name of the application
Description Description of the application. Will be appended by "Launched using the IRED/IDACRA Launcher"
License License name of URL
Version Version of this app
ProducesXML Whether or not this app produces XML documentation
XMLDocLoc Location of the XML documentation (if ProducesXML is true)
Graphic Optional BasicGraphic to override the IDACRA logo on the server startup
ToOAL() Converts the License field to an OpenAPI License

Author Details

Details of yourself

Field Description
Name Your Name
Email Your Email
Url Link to your site
ToOAC() Converts to an OpenAPIContact

Manifest

In addition to all of your controllers and endpoints, the IDACRA launcher registers /IDACRA, which provides a manifest of the app currently launched. This is the object it returns:

Field Description
idacra_version Version of IDACRA running this app
Name Name of the application
Description Description of the application
License License of the application
Version Version of the application
Author Author Details (See Author Details)
Product Compatible and additional computed target framework versions.
.NET net6.0 is compatible.  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.

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
1.1.0 166 9/30/2023
1.0.0 199 8/30/2022