Premium Content


Premium Content articles are the very best articles from the world's leading internet technology, subject-matter experts. We have many categories of content below on a wide variety of subjects that have all been commissioned from big name authors.

Explore the Premium Content

An Introduction to ASP.NET & Visual Studio .NET 2003

Although this version of Visual Studio .NET is not the latest version, there are still many developers such as myself who use this product every single day. Some of the radical changes brought about in the newest version of Visual Studio .NET 2005 made it nearly impossible to simply upgrade existing VS.NET 2002/2003 projects into the new version. We’re therefore left continuing development in the older version on complex projects that are simply too large to warrant upgrading.

In addition to developers who have been working with this product for a few years now there are also many new developers jumping into the Microsoft .NET world and learning Visual Studio .NET for the first time. As with any enterprise level development platform there is normally a large learning curve right off the bat.

The Visual Studio .NET environment itself really isn’t all that complicated, but can be a little overwhelming when first trying to navigate around. The majority of learning will be done on the framework itself and the different project types available.

In this tutorial we will look at some of the basic features of the Visual Studio .NET environment to help beginners get up and running and save some research time so you can feel more comfortable with the product. We’ll also explore one of the project types, ASP.NET, and look at some of the basic principles and theories behind this web technology.

Note: Although this tutorial is based on Visual Studio .NET 2003, version 2002 is nearly identical and should be able to be used with this tutorial as well

Read More

Photoshop CS2: Beyond Colour – Black and White and Sepia

What if you need a Black and White image to enter into a contest? Or, what if you shot a historic photo and the newspaper only prints black and white? In this article, Linda shows how to successfully convert your colour images into monochromatic legends. The tools that you’ll use include adjustments, histograms, Colour channels, Channel Mixer, and Calculations. In addition, once you have that perfect black and white image, Linda shows two different methods to add a sepia tone to that image.

Some History

It wasn’t until 1861 when Scottish physicist James Clerk-Maxwell demonstrated a colour photography system involving three black and white (B&W) photographs, each taken through a red, green, or blue filter. His first photo of a tartan ribbon was turned into lantern slides and projected in registration with the same colour filters. This was the beginning of the photographic colour separation method.

In 1906, panchromatic black and white film and therefore high quality colour separation colour photography were made available; and, in 1907, the first commercial colour film, the Autochrome plates, were manufactured by the Lumiere brothers in France. But, colour photography really didn’t catch on with the general public until 1936, when the development of Kodachrome, the first colour multi-layered colour film and the development of Exakta, pioneering 35mm single-lens reflex (SLR) camera were made available.

In fact, colour photography evolved rapidly during my lifetime. I remember when C-41 colour negative process was introduced in 1973, replacing C-22 in the darkroom. My fellow art students and I were mesmerized with the new process, a feeling that you might equate today with the introduction of any new technological product that makes life just a little bit easier.

But, as beginning photography students, we often were steered away from colour in our studies. B&W images, instead, became the vehicle to study depth of field and tonal values, and it was – in the long run – less expensive to develop in the darkroom. In addition, most magazines used B&W photographs until just ten years before this new colour development. Yes, hand-colouring negatives and prints was part of our education at that time.

Read More

Deconstructing Ajax!

The Web 2.0 movement is a new approach to building Web applications that are more responsive and user-centric. You can think of it as a second generation or second wave of Web applications. One of the main differences is that users don’t have to click and wait while using a Web application. Instead, updates and changes can happen in the background while the user does something else.

One of the most common approaches to building Web 2.0 applications is something called Ajax. The term Ajax doesn’t describe a technology. Instead, it refers to a collection of existing technologies and the way that they work together to build Web 2.0 applications.

Ajax-style applications use the following technologies:

  • XHTML and CSS to describe the interface
  • DOM to locate and manipulate different parts of the interface and the data source
  • XML and XSLT to describe and transform data for the application
  • XMLHttpRequest object to request and load external data
  • JavaScript to bind the other technologies together

In this article, I’ll explain a bit more about the role that each technology plays. Let’s start by looking at how the Ajax technologies react together.

Read More

Databases for Beginners with ASP.NET 1.x

Databases for Beginners with ASP.NET 1.x

As a software developer, there will be very few times where you’ll find yourself building an application that does not involve the utilization of a database. The database is the backbone of your application, the root, the foundation, and the place of storage for all meaningful data contained in your software.

A database plus an application go hand in hand, when you speak of an application, it’s just implicitly taken for granted that the database is the core. There are of course many different options when it comes to which database to use for your application.

Years ago, flat files as they are known where commonly found. They were usually quite fast at processing but extremely inflexible, un-scalable, and completely proprietary. If you selected this style of database you were pretty much locked in for life as upgrading was simply not an option.

Oracle, SQL server, dBase, MS Access, MySQL are all commonly found today and are flexible enough to meet most applications needs. The database selected is normally chosen with the operating system in mind. Typically Java and Linux/Unix deployments will select Oracle, and .NET Windows deployments favour SQL server. Both are excellent high-end database servers which can facilitate some of the most complex, large scale applications in the world.

Cost is another factor of deployment. MySQL is a popular choice due to the fact that it’s free, but lacks the enterprise level sparkle found in Oracle and SQL server. MS Access is another cost effective choice and provides a very nice and easy to use feature set for developers.

Whichever database you deploy there are quite a few common components when it comes to developing your application. The first of course is connection, the second is database design fundamentals, and the third is database to application mapping.

