No announcements
Found 2911234 threads
-
0 Votes
Reading appsettings.json from controllers
/Config/appsettings.json.Answered | 7 Replies | 501 Views | Created by Anonymous - Friday, July 6, 2018 2:23 PM | Last reply by Anonymous - Wednesday, July 11, 2018 11:31 AM -
0 Votes
reading properties list from a control
You can use object.GetType().GetProperty("Padding", BindingFlags.Public | BindingFlags.Instance) and see if you get anything back from that.Answered | 2 Replies | 3679 Views | Created by marck68 - Wednesday, September 17, 2008 8:01 AM | Last reply by תומר שמם - Thursday, September 18, 2008 9:18 PM -
0 Votes
How to dynamically read connection string from appsettings.json
User1512245536 posted I think the problem isn't in reading the connection string from the config file.Unanswered | 4 Replies | 1018 Views | Created by Anonymous - Sunday, October 1, 2017 12:32 AM | Last reply by Anonymous - Monday, October 2, 2017 9:13 AM -
0 Votes
Read appsettings.json from Class Library
While having every component be able to read a config file, makes it easy at the start, making changes to how the config settings are stored becomes a nightmare.Answered | 2 Replies | 134 Views | Created by Anonymous - Sunday, April 23, 2017 2:41 AM | Last reply by Anonymous - Sunday, April 23, 2017 3:03 AM -
0 Votes
Updating the appsettings.json from a .Net Core controller
User954727294 posted I'm trying to update the appsettings.json from a configuration controller and can't seem to find a sample or post relating to ...Unanswered | 1 Replies | 279 Views | Created by Anonymous - Wednesday, June 7, 2017 3:09 PM | Last reply by Anonymous - Wednesday, June 7, 2017 4:08 PM -
1 Votes
Addressing and reading a control on a form from a module
You can try to change the declaration of frmMain to: Public NotInheritable Class frmMain Doing this will allow you to reference the form and its controls ...Answered | 13 Replies | 2642 Views | Created by Sansevieria - Monday, May 7, 2012 9:10 PM | Last reply by F0r3v3r-A-N00b - Wednesday, May 9, 2012 2:17 AM -
0 Votes
Keep appsettings.json in Version Control or not.
Normally, it is not recommended to keep passwords or secrets etc sensitive information in source control, even if it's a private repository.Unanswered | 4 Replies | 292 Views | Created by Anonymous - Saturday, September 21, 2019 7:58 AM | Last reply by Anonymous - Monday, September 23, 2019 2:20 AM -
0 Votes
Reading and Changing Text From Control Panel Settings
What I want to do is to create an application that when run will first look at a specific group of network settings in control panel and will tell me what they're set to; either my ...Answered | 3 Replies | 1440 Views | Created by Brodie Roberts - Friday, October 3, 2014 6:55 AM | Last reply by Amanda Zhu - Monday, October 6, 2014 8:14 AM -
0 Votes
can we update appsettings.json in controller
User-1764593085 posted Hi pmdrait, For a workaround, you will need to implement your own method to save the changes back to appSettings.json.Unanswered | 1 Replies | 663 Views | Created by Anonymous - Wednesday, October 31, 2018 12:52 PM | Last reply by Anonymous - Thursday, November 1, 2018 3:24 AM -
0 Votes
Logger to log from appsettings.json
User-854763662 posted Hi Uday Mahajan , ASP.NET Core defines the following log levels, ordered here from lowest to highest severity.Unanswered | 1 Replies | 270 Views | Created by Anonymous - Monday, June 3, 2019 3:25 PM | Last reply by Anonymous - Tuesday, June 4, 2019 6:53 AM -
0 Votes
Reading app settings from appsettings.json and logging data out
/Config/appsettings.json.Answered | 2 Replies | 63 Views | Created by Anonymous - Tuesday, July 10, 2018 8:30 AM | Last reply by Anonymous - Wednesday, July 11, 2018 11:30 AM -
0 Votes
appsettings.json
User711641945 posted Hi Buronya Kofi, You could set the ConnectionString(What I marked as green could be changed by yourself ) in the appsettings.json ...Answered | 4 Replies | 83 Views | Created by Anonymous - Saturday, July 11, 2020 3:32 PM | Last reply by Anonymous - Monday, July 13, 2020 1:36 PM -
0 Votes
How to read appsetting from azure instead of reading from appsettings.json ?
But, I could not read settings from there when I run the project at production mode using ASPNETCORE_ENVIRONMENT=Production.Unanswered | 1 Replies | 342 Views | Created by Ceakn - Monday, March 12, 2018 11:31 AM | Last reply by Bryan Trach - MSFT - Tuesday, May 22, 2018 9:01 PM -
0 Votes
IIS Administration appsettings.json permissions
User-460007017 posted Hi jonnieallen, The iis-administration/configuration/appsettings.json is the .net core API for IIS configuration.Unanswered | 2 Replies | 338 Views | Created by Anonymous - Sunday, March 18, 2018 10:45 PM | Last reply by Anonymous - Monday, March 19, 2018 6:54 PM -
0 Votes
Reading files from STSUpld.UploadCtl sharepoint control
In this moment, I'm trying to implement the STSpld.UploadCtl control inside the usercontrol...Answered | 2 Replies | 5719 Views | Created by Dhanalakshmi maguluru - Wednesday, June 27, 2012 4:49 AM | Last reply by Aviw_ - Friday, July 20, 2012 2:55 PM -
0 Votes
How to update appsettings.json?
User283571144 posted Hi kamit123, In my opinion, you could also try to store the setting in azure storage, then change the code to read the setting ...Unanswered | 5 Replies | 541 Views | Created by Anonymous - Saturday, January 20, 2018 7:33 PM | Last reply by Anonymous - Monday, January 22, 2018 3:23 AM -
0 Votes
Reading data from appsettings.json file from a class libary?
You have it wired up in a controller, requiring the controller to pull the value and pass it down the stack.Unanswered | 11 Replies | 602 Views | Created by Anonymous - Thursday, February 4, 2016 8:38 PM | Last reply by Anonymous - Monday, February 8, 2016 1:58 PM -
0 Votes
Making a Form's Control Read only????
You can loop through the this.Controls and make them read only ex: foreach (Control ctrl in this.Controls) ...Answered | 2 Replies | 2602 Views | Created by abhi0410 - Tuesday, July 28, 2009 5:20 AM | Last reply by _SuDhiR_ - Tuesday, July 28, 2009 6:05 AM -
0 Votes
Azure ASP.NET Core 2.1 app does not read appsettings.json (It is deployed with VSTS)
I have deployed one ASP.NET Core 2.1 app from VSTS with "Azure App Service Deploy" version 4.Proposed | 1 Replies | 337 Views | Created by Stanley Qian2 - Wednesday, October 17, 2018 2:16 AM | Last reply by ghostinthewires - Wednesday, October 17, 2018 9:37 AM -
0 Votes
Reading bytes of a large file from file upload control into byte array
Hello All I have a ASP.NET file uploader control.Answered | 2 Replies | 1470 Views | Created by Sudhie S - Friday, August 7, 2015 4:44 AM | Last reply by Christopher84 - Friday, August 7, 2015 12:59 PM - Items 1 to 20 of 2911234 Next ›
No announcements