Skip to content

Commit fd3dda7

Browse files
StephenMolloyHongGit
authored andcommitted
1.0 preview2 (#3)
* Updating NuGet icons. * Use HtmlEncode in sample. * Doc nits.
1 parent c52650a commit fd3dda7

7 files changed

Lines changed: 10 additions & 5 deletions

File tree

CONTRIBUTING.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,10 @@
33
One of the easiest ways to contribute is to participate in discussions and discuss issues. You can also contribute by submitting pull requests with code changes.
44

55
## General feedback and discussions?
6-
Please start a discussion on the [Home repo issue tracker](https://github.com/aspnet/MicrosoftConfigurationBuilders/issues).
6+
Please start a discussion on the [ConfigurationBuilders repo issue tracker](https://github.com/aspnet/MicrosoftConfigurationBuilders/issues).
77

88
## Bugs and feature requests?
9-
For non-security related bugs please log a new issue on the [Home repo issue tracker](https://github.com/aspnet/MicrosoftConfigurationBuilders/issues).
9+
For non-security related bugs please log a new issue on the [ConfigurationBuilders repo issue tracker](https://github.com/aspnet/MicrosoftConfigurationBuilders/issues).
1010

1111
## Reporting security issues and bugs
1212
Security issues and bugs should be reported privately, via email, to the Microsoft Security Response Center (MSRC) [email protected]. You should receive a response within 24 hours. If for some reason you do not, please follow up via email to ensure we received your original message. Further information, including the MSRC PGP key, can be found in the [Security TechCenter](https://technet.microsoft.com/en-us/security/ff852094.aspx).

samples/SampleWebApp/default.aspx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,19 +6,19 @@
66
void Page_Load() {
77
Response.Write("<table border=1><tr><th colspan=2><h2>Application Settings</h2></th></tr>");
88
foreach (string appsetting in WebConfigurationManager.AppSettings.Keys) {
9-
Response.Write("<tr><td>" + appsetting + "</td><td>" + WebConfigurationManager.AppSettings[appsetting] + "</td></tr>");
9+
Response.Write("<tr><td>" + HttpUtility.HtmlEncode(appsetting) + "</td><td>" + HttpUtility.HtmlEncode(WebConfigurationManager.AppSettings[appsetting]) + "</td></tr>");
1010
}
1111
Response.Write("</table><br/><br/>");
1212
1313
Response.Write("<table border=1><tr><th colspan=2><h2>Connection Strings</h2></th></tr>");
1414
foreach (ConnectionStringSettings cs in WebConfigurationManager.ConnectionStrings) {
15-
Response.Write("<tr><td>" + cs.Name + "</td><td>" + cs.ConnectionString + "</td></tr>");
15+
Response.Write("<tr><td>" + HttpUtility.HtmlEncode(cs.Name) + "</td><td>" + HttpUtility.HtmlEncode(cs.ConnectionString) + "</td></tr>");
1616
}
1717
Response.Write("</table><br/><br/>");
1818
1919
Response.Write("<table border=1><tr><th colspan=2><h2>Environment Variables</h2></th></tr>");
2020
foreach (DictionaryEntry ev in System.Environment.GetEnvironmentVariables()) {
21-
Response.Write("<tr><td>" + ev.Key + "</td><td>" + ev.Value + "</td></tr>");
21+
Response.Write("<tr><td>" + HttpUtility.HtmlEncode(ev.Key) + "</td><td>" + HttpUtility.HtmlEncode(ev.Value) + "</td></tr>");
2222
}
2323
Response.Write("</table><br/><br/>");
2424
}

src/packages/ConfigurationBuilders.Azure.nupkg/Microsoft.Configuration.ConfigurationBuilders.Azure.nuspec

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
<summary>A set of Configuration Builders for the .Net Desktop Framework that draw from Azure resources.</summary>
1212
<language>en-US</language>
1313
<projectUrl>https://github.com/aspnet/MicrosoftConfigurationBuilders</projectUrl>
14+
<iconUrl>http://go.microsoft.com/fwlink/?LinkID=288859</iconUrl>
1415
<licenseUrl>http://www.microsoft.com/web/webpi/eula/net_library_eula_ENU.htm</licenseUrl>
1516
<requireLicenseAcceptance>true</requireLicenseAcceptance>
1617
<tags>Microsoft Configuration Builders Azure</tags>

src/packages/ConfigurationBuilders.Base.nupkg/Microsoft.Configuration.ConfigurationBuilders.Base.nuspec

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
<summary>A base framework for simple key/value Configuration Builders for the .Net Desktop Framework.</summary>
1212
<language>en-US</language>
1313
<projectUrl>https://github.com/aspnet/MicrosoftConfigurationBuilders</projectUrl>
14+
<iconUrl>http://go.microsoft.com/fwlink/?LinkID=288859</iconUrl>
1415
<licenseUrl>http://www.microsoft.com/web/webpi/eula/net_library_eula_ENU.htm</licenseUrl>
1516
<requireLicenseAcceptance>true</requireLicenseAcceptance>
1617
<tags>Microsoft Configuration Builders</tags>

src/packages/ConfigurationBuilders.Environment.nupkg/Microsoft.Configuration.ConfigurationBuilders.Environment.nuspec

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
<summary>A simple key/value Configuration Builder for the .Net Desktop Framework that draws from environment variables.</summary>
1212
<language>en-US</language>
1313
<projectUrl>https://github.com/aspnet/MicrosoftConfigurationBuilders</projectUrl>
14+
<iconUrl>http://go.microsoft.com/fwlink/?LinkID=288859</iconUrl>
1415
<licenseUrl>http://www.microsoft.com/web/webpi/eula/net_library_eula_ENU.htm</licenseUrl>
1516
<requireLicenseAcceptance>true</requireLicenseAcceptance>
1617
<tags>Microsoft Configuration Builders - Environment</tags>

src/packages/ConfigurationBuilders.Json.nupkg/Microsoft.Configuration.ConfigurationBuilders.Json.nuspec

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
<summary>A simple key/value Configuration Builder for the .Net Desktop Framework that draws from a json file.</summary>
1212
<language>en-US</language>
1313
<projectUrl>https://github.com/aspnet/MicrosoftConfigurationBuilders</projectUrl>
14+
<iconUrl>http://go.microsoft.com/fwlink/?LinkID=288859</iconUrl>
1415
<licenseUrl>http://www.microsoft.com/web/webpi/eula/net_library_eula_ENU.htm</licenseUrl>
1516
<requireLicenseAcceptance>true</requireLicenseAcceptance>
1617
<tags>Microsoft Configuration Builders Json</tags>

src/packages/ConfigurationBuilders.UserSecrets.nupkg/Microsoft.Configuration.ConfigurationBuilders.UserSecrets.nuspec

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
<summary>A simple key/value Configuration Builder for the .Net Desktop Framework that draws from a a 'secrets' file outside of source control.</summary>
1212
<language>en-US</language>
1313
<projectUrl>https://github.com/aspnet/MicrosoftConfigurationBuilders</projectUrl>
14+
<iconUrl>http://go.microsoft.com/fwlink/?LinkID=288859</iconUrl>
1415
<licenseUrl>http://www.microsoft.com/web/webpi/eula/net_library_eula_ENU.htm</licenseUrl>
1516
<requireLicenseAcceptance>true</requireLicenseAcceptance>
1617
<tags>Microsoft Configuration Builders</tags>

0 commit comments

Comments
 (0)