(Alex Lehmberg) The code in this article demonstrates an alternative way to do multithreaded programming using .NET 2.0 and a freely available library called CSP.NET. The application presented is meant to introduce the programmer to the most basic elements of CSP.NET. It is a console application tha
Tag: Development
Optimize string manipulation performance with VB.NET’s StringBuilder
(Irina Medvinskaya) There are a number of string manipulation techniques that let you optimize code for better performance. StringBuilder allows you to perform repeated string manipulation, resulting in better performance than manual manipulation. In this tip, I look at utilizing StringBuilder in VB
Working with Email Using ASP.NET 2.0
(Jason N. Gaylord) In ASP.NET 1.x sending email was fairly simple. The only issue was that there were different ways to send email depending on whether the application was web or windows based. Windows developers used MAPI to send emails using an email client like Outlook. Web developers used CDO
Dynamic Cache Substitution using Substitution Control
(Bipin Joshi) ASP.NET Output Caching features help us to develop performance oriented web sites. No doubt that output caching reduces server side event processing. However, in the process it bypasses the entire server side processing. That means after the first request the page becomes static in ter
Implementing with PHP: Standalone Scripts
(George Schlossnagle) If you’ve ever been interested in making significant use of PHP outside of a web environment, this article will show you how.
Deploying a .NET Application with Crystal Reports
(Muhammad Shahbaz Saleem) Crystal Reports often cause problem in dot.net deployment package. Errors like “Can’t find keycode32.dll” are likely to occur if license key is not provided during creation of deployment package. To include license information use the following procedure.
Using the TreeView Control and a DataList to Create an Online Image Gallery
(Scott Mitchell) ASP.NET version 2.0 includes a wide array of Web controls not found in previous versions. One such control is the TreeView, which is ideal for displaying hierarchical data. The TreeView control can be bound to a hierarchical data source such as the XmlDataSource or SiteMapDataSource
Build a data-bound grid with C# and ADO.NET
(Irina Medvinskaya) Data access is the basis of any application. In this article, I will show you how to access SQL Server-based data using C# and ADO.NET, as well as how to display the data in a data-bound grid control. I use a simple C# application as an example.
Uploading Files and Navigating Directories in PHP
(Jacques Noah) In this article we are going to look at how to upload files and also how to navigate through directories. It is the second part of a tutorial that began last week with “Reading, Writing, and Creating Files in PHP.”
ASP.NET Tip: Control Access to a File Download
(Eric Smith) A developer, working on a Web application that allowed only registered members to access a file, recently asked me if there was any way to control how the file could be downloaded. He had to avoid using the “gray box” popup dialogs because the access was controlled via the application.