QUESTIONS

Tagged: console

answers  1
views  7.5K
votes  1

[Question] Reading appsettings.json in a .NET Core console application  

I am using .NET Core to build a simple console application. However, I am stuck by not being able to read a few settings from an appsettings.json file. How do I go about doing this? From what I u ...
Apr 08, 2016
Obrad Józef
{ 76.3K - 7911 - 6 }
answers  1  
views  314
votes  1

[Question] How do I get the directory of the executing console application?  

I need to process a bunch of files from a console application. How how do I get the folder of the executing console application so as to locate the files? Tried the following code but to no avail: Ass ...
Apr 08, 2016
Sudarshan Singh
{ 92 - 1 - 0 }
2  posts
You may also like
When to use 'ref' and 'out' keywords - specifically with strings?
Visual Studio 2015 F10 Debugger key not working
Horizontally centering a <div> inside another <div>
How to Encrypt and Decrypt a string in C#
Server Side Rendering in JavaScript?
Curlybrackets Software
The source code for Curlybrackets (C#/.NET/SQL Server) is available for purchase here. Start your own Q+A site now!

Easily create custom post types: messages, ideas, questions, tickets, whatever.

The Software Pack is a great place to start your corporate Q+A customer support site.