(Hannes du Preez) If you are as curious as I am, you have probably wondered whether or not it is possible to determine if a memory stick was plugged in or taken out. To answer your question, yes you can! As the saying goes: Curiosity killed the cat. In this case, if you are not careful, curiosity ca
Tag: Development
ASP.NET Case Study: Hang on WaitOne, WaitAny or WaitMultiple
(Tess Fernandez) One of the synchronization methods in .NET is the ResetEvent. It comes in two flavors, the AutoResetEvent which resets itself immediately after it is set, and the ManualResetEvent which as the name suggests you have to manually reset.
SQL Trusted Connections with ASP.NET
(blowdart) Hard coding passwords into your application or your web site is a bad thing. Microsoft SQL has the ability to use “trusted connections” to authenticate your database connection against your login name, so no passwords are ever sent to SQL server, just your login name and an authentication
Use Functional Programming Techniques in the .NET Framework
(Ted Neward) A recent entry into the Microsoft .NET Framework family, F# provides type safety, performance, and the ability to work like a scripting language, all as part of the .NET environment. This functional language was created by Don Syme of Microsoft Research as a syntax-compatible OCaml vari
Display data with .NET’s ListView control
(Tony Patton) The GridView data control introduced in .NET 2.0 was an improvement over the DataGrid data control in .NET 1.x, but there were still drawbacks, especially with loading and paging through data. Microsoft recognized the shortcomings and addressed them with the introduction of the ListVie
Absolute and relative positioning in Visual Web Developer 2008 designer
Design view in Visual Studio and Visual Web Developer Express 2008 provides several tools that help with absolute and relative positioning of controls. I’d like to describe how do they work and what kind of visual hints the designer provides.
Hangs and how to solve them – part 1 – Deadlocks
(Tom) We have talked about high memory quite a bit so thought it would be a good idea to move onto hangs. So first some background on what you may see: –Slow performance –Web pages timing out –Event logs mentioning deadlocks –Event logs mentioning not responding to a ping
Writing a custom Structure to a binary file in Visual Basic 2008
(Alessandro Del Sole) In this article I want to show you how to write the content of a Visual Basic structure into a binary file. This can be useful since the various methodologies exposed by the .NET Framework (like FileStream, BinaryWriter and My objects) can write to binary files only data types
Importing an Excel Spreadsheet Using Typed DataSets and TableAdapters: Displaying the Uploaded Excel Spreadsheet
(Nannette Thacker) In Building the Importer Web Page and Uploading the Excel Spreadsheet we created an interface for users to upload an Excel spreadsheet to the web server with the end goal being that a user could import the uploaded spreadsheet’s data into the application database. Before importing
Useful CodeSmith Templates
(Brian Mains) In two previous articles, I wrote an introduction for CodeSmith that illustrated how to setup a template, along with another article using the SchemaExplorer assembly. For the last article in the series, I want to display a couple of useful templates that may help you when you develop
