CCSWE.nanoFramework.MdnsServer 1.1.161

dotnet add package CCSWE.nanoFramework.MdnsServer --version 1.1.161
                    
NuGet\Install-Package CCSWE.nanoFramework.MdnsServer -Version 1.1.161
                    
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="CCSWE.nanoFramework.MdnsServer" Version="1.1.161" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="CCSWE.nanoFramework.MdnsServer" Version="1.1.161" />
                    
Directory.Packages.props
<PackageReference Include="CCSWE.nanoFramework.MdnsServer" />
                    
Project file
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 CCSWE.nanoFramework.MdnsServer --version 1.1.161
                    
#r "nuget: CCSWE.nanoFramework.MdnsServer, 1.1.161"
                    
#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 CCSWE.nanoFramework.MdnsServer@1.1.161
                    
#: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=CCSWE.nanoFramework.MdnsServer&version=1.1.161
                    
Install as a Cake Addin
#tool nuget:?package=CCSWE.nanoFramework.MdnsServer&version=1.1.161
                    
Install as a Cake Tool

CCSWE.nanoFramework.MdnsServer

A reusable mDNS responder server for nanoFramework with dependency injection support.

Usage

Register the mDNS server in your DeviceHostBuilder:

builder.ConfigureServices((context, services) =>
{
    services.AddMdnsServer(options =>
    {
        options.DefaultTtl = 4500;
    });
});

Then configure and start the server after obtaining an IP address:

var mdns = (IMdnsServer)host.Services.GetRequiredService(typeof(IMdnsServer));
mdns.Hostname = "my-device";
mdns.IPAddress = IPAddress.Parse("192.168.1.100");
mdns.AddService(new MdnsServiceRegistration("my-device", "_http._tcp.local", 80, "path=/"));
mdns.Start();
Product 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.

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.161 148 10/11/2026
1.1.159 117 10/10/2026
1.1.158 106 10/10/2026
1.1.155 104 10/10/2026
1.1.154 107 10/10/2026
1.1.153 104 10/10/2026
1.1.148 156 8/3/2026
1.1.147 141 7/31/2026
1.1.146 132 7/31/2026
1.1.145 150 7/17/2026
1.1.144 137 7/14/2026
1.1.143 268 7/11/2026
1.1.142 146 7/1/2026
1.1.141 142 6/30/2026
1.1.140 145 6/26/2026
1.1.139 132 6/24/2026
1.1.138 134 6/24/2026
1.1.137 137 6/24/2026
1.1.136 159 6/23/2026
1.1.135 139 6/1/2026
Loading failed