Running from a Command Prompt
As you saw from Figure B.1 there is a bin directory included with the example download. This bin directory contains compiled EXE files for all of the recipes in this book. To run a example from a command prompt, first open a command prompt. Next move to the bin directory of the HTTP recipes download. If you installed the examples to c:\ the following command would move you to the correct directory.
C: cd \CSharpHTTPRecipes\bin
Once you are in the correct directory you can run any of the recipes by simply typing the name of the recipes. For example, to run Recipe 3.3 execute the following command.
Recipe3_3
Once you run Recipe 3.3 you will see Figure B.2.
Figure B.2: Running an Example from the Command Prompt

Of course some of the recipes will require command line arguments. If the recipe requires command line arguments, they should entered after the command. Perhaps the easiest way to run the examples is from Visual Studio. This is covered in the next section.




