Questions tagged as 'app.config'

0
answers

Should I use create a service of type "Provider" only to verify if the user is logged in?

I have an application that makes use of the ngRoute module. When the url of a restricted page is accessed, I check if the user is logged in and then allow access. But I was replicating this routine in various parts of my code. So I tho...
asked by 10.08.2016 / 21:26
1
answer

Create key with more than one file and delete all at once

Can I create in the app.config, a key pointing to multiple directories and in the code pointing to that key and deleting all directories at once? Each directory should be separated by ";"? Like this: <add key="Dir_BD" value="C:\Teste_Zip\De...
asked by 01.03.2016 / 23:13
2
answers

CHANGING AND READING DIRECTORIES IN C #

I'm developing a C # project, which uses python scripts as the engine (I did not use IronPython because of its limitations, I work with pandas), what I do is simply execute the script through a PROCESS in C #, passing the python.exe directory an...
asked by 13.09.2018 / 17:44