(Peter Aitken) A previous article in this series explained how to read and write text files using the .NET framework. This article covers binary files—those files that contain non-character data (graphics, numbers, and so on).
Tag: Development
Multiple Masters Pages in ASP.NET Application
(Ashish Singhal) This article will show that how can we add multiple master pages in run time and can access their properties.
Automating Control Validation and ToolTips in Visual Studio 2005
(David Catherman) Visual Studio 2005 Windows Forms has some new extended provider components that allow ToolTips and validation error messages to be assigned to individual controls, but the process requires a fair amount of developer time in large projects. A better way is to automate the process to
Ideas for Improving ASP and ASP.NET Web Application Security – Part 1
(Brett Burridge) Hackers and other people with dubious intentions are always on the lookout for websites that display technical error messages. ASP or ASP.NET error messages are often useful to such people. In some cases the hackers can actually think of ways of causing the error messages to appea
Build a Package Using the Visual Studio Extensibility SDK in Three Easy Steps
(Justin Whitney) Of all the ways you can extend your Visual Studio environment, packages are easily the most intimidating. But you’ll be downright surprised at how easily you can build one. Like a good game, building a package is simple to learn and challenging to master. But also like a good game,
Handling the Client-Side onblur event of an asp:TextBox wth Server-Side code
(Brett Burch) A recent project required me to handle more client-side events than the usual click, onchange and submit events that are easily wired up with the .Net framework. Here’s a way to handle additional client-side events with server-side code. WARNING: This does involve what I would consider
Keep Sites Running Smoothly By Avoiding These 10 Common ASP.NET Pitfalls
(Jeff Prosise) One of the reasons ASP.NET is successful is that it lowers the bar for Web developers. You don’t need a Ph.D. in computer science to write ASP.NET code. Many of the ASP.NET people I encounter in my work are self-taught developers who wrote Microsoft Excel spreadsheets before they wro
Building the Address control: Part II
(Michael Livshitz) In Part 1 of this article (Part 1; Part 2; Part 3) we have defined our task and have prepared a basis for creation and testing the Address control. In this part we are going to build the control.
Creating a Step-by-Step User Interface with the ASP.NET 2.0 Wizard Control: The Basics
(Scott Mitchell) The wizard – a standard user interface element in desktop applications – takes the user through a series of discrete steps in order to accomplish some task. A wizard step typically includes instructions, input controls, and an interface for moving between the wizard’s steps (typical
Tech·Ed Offers Previews of Powerful Tools
(A. Russell Jones) At Microsoft’s Tech·Ed 2006 conference in Boston the pre-conference keynote on Sunday night discussed little of importance to developers—which was a good thing, as many attendees didn’t arrive in time to hear it. Despite that, the breakout sessions contained plenty for developers