Category Archives: vb.net
Sometimes it’s quite helpful to know which assembly is currently used by an application. Microsoft has an example in their MSDN-Article explaining AssemblyName.Version Property. So this article is more a reminder because it’s quite helpful on application initialization to log the assemblies sometimes. But logging should not be done too early, because assemblies are not […]
I need to create an application syncing 2 Active Directories: For each User in Actice Directory A, a Contact-Document should be created in Active Directory B. .net Framework already provides System.DirectoryServices for this purpose. Doing some tests I got the following System.DirectoryServices.DirectoryServicesCOMException: “The server is unwilling to process the request.” OK, maybe I should wait […]
For input validation I often use the Validators provided by Microsoft out of the box: RequiredFieldValidator to check whether user entered some data into the textbox, RangeValidator to check the range of numeric values or dates, RegularExpressionValidator to check the size of user input (and much more of course), CompareValidator to check dates, and today […]
When it comes to deployment of asp.net projects there are several ways, as described for example on MSDN. Working with ASP.net for several years I’ve found the easiest way of deployment for myself is using zip / rar to pack an archive of updated files. This works very well in both company and personal webserver […]
One of the important things missing in Microsofts Visual Studio Express Editions is the option to create Unit Tests. Fortunately there are some free Unit Test Tools, like xUnit.net, ExpressUnit, and lots more. Undoubtedly the best-known Unit Test Tool is NUnit. It’s written in C# and works perfect with current .net Frameworks. Setting up the […]
If you haven’t used Sandcastle yet, please have a look at it. It’s easy to create developer documentation with it, especially for dlls you want to share with others. And the comment feature is already included in Visual Studio 2005, so why not use it?
Of course my code uses some dlls. When I’m in debug mode I then get the message “There is no source code available for the current location”. This is ok for most dlls, but if it’s my own dll I have the source code and could select it. Unfortunately it sometimes happens that I click […]