﻿<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/">
  <channel>
    <title>onDevelopment+=1;</title>
    <description>Articles, tips, code snippets taken from my life as Software Developer.</description>
    <link>http://callicode.com/myBlogs/tabid/53/BlogId/1/Default.aspx</link>
    <language>en-US</language>
    <managingEditor>jcallico@callicode.com</managingEditor>
    <webMaster>jcallico@callicode.com</webMaster>
    <pubDate>Fri, 03 Jul 2009 21:38:04 GMT</pubDate>
    <lastBuildDate>Fri, 03 Jul 2009 21:38:04 GMT</lastBuildDate>
    <docs>http://backend.userland.com/rss</docs>
    <generator>Blog RSS Generator Version 3.5.1.19887</generator>
    <item>
      <title>File not found when selecting build details (ViewProjectReport.aspx) on CruiseControl.NET</title>
      <description>&lt;p&gt;After installing and configuring &lt;a target="_blank" href="http://confluence.public.thoughtworks.org/display/CCNET/Welcome+to+CruiseControl.NET"&gt;CruiseControl.NET&lt;/a&gt; on my Windows XP development station I was getting a File not Found (HTTP 404) error when trying to see the details of a given build, i.e. selecting Latest Build from the main menu.&lt;/p&gt;
&lt;p&gt;Since these URLs don't point to a file in specific but to a "fake" location that is in place handled by &lt;a target="_blank" href="http://confluence.public.thoughtworks.org/display/CCNET/Welcome+to+CruiseControl.NET"&gt;CruiseControl.NET&lt;/a&gt; I wasn't sure if there was something wrong with the directories I was using on my project's configuration.&lt;/p&gt;&lt;a href=http://www.callicode.com/myBlogs/tabid/53/EntryId/25/File-not-found-when-selecting-build-details-ViewProjectReport-aspx-on-CruiseControl-NET.aspx&gt;More...&lt;/a&gt;</description>
      <link>http://www.callicode.com/myBlogs/tabid/53/EntryId/25/File-not-found-when-selecting-build-details-ViewProjectReport-aspx-on-CruiseControl-NET.aspx</link>
      <author>jcallico@callicode.com</author>
      <comments>http://www.callicode.com/myBlogs/tabid/53/EntryId/25/File-not-found-when-selecting-build-details-ViewProjectReport-aspx-on-CruiseControl-NET.aspx#Comments</comments>
      <guid isPermaLink="true">http://www.callicode.com/myBlogs/tabid/53/EntryId/25/File-not-found-when-selecting-build-details-ViewProjectReport-aspx-on-CruiseControl-NET.aspx</guid>
      <pubDate>Mon, 29 Jun 2009 05:00:00 GMT</pubDate>
      <slash:comments>0</slash:comments>
      <trackback:ping>http://callicode.com/DesktopModules/Blog/Trackback.aspx?id=25</trackback:ping>
    </item>
    <item>
      <title>How to disable .pdb generation in Visual Studio 2008</title>
      <description>&lt;p&gt;First things first: If you think .pdb files are only used when debugging your application locally and are not needed when deploying production binaries, please read the following article by John Robbins: &lt;a href="http://www.wintellect.com/CS/blogs/jrobbins/archive/2009/05/11/pdb-files-what-every-developer-must-know.aspx" target="_blank"&gt;PDB Files: What Every Developer Must Know&lt;/a&gt;.&lt;/p&gt;&lt;a href=http://callicode.com/Homeltpagegt/tabid/38/EntryId/24/How-to-disable-pdb-generation-in-Visual-Studio-2008.aspx&gt;More...&lt;/a&gt;</description>
      <link>http://callicode.com/Homeltpagegt/tabid/38/EntryId/24/How-to-disable-pdb-generation-in-Visual-Studio-2008.aspx</link>
      <author>jcallico@callicode.com</author>
      <comments>http://callicode.com/Homeltpagegt/tabid/38/EntryId/24/How-to-disable-pdb-generation-in-Visual-Studio-2008.aspx#Comments</comments>
      <guid isPermaLink="true">http://callicode.com/Homeltpagegt/tabid/38/EntryId/24/How-to-disable-pdb-generation-in-Visual-Studio-2008.aspx</guid>
      <pubDate>Thu, 04 Jun 2009 05:00:00 GMT</pubDate>
      <slash:comments>0</slash:comments>
      <trackback:ping>http://callicode.com/DesktopModules/Blog/Trackback.aspx?id=24</trackback:ping>
    </item>
    <item>
      <title>Stop launching unnecessary instances of ASP.NET Development Server when debugging.</title>
      <description>&lt;p&gt;This is one of these things that bother you but not enough to make you take any action about them.&lt;/p&gt;
