So... What do you use linqpad for?
So, I discovered linqpad a few days ago and have been using it for it's ability to quickly test my LINQ statements and see real results quickly. But I was just wondering, what else can you use linqpad for that VS and a test project wouldn't be able to handle? Or is it just that linqpad doesn't require the setup of a project to use it as a scratchpad that makes it so awesome?
Thanks!
Thanks!
Comments
I've also used it to test LINQ queries against WCF data services, both for SQL and Oracle. The fact that you can also reference your own assemblies allows you to use 3rd party libraries and even your own libraries and be able to debug into them.... and as you pointed out, all without having to set up a Visual Studio project. Another handy use has been for running management 'scripts' which do anything from cleaning up files to populating sample data. You can create unit tests and move those into your test projects as well.
You'll find over time you'll probably find a very clever use for it, I keep finding new things from time to time.
My other favorite feature is .Dump() [and overloads] and sibling methods like DumpLive(). Being able to visualize the data - and export that to Word/Excel is huge not only for my understanding but being able to share it with other team members to help out. LINQPad makes it trivial to transform or shape that data to help them out as well.
There is much, much more I love about LINQPad - I have been using it almost daily for over five years. There is just soo little friction to prototype ideas and experiment. I absolutely love it.