The Distribution Share in Microsoft Deployment Toolkit 2008 stores information as well as files required to install the operating systems and applications intended to be deployed via Microsoft Deployment Toolkit 2008. The safeguards against accidental deletion of the file system folder (by default C...
One of the task that a developer needs to accomplish is to code a module for logging, and creating it from scratch will take some of your precious time. So to be a little more productive, we can use a tested library like Log4Net. I have browsed for some pages and found a lot of variations. So putting...
Yesterday I wrote an article explaning what var means in .NET 3.x . Today lets talk about Anonymous Types. Anonymous Types as describe by the C# 3.0 specification are tuple types automatically inferred and created from object initializers. Anonymous Types allows the new operator to be used with an anonymous...
A few days ago a forum question was posted in DevPinoy.org on how to read the values of a inside a GridViewRow and assigning them to a Label control(or TextBox) when that row is selected. I wasn't able to reply to that thread early due to time constraints with a project I had at that time but I told...
In one of the website I have developed, we feature random products displayed on a webpart. This can be done several ways either of the code behind or via t-sql but I think the simplest way to do it is via t-sql with the help of Guid columns. Globally Unique Identifier or GUID is a randomly generated...
I had very bad intermittent connection lately and this TortoiseSVN is really killing me. With my speaker system tuned on 60% volume playing jazz music to stimulate my mind, while I'm committing several files on our server, suddenly the SVN's error sound breaks my silence. This sound is really...
I was running a test on my Web Server today when a friend of mine IMed me about an interesting question about .NET. He was a new programmer for this company and the old developer that he replaced was running production(oh my) applications right of his desktop. The IT manager was getting worried because...
In ASP.NET, one of the tedious things to do is to get values from query string parameters, cast/convert to proper types and assign to local variable for further processing. Initally most developers simply code like this: 1 int orderId = Request.QueryString[ "order_id" ]; 2 OrderBLL orderManager = new...
dwarvend, a former teammate in my frist company once asked me about data paging large resulsets in ASP.NET. Data paging in SQL Server 2005 is relatively easy with new RowNumber feature but supporting dynamic sorting is little tricky. I have this executable to script to demonstrate this sorting. --check...
Seems like i learn something new everyday... public string Name { get { return name; } protected set { name = value; } } I never knew that i could put an accessibility level to the 'set' portion of my property. This technique is called Asymmetric Accessor Accessibility . Read more here .