838

Displaying Event Log Entries the ASP.NET Way

The Event Viewer should be familiar to nearly everyone (see picture). In this article I will demonstrate how the list of entries can be emulated very elegantly using ASP.NET and the .NET Framework SDK. As an exercise for the reader… Continue Reading

448

WHOIS queries the .NET way

Querying a dot-com domain To demonstrate the principle of how a WHOIS query works, we use the American registry Network Solutions (compare screen shot): http://www.networksolutions.com/cgi-bin/whois/whois All one has to do is enter the domain name, click Search – and the… Continue Reading

1,693

Copy a table using SQL Server Management Objects

SMO allows you to manage all objects which lives in the Microsoft SQL Server. It allows you to create, drop or alter objects from your .NET application with a API which is really easy to use. Create a identical copy… Continue Reading

196

Use of Expression Trees in .NET for Lambda Decomposition

Expression Trees comes very handy when you want your lambda expression to be evaluated only when the object needs it to be compiled. Generally when we pass an annonymous delegate it builds the entire Expression Tree and C# is capable… Continue Reading