Here is a small console application that will read any URL, and return back the source code for that page, in this example, we are fetching the source code from coding horror. Let’s get started with some shell commands
Let’s go ahead and save this class but let’s create a directory first
Now save your class inside SourceCodeProject with the following name
Now create a namespace, give it a class name then compile with the following commands
For this example we used coding horrors page to query the DOM.
I always had a passion for the field of STEM (Science, Technology, Engineering, and Math) and I knew I wanted to do something to make a difference in the world. I just didn’t know where to start. I was an immigrant in a new country, grew up in a tough environment, and wasn’t sure how… Read More