Home > Articles > Programming > C#

C#

131 Items

Sort by Date | Title

Loading Images into SQL Server with C#
Jul 8, 2005
As your web site grows and images multiply, storing those images on the hosting server's hard drive can turn a zippy hare of a site into a pokey tortoise. (Yes, they get there eventually, but users are impatiently waiting for a "photo finish"!) Jesse Smith provides a set of simple C# scripts that you can use to pop your images into your SQL Server database, for faster image retrieval and better load balancing on your site.
Understanding and Using Windows API Calls for Excel Programming
Feb 11, 2005
When developing Excel-based applications, you can get most things done by using the Excel object model. After reading this sample book chapter, you will be comfortable about including API calls in your applications, understand how they work, and be able to modify them to suit your needs.
Item 19: Prefer Defining and Implementing Interfaces to Inheritance
Dec 3, 2004
This chapter teaches you how to write your own resource-management code when you create types that contain resources other than memory, particularly for disposing of nonmemory resources.
C# Design Patterns: Adapter
Oct 8, 2004
The great adaptability of C# is one of its assets, but coding for a wide variety of platforms can be overwhelming. This chapter by Steven John Metsker will help you adapt your code to different situations with ease.
Building Plugins with C# Part 4: Logging and Deployment
Sep 17, 2004
We finish up our series on building plug-ins with an demonstration of logging techiques and an introduction to deployment methodologies. In other words, you'll learn what to do when things go wrong, and you'll find out how to get the plug-in in the hands of your users.
Building Plugins with C# Part 3: Adding LDAP, SQL, and Configuration
Sep 10, 2004
Feeling smarter, yet? In this continuing series, you'll learn how to use inheritance to re-use code, and how your applications can load their own configuration files. You'll also learn more about doing LDAP authentication and connecting to a database to run a stored procedure.
Building Plugins with C# Part 2: Making Additions with XML
Sep 3, 2004
In this second part in our plug-in series, you'll learn how to use an XML file to validate users, and find out how—and why—to add a new configuration section handler.
Building Plugins with C# Part 1
Aug 27, 2004
Interested in building plug-ins, but not sure where to start? In this first article in a four-part series, you'll learn how to put together a simple authentication plug-in for a project in C#.
Leaving VB6 Behind
Jun 4, 2004
You're an experienced Visual Basic programmer. You're considering migrating to Visual Basic .NET. Or should you switch to C#? Here's a good place to start, to get your head screwed on straight.
ASP.NET Rendered Custom Controls with C#Builder
Apr 23, 2004
Of the three types of ASP.NET controls, a rendered custom control is the most powerful. Rendered custom controls give you the ability to manipulate the appearance and behavior of a control at a very fine-grained level. Although rendered custom controls are somewhat complex to use, the advantage is that you have full control over their appearance, events, and state.
Events and Properties for Composite Custom Controls in C#Builder
Apr 16, 2004
By adding properties and events, you can extend the value of controls and make them easier for developers to work with in an integrated development environment (IDE). Opening opportunities for developers to work with visual design tools promotes control reuse and ultimately enhances productivity. In this article, you'll learn how to achieve these goals by adding events and properties to composite custom controls in C#Builder.
Crafting ASP.NET User Controls in C#Builder
Mar 19, 2004
Joe Mayo demonstrates how C#Builder supports development of ASP.NET user controls, and shares tips and tricks to help you get the most out of your user control development experience.
Intermediate C# Skills
Nov 7, 2003
This sample chapter discusses reference types, the object-oriented features of C#, and exception handling.
Introducing C#
Oct 31, 2003
C# is a flexible programming language with a rich set of data types. In this sample chapter, you'll learn the basics of this .NET-centric language (accompanied by instruction in an open source .NET competitor, Mono), with comparisons to other programming languages you may already be familiar with.
Manipulating Values in Your Programs
Oct 3, 2003
This sample chapter will give new C# programmers an introduction to operator precedence, bitwise operations, and variable and value conversions. You'll also learn to change program flow using the if command.
Object-Oriented Programming in C#
Oct 3, 2003
This excerpt from Microsoft Visual C#.NET 2003 Kick Start covers the essentials of C# OOP, starting with creating classes and objects. Learn how access modifiers let you restrict access to the members of classes and structs, encapsulating your data and methods as needed.
UDDI Inquiry with C#
Sep 26, 2003
With potentially thousands of listings in a UDDI registry, how does a service consumer find the right candidate to supply a necessary service? Naresh Apte explains how inquiry APIs provide the answer.
You'd Better Drop Microsoft's J++ Now
Sep 12, 2003
Microsoft is ending support of its Visual J++ in January. Microsoft has posted several workarounds to give you alternative paths. But, explains Jacqueline Emigh, with less than four months to go, some of their solutions aren't even ready yet.
Will One Whidbey Be the Same as the Rest?
Aug 29, 2003
Check out the likely differences and similarities in editions of Microsoft's upcoming Whidbey development environment for Visual Basic, C++, C#, and J# with tech journalist Jacqueline Emigh.
C# Design Patterns: The Flyweight Pattern
Apr 25, 2003
Avoid the overhead of large numbers of very similar classes with the Flyweight pattern. Learn how to recognize instances that are fundamentally the same except for a few parameters, move those variables outside the class instance, and pass them in as part of a method call.

<< < Prev Page 3 4 5 6 7 Next >