.NET news » Search results

Search results for query "orm" (111):

Image Resizing - outperform GDI+

This article discusses a little weakness in GDI+ filters and shows a class for top-quality image resizing.
2006-04-03 07:09:00   Source: Image Resizing - outperform GDI+   Tags: Graphics

NTime - Performance unit testing tool

An article on a performance testing tool to test an application against its performance.
2006-03-31 00:11:00   Source: NTime - Performance unit testing tool   Tags: Performance Software

RC Converter 2.0-MFC to Windows Form Resource Converter using C#,VB.NET & C++/CLI

RC Converter by DudeLabs is the first automated solution for converting ATL and MFC resources to Windows Form resources in .NET. It can generate resource code in C#, VB.NET for Visual Studio 2003 and 2005 and in C++/CLI for Visual Studio 2005 only.
2006-03-27 13:10:01   Source: RC Converter 2.0-MFC to Windows Form Resource Converter...   Tags: Software

Performance Quiz #9 : IList List and array speed -- solution

In the test case as given there's a great deal of repeated work extracting the length of the array and accessing the items. This is because of the unusual property that arrays have -- they implement IList for potetially more than one T even due to inheritance. In the interest of economy alone then it is worthwhile to consolidate the IList implementations into some kind of secret helper but this has some consequences.

Short results:

Test Case Milliseconds
Test1: Array 54
Test2: List 8
Test3: ArrayWrapper 14
Test4: Array via foreach 9
Test5: List via foreach 11
Test6: Array via special 6
Test7: List via special 8
2006-03-12 08:46:00   Source: Performance Quiz #9 : IList List and array speed --...   Tags: Performance

Passing Information Securely Between ASP and ASP.NET

Many classic ASP applications exist side-by-side with newer ASP.NET applications, sometimes leading to a need to transfer or share information between the two. This article shows one method of transferring such information securely.
2006-03-10 15:09:50   Source: Passing Information Securely Between ASP and ASP.NET   Tags: ASP.NET Security

Performance Quiz #9 : IList<T> List and array speed

A short and sweet quiz with lots of juicy discussion possibilities:

public int Sum(IList<ushort> indices)
{
int result = 0;
for (int i = 0; i < indices.Count; i++)
result += indices[i];
return result;
}

Considering only the time it takes to do the Sum (i.e. assuming we had already set up the array/list) which gives better performance and why?

// #1
ushort[] tmp = new ushort[500000]; // this doesn't count
Sum(tmp);// this is what we are timing

OR

// #2
List<ushort> tmp = new List<ushort>(500000); // this doesn't count
for (int i = 0; i < 500000; i++)tmp.Add(0); // this doesn't count
Sum(tmp); // this is what we are timing

What say you gentle readers?

2006-03-09 18:31:00   Source: Performance Quiz #9 : IList<T> List and array speed   Tags: Performance C#

Managed Spy: Deliver The Power Of Spy++ To Windows Forms With Our New Tool

Managed Spy: Deliver The Power Of Spy++ To Windows Forms With Our New Tool

PostSharp, a post-compilation platform fot .NET

PostSharp is an open-source post-compilation platform for the .NET Framework. It makes it easy to develop and use program analysis and transformation applications like aspect weavers or code generators. PostSharp reads .NET binary modules, represents them as a Code Object Model, lets plug-ins analyze and transforms this model and writes it back to the binary form.
2006-03-07 14:27:21   Source: PostSharp, a post-compilation platform fot .NET   Tags: Other

Get Control and Performance with the Real Time Stylus API

The Real Time Stylus API provides an alternate way to receive pen input pen. This high performance API provides a great level of control to developers for a small penalty in added effort.

Data Binding in Windows Forms 2.0

Windows Forms 2.0 increases support for data binding via the new BindingNavigator and BindingSource objects, which will save you a lot of effort. Find out how you can perform sorting and searching tasks using data binding and simplify the display of master-detail relationships in tables.
2006-02-21 22:24:37   Source: Data Binding in Windows Forms 2.0   Tags: Database Visual Studio