Problem : I was doing a project, I runned 1 time and it was fine, I runned the second time […]
.Net DizzyCoding
How does your company deploy its software?
Problem : I am currently on a short research project. The company I work at has a very heavy release […]
iTextSharp Can not Convert All HTML to PDF
Problem : Using the sample codes from here I come up with these codes – var my_html = this.GetmyReportHtml(); var […]
System.IO.IOException: “The file exists” when using System.IO.Path.GetTempFileName() – resolutions?
Problem : One of my customers got an exception whenever he tried to use my product. I obtained the callstack […]
How to use the repository pattern correctly?
Problem : I am wondering how should I be grouping my repositories? Like from the examples I seen on the […]
Make Entity Framework be case-insensitive
Problem : Is it possible to set entity framework string comparison case insensitive by default? If I use string.StartsWith(“stringToCompare”, StringComparison.CurrentCultureIgnoreCase) […]
Capture coloured console output into WPF application
Problem : Similar to this question, except the console program being wrapped up in the WPF application produces coloured output, […]
Type.Missing
Problem : Type.Missing Solution : Excel.XlSaveConflictResolution.xlLocalSessionChanges Type.Missing Type.Missing);
Lightspeed vs NHibernate
Problem : What is the experience with LightSpeed? The comparison provided by Mindscape doesn’t say too much about NHibernate. Lightspeed […]
How to parse string to decimal with currency symbol?
Problem : I have no idea why this is not working: string s = “12,00 €”; var germanCulture = CultureInfo.CreateSpecificCulture(“de-DE”); […]