.NET news » Search results

Search results for query "orm" (111):

Comparing the Performance of Visual Studio's Web Reference to a Custom Class

Recently a client made us question one of our fundamental assumptions about the.NET Framework and Web Services by asking, "Why should we use proxy class created by Visual Studio to connect to a web service?" In this particular project we were calling a web service to retrieve data, which was then sorted, formatted slightly and displayed in a web page. The client hypothesized that it would be more efficient to invoke the web service directly via the HttpWebRequest class, retrieve the XML output, populate an XmlDocument object, then use XSLT to output the result to HTML. Surely that would be faster than using Visual Studio's auto-generated proxy class, right?

Prior to this request, we had never considered rolling our own proxy class; we had always taken advantage of the proxy classes Visual Studio auto-generated for us. Could these auto-generated proxy classes be inefficient? Would retrieving and parsing the web service's XML directly be more efficient? The only way to know for sure was to test my client's hypothesis…

Using SqlBulkCopy To Perform Efficient Bulk SQL Operations

This article look at how to use the SqlBulkCopy class to efficiently execute bulk operations against Microsoft SQL Server.

2009-10-20 19:00:00   Source: Using SqlBulkCopy To Perform Efficient Bulk SQL Operations   Tags: Database

3D Drawing with Textures, Transformations, and Realism in WPF

To build realism into 3D scenes, you need to draw with the appropriate materials and transformations help make the drawing process much simpler.

Drawing smooth text and pictures on the extended glass area of your WinForm in Windows Vista

This article tells you how to draw text and pictures correctly on your Vista form's extended glass area.

Single Sign-on in ASP.NET and Other Platforms

Single sign-on using ASP.NET Forms authentication is not a new topic. If you Google it, you’ll find a fair amount of articles talking about it. However, it does not appear to be easy enough to get a clear picture when you try to implement it. The concepts and implementation details are often scattered around, which requires adequate efforts to put pieces together. In this article, I’ll try to summarize my understandings through literature study as well as my own practice, and hope to make it easy for you if you ever need to implement it.
2008-07-07 13:43:00   Source: Single Sign-on in ASP.NET and Other Platforms   Tags: ASP.NET

C# Space Invaders using WinForms objects

Create the famous game using only labels, panels and pictures
2008-06-17 07:54:00   Source: C# Space Invaders using WinForms objects   Tags: Multimedia Examples

Filmstrip control for Windows Forms

An article describing a C# Filmstrip control designed for Windows forms
2008-06-17 06:35:00   Source: Filmstrip control for Windows Forms   Tags: Examples

Creating the Same Program in Windows Forms and WPF

This article shows two implementations of the same simple program. First, we examine the Windows Forms version, followed by the WPF version. The purpose of this article is to show WinForms programmers a simple example of creating a WPF application. Along the way, we compare and contrast working with the two platforms.
2008-05-03 21:31:00   Source: Creating the Same Program in Windows Forms and WPF   Tags: Examples GUI

How to Use Transparent Images and Labels in Windows Forms

The controls in Windows Forms (.NET) don't support true transparency. In this article we show how to use transparent labels and images.

Navigational history (go back/forward) for WinForms controls

A generic class and two ToolStripSplitButtons provide navigational history, like in web browsers.