MTS.Web
1.0.73
dotnet add package MTS.Web --version 1.0.73
NuGet\Install-Package MTS.Web -Version 1.0.73
<PackageReference Include="MTS.Web" Version="1.0.73" />
<PackageVersion Include="MTS.Web" Version="1.0.73" />
<PackageReference Include="MTS.Web" />
paket add MTS.Web --version 1.0.73
#r "nuget: MTS.Web, 1.0.73"
#:package MTS.Web@1.0.73
#addin nuget:?package=MTS.Web&version=1.0.73
#tool nuget:?package=MTS.Web&version=1.0.73
MTS.Web
CSV-backed localization resources, localized validation attributes, and web model helpers. Targets .NET Standard 2.1.
Install
dotnet add package MTS.Web
Register resources
Implement IResourceFile to provide each resource file's path and ResourceType, then register the files:
using MTS.Web.Extensions;
services.AddResourceManager(stringsFile, mandatoryFieldsFile);
AddResourceManager registers the CSV and mandatory-field handlers, resource factory, and resource manager. Resolve IResourceManager to retrieve strings by resource key and resource type. The package also exposes CsvLocalizableStringAttribute and MandatoryFieldAttribute for model metadata and validation.
Copy the CSV files to the application's output directory. The repository's MTS.WebTests project contains Strings.csv and Mandatory.csv examples and tests for their corresponding resource types and attributes.
License
Licensed under the MIT License. See the included LICENSE.txt. Dependencies retain their own licences.
| 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.Extensions.DependencyInjection (>= 10.0.13)
- Microsoft.Extensions.DependencyInjection.Abstractions (>= 10.0.13)
- System.ComponentModel.Annotations (>= 5.0.0)
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 | 83 | 10/15/2026 |
| 1.0.72 | 82 | 10/15/2026 |
| 1.0.71 | 134 | 9/8/2026 |
| 1.0.69 | 115 | 9/4/2026 |
| 1.0.68 | 111 | 9/4/2026 |
| 1.0.67 | 126 | 9/4/2026 |
| 1.0.66 | 110 | 9/2/2026 |
| 1.0.64 | 113 | 9/1/2026 |
| 1.0.63 | 140 | 8/17/2026 |
| 1.0.59 | 156 | 6/2/2026 |
| 1.0.57 | 136 | 5/22/2026 |
| 1.0.56 | 1,486 | 5/6/2026 |
| 1.0.55 | 1,469 | 5/6/2026 |
| 1.0.50 | 2,772 | 1/15/2024 |
| 1.0.49 | 2,101 | 1/12/2024 |
| 1.0.48 | 2,115 | 1/4/2024 |
| 1.0.47 | 2,110 | 1/4/2024 |
| 1.0.46 | 2,180 | 10/18/2023 |
| 1.0.45 | 2,110 | 10/17/2023 |
| 1.0.44 | 2,166 | 7/26/2023 |