PicoServer.Nano
0.9.0
dotnet add package PicoServer.Nano --version 0.9.0
NuGet\Install-Package PicoServer.Nano -Version 0.9.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="PicoServer.Nano" Version="0.9.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="PicoServer.Nano" Version="0.9.0" />
<PackageReference Include="PicoServer.Nano" />
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 PicoServer.Nano --version 0.9.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: PicoServer.Nano, 0.9.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 PicoServer.Nano@0.9.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=PicoServer.Nano&version=0.9.0
#tool nuget:?package=PicoServer.Nano&version=0.9.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
PicoServer.Nano 是 PicoServer 在 .NET nanoFramework 生态系统上的轻量化移植版本。它是一个零依赖的“Web 胶水库”,专为资源受限的微控制器设计,特别针对 ESP32 进行了适配和优化。
- 官方文档 | Documentation: PicoServer.Nano
特点
- 简单易用:只需几行代码即可构建并部署 Web API。
- 低资源消耗:专为 ESP32 等设备优化(支持 PSRAM),确保为业务逻辑预留更多硬件资源。
快速开始
using PicoServer.Nano;
// 初始化服务器
var app = new WebAPIServer();
// 添加路由
app.AddRoute("/", (req, resp) => {
resp.Write("Hello PicoServer");
});
// 启动服务
app.StartServer();
PicoServer.Nano (English)
PicoServer.Nano is a lightweight port of PicoServer for the .NET nanoFramework ecosystem. It is a zero-dependency "glue" web library specifically designed for resource-constrained microcontrollers.
Key Features
- Simple & Intuitive: Build and deploy a Web API with just a few lines of code.
- Low Resource Footprint: Optimized for devices like the ESP32 (with PSRAM support) to ensure more hardware resources are reserved for your core business logic.
Quick Start
using PicoServer.Nano;
// Initialize the server
var app = new WebAPIServer();
// Define a route
app.AddRoute("/", (req, resp) => {
resp.Write("Hello PicoServer");
});
// Start the engine
app.StartServer();
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NETnanoFramework | netnano1.0 is compatible. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
.NETnanoFramework 1.0
- nanoFramework.CoreLibrary (>= 1.17.11)
- nanoFramework.Runtime.Events (>= 1.11.32)
- nanoFramework.System.Collections (>= 1.5.67)
- nanoFramework.System.IO.Streams (>= 1.1.96)
- nanoFramework.System.Net (>= 1.11.50)
- nanoFramework.System.Net.Http (>= 1.5.203)
- nanoFramework.System.Text (>= 1.3.42)
- nanoFramework.System.Threading (>= 1.1.52)
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.9.0 | 70 | 5/10/2026 |