Randoom a Michael Friis production

Posts Tagged C#

.Net/Firefox Screen Scraping

Need to scrape a website? I have two links for you:
Solvent from the MIT SIMILI project. In combination with Piggy Bank it’s a scraper on it’s own, but I only use for its superb XPath generator. Just activate the sprayer and click on an element you want and Solvent will generate an intelligent XPath expression [...]


Posted
1 August 2007 @ 12pm

Tagged
C#, LINQ

Concise code

Yesterday when porting LinqtoCRM to VS 2008 Beta 2, I had to get an array of the types of the properties of some generic type. This array would be passed to Type.GetConstructor(). I had an array of PropertyInfos which contain the type of the property, and I could have new’ed up an array and looped [...]


After →