(Scott Mitchell) The ASP.NET 2.0 Membership class provides a ValidateUser(userName, password) method that returns a Boolean value indicating whether or not a user’s supplied credentials are valid. This method is automatically utilized from the Login Web control and can also be used programmatically,
Tag: Development
Who connects to your computer?
(akomarov) Who connects to your computer? You can be notified by an MSN-like popup window while doing your work. The program can also create its own log file for all historical logon events. The log file created in the sample code is called called evlogger.txt and can be found in the application (ev
.Net Memory Management Rules: Part 2
(ayzec) As you continue to create .Net objects, the managed heap will eventually become full. As covered in Part 1 of this series, when the CLR determines that there is insufficient room on the heap to host the new object, it will perform a garbage collection in an attempt to free memory. Hence we a
Building a Database Driven Hierarchical Menu using ASP.NET 2.0
(Michael Libby) This tutorial will show you how to store hierarchical menu data in a single database table and how to retrieve and transform that data for display in Microsoft’s Menu.
Printing with Formatting in VB .NET
(Jereme Guenther) Here is a quick summary for those who just want the code and don’t want to read the history. I have searched all over the Web for good printing code and was unable to find it. I have created a printing class that allows text to be formatted at the character level. It has taken me a
Getting notified when application throws an error
(Abey George) It’s better to be informed by your application rather than the client telling that they have got an error. This is pretty simple which I have used in my previous project. The solution lies in the Global.asax file. When ever the application throws an error, the Application_Error met
Using Advanced Functions to Maintain the State of Applications with PHP Sessions
(Alejandro Gervasio) Here we are again. This is part two of the series “Maintaining the state of applications with PHP sessions." In three parts, this series ranges from the basics of session management in PHP, such as creating, registering session data, and destroying sessions, to exploring advance
Creating custom Visual Studio 2005 code snippets
(Tony Patton) In last week’s column, we introduced Visual Studio 2005’s new code snippet features. The built-in snippets are great, but Visual Studio 2005 takes it a step further by allowing you to create your own for reuse in a project or projects. This week, we extend the concept by creating custo
Use Interop Code and Overlap Fields with the Union Construct in VB .NET
(Paul Kimmel) There are few idioms and constructs that Visual Basic .NET cannot touch. Although not especially good at pointers and addresses, VB .NET and C# enable a developer to emulate, contrive, or precisely reproduce almost everything else that even the most complex languages, such as C++, offe
Build and Deploy a .NET COM Assembly
(Phil Wilson) In this article I’ll build a .NET COM assembly following the recommended best practices, and show you how to deploy it with a Visual Studio Setup & Deployment Project. I’ll also show you two types of client for the COM object (early binding and late binding) and discuss the advantages