Month: September 2010

Posted in Asp.Net Uncategorized

Implement Logger in asp.net

First of create LoggingConstant.cs File in that Declare all Pages name as variable without extension. For ex….

Posted in Asp.Net Uncategorized

Windows Users List in Asp.Net c#

using System.Management; namespace ConsoleApplication1 { class Program { static void Main(string[] args) { SelectQuery query = new…

Posted in Asp.Net Uncategorized

create xml file dynamically

try { if (System.Web.HttpContext.Current.Session[“UserId”] != null && System.Web.HttpContext.Current.Session[“EventId”] != null && System.Web.HttpContext.Current.Session[“EventConfiguration”] != null) { Logger.Write(LogType.INFO, ModuleToLog.EventInformation,…