Cryy
.NET tool/library for communication/network logging
Hye guys, I was asked to do some "research" to find some fancy/cool way to logging communication between our application and webservices, external services, stuff like that. Original idea was just log requests/responses, some data to database but It turned out not to be ideal. Is there some standard way how to achieve that, maybe some third party library u use in your projects ? I'd really appreciate some input/advice. Thank you 🙂
15 replies
❔ Docx behave differently after being rezipped
Hi,
I'm trying to convert docx file -> PDF by using some library but there is an weird issue. Final PDF is generated without one picture in footer that is present in original docx file.
But, it works correctly of I do one of these things:
1) open docx and than save it (save as) again, so new file works
2) unzip and than zip docx file to the new file by using
System.IO.Compression.ZipFile
.
In first case I can see some differences in docx unzipped xmls but in second case everything seems to be the same so I really dont understand why that make a difference.
Any idea why is that happening ?
Thanks2 replies
❔ Tabs in GemBox.Document
Hey guys, I'm "migrating" from Syncfusion to Gembox.Document and everything works fine but I have some issue with creating footer.
Our previous code for syncfusion created footer using Tabs like this:
but i dont know how to recreate this using GemBox. I'm trying it using
Run
instances but I dont how how to add SpecialCharacter to it so it does not looks like it should. Any experience with that ?
Thank you2 replies
❔ Log4Net stopped works
Hey guys, any experience with log4net ? It stopped logging to DB from version 2.0.14. I tried previous version and it works fine but after update to 2.0.14 it does log nothing to DB (works for file though). After rollback everything is ok. Any idea why ?
3 replies
❔ Free .NET library to convert Word/Excel files to PDF
Hey guys, is there any free library to convert Word/Excel files to PDF available ? Currently we are using Synfusion libraries but we are looking for something inexpensive or even free. Any ideas ? 🙂
Thanks
15 replies
❔ Sort dictionary according to the list of string (sorted keys)
Hey guys, I have a list od strings in specific order and dictionary with keys that each of keys is one of the string from the list. Is there any effective way to sort the dictionary according to the list of strings ? Thank
5 replies
Creating DataTable columns dynamically - C
Hey guys,
currently I have an implementation of jQuery DataTables that wont allow to add columns dynamically. Now I need that fhe option to generate columns based of result of Linq query (database query result) but I'm not sure how to implement repositoy method for that. It's a good idea to put these dynamic columns into Expando object ?
Thanks
1 replies
Parsing string to TimeSpan
Hey guys, I'm trying to parse some string to TimeSpan . Input string is "01:02:01" and I'm trying it to parse to TimeSpan structure like this
TimeSpan.ParseExact(inputString, "dd:hh:mm", CultureInfo.InvariantCulture)
(expecting days:hours:minutes) but I got "Input string was not in a correct format." exception. What I'm doing wrong ? Thanks18 replies