Files
Mateusz Skoczek 98dc3aa55e
All checks were successful
Build and publish package / Build (push) Successful in 26s
Build and publish package / Determine version (push) Successful in 20s
Build and publish package / Pack (push) Successful in 24s
Build and publish package / Publish (push) Successful in 17s
rename
2026-04-15 23:01:03 +02:00

126 lines
4.2 KiB
Markdown

<p align="center"><img src=".gitea/readme/icon.png"/></p>
<h1 align="center">MSEssentials.AspNetCore.Attributes</h1>
<h3 align="center"><b>Set of helpers, class extensions, UI controls used in my other C# projects</b></h3>
<p align="center">MSEssentials is package of useful classes, helpers, extensions and UI controls, I use in my C# projects. Attributes subpackage contains class, method and property attributes.</p>
---
## Informations
> [!Important]
> **For Github users:**
>
> This is only mirror repository. All changes are first uploaded to the repository <a href="https://repos.mateuszskoczek.com/MSEssentials/MSEssentials.AspNetCore.Attributes">here</a>. Releases are also published on original repository. However, Github repository handles issues and pull requests for better accessibility.
## NuGet registry status
<table>
<tr>
<th>
Subpackage
</th>
<th>
Status
</th>
</tr>
<tr>
<td>
<b>MSEssentials.AspNetCore.Attributes</b>
</td>
<td>
<a href="https://www.nuget.org/packages/MSEssentials.AspNetCore.Attributes/"><img src="https://img.shields.io/nuget/v/MSEssentials.AspNetCore.Attributes.svg?style=flat-square"></a>
</td>
</tr>
<tr>
<th colspan=2>
Other subpackages
</th>
</tr>
<tr>
<td>
MSEssentials.Extensions
</td>
<td>
<a href="https://www.nuget.org/packages/MSEssentials.Extensions/"><img src="https://img.shields.io/nuget/v/MSEssentials.Extensions.svg?style=flat-square"></a>
</td>
</tr>
<tr>
<td>
MSEssentials.UI.Common.MVVM
</td>
<td>
<a href="https://www.nuget.org/packages/MSEssentials.UI.Common.MVVM/"><img src="https://img.shields.io/nuget/v/MSEssentials.UI.Common.MVVM.svg?style=flat-square"></a>
</td>
</tr>
<tr>
<td>
MSEssentials.UI.Common.Converters
</td>
<td>
<a href="https://www.nuget.org/packages/MSEssentials.UI.Common.Converters/"><img src="https://img.shields.io/nuget/v/MSEssentials.UI.Common.Converters.svg?style=flat-square"></a>
</td>
</tr>
<tr>
<td>
MSEssentials.UI.WinUI.Behaviors
</td>
<td>
<a href="https://www.nuget.org/packages/MSEssentials.UI.WinUI.Behaviors/"><img src="https://img.shields.io/nuget/v/MSEssentials.UI.WinUI.Behaviors.svg?style=flat-square"></a>
</td>
</tr>
<tr>
<td>
MSEssentials.UI.WinUI.Converters
</td>
<td>
<a href="https://www.nuget.org/packages/MSEssentials.UI.WinUI.Converters/"><img src="https://img.shields.io/nuget/v/MSEssentials.UI.WinUI.Converters.svg?style=flat-square"></a>
</td>
</tr>
<tr>
<td>
MSEssentials.UI.WinUI.Controls
</td>
<td>
<a href="https://www.nuget.org/packages/MSEssentials.UI.WinUI.Controls/"><img src="https://img.shields.io/nuget/v/MSEssentials.UI.WinUI.Controls.svg?style=flat-square"></a>
</td>
</tr>
</table>
## Features
- **RequiresClaimAttribute** - claim for ASP.NET Web API controller methods. Returns Forbidden result, when claim is not present.
## Dependencies
Dependencies should be installed automatically with this package
- Microsoft.AspNetCore.Mvc.Core 2.3.0
## Installation and usage
You can download package from official NuGet registry or .nupkg file itself from Releases tab.
**CLI:**
```
dotnet add package MSEssentials.AspNetCore.Attributes
```
**Package reference in .csproj file:**
```
<PackageReference Include="MSEssentials.AspNetCore.Attributes" Version="<version>" />
```
## Attribution and contribution
This project is open source on MIT License, so you can just copy and upload again to your repository. But according to the license, you must include information about the original author. You can find license <a href="https://repos.mateuszskoczek.com/MSEssentials/MSEssentials.AspNetCore.Attributes/src/branch/main/LICENSE">here</a>.
However, the preferred way to contribute would be to propose improvements in a pull request, through issues, or through other means of communication.
**Other sources:**
- Icon by <a href="icons8.com">Icons8</a>