https://github.com/miyabis/webconfigtransform
By converting the "Web. *. Config" and "log4net. *. Config" files according to the configuration at the time of build, copy it to the output folder
https://github.com/miyabis/webconfigtransform
c-sharp nuget vb
Last synced: 2 months ago
JSON representation
By converting the "Web. *. Config" and "log4net. *. Config" files according to the configuration at the time of build, copy it to the output folder
- Host: GitHub
- URL: https://github.com/miyabis/webconfigtransform
- Owner: miyabis
- License: ms-pl
- Created: 2015-09-21T08:05:42.000Z (almost 11 years ago)
- Default Branch: master
- Last Pushed: 2017-01-28T09:24:47.000Z (over 9 years ago)
- Last Synced: 2024-10-11T19:24:32.260Z (over 1 year ago)
- Topics: c-sharp, nuget, vb
- Language: PowerShell
- Homepage:
- Size: 481 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# WebConfigTransform
[](https://ci.appveyor.com/project/miyabis/webconfigtransform)
[](https://www.nuget.org/packages/MiYABiS.WebConfigTransform/)
Web.Config and log4net.config Transform.
In advance, Web.Debug.config, Web.Main.config, Web.Hotfix.config, Web.Release.config,
log4net.Debug.config, log4net.Main.config, log4net.Hotfix.config, log4net.Release.config is available.
log4net.config file will be included in the Web site publish.
How to get
==========
URL:https://www.nuget.org/packages/MiYABiS.WebConfigTransform/
```
PM> Install-Package MiYABiS.WebConfigTransform
```
log4net.config setting
==========
When you use , please install the log4net from nuget.
C#:Properties\WebConfigTransformAssemblyInfo.cs file Please cancel comment.
```
[assembly: log4net.Config.XmlConfigurator(ConfigFile=@"log4net.config", Watch=true)]
```
VB:My Project\WebConfigTransformAssemblyInfo.vb file Please cancel comment.
```
```
Web.config Section Protection setting
==========
When you use , please install the Moca.NETConfiguration from nuget.
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()
```
License
=======
Microsoft Public License (MS-PL)
http://opensource.org/licenses/MS-PL