The Latest

DevX

How Base64 Content Encoding Works

The term “Base64” refers to a specific MIME content-transfer encoding. It’s also used as a generic term for any similar encoding scheme that encodes binary data by treating it numerically

DevX

Incrementing a C# Variable Efficiently

When you’re incrementing an object of a fundamental type, there’s no difference between prefix (++obj) and postfix (obj++) operators. However, when you’re incrementing a composite object, using the postfix operator

DevX

Calling JTidy from Java to Convert HTML to XHTML

The open source JTidy project does an excellent job of converting HTML files to the newer XHTML standard. The following code shows how to invoke JTidy programmatically from Java: /*In:

DevX

Using the OneWay Web Service Attribute

When you call a web service method that doesn’t return a value (a void method), you don’t want to waste time waiting until the call returns. But by default, the

DevX

How to Declare a java.util.Date in a EJB 3.0 Entity

To map a date column value to a Java date in EJB 3.0, use this code: @Temporal(TemporalType.TIMESTAMP)private java.util.Date publishDate; Related Posts Quick Way to Print Only Certain Rows of an

DevX

Dances with Workflows (One Newbie’s Journey)

ecently I started working with a client who was interested in using Windows Workflow Foundation (WF) in a custom application. Having never used WF before, I thought it might be

DevX

Why Mobilise Websites? You Can Win BIG!

Did you know that 40% of all internet users today have mobile internet access? That means mobile internet users could represent a large percentage of your site’s traffic. Are you

DevX

Get Internet Connectivity for Your .NET Mobile Device Emulators

Often, device emulator manager software does not automatically synchronize Internet connections between your device emulator and your workstation. To get an Internet connection, you need to install additional software—either Microsoft

DevX

Show a Footer for All ASP .NET Pages in a Site

This tip is useful for displaying a uniform footer in all your site’s pages, including any pages served from the site’s subdirectories. In this case, assume you want to display

DevX

Silverlight-Enabled Live Search

any web services offer clients a variety of ways to communicate with them, including SOAP and REST, and can often return either XML or JSON. Silverlight can communicate with any

DevX

Using LINQ to Manage File Resources and Context Menus

anguage Integrated Query, or LINQ, is a new Microsoft technology introduced with the .NET 3.5 framework. This Microsoft quote describes its purpose succinctly: “Traditionally, queries against data are expressed as

DevX

Developing a DSL Abstract Syntax with Eclipse

omain-specific languages (DSLs) and model-driven development (MDD) offer developers powerful new ways to improve productivity, enhance quality, and insulate systems from rapid technological change. The Eclipse Modeling Project allows developers

DevX

Writing a Parameterized SQL Query in EJB 3.0

protected EntityManager manager;…String ejbqlDelete = “delete from ClientTicket p where ” + “p.closed = :paramClosed and ” + “p.department = :paramDepartment and ” + “p.ticketUserID = :paramTicketUserID and ” +

DevX

Avoid Object Instantiation Within Loops

Avoid defining new objects within loop structures. Doing so hampers performance significantly, due to object creation overhead. Instead, define objects outside the loop and then use them inside the loop.

DevX

Programming Twittering with Visual Basic

ocial networking has reached critical mass. One unique social networking platform, Twitter, launched in March of 2006 and took the world by storm with its social networking and microblogging platform.

DevX

Putting a YUI Face on a Java Web Application

uilding on my previous article Yahoo’s Rich web UIs for Java Developers, which discussed how to use various Yahoo User Interface (YUI) web components for setup and design, this article

DevX

Develop Provider-Based Features for Your Applications

he ASP.NET Provider Model drives many features within the ASP.NET architecture, yet most developers associate it only with security or membership-related functionality. This article takes you deep into the provider