Using Fiddler as proxy in .NET app.config

In this post we will setup Fiddler as a local proxy for a .net app, it is simple, yet very handy for debugging.

More



Non-Blocking Sockets Server with Tasks

In this example we have a Non-Blocking Sockets Server with Tasks using C#

More



Non-Blocking Sockets Server with IAsyncResult

In this example we have a Non-Blocking Socket Server with IAsyncResult using C#

More



Blocking Sockets Server using C#

In this example we have a C# Blocking Sockets Server code example

More



Rackspace Cloud Servers API using C#

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.

More



How to Authenticate with Rackspace API

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.

More



How to Convert JSON to ExpandoObject

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.

More



How to convert ExpandoObject to JSON

In this example we will convert an ExpandoObject to JSON string using an Extension method. This is done by looping over the key value pairs in the Expando Object and using the JavaScriptSerializer to serialize the value property.

More



Open Source DNS Lookup Library using C#

This example contains an open source DNS Lookup library and an example of using it to look up Txt Records.

More



Get Local DNS Server Address using C#

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.

More



Next