In this post we will setup Fiddler as a local proxy for a .net app, it is simple, yet very handy for debugging.
In this example we have a Non-Blocking Sockets Server with Tasks using C#
In this example we have a Non-Blocking Socket Server with IAsyncResult using C#
In this example we have a C# Blocking Sockets Server code example
In this example we will integrate with the Rackspace Cloud Server API using C#. The Rackspace Request class handles the HTTP GET and POST process. You just tell it which REST end point you can to call. It then returns a object of type dynamic.
In this example we will Authenicate with the Rackspace API, by making a Http Request in which you set the User and Key values for API access. The response will include the both the Server Management Url and the Auth Token in it headers. The Auth Token is valid for 24 hours.
In this example we will convert a JSON String to ExpandoObject. Start with an extension method that takes the json string value and converts it into a IDictionary. Then we use an extension method which processes each key value pair into the Expando Object.
This example contains an open source DNS Lookup library and an example of using it to look up Txt Records.
In this example we will get the DNS server address that is configured on your local network adapter. Start by getting all the Network Interfaces, loop over them to find one which has an OperationalStatus of Up, then get the IPInterfaceProperties of the active NetworkInterface, then get the DNS Addresses from the IPInterfaceProperties and then return the first value.