With the debug setting gone in the web.config, what setting turns on and off debug and what is the equivalent (if any) for the following in .Net 5 (MVC 6 project)?
#define DEBUG
// ...
#if DEBUG
Console.WriteLine("Debug version");
#endif
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With