The purpose of this tutorial is to explore some of these common concepts at a beginner level, and shed some insight into how to connect to and design your database driven applications.

Read More

Introduction to Flash and Flex

Introduction to Flash and Flex

One of the key features of Web 2.0 applications is that they provide a separation between the data within an application and the interface. In some cases, these applications can consume data from a different domain entirely. This is possible because of web standards and standard approaches like RSS and Atom.

When consuming an RSS feed, the specification details how the information will be delivered. Developers can use this knowledge to construct the application interface. Information provided through Web services is available through a publicized API. You can see examples of this in Google and Amazon.

Read More

Choosing Between Ajax and Flash

Web 2.0 describes a new approach to creating and structuring Web applications. One of the aims is to increase responsiveness so that Web applications operate in a similar manner to their desktop cousins. Two of the approaches to creating Web 2.0 applications include Ajax and Flash/Flex.

In this article, I want to compare and contrast these two approaches. I will discuss the advantages and disadvantages of each approach and show you what to consider when choosing between the two. I’ll finish by introducing a process that might help you to make your decision!

This article isn’t trying to explore which is the BETTER of the two approaches. Both have their merits and uses. Instead, I’m trying to help you decide whether Ajax or Flash/Flex will suit you better, given the circumstances of your Web application.

Don’t forget that an alternative to using either Ajax or Flash/Flex is to stick with a Web 1.0 approach using XHTML and CSS. If you don’t need to create a complex interface, you’re not loading large amounts of external data and you don’t have a requirement to include multimedia, a simple XHTML interface may suffice. Creating a Web 1.0 application that adheres to Web standards can make it easier to distribute the application to a range of browsers and operating systems. It can also improve accessibility for people with disabilities.

I want to start by looking at Ajax and examining its advantages and disadvantages.

Read More

Photoshop CS2: Creating Spot Colour Channels

Photoshop CS2: Creating Spot Colour Channels

In this article, Linda creates a graphic design problem to show how to create artwork for iron-on transfers, including a means to create a spot colour and how to save that colour in a spot colour channel. She also uses a rough logo and artwork that must merged, and shows how to convert those two images into one in ten easy steps, including how to layout that artwork for the transfer sheet. Tools used in this process include scaling and layout options covered in previous articles, the Unsharp Filter, the Warp tool, Create Outlines filter, and the use of Pantone Colour swatches, among many others.

Read More

Photoshop CS2: Extraction, Smudge, Heal, and More

Photoshop CS2: Extraction, Smudge, Heal, and More

Although Photoshop CS2 offers a few perks more than Photoshop 7, some of the same tools to retouch photos are unchanged. The Extraction tool, which helps to eliminate a background, is found as early as Photoshop 6. Healing, Patch, Smudge and Blur tools are also found in earlier Photoshop versions. In this tutorial, Linda illustrates when and how to use all these tools and more as a means to either retouch or to alter photographs.

Read More

Photoshop CS2: Altering Images

Photoshop CS2: Retouching in Channels

In the last tutorial, Linda explained how you could alter your images with levels and curves through adjustment layers. In this article, she shows how you can retouch your colour images through colour channels. This option allows users to change values, tones, and colour through channel modifications. An added bonus is that artefacts, or blemishes, can be reduced through the colour channel option as well. And, when that option doesn’t work, you can use colour channels to pick the best option for a black and white photo…

Colour Channels: The Hidden Realm

Many photographs might call for simple adjustments to the overall picture, such as a simple tonal and value alteration in photograph below:

The image at left was a little too dark in the shadows and the owner wanted to emphasize the filly a bit more. I brought up the mid-tones and reduce the shadows with the simple addition of a new adjustment layer for levels. Now the horse is more vivid and the details are more solid in the horse (more about adjustment layers and levels in the previous article).

But, other photographs – like the 1960’s era photograph below – call for more detailed work, and a simple adjustment layer just doesn’t cut the cake. The image below, for example, was altered with the same method that I used above with the following results:

Read More

Building a Logging Framework in ASP.NET 1.x – Part 2

Welcome to the second and final part of this tutorial regarding building a custom logging framework for ASP.NET applications. The purpose of this 2 part tutorial is to create an easy, customized and scalable way to log messages in your application, specifically exception messages and debugging messages.

During Building a Logging Framework in ASP.NET 1.x Part 1 we implemented the foundation structure of the logging framework. We created a singleton class which was able to initialize itself and read in several customization parameters required for logging. The customization aspect of the framework allows for real-time changes to logging parameters without recompiling your application.

In part 2 of this tutorial we will expand on our foundation and implement the code which will actually perform the logging functionality itself, writing the messages to the file system in the log file. We will also implement 3 different example logging shortcut methods which can log 3 different types of information.

Once the logging framework is complete we will implement some simple code-behind logic to test our logging methods and run through the 3 different scenarios for logging information using the debugger.

Note: Visual Studio .NET 2002/2003 running ASP.NET 1.x is required to implement this tutorial. Both C# and VB.NET code samples will be provided

Read More

Photoshop CS2: Jewel Case Cover Art

In this article, Linda illustrates how to merge images and type to create a jewel case insert for an imaginary client. In a step-by-step process she includes information about how to create paths with the pen tool, how to use these paths for text, and shows how to create a burned edge effect around an image by creating, saving and loading a selected area. Along the way she includes tips on how to make your workflow proceed faster as you begin to create this project or other projects that include type and images.

Read More
Newer articles Older articles