Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mocanet/mocaconfiguration
Moca.NET Configuration Library
https://github.com/mocanet/mocaconfiguration
dotnet moca nuget
Last synced: about 2 months ago
JSON representation
Moca.NET Configuration Library
- Host: GitHub
- URL: https://github.com/mocanet/mocaconfiguration
- Owner: mocanet
- License: ms-pl
- Created: 2015-11-04T14:32:07.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2022-01-16T10:08:40.000Z (about 3 years ago)
- Last Synced: 2024-10-11T19:23:29.797Z (4 months ago)
- Topics: dotnet, moca, nuget
- Language: JavaScript
- Homepage:
- Size: 1.98 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# MocaConfiguration
[![NuGet](https://img.shields.io/nuget/v/Moca.NETConfiguration.svg)](https://www.nuget.org/packages/Moca.NETConfiguration/)
[![NuGet Pre Release](https://img.shields.io/nuget/vpre/Moca.NETConfiguration.svg)](https://www.nuget.org/packages/Moca.NETConfiguration/)
[![NuGet](https://img.shields.io/nuget/dt/Moca.NETConfiguration.svg)](https://www.nuget.org/packages/Moca.NETConfiguration/)
[![license](https://img.shields.io/badge/License-MS--PL-blue.svg)](https://opensource.org/licenses/MS-PL)## Overview
Configuration file Section Protection.## Support for multiple frameworks
### Microsoft .NET Framework
* 2.0
* 3.5
* 4.0
* 4.5
* 4.5.2
* 4.6
* 4.6.2
* 4.7
* 4.7.2
* 4.8## How to get
URL:https://www.nuget.org/packages/Moca.NETConfiguration/
```
PM> Install-Package Moca.NETConfiguration
```## App.config Section Protection setting
C#:add Assembly property.
```
[Assembly: Moca.Configuration.SectionProtection(Moca.Configuration.ProtectionProviderType.DPAPI, "Section Name")]
```VB:add Assembly property.
```
```Protection Provider Type DPAPI or RSA.
Program Startup execute method.
```
Moca.Configuration.SectionProtector.Protect()
```## Other Libraries
[Moca.NET Organization](https://github.com/mocanet)
## Visual Studio Extensions
* [Moca.NET Template Extension](https://marketplace.visualstudio.com/items?itemName=MiYABiS.MocaNETTemplate30)
* [Moca.NET Snippets Extension](https://marketplace.visualstudio.com/items?itemName=MiYABiS.MocaNETCodeSnippet)## Sample
* Web Form Application
* http://miyabis.github.io/Moca.NET-WebAppDemo/
* https://code.msdn.microsoft.com/vstudio/MocaNET-Framework-Web-0e8d6dd7* Windows Form Application
* http://miyabis.github.io/Moca.NET-WinAppDemo/
* https://code.msdn.microsoft.com/vstudio/MocaNET-Framework-Windows-7174d250## For Development
* Visual Studio 2019
## License
Microsoft Public License (MS-PL)
http://opensource.org/licenses/MS-PL