Anyone doing ASP.NET development probably admits, openly or not, to introducing or stumbling upon a security issue at some point during their career. Developers are often pressured to deliver code as quickly as possible, and the complexity of the platform and vast number of configuration options often leaves the application in a less than desirable security state. In addition, the configuration requirements for debugging and production are different,...
Wednesday, December 15, 2010
Monday, December 13, 2010
December 13, 2010
Today we are announcing the release of GhostDoc v3.0 - a new major release of the product. This version includes product usability and menu changes, adds many new features - menus, configuration rules, configuration options. It also features new error logging to improve troubleshooting of GhostDoc issues. The new version introduces GhostDoc Pro Edition - enhanced version of the product that gives users complete control over your XML Comment content...
Thursday, November 18, 2010
November 18, 2010
As you may already know, it is easy to come up with a document - the key is in implementing these standards in your organization, through methods like internal trainings, Peer Reviews, Check in policies, Automated code review tools etc. You can have a look at FxCop and/or StyleCop for automating the review process to some extent, and can customize the rules based on your requirements. Anyway, here is a list of some good Coding Standard Documents....
Monday, September 27, 2010
September 27, 2010
Most projects I work on need a list of countries at some point so I put together a snippet of SQL that I could reuse to create and populate a countries table in the database with all countries as given in ISO 3166-1. After recently writing a utility class to populate list controls with world currencies according to ISO 4217 it got me wondering if I could also do the same for countries using only the .Net Framework. And so I came up with the following...
September 27, 2010
Working with SQL Server over the years has made me realize just how much learning I have to do before I can classify myself a database guru. Along the way, I have learned a lot of cool things from various sources, but still have plenty more areas to study. Most of the things that I've learned about SQL Server, as well as many other things, have come from a need for a solution to a particular situation. What I will be discussing...
Tuesday, June 29, 2010
June 29, 2010
One of the really useful Visual Studio add-ins is Smart Paster. It adds a "Paste As." context menu that allows you to paste in the clipboard text as a comment, a correctly quoted string or a string builder. There are versions for VS 2003, 2005 and 2008. But not 2010. Sometimes you can just copy in the dll and addin file into the VS 2010 Addins folder (.\Documents\Visual Studio 2010\Addins) and edit the addin file (it's just xml) to...
Thursday, June 17, 2010
June 17, 2010
Recently, I had a customer want to launch a webpage when the final installation dialog was presented. Obviously the original request was for a traditional web page link shown by the traditional underscored phrase. No version of InstallShield supports this feature – although in the Release Notes for InstallShield 2010, there is a mention of being able to embed a hyperlink within a dialog. For for all of you who are not up-to-date...
June 17, 2010
One of the options that was available to you with installations prior to Windows Installer emergence was the ability to rerun an installation multiple times. By this I mean running the setup again without entering Maintenance Mode – as if it had never been run before. You can still use InstallShield to create an InstallScript using the option and then select the Multi-Instance option which lets your end users rerun an installation...
Tuesday, May 11, 2010
May 11, 2010
SolutionConverter will convert a complete Visual Studio solution from one version to another; it allows you to convert your solutions to both older and newer versions. Currently, Visual Studio 2005, 2008, and 2010 are supported, including Visual C# Express and Visual Basic Express editions. Visual C++ project conversion is not yet supported. More ...
Wednesday, April 7, 2010
April 07, 2010
Too many people don’t realize that there are other options than <!-- --> comments to annotate HTML. These comments are harmful because they are sent to the client and thus make your page heavier than it needs to be. When doing ASP.NET, a simple drop-in replacement is server comments, which are delimited by <%-- --%> instead of <!-- -->. Those server comments are visible in your source code, but will never be rendered to the client....
Tuesday, March 2, 2010
March 02, 2010
enter code hereIn the SQL Server Full-Text Indexing scheme i want to know if a table is in start_chage_tracking mode update_index mode start_change_tracking and start_background_updateindex modes The problem is that i set my tables to "background update index", and then tell it to "start change tracking", but then some months later it doesn't seem to be tracking changes. How i can i see the status of "background updateindex" and "change...
Wednesday, February 24, 2010
February 24, 2010
Believe me it’s easy. If only you won’t get caught up with the 'Impersonation' word. A lot of sites took me for a jolly ride on the Impersonation road. Here's a demo of the code: using System; using System.IO; using System.Runtime.InteropServices; using System.Net; public class ShareThis { //used in calling WNetAddConnection2 [StructLayout (LayoutKind.Sequential)] public struct NETRESOURCE { public int dwScope;...
Thursday, February 18, 2010
February 18, 2010
Every good developer knows never to re-invent the wheel, especially if there is software out there that has been tested by others, and has an established track record. As a developer using the .NET framework I’ve found some of these libraries invaluable, so I’m sharing them for some of the other dev’s out there with a brief outline of how to use. Yedda Twitter Library. URL: http://devblog.yedda.com/index.php/twitter-c-library/ I’ve used this...
Tuesday, February 2, 2010
February 02, 2010

I’m not using NAnt or anything fancy for most of my projects—so I needed a simple, MSBuild way to automate my version numbers in a project.. <tangent> HOLY CRAP! Why isn’t this built into Visual Studio Pro? </tangent> Here we go: 1. Download the latest build of AssemblyInfoTask (download here) (was 1.0.51130.0 for me). ...