&lt;p&gt;Ever since I started using Visual Studio I've been bother by the fact that if your solution contains multiple web projects, when debugging, an instance of "ASP.NET Development Server" is started for every one of them, even if you have selected a "Single startup project" on your Solution properties.&lt;/p&gt;&lt;a href=http://callicode.com/myBlogs/tabid/53/EntryId/22/Stop-launching-unnecessary-instances-of-ASP-NET-Development-Server-when-debugging.aspx&gt;More...&lt;/a&gt;</description>
      <link>http://callicode.com/myBlogs/tabid/53/EntryId/22/Stop-launching-unnecessary-instances-of-ASP-NET-Development-Server-when-debugging.aspx</link>
      <author>jcallico@callicode.com</author>
      <comments>http://callicode.com/myBlogs/tabid/53/EntryId/22/Stop-launching-unnecessary-instances-of-ASP-NET-Development-Server-when-debugging.aspx#Comments</comments>
      <guid isPermaLink="true">http://callicode.com/myBlogs/tabid/53/EntryId/22/Stop-launching-unnecessary-instances-of-ASP-NET-Development-Server-when-debugging.aspx</guid>
      <pubDate>Wed, 27 May 2009 05:00:00 GMT</pubDate>
      <slash:comments>0</slash:comments>
      <trackback:ping>http://callicode.com/DesktopModules/Blog/Trackback.aspx?id=22</trackback:ping>
    </item>
    <item>
      <title>GDR Disappointment</title>
      <description>&lt;font size="2" face="Verdana"&gt;I'm currently multitasking: writing this post and also running the uninstaller for the &lt;a href="http://msdn.microsoft.com/en-us/magazine/dd483214.aspx"&gt;Microsoft Visual Studio Team System 2008 Database Edition GDR&lt;/a&gt;.&lt;br&gt;&lt;br&gt;I was very excited with all the new features, already planning in my mind how I was going to create new database projects as part of my solutions, how I was going to stop using SQL Management Studio to write stored procedures, how I was going to start deploying my SQL changes as part of my releases until I actually installed the application and tried to use the functionality I need the most from the VS Database Edition: Schema and Data comparisons.&lt;br&gt;&lt;br&gt;After trying for several hours to make it work, excusing the application and blaming the “learning curve” for the lack of progress I just decided to wait until the next version of the GDR is released.&lt;br&gt;&lt;br&gt;Too many things just don’t work when comparing schemas; maybe too much attention was paid to the “new” features and the “old” features that made my company choose VS Database Edition over the duo of the Standard Edition and the most expensive &lt;a href="http://www.red-gate.com/products/SQL_Compare/index.htm"&gt;Red Gate Software’s SQL Compare&lt;/a&gt; simply don’t work.&lt;br&gt;&lt;br&gt;By the way, don't forget to follow these steps otherwise the old comparison functionality won't be there when you restart VS:&lt;br&gt;&lt;br&gt;   1. Uninstall “Visual Studio Team System 2008 Database Edition GDR”.&lt;br&gt;   2. Open a Visual Studio 2008 Command Prompt with Elevated Privileges (Start / All Programs / Microsoft Visual Studio 2008 / Visual Studio Tools / Visual Studio Command Prompt.&lt;br&gt;   3. Execute the command&lt;br&gt;      C:\Program Files\Microsoft Visual Studio 9.0\DBPro\DBProRepair RestoreDBPro2008&lt;/font&gt;</description>
      <link>http://callicode.com/Home/tabid/53/EntryId/20/GDR-Disappointment.aspx</link>
      <author>jcallico@callicode.com</author>
      <comments>http://callicode.com/Home/tabid/53/EntryId/20/GDR-Disappointment.aspx#Comments</comments>
      <guid isPermaLink="true">http://callicode.com/Home/tabid/53/EntryId/20/GDR-Disappointment.aspx</guid>
      <pubDate>Thu, 26 Mar 2009 04:00:00 GMT</pubDate>
      <slash:comments>0</slash:comments>
      <trackback:ping>http://callicode.com/DesktopModules/Blog/Trackback.aspx?id=20</trackback:ping>
    </item>
    <item>
      <title>Script to rebuild all indexes in a SQL 2005 database</title>
      <description>&lt;p&gt;&lt;font face="Verdana" size="2"&gt;I took an old script I had and modified it to:&lt;/font&gt;&lt;/p&gt;
