The Lounge is rated Safe For Work. If you're about to post something inappropriate for a shared office environment, then don't post it. No ads, no abuse, and no programming questions. Trolling, (political, climate, religious or whatever) will result in your account being removed.
I usually include a console app in my solutions called "TestHarness". That way, I can test right there in the same solution, and use all the assemblies referenced therein.
For casual stuff not directly associated with a project and that doesn't need a GUI, I use a console app.
".45 ACP - because shooting twice is just silly" - JSOP, 2010 ----- You can never have too much ammo - unless you're swimming, or on fire. - JSOP, 2010 ----- When you pry the gun from my cold dead hands, be careful - the barrel will be very hot. - JSOP, 2013
When I got here, they were developing a web service API for various things. Their strategy was to deploy to test, and hit the web service, then retrieve logs from the test server and plow through them looking for errors, and/or review the results in the app that worked those kinds of data (for saving methods).
Invariably, the logging wouldn't be sufficient for some problem, so they'd add more, re-deploy, etc, etc. Of course, since "branching is too hard," this also means that potentially broken code is checked in, so it could be deployed to test.
These web services were part of a webapp solution. So, I put a 'Test' area in there, and built some views to let them pick the API method they wanted to run, displaying some inputs appropriate to that method, and throwing the results up on the screen. Allowed me to debug the code in VS instead of having to read logs, and test locally.
These guys looked at me as if I was from the moon. Sigh.
VS Code is really useful, especially without any of the addins. I use it as an editor for C/C++, C#, Java, Javscript, PHP and Python. I use simple batch files in the terminal Window of VS Code to build and run the samples.
yeha <3 LINQPad, we got the Premium License. isnt that expensive compared to other tools or 3rd party components. And realy usefull..
I use it kinda every day, trying some simple stuff I'm not 100% sure how it works, testing some new things without creating that usual console application and .Dump() to view anything on the fly