devxlogo

We are an award-winning tech entrepreneurship website where trusted experts can provide value globally.

Since 1998, DevX has helped people start businesses, build websites, and provide enterprise technology to people globally. Interviewing the likes of Microsoft’s co-founder, Steve Ballmer, the publication brings comprehensive, reliable, and accessible insights to the Internet.

devxlogo

Trusted for 26 years

Over 30K Articles

1M+ Readers

Expert-reviewed

10K+ Tech Terms

As seen in:

microsoft logo
business_insider_logo
wired_logo
berkley
arstechnica_logo
hackernoon

The Latest

Call PowerShell Cmdlets from C#

You can call PowerShell cmdlets directly from your C# code. First, add a reference to System.Management.Automation to your project. Unfortunately, you need to do this by editing the .vcproj file

Exploring HTML 5 Forms

orms have become an integral part of nearly all web applications, but the core HTML form elements are now nearly 13 years old. No surprise, then, that one of the

Writing Parallel Programs with Erlang

or years, heating problems have prevented CPU manufacturers from building viable CPUs with clock rates higher than 4.0GHz. This single-core processor speed limitation means that the only viable way to

Achieve Syntax Brevity with Anonymous Classes and Instance Initializers

The first listing here, which may look more familiar, is considerably longer than the second listing, even though they’re essentially equivalent. Listing 1.List friends = new ArrayList();friends.add(“Ben”);friends.add(“Kiran”);friends.add(“….”); You can replace

Send Email Using a DNS Server

An easy way to send mail from .NET is to use the DnsMailClient class. Here’s some sample code in both C# and VB: // in C#MailMessage msg = new MailMessage();msg.From

Adding Workdays to a Date

This example adds the days of the week and the weeks separately. You never iterate over the loop more then four times regardless of the number of days being added.

Avoiding the Perils of C++0x Data Races

ace conditions are an inherent part of parallel programming. A race condition exists any time a program’s behavior may depend on the relative ordering of events on separate threads. In

Extending Microsoft Dynamics CRM 4.0 with Plug-Ins

hile the default behavior of Microsoft Dynamics CRM 4.0 is completely functional, it’s also general; more often than not, you’ll find you need to augment it based on specific business

Introducing PowerBuilder 12 .NET

s the Microsoft .NET platform has matured, desktop application technologies have reached a new plateau. Decades-old client/server applications built for Win32 using the PowerBuilder platform are reaching the end of

Execute DOS Commands from a Java Program

Rather unintuitively, you can’t run DOS commands directly by specifying Runtime.getRuntime().exec(dosCommand) in Java. Instead, to execute a DOS command (such as DIR, or RD) from a Java program, you need

Using the deployment Element’s retail Attribute

The deployment element in machine.config defines settings used to support deployment. The retail attribute can be set only at the machine level, not at the application level: You use it

Quick C# Project Documentation in Visual Studio

To quickly create XML documentation for your .NET classes during every build, open the project Properties, click the Build tab, scroll down to the Output section, and check the “XML

Using the DAO Generator for PHP and MySQL

data access object (DAO) provides an abstract interface to a database—giving developers access to common database operations without them having to know the database schema details—essentially, data access object separate

Build a Custom WCF Encoder

ompression has become an integral design step for almost any modern programming design, because serialized data compression is a well-supported and logical step toward significant performance gains, and reducing the

COM Interop Gets Much Better in C# 4.0

he first article in this series on C#’s new features looked at the language’s new support for dynamic lookup and for named and optional parameters in C#. This article and

Send Email Over SMTP Aschronously

To send email over SMTP asynchronously, create a SmtpClient, call its SendAsync method, and add a SendCompleted event handler to your code: //Call the SmtpClient SendAsync method SmtpClient client =

Spring and Hessian for Fast, Easy Java Remoting

he world of enterprise Java has an overwhelming array of choices for remoting: RMI, XML/SOAP, REST/JSON, etc. Each comes with its own industry-acknowledged strengths and weaknesses, such as complex setup