&lt;p&gt;&lt;font face="Verdana" size="2"&gt;- Include Schema support.&lt;br /&gt;
- Replace the old &lt;font color="#0000ff"&gt;DBCC DBREINDEX&lt;/font&gt; statement with &lt;font color="#0000ff"&gt;ALTER INDEX ALL&lt;font color="#000000"&gt;.&lt;/font&gt;&lt;br /&gt;
&lt;/font&gt;&lt;/font&gt;&lt;font face="Verdana" size="2"&gt;- Rebuild the indexes online if the Enterprise edition was installed.&lt;br /&gt;
&lt;/font&gt;&lt;font face="Verdana" size="2"&gt;- Generate information about the tables processed.&lt;/font&gt;&lt;/p&gt;&lt;a href=http://callicode.com/myBlogs/tabid/53/EntryId/19/Script-to-rebuild-all-indexes-in-a-SQL-2005-database.aspx&gt;More...&lt;/a&gt;</description>
      <link>http://callicode.com/myBlogs/tabid/53/EntryId/19/Script-to-rebuild-all-indexes-in-a-SQL-2005-database.aspx</link>
      <author>jcallico@callicode.com</author>
      <comments>http://callicode.com/myBlogs/tabid/53/EntryId/19/Script-to-rebuild-all-indexes-in-a-SQL-2005-database.aspx#Comments</comments>
      <guid isPermaLink="true">http://callicode.com/myBlogs/tabid/53/EntryId/19/Script-to-rebuild-all-indexes-in-a-SQL-2005-database.aspx</guid>
      <pubDate>Fri, 30 Jan 2009 05:00:00 GMT</pubDate>
      <slash:comments>0</slash:comments>
      <trackback:ping>http://callicode.com/DesktopModules/Blog/Trackback.aspx?id=19</trackback:ping>
    </item>
    <item>
      <title>How to drop all foreign key constrains in a SQL 2005 database</title>
      <description>&lt;p&gt;&lt;font face="Verdana" size="2"&gt;Today I needed to delete all foreign key contrains in a SQL 2005 database in order to be able to sync it using the Visual Studio Data Compare Tool. I found a script doing almost what I needed but after running it I noticed that it also dropped indexes and defaults in all the schemas. I made some changes to accomplish the following:&lt;/font&gt;&lt;/p&gt;
