Mufi.Api.Controllers 4.0.0

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

MUFI API Controller

This package contains an ASP.NET Web API controller wrapping a simple MUFI (Medieval Unicode Font Initiative) lookup service.

The endpoints are:

  • GET api/mufi/characters/CODE where CODE is the numeric code value you want to get.
  • GET api/mufi/characters with parameters to find a specific page of matching characters:
    • pageNumber* (int, 1-N)
    • pageSize* (int)
    • minCode (int)
    • maxCode (int)
    • uppercaseCode (int)
    • unicodeCategories (zero or more strings)
    • unicodeName (string, any part of it)
    • mufiName (string, any part of it)
    • unicodeEntity (string)
    • mufiEntity (string)
    • tags (zero or more strings)
    • unicodeVersion (string)
    • mufiVersion (string)
    • mufiStatus (string, e.g. accepted, proposed)

To use in your API:

  1. add Mufi.Api.Controllers package.
  2. ensure that you include its assembly in your API configuration and configure DI for the MUFI service, e.g. in Program.cs:
// configure MUFI service
builder.Services.AddSingleton<IMufiRepository>(_ =>
{
    string path = Path.Combine(Directory.GetCurrentDirectory(), "wwwroot");
    return new LiteDBMufiRepository(
        new MufiRepositoryOptions
        {
            Source = Path.Combine(path, "mufi.db")
        });
});

// configure services
builder.Services.AddControllers()
    .AddApplicationPart(typeof(MufiController).Assembly)
    .AddControllersAsServices();

This will create a mufi.db file in your API wwwroot folder. Should you delete it, it will be silently recreated at the first request.

Product Compatible and additional computed target framework versions.
.NET net11.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
4.0.0 94 11/29/2026
3.0.0 119 11/14/2026
2.0.2 175 9/14/2026
2.0.1 167 5/12/2026
2.0.0 340 11/12/2025
1.0.3 254 9/3/2025
1.0.2 254 5/6/2025