In the server side world there are no cross domain restrictions.
This class shows how to log to the same remote server so you can consolidate logs from server side and client side.
This sample does not require any dll references. It has been simplified so you can just copy paste.
For a more powerfull implementation see: xSolon.Instructions.DTO.
// ---------------------- // RemoteLogger.Sample - Program.cs // administrator - 4/10/2013 // ---------------------- using System; using System.Linq; using Sample; static class Program { static void Main() { var logger = new RemoteLogger() { ServiceUrl = "http://localhost:3490/slog.ashx" }; logger.Commit(new LogEntry("Method", "Message", 20)); // ------------------------------------------------------------------------ var logEntry = new LogEntry("Method", "Message", 20) { Categories = "Category1|Cat2".Split('|').ToList(), Level = 100, Time = new DateTime().ToLocalTime(), LoggedBy = "Logger" }; logEntry.Props.Add("Prop1", new string[] { "1", "2" }); logEntry.Props.Add("DomainKey", "Sample"); logger.Commit(logEntry); } }