&lt;p&gt;&lt;font face="Verdana" size="2"&gt;1- Drop foreign key contrains only.&lt;/font&gt;&lt;/p&gt;
&lt;p&gt;&lt;font face="Verdana" size="2"&gt;2- Filter by schema.&lt;/font&gt;&lt;/p&gt;
&lt;p&gt;&lt;font face="Verdana" size="2"&gt;3- Don't execute the drop statements automatically just print them.&lt;/font&gt;&lt;/p&gt;&lt;a href=http://callicode.com/myBlogs/tabid/53/EntryId/18/How-to-drop-all-foreign-key-constrains-in-a-SQL-2005-database.aspx&gt;More...&lt;/a&gt;</description>
      <link>http://callicode.com/myBlogs/tabid/53/EntryId/18/How-to-drop-all-foreign-key-constrains-in-a-SQL-2005-database.aspx</link>
      <author>jcallico@callicode.com</author>
      <comments>http://callicode.com/myBlogs/tabid/53/EntryId/18/How-to-drop-all-foreign-key-constrains-in-a-SQL-2005-database.aspx#Comments</comments>
      <guid isPermaLink="true">http://callicode.com/myBlogs/tabid/53/EntryId/18/How-to-drop-all-foreign-key-constrains-in-a-SQL-2005-database.aspx</guid>
      <pubDate>Tue, 27 Jan 2009 05:00:00 GMT</pubDate>
      <slash:comments>0</slash:comments>
      <trackback:ping>http://callicode.com/DesktopModules/Blog/Trackback.aspx?id=18</trackback:ping>
    </item>
    <item>
      <title>About the error: The name ... does not exist in the current context</title>
      <description>&lt;P&gt;&lt;FONT face=Verdana size=2&gt;When you try to compile in .Net 2.0 (and up) web pages created using .NET 1.1 and automatically migrated by Visual Studio you may receive an error like this: &lt;BR&gt;&lt;FONT color=#ff0000&gt;The name "SampleControl" does not exist in the current context.&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face=Verdana size=2&gt;If you try to declare the control in your code-behind file you will receive the following error: &lt;BR&gt;&lt;FONT color=#ff0000&gt;The type "SamplePage" already contains a definition for "SampleControl".&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face=Verdana size=2&gt;The solution is very simple - but hard to find - and involves making the Page class partial and moving all control declarations to a .designer file.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face=Verdana size=2&gt;This can be done automatically with the following steps:&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&lt;FONT face=Verdana size=2&gt;1- Right click on the .aspx file for the codebehind file that doesn't compile.&lt;BR&gt;2- Choose the 'Convert to Web Application' option.&lt;BR&gt;&lt;BR&gt;This will create a .designer file, and the page will compile.&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <link>http://callicode.com/Home/tabid/53/EntryId/16/About-the-error-The-name-does-not-exist-in-the-current-context.aspx</link>
      <author>jcallico@callicode.com</author>
      <comments>http://callicode.com/Home/tabid/53/EntryId/16/About-the-error-The-name-does-not-exist-in-the-current-context.aspx#Comments</comments>
      <guid isPermaLink="true">http://callicode.com/Home/tabid/53/EntryId/16/About-the-error-The-name-does-not-exist-in-the-current-context.aspx</guid>
      <pubDate>Thu, 03 Jul 2008 05:00:00 GMT</pubDate>
      <slash:comments>1</slash:comments>
      <trackback:ping>http://callicode.com/DesktopModules/Blog/Trackback.aspx?id=16</trackback:ping>
    </item>
    <item>
      <title>Reading about Design Patterns </title>
      <description>&lt;FONT face=Verdana size=2&gt;Last week I found this &lt;/FONT&gt;&lt;A href="http://sourcemaking.com/design-patterns-and-tips" target=_blank&gt;&lt;FONT face=Verdana size=2&gt;site&lt;/FONT&gt;&lt;/A&gt;&lt;A href="http://sourcemaking.com/design-patterns-and-tips"&gt;&lt;FONT face=Verdana size=2&gt; &lt;/FONT&gt;&lt;/A&gt;&lt;FONT face=Verdana size=2&gt;on &lt;/FONT&gt;&lt;FONT face=Verdana size=2&gt;digg.com&lt;/FONT&gt;&lt;FONT face=Verdana size=2&gt; it caught my attention and since I was busy at that moment I saved it on my &lt;/FONT&gt;&lt;A href="http://del.icio.us/" target=_blank&gt;&lt;FONT face=Verdana size=2&gt;del.icio.us&lt;/FONT&gt;&lt;/A&gt;&lt;FONT face=Verdana size=2&gt; bookmarks to check it out later.&lt;BR&gt;&lt;BR&gt;This Sunday I had an extra free time - since there is not much to do outside when it feels like -28C outside - and decided to go back to the article.&lt;BR&gt;&lt;BR&gt;Well this is excellent reference material for any developer/software architect. The video tutorials are excellent and guide you step by step in understanding and implementing the given pattern.&lt;BR&gt;&lt;BR&gt;Here is the link to the article: &lt;/FONT&gt;&lt;A href="http://sourcemaking.com/design-patterns-and-tips"&gt;&lt;FONT face=Verdana size=2&gt;http://sourcemaking.com/design-patterns-and-tips&lt;/FONT&gt;&lt;/A&gt;</description>
      <link>http://callicode.com/Home/tabid/53/EntryId/14/Reading-about-Design-Patterns.aspx</link>
      <author>jcallico@callicode.com</author>
      <comments>http://callicode.com/Home/tabid/53/EntryId/14/Reading-about-Design-Patterns.aspx#Comments</comments>
      <guid isPermaLink="true">http://callicode.com/Home/tabid/53/EntryId/14/Reading-about-Design-Patterns.aspx</guid>
      <pubDate>Sun, 10 Feb 2008 05:00:00 GMT</pubDate>
      <slash:comments>0</slash:comments>
      <trackback:ping>http://callicode.com/DesktopModules/Blog/Trackback.aspx?id=14</trackback:ping>
    </item>
    <item>
      <title>Say goodbye to HTML tables</title>
      <description>&lt;p&gt;&lt;font size="2" face="Verdana"&gt;This month while involved on the redesign of a very popular website I decided not to use HTML tables anymore - or at least avoid its use as much as possible. Ten years ago - when I started building websites - Tables were your friends not your foe. Along came &lt;a href="http://www.w3.org/Style/CSS/" target="_blank"&gt;CSS&lt;/a&gt;&lt;a href="http://www.w3.org/Style/CSS/"&gt; &lt;/a&gt;and the idea of separating the content from the way it is presented.&lt;br&gt; &lt;br&gt;&lt;a href="http://www.w3.org/Style/CSS/" target="_blank"&gt;CSS&lt;/a&gt; is been around for a while and almost all the sites currently use it somehow but do they use it well? Check out &lt;a href="http://www.csszengarden.com/" target="_blank"&gt;CSS Zen Garden&lt;/a&gt;&lt;a href="http://www.csszengarden.com/"&gt; &lt;/a&gt;and decide if your site allows being re-skinned as much as this site.&lt;br&gt;&lt;br&gt;It’s been an excellent experience and I’ll be posting some tips about how to build CSS-friendly sites in the future. &lt;/font&gt;&lt;/p&gt;
