LittleArcticFox.Core
1.0.2-dev
This is a prerelease version of LittleArcticFox.Core.
dotnet add package LittleArcticFox.Core --version 1.0.2-dev
NuGet\Install-Package LittleArcticFox.Core -Version 1.0.2-dev
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="LittleArcticFox.Core" Version="1.0.2-dev" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add LittleArcticFox.Core --version 1.0.2-dev
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: LittleArcticFox.Core, 1.0.2-dev"
#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 LittleArcticFox.Core as a Cake Addin #addin nuget:?package=LittleArcticFox.Core&version=1.0.2-dev&prerelease // Install LittleArcticFox.Core as a Cake Tool #tool nuget:?package=LittleArcticFox.Core&version=1.0.2-dev&prerelease
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
Welcome to the LittleArcticFox wiki!
- 创建一个Asp.net Core Web项目,命名为xxxxx.Host,并删除其中的Controlls文件夹,该项目作为WebApi项目的启动,以下简称Host项目。
- 创建一个.NetCore的类库,明明为xxxxx.Application,一下简称Application项目。
- 在Application项目中安装NuGet中的LittleArcticFox.Core。
- 在Application中的AppService中继承AppService抽象类,并实现您的方法。
- 注意,在方法上需要标注[HttpPost],[HttpGet]等请求方式,参数若使用对象则需要在形参类型前加[FormBody]标识。
/// <summary>
///
/// </summary>
public class AppSimple : AppService, IAppSimple
{
/// <summary>
/// 测试用的方法
/// </summary>
/// <returns>一个字符串</returns>
[HttpGet]
public Task<string> GetString([FromBody] IdInput<int> input)
{
return Task.FromResult("Hello Little Actic Fox.");
}
}
Product | Versions 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. |
.NET Core | netcoreapp2.0 is compatible. netcoreapp2.1 was computed. netcoreapp2.2 was computed. netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
.NETCoreApp 2.0
- Microsoft.AspNetCore.Mvc (>= 2.0.1)
NuGet packages (1)
Showing the top 1 NuGet packages that depend on LittleArcticFox.Core:
Package | Downloads |
---|---|
LittleArcticFox.EntityFrameworkCore
一个简单的框架,按道理,不会完善的吧。 |
GitHub repositories
This package is not used by any popular GitHub repositories.
临时起意。
不想负责。
不想维护。
随便玩的。
也许有用。
没有文档。
嗯。