Myipp.Web.Api.Core 1.0.7

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

// Install Myipp.Web.Api.Core as a Cake Tool
#tool nuget:?package=Myipp.Web.Api.Core&version=1.0.7                

Myipp.Web.Api.Core

.net core based webapi framework. return json result. and have some configration for result config.

Install

Install-Package Myipp.Web.Api.Core

Use

Setup class can do some init.

If u want use redis as session storage, please init first by Setup.UseRedisUserSessionCollection.

If u want use websocket, please add "app.UseWebSockets();" on startup Configure function

Startup.cs demo

public void ConfigureServices(IServiceCollection services)
{
    Setup.InitService(services);
}

public void Configure(IApplicationBuilder app, IWebHostEnvironment env)
{
    app.UseRouting();
    var webSocketOptions = new WebSocketOptions
    {
        KeepAliveInterval = TimeSpan.FromMinutes(2)
    };
    webSocketOptions.AllowedOrigins.Add("http://127.0.0.1:3000");
    app.UseWebSockets(webSocketOptions);

    app.UseAuthorization();

    app.UseEndpoints(endpoints =>
    {
        endpoints.MapControllers();
    });
}
Product Compatible and additional computed target framework versions.
.NET net5.0 was computed.  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.  net9.0 was computed.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed. 
.NET Core netcoreapp3.1 is compatible. 
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.0.7 98 1/3/2025
1.0.6 100 1/3/2025
1.0.5 104 1/3/2025
1.0.4 93 12/15/2024
1.0.3 248 3/19/2023
1.0.2 224 3/19/2023
1.0.1 226 3/17/2023
1.0.0 226 3/17/2023