&lt;p&gt;&lt;font face="Verdana"&gt;&lt;br&gt;&lt;font size="2"&gt;&lt;/font&gt;&lt;/font&gt; &lt;/p&gt;</description>
      <link>http://callicode.com/Home/tabid/53/EntryId/15/Say-goodbye-to-HTML-tables.aspx</link>
      <author>jcallico@callicode.com</author>
      <comments>http://callicode.com/Home/tabid/53/EntryId/15/Say-goodbye-to-HTML-tables.aspx#Comments</comments>
      <guid isPermaLink="true">http://callicode.com/Home/tabid/53/EntryId/15/Say-goodbye-to-HTML-tables.aspx</guid>
      <pubDate>Wed, 30 Jan 2008 05:00:00 GMT</pubDate>
      <slash:comments>2</slash:comments>
      <trackback:ping>http://callicode.com/DesktopModules/Blog/Trackback.aspx?id=15</trackback:ping>
    </item>
    <item>
      <title>How to enable CURL for PHP on Windows</title>
      <description>&lt;font face="Verdana" size="2"&gt;These are the steps that worked for me:&lt;br&gt;&lt;/font&gt;&lt;ol&gt;&lt;li&gt;&lt;font face="Verdana" size="2"&gt;Uncommented the line "extension=php_curl.dll" in php.ini file.&lt;/font&gt;&lt;/li&gt;&lt;li&gt;&lt;font face="Verdana" size="2"&gt;Copied libeay32.dll and ssleay32.dll to C:\WINDOWS\system32. &lt;/font&gt;&lt;/li&gt;&lt;/ol&gt;&lt;font face="Verdana" size="2"&gt;Note that these two dlls can be found on the PHP folder under the &lt;i&gt;dlls &lt;/i&gt;folder. Adding this folder to the Windows PATH variable should also work. &lt;br&gt;&lt;br&gt;You can use this simple test script - which retrieves and displays yahoo.com homepage - to verify that CURL is now working:&lt;br&gt;&lt;br&gt;&lt;font color="#0000ff" face="Courier New"&gt;&lt;?php&lt;br&gt;$ch = curl_init("http://www.yahoo.com/");&lt;br&gt;curl_setopt($ch, CURLOPT_HEADER, 0);&lt;br&gt;curl_exec($ch);&lt;br&gt;curl_close($ch);&lt;br&gt;?&gt;&lt;/font&gt;&lt;/font&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;</description>
      <link>http://callicode.com/Home/tabid/53/EntryId/13/How-to-enable-CURL-for-PHP-on-Windows.aspx</link>
      <author>jcallico@callicode.com</author>
      <comments>http://callicode.com/Home/tabid/53/EntryId/13/How-to-enable-CURL-for-PHP-on-Windows.aspx#Comments</comments>
      <guid isPermaLink="true">http://callicode.com/Home/tabid/53/EntryId/13/How-to-enable-CURL-for-PHP-on-Windows.aspx</guid>
      <pubDate>Tue, 08 Jan 2008 05:00:00 GMT</pubDate>
      <slash:comments>0</slash:comments>
      <trackback:ping>http://callicode.com/DesktopModules/Blog/Trackback.aspx?id=13</trackback:ping>
    </item>
  </channel>
</rss>