Click here to Skip to main content
15,888,351 members
Home / Discussions / Design and Architecture
   

Design and Architecture

 
AnswerRe: How to Desing an Extensibile Application Pin
Eddy Vluggen26-Aug-09 9:44
professionalEddy Vluggen26-Aug-09 9:44 
GeneralGeneric Report Filter Screen Pin
Brady Kelly25-Aug-09 9:41
Brady Kelly25-Aug-09 9:41 
GeneralRe: Generic Report Filter Screen Pin
Mycroft Holmes6-Sep-09 16:36
professionalMycroft Holmes6-Sep-09 16:36 
QuestionUML dependency and association Pin
pierpaolo paparo24-Aug-09 3:26
pierpaolo paparo24-Aug-09 3:26 
QuestionDesign auto-XLS editor? Pin
cdietschrun17-Aug-09 5:09
cdietschrun17-Aug-09 5:09 
QuestionRefactoring tools Pin
Chiman115-Aug-09 10:51
Chiman115-Aug-09 10:51 
QuestionDesign mp3 decoder using FPGA (VHDL) Pin
denn1014-Aug-09 8:02
denn1014-Aug-09 8:02 
QuestionExtracting Specific Data From XmlLogEntry Object Problem Pin
malak nour8-Aug-09 1:27
malak nour8-Aug-09 1:27 
hello everybody ,
i really need ur help if you deal with a Enterprise Library Logging Application Block before

im trying to extract specific data from the log entery i use XmlLogEntry class and the output into xml file i tried to read from the xml file and it raise error that this xml is being used by another application and i dont know how to extract specifi data from that object i tried to use XML property but it also gave error i need to put Node every time the log works in another xml file becuase you know the output xml form the logging application block is invalid xml formate


public void LogFirstFOrmatter(Exception ex,int ex_priority,string title, TraceEventType type,string errormsg,int eventID)
{
XmlLogEntry myxmlLog = new XmlLogEntry();
myxmlLog.Severity = type;
myxmlLog.AddErrorMessage(errormsg);
myxmlLog.EventId = eventID;
myxmlLog.Message = ex.ToString();
myxmlLog.Priority = ex_priority;
myxmlLog.Title = title;
Logger.Write(myxmlLog);
LoadLogFile("MyLog");
}
public XDocument LoadLogFile(string name)
{
XDocument doc = new XDocument();
var tmpLog = Path.Combine(ConfigurationManager.AppSettings.Get("Path"),name);
tmpLog += ".xml";
var fileContent = string.Empty;
using (StreamReader reader = new StreamReader(tmpLog))
{
fileContent = reader.ReadToEnd();
}
doc = XDocument.Parse(fileContent);
return doc;
}
AnswerRe: Extracting Specific Data From XmlLogEntry Object Problem Pin
Muhammad Mazhar8-Aug-09 3:39
Muhammad Mazhar8-Aug-09 3:39 
QuestionI2C communication Pin
shakils4-Aug-09 20:38
shakils4-Aug-09 20:38 
QuestionDDD vs CSLA.NET Pin
Brendan Vogt3-Aug-09 3:07
Brendan Vogt3-Aug-09 3:07 
AnswerRe: DDD vs CSLA.NET Pin
Curtis Schlak.11-Aug-09 16:31
Curtis Schlak.11-Aug-09 16:31 
QuestionRe: DDD vs CSLA.NET Pin
Brendan Vogt11-Aug-09 21:12
Brendan Vogt11-Aug-09 21:12 
AnswerRe: DDD vs CSLA.NET Pin
Pete O'Hanlon11-Aug-09 23:20
mvePete O'Hanlon11-Aug-09 23:20 
AnswerRe: DDD vs CSLA.NET Pin
Curtis Schlak.14-Aug-09 11:13
Curtis Schlak.14-Aug-09 11:13 
QuestionCPU and RAM Benchmark Pin
bibincherianv30-Jul-09 18:49
bibincherianv30-Jul-09 18:49 
Questionthree-tier architecture, provider model design pattern and strongly-typed dataset Pin
pierpaolo paparo29-Jul-09 7:56
pierpaolo paparo29-Jul-09 7:56 
QuestionIs two-tier a reason to use stored procedure rather than OOD? Pin
calendarw27-Jul-09 16:18
calendarw27-Jul-09 16:18 
AnswerRe: Is two-tier a reason to use stored procedure rather than OOD? Pin
Robin_Roy27-Jul-09 16:50
Robin_Roy27-Jul-09 16:50 
AnswerRe: Is two-tier a reason to use stored procedure rather than OOD? Pin
Mycroft Holmes3-Aug-09 3:56
professionalMycroft Holmes3-Aug-09 3:56 
GeneralRe: Is two-tier a reason to use stored procedure rather than OOD? Pin
Adam Jasper12-Aug-09 6:53
Adam Jasper12-Aug-09 6:53 
GeneralRe: Is two-tier a reason to use stored procedure rather than OOD? Pin
Robin_Roy26-Aug-09 21:39
Robin_Roy26-Aug-09 21:39 
QuestionDesign question about win forms app with many data to input Pin
Megidolaon24-Jul-09 11:45
Megidolaon24-Jul-09 11:45 
AnswerRe: Design question about win forms app with many data to input Pin
Robin_Roy26-Jul-09 17:44
Robin_Roy26-Jul-09 17:44 
AnswerRe: Design question about win forms app with many data to input Pin
Mycroft Holmes26-Jul-09 19:04
professionalMycroft Holmes26-Jul-09 19:04 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.