Browse by Tags
All Tags »
C# (
RSS)
I am evaluating hosted Jira Studio and it likes me more and more when I’m using it. As hosted service is not in our premises and contains important information about our work I was asked to find out if there’s a way how to read data from Jira Studio and...
In one of my applications I needed copy data from one stream to another. After playing with streams a little bit I wrote CopyTo() extension method to Stream class you can use to copy the contents of current stream to target stream. Here is my extension...
As my object to object mapper is now almost completed and I am sure it is good idea to stay on LCG (Lightweight Code Generation) I can now compare the performance of my mapper to AutoMapper . NB! If you are building applications that will run on public...
In my previous posting about object to object mapping Writing object to object mapper: first implementations I wrote first and simple implementations of mapper. These implementations based heavily on reflection. In this posting I will boost up mapper...
I wrote some object to object mapping code and introduced it in some of my previous postings about performance. As I received 22x performance raise when trying out different mapping methods and it is now time to make my code nice. In this posting I will...
Today I gave last performance boost to my property values copying mechanism . I would like to thank my readers Ron and David to remind me Lightweight Code Generation (LCG) and pointing me out aussie bloke blog entry Generic copy object using Lightweight...
Last year I wrote short posting about how to use LINQ to find matching properties of two objects . In this posting I will show you how to copy values from one object to another and how to boost up performance so you can use this strategy also on in servers...
As a side product of some experiments I wrote simple LINQ query that matches properties of two objects and returns these properties as list. The code I wrote is pretty simple and I packed it for you as method. C# public IList < PropertyInfo > GetMatchingProperties...
In my last posting I introduced new ReadLines() method and new overloads for WriteAllLines() method of File class . But there are more new stuff in System.IO namespace . In .Net Framework 4.0 Directory and DirectoryInfo class are able to enumerate files...
.Net Framework 4.0 adds also some new and cool features to file system objects. File class has now ReadLines() methods that returns IEnumerable<string>. WriteAllLines() methods has two overload methods that accept IEnumerable<string> instead...
More Posts
Next page »