MTS.AspNetCore
1.0.73
dotnet add package MTS.AspNetCore --version 1.0.73
NuGet\Install-Package MTS.AspNetCore -Version 1.0.73
<PackageReference Include="MTS.AspNetCore" Version="1.0.73" />
<PackageVersion Include="MTS.AspNetCore" Version="1.0.73" />
<PackageReference Include="MTS.AspNetCore" />
paket add MTS.AspNetCore --version 1.0.73
#r "nuget: MTS.AspNetCore, 1.0.73"
#:package MTS.AspNetCore@1.0.73
#addin nuget:?package=MTS.AspNetCore&version=1.0.73
#tool nuget:?package=MTS.AspNetCore&version=1.0.73
MTS.AspNetCore
ASP.NET Core middleware that checks the configured MTS licence key before passing requests to the next middleware. Targets .NET Standard 2.1 and depends on MTS.Crypt.
Install
dotnet add package MTS.AspNetCore
Usage
Set API_Key through the application's configuration (for example, an environment variable), then register the middleware before the endpoints it should protect:
using MTS.AspNetCore;
app.UseLicense(options => options.ExecutingAssembly = typeof(Program).Assembly);
app.MapRazorPages();
The supplied assembly is used when validating scoped keys. Invalid, expired, or challenged licences produce the middleware's licence-status HTML response. See the repository's Sample application for integration.
Legacy key serialization behavior is supplied by MTS.Crypt and is preserved for compatibility.
License
Licensed under the MIT License. See the included LICENSE.txt. Dependencies retain their own licences.
MTS.Crypt is a proprietary dependency and requires a separate licence from MineTech Services.
| 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. 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. net10.0 was computed. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
| .NET Core | netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
| .NET Standard | netstandard2.1 is compatible. |
| MonoAndroid | monoandroid was computed. |
| MonoMac | monomac was computed. |
| MonoTouch | monotouch was computed. |
| Tizen | tizen60 was computed. |
| Xamarin.iOS | xamarinios was computed. |
| Xamarin.Mac | xamarinmac was computed. |
| Xamarin.TVOS | xamarintvos was computed. |
| Xamarin.WatchOS | xamarinwatchos was computed. |
-
.NETStandard 2.1
- Microsoft.AspNetCore.Http.Abstractions (>= 2.3.13)
- Microsoft.Extensions.Configuration.Abstractions (>= 10.0.13)
- Microsoft.Extensions.Configuration.Binder (>= 10.0.13)
- MTS.Crypt (>= 1.0.73)
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.73 | 82 | 10/15/2026 |
| 1.0.72 | 86 | 10/15/2026 |
| 1.0.71 | 148 | 9/8/2026 |
| 1.0.69 | 121 | 9/4/2026 |
| 1.0.68 | 119 | 9/4/2026 |
| 1.0.67 | 132 | 9/4/2026 |
| 1.0.66 | 118 | 9/2/2026 |
| 1.0.64 | 109 | 9/1/2026 |
| 1.0.63 | 143 | 8/17/2026 |
| 1.0.59 | 161 | 6/2/2026 |
| 1.0.57 | 141 | 5/22/2026 |
| 1.0.56 | 142 | 5/6/2026 |
| 1.0.55 | 127 | 5/6/2026 |
| 1.0.50 | 891 | 1/15/2024 |
| 1.0.49 | 221 | 1/12/2024 |
| 1.0.48 | 258 | 1/4/2024 |
| 1.0.47 | 225 | 1/4/2024 |
| 1.0.46 | 302 | 10/18/2023 |
| 1.0.45 | 244 | 10/17/2023 |
| 1.0.44 | 328 | 7/26/2023 |