Interesting method to display a progress bar on first page loading

11. September 2008
http://encosia.com/2008/02/05/boost-aspnet-performance-with-deferred-content-loading/

Asp.net, C# sample code ,

A shortcut to build a web proxy

31. July 2008
For reusing :  public static WebProxy BuildProxy(string proxyServer, int proxyPort, string login, string password, string commaSeparatedProxyExclusions) {     WebProxy proxy = new WebProxy(proxyServer, proxyPort);     if (!String.IsNullOrEmpty(login))     {         NetworkCredential proxyCredential = new NetworkCredential(login, password);         CredentialCa... [More]

C# sample code

.NET StockTrader Sample Application

29. July 2008
Part of the Microsoft resume : This application is an end-to-end sample application for .NET Enterprise Application Server technologies. .NET StockTrader 2.0 composite Web application and middle tier services. New modes for Advanced Web Service (WS-*) message-level security and interoperability with a variety of non-Microsoft platforms via the SOA architecture. Configuration Service 2.0 with technical guides and samples. Capacity planning tool for running multi-agent benchmarks a... [More]

.NET Projects, Architecture, C# sample code, Web Services , , ,

How to read an event log

3. January 2007
Sample console application that read the content of an event log… ——– using System; using System.Collections.Generic; using System.Text; using System.Diagnostics; namespace EventLogReader{   public class Program {     static void Main (string[] args){       EventLog logger=new EventLog("Application");  &n... [More]

C# sample code

Export a DataTable to CSV format (Excel compatible)

18. December 2006
You can use ExportDataTable method to export a generic datatable content to a CSV format. The following sample is used in ASP.NET context to export the result of a gridview. This code-sample should be place in the handler method of a click button event. protected void LinkButtonExportAsExcel_Click(object sender, EventArgs e) { try { DataView dataView = (DataView)Cache["DataSource"]; if (dataView == null) dataView = GetDataView(); char[] bufferedExport = ExportDataTab... [More]

C# sample code, Office ,