Gunnar Peipman's ASP.NET blog

ASP.NET, C#, SharePoint, SQL Server and general software development topics.

Sponsors

News

 
 
 
 
 
DZone MVB

Links

Social

Browse by Tags

All Tags » C# (RSS)
Importing issues from Jira to database using C#
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...
Stream.CopyTo() extension method
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...
Posted: Dec 28 2010, 03:24 AM by DigiMortal | with 11 comment(s)
Filed under: ,
Writing object to object mapper: my mapper vs AutoMapper
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...
Writing object to object mapper: moving to generics
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...
Writing object to object mapper: first implementations
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...
Performance: Using LCG to copy property values of two objects
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...
Performance: Using dynamic code to copy property values of two objects
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...
Using LINQ and reflection to find matching properties of objects
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...
Posted: Dec 26 2009, 01:25 PM by DigiMortal | with 19 comment(s)
Filed under: , ,
.Net Framework 4.0: Enumerating file system objects
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...
Posted: Oct 27 2009, 12:14 PM by DigiMortal | with 14 comment(s)
Filed under: ,
.Net Framework 4.0: System.IO.File supports now IEnumerable<string>
.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...
Posted: Oct 26 2009, 05:05 AM by DigiMortal | with 16 comment(s)
Filed under: , ,
More Posts Next page »