<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-3244222978806762761</id><updated>2012-01-16T11:00:30.982+01:00</updated><category term='xml'/><category term='Vista'/><category term='linq'/><category term='design patterns'/><category term='tools'/><category term='IUrlResolutionService'/><category term='path resolving'/><category term='website beveiliging'/><category term='c# interesting code'/><category term='Inversion of control'/><category term='ajax'/><category term='.net configuration'/><category term='testen'/><category term='conversion'/><category term='UML'/><category term='serialization'/><category term='terminology'/><category term='.net repeater'/><category term='Dependency injection'/><category term='blog'/><category term='pdf'/><category term='Datetime format'/><category term='browsers'/><category term='VS2008'/><category term='Solution to remember'/><category term='c#'/><category term='seo'/><category term='jquery'/><category term='Access'/><category term='enterprise library'/><category term='WCF'/><category term='sql'/><category term='tips'/><category term='start'/><category term='html'/><category term='VS2010'/><category term='exception'/><category term='.net'/><category term='errorpage'/><category term='fun'/><category term='vb.net'/><title type='text'>Tips for C# Developers</title><subtitle type='html'></subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://tipsforcdevelopers.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3244222978806762761/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://tipsforcdevelopers.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><link rel='next' type='application/atom+xml' href='http://www.blogger.com/feeds/3244222978806762761/posts/default?start-index=101&amp;max-results=100'/><author><name>Schooltje</name><uri>http://www.blogger.com/profile/01705460178760655019</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>119</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-3244222978806762761.post-8622219631802019358</id><published>2012-01-14T20:45:00.003+01:00</published><updated>2012-01-14T20:54:24.540+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='VS2010'/><category scheme='http://www.blogger.com/atom/ns#' term='c#'/><category scheme='http://www.blogger.com/atom/ns#' term='testen'/><title type='text'>Testing with Visual Studio 2010</title><content type='html'>The last time I am discovering more and more the test features of Visual Studio 2010. In this blog item I discuss or mention some of these features.&lt;br /&gt;&lt;br /&gt;It is possible to execute a code analysis after each developer build. You can enable (or disable) this in the properties of the project; see tab Code Analysis. There are several rules you can configure (globalization rules, basic correctness or of course you can customize these)&lt;br /&gt;It is also possible to measure the quality of the code, with Code Metrics. Code metrics gives some overview in maintanability and complexibility. The code metrics can be used to give a progress overview in a refactor proces to the management, simply export this data to Excel. The index for maintability, complexibility, depth, code coupling and lines of code.&lt;br /&gt;With the Test Impact Analysis feature Visual Studio shows you the tests which are affected on the code change. (use the Test Impace Window)&lt;br /&gt;There are several tests; Code UI Test, Load Test and Web Performance test. You can also use profiling for your application. You can select CPU Samples, Instrucmentation and compare the results and find the method or class which is the most expensive.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3244222978806762761-8622219631802019358?l=tipsforcdevelopers.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://tipsforcdevelopers.blogspot.com/feeds/8622219631802019358/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://tipsforcdevelopers.blogspot.com/2012/01/testing-with-visual-studio-2010.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3244222978806762761/posts/default/8622219631802019358'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3244222978806762761/posts/default/8622219631802019358'/><link rel='alternate' type='text/html' href='http://tipsforcdevelopers.blogspot.com/2012/01/testing-with-visual-studio-2010.html' title='Testing with Visual Studio 2010'/><author><name>Schooltje</name><uri>http://www.blogger.com/profile/01705460178760655019</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3244222978806762761.post-7815930054139170600</id><published>2012-01-06T20:48:00.004+01:00</published><updated>2012-01-06T20:52:19.977+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='VS2010'/><category scheme='http://www.blogger.com/atom/ns#' term='testen'/><title type='text'>Load Tests in Visual Studio</title><content type='html'>&lt;p&gt;With the help of Visual Studio you can setup a Load Test. A little part of the Load Test is a Web Performance Test (prev. Web Test). A requirement for executing the test again and again without having recording it again is that the ids of the web controls are the same, between postbacks AND IIS restarts. If this is NOT the test will fail, you can solve this by making the web control id constant or maybe you can create an Extraction Rule&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3244222978806762761-7815930054139170600?l=tipsforcdevelopers.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://tipsforcdevelopers.blogspot.com/feeds/7815930054139170600/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://tipsforcdevelopers.blogspot.com/2012/01/load-tests-in-visual-studio.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3244222978806762761/posts/default/7815930054139170600'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3244222978806762761/posts/default/7815930054139170600'/><link rel='alternate' type='text/html' href='http://tipsforcdevelopers.blogspot.com/2012/01/load-tests-in-visual-studio.html' title='Load Tests in Visual Studio'/><author><name>Schooltje</name><uri>http://www.blogger.com/profile/01705460178760655019</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3244222978806762761.post-7021871952530993243</id><published>2011-10-03T11:11:00.008+02:00</published><updated>2011-10-10T07:52:18.652+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='website beveiliging'/><title type='text'>Lektober</title><content type='html'>&lt;p&gt;Webwereld heeft de maand oktober uitgeroepen tot &lt;strong&gt;Lektober&lt;/strong&gt; maand. Iedere werkdag komen lekken op websites aan de orde&lt;/p&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt;&lt;a href="http://webwereld.nl/dossiers/8/lektober--maand-van-het-privacylek.html" target=_blank&gt;Overzicht: lektober--maand-van-het-privacylek&lt;/a&gt;&lt;li&gt;&lt;li&gt;&lt;a href="http://webwereld.nl/nieuws/108176/lek6--escortservice-lekt-email-adressen.html" target=_blank&gt;lek6--escortservice-lekt-email-adressen&lt;/a&gt;&lt;li&gt;&lt;li&gt;&lt;a href="http://webwereld.nl/nieuws/108164/lek5--sql-injectie-bij-erasmus-mc.html" target="_blank"&gt;lek5--sql-injectie-bij-erasmus-mc&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="http://webwereld.nl/nieuws/108140/lek4--ziekenhuis-lekt-data-via-beterschapskaartjes.html" target="_blank"&gt;lek4--ziekenhuis-lekt-data-via-beterschapskaartjes&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="http://webwereld.nl/nieuws/108134/lek3--psychologensite-loopt-leeg-door-sql-injectie.html" target="_blank"&gt;lek3--psychologensite-loopt-leeg-door-sql-injectie&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="http://webwereld.nl/nieuws/108111/lek2--7-gemeenten-kwetsbaar-voor-digid-lek.html" target=_blank&gt;lek2--7-gemeenten-kwetsbaar-voor-digid-lek&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="http://webwereld.nl/nieuws/108107/lek1--blunder-logius-maakt-digid-fraude-kinderspel.html" target="_blank"&gt;lek1 blunder Logius maakt DigId fraude kinderspel&lt;/a&gt;&lt;/li&gt;&lt;/ul&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3244222978806762761-7021871952530993243?l=tipsforcdevelopers.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://tipsforcdevelopers.blogspot.com/feeds/7021871952530993243/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://tipsforcdevelopers.blogspot.com/2011/10/lektober.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3244222978806762761/posts/default/7021871952530993243'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3244222978806762761/posts/default/7021871952530993243'/><link rel='alternate' type='text/html' href='http://tipsforcdevelopers.blogspot.com/2011/10/lektober.html' title='Lektober'/><author><name>Schooltje</name><uri>http://www.blogger.com/profile/01705460178760655019</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3244222978806762761.post-8570772168894292691</id><published>2011-09-27T15:17:00.008+02:00</published><updated>2011-09-27T15:22:31.186+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='.net'/><title type='text'>Use Static Properties Instead of the Application Object to Store Application State</title><content type='html'>&lt;p&gt;You should store data in static members of the application class instead of in the Application object. This increases performance because you can access a static variable faster than you can access an item in the Application dictionary. The following is a simplified example.&lt;/p&gt;&lt;br /&gt;&lt;pre class="csharp" name="code"&gt;&lt;br /&gt;private static string[] _states[];&lt;br /&gt;private static object _lock = new object();&lt;br /&gt;&lt;br /&gt;public static string[] States&lt;br /&gt;{&lt;br /&gt;  get {return _states;}&lt;br /&gt;}&lt;br /&gt;public static void PopulateStates()&lt;br /&gt;{&lt;br /&gt;  //ensure this is thread safe&lt;br /&gt;  if(_states == null)&lt;br /&gt;  {&lt;br /&gt;    lock(_lock)&lt;br /&gt;    {&lt;br /&gt;        //populate the states…    }&lt;br /&gt;  }&lt;br /&gt;}&lt;br /&gt;public void Application_OnStart(object sender, EventArgs e)&lt;br /&gt;{&lt;br /&gt;  PopulateStates();&lt;br /&gt;}&lt;br /&gt;&lt;/pre&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3244222978806762761-8570772168894292691?l=tipsforcdevelopers.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://tipsforcdevelopers.blogspot.com/feeds/8570772168894292691/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://tipsforcdevelopers.blogspot.com/2011/09/use-static-properties-instead-of.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3244222978806762761/posts/default/8570772168894292691'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3244222978806762761/posts/default/8570772168894292691'/><link rel='alternate' type='text/html' href='http://tipsforcdevelopers.blogspot.com/2011/09/use-static-properties-instead-of.html' title='Use Static Properties Instead of the Application Object to Store Application State'/><author><name>Schooltje</name><uri>http://www.blogger.com/profile/01705460178760655019</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3244222978806762761.post-7538748495340593525</id><published>2011-07-28T08:40:00.002+02:00</published><updated>2011-07-28T08:43:12.781+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='.net'/><category scheme='http://www.blogger.com/atom/ns#' term='VS2010'/><category scheme='http://www.blogger.com/atom/ns#' term='.net configuration'/><title type='text'>Web Deployment Package</title><content type='html'>&lt;p&gt;I have never worried about deploying a website. But it takes more and more time, so I have looked today for &lt;a href="http://msdn.microsoft.com/en-us/library/bb386521.aspx" target="_blank" title="ASP.NET Deployment Content Map&lt;br /&gt;"&gt;Web Deployment Package&lt;/a&gt;. This is a feature of VS2010 (or is it already included in VS2008?) this looks as a nice feature. I will analyse this in more detail and write the conclusions on this blog. When someone has some tips, let me know;)&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3244222978806762761-7538748495340593525?l=tipsforcdevelopers.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://tipsforcdevelopers.blogspot.com/feeds/7538748495340593525/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://tipsforcdevelopers.blogspot.com/2011/07/web-deployment-package.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3244222978806762761/posts/default/7538748495340593525'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3244222978806762761/posts/default/7538748495340593525'/><link rel='alternate' type='text/html' href='http://tipsforcdevelopers.blogspot.com/2011/07/web-deployment-package.html' title='Web Deployment Package'/><author><name>Schooltje</name><uri>http://www.blogger.com/profile/01705460178760655019</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3244222978806762761.post-6115940271678345807</id><published>2011-01-02T11:21:00.001+01:00</published><updated>2011-01-02T11:23:04.539+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Vista'/><title type='text'>Vista folders views keeps changing</title><content type='html'>&lt;p&gt;An annoying thing in my Vista installation, was that the Folder views from Explorer keeps changing. Finally I have found a &lt;a href="http://www.tweakguides.com/VA_4.html" target="_blank"&gt;solution&lt;/a&gt; for it. Propaply this solution was long time ago developed, because Windows 7 is already released. But better late, then never;)&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3244222978806762761-6115940271678345807?l=tipsforcdevelopers.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://tipsforcdevelopers.blogspot.com/feeds/6115940271678345807/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://tipsforcdevelopers.blogspot.com/2011/01/vista-folders-views-keeps-changing.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3244222978806762761/posts/default/6115940271678345807'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3244222978806762761/posts/default/6115940271678345807'/><link rel='alternate' type='text/html' href='http://tipsforcdevelopers.blogspot.com/2011/01/vista-folders-views-keeps-changing.html' title='Vista folders views keeps changing'/><author><name>Schooltje</name><uri>http://www.blogger.com/profile/01705460178760655019</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3244222978806762761.post-417663866838786892</id><published>2010-12-18T16:41:00.003+01:00</published><updated>2011-01-30T14:49:32.418+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='.net configuration'/><title type='text'>Configsource</title><content type='html'>&lt;p&gt;A collegua of me sent a while ago a link about &lt;a href="http://msdn.microsoft.com/en-us/library/system.configuration.sectioninformation.configsource.aspx" target="_blank"&gt;ConfigSource&lt;/a&gt;. I think this is an easy way for dividing the web.config is some logical parts. So I am goiing to use this in my (private) projects. Unfortunately the external file must be in a &lt;a href="http://social.msdn.microsoft.com/forums/en-US/netfxbcl/thread/1cad3740-12f5-4859-ba02-717c4b418a8c/" target="_blank"&gt;relative physical path&lt;/a&gt; to the application because of security reasons.&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;strong&gt;Update:&lt;/strong&gt;The attribute configSource works only for a complete section and NOT for a single ConfigurationElement.&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3244222978806762761-417663866838786892?l=tipsforcdevelopers.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://tipsforcdevelopers.blogspot.com/feeds/417663866838786892/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://tipsforcdevelopers.blogspot.com/2010/12/configsource.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3244222978806762761/posts/default/417663866838786892'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3244222978806762761/posts/default/417663866838786892'/><link rel='alternate' type='text/html' href='http://tipsforcdevelopers.blogspot.com/2010/12/configsource.html' title='Configsource'/><author><name>Schooltje</name><uri>http://www.blogger.com/profile/01705460178760655019</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3244222978806762761.post-1804431695202808972</id><published>2010-12-06T19:54:00.002+01:00</published><updated>2010-12-06T19:56:34.450+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='.net'/><category scheme='http://www.blogger.com/atom/ns#' term='VS2010'/><title type='text'>ToOADate</title><content type='html'>&lt;p&gt;For a couple of my hobby web sites I use an Access database. When I upgrade these website to ASP.NET 4.0 Framework I have had also to update some calls to the database for the DateTime columns, I have to use the &lt;a href="http://msdn.microsoft.com/en-us/library/system.datetime.tooadate.aspx" target="_blank"&gt;ToOADate()&lt;/a&gt; method.&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3244222978806762761-1804431695202808972?l=tipsforcdevelopers.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://tipsforcdevelopers.blogspot.com/feeds/1804431695202808972/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://tipsforcdevelopers.blogspot.com/2010/12/tooadate.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3244222978806762761/posts/default/1804431695202808972'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3244222978806762761/posts/default/1804431695202808972'/><link rel='alternate' type='text/html' href='http://tipsforcdevelopers.blogspot.com/2010/12/tooadate.html' title='ToOADate'/><author><name>Schooltje</name><uri>http://www.blogger.com/profile/01705460178760655019</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3244222978806762761.post-1471446419069084368</id><published>2010-11-17T13:25:00.002+01:00</published><updated>2010-11-17T13:27:15.131+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='.net repeater'/><title type='text'>Repeater: Custom ItemTemplate</title><content type='html'>&lt;p&gt;When you want to create a custom item template in a repeater you have to read&lt;a href="http://www.codeproject.com/KB/webforms/ObjectRepeater.aspx?display=Print" target="_blank"&gt;this article&lt;/a&gt;. In this article the css-class and the html depends of the content of the data collection. So you want a different ItemTemplate for another row.&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3244222978806762761-1471446419069084368?l=tipsforcdevelopers.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://tipsforcdevelopers.blogspot.com/feeds/1471446419069084368/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://tipsforcdevelopers.blogspot.com/2010/11/repeater-custom-itemtemplate.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3244222978806762761/posts/default/1471446419069084368'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3244222978806762761/posts/default/1471446419069084368'/><link rel='alternate' type='text/html' href='http://tipsforcdevelopers.blogspot.com/2010/11/repeater-custom-itemtemplate.html' title='Repeater: Custom ItemTemplate'/><author><name>Schooltje</name><uri>http://www.blogger.com/profile/01705460178760655019</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3244222978806762761.post-5255815639618405242</id><published>2010-11-17T13:20:00.002+01:00</published><updated>2010-11-17T13:23:24.354+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='.net'/><category scheme='http://www.blogger.com/atom/ns#' term='errorpage'/><title type='text'>Web.config customErrors element</title><content type='html'>&lt;p&gt;In de web.config of a (web) application it is possible te configure the &lt;a href="http://msdn.microsoft.com/en-us/library/h0hfz6fc.aspx" target="_blank"&gt;customErrors&lt;/a&gt; element. Mostly for development I want to see the details of the errors so I can fix these quickly. But when the application runs for end-users I want to be informed about these errors and the users sees a friendly message "there is something wrong, this is registrerd".&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3244222978806762761-5255815639618405242?l=tipsforcdevelopers.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://tipsforcdevelopers.blogspot.com/feeds/5255815639618405242/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://tipsforcdevelopers.blogspot.com/2010/11/webconfig-customerrors-element.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3244222978806762761/posts/default/5255815639618405242'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3244222978806762761/posts/default/5255815639618405242'/><link rel='alternate' type='text/html' href='http://tipsforcdevelopers.blogspot.com/2010/11/webconfig-customerrors-element.html' title='Web.config customErrors element'/><author><name>Schooltje</name><uri>http://www.blogger.com/profile/01705460178760655019</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3244222978806762761.post-7551318740458453214</id><published>2010-11-01T08:07:00.002+01:00</published><updated>2010-11-01T08:10:01.237+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='VS2008'/><title type='text'>ildasm.exe</title><content type='html'>In the command prompt of Visual Studio it is possible to call the windows tool&lt;br /&gt;&lt;a href="http://msdn.microsoft.com/en-us/library/aa309387(VS.71).aspx" target="_blank"&gt;ildasm.exe&lt;/a&gt;. With this tool the assembly manifest is readable and so the related assemblies can be retrieved.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3244222978806762761-7551318740458453214?l=tipsforcdevelopers.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://tipsforcdevelopers.blogspot.com/feeds/7551318740458453214/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://tipsforcdevelopers.blogspot.com/2010/11/ildasmexe.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3244222978806762761/posts/default/7551318740458453214'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3244222978806762761/posts/default/7551318740458453214'/><link rel='alternate' type='text/html' href='http://tipsforcdevelopers.blogspot.com/2010/11/ildasmexe.html' title='ildasm.exe'/><author><name>Schooltje</name><uri>http://www.blogger.com/profile/01705460178760655019</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3244222978806762761.post-1221149016522224031</id><published>2010-10-18T12:27:00.001+02:00</published><updated>2010-10-18T12:28:19.608+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='.net'/><category scheme='http://www.blogger.com/atom/ns#' term='VS2008'/><category scheme='http://www.blogger.com/atom/ns#' term='c#'/><title type='text'>Public token key</title><content type='html'>&lt;p&gt;With the 'sn.exe' tool of Visual Studio it is possible to retrieve the public token key. But watch for the casing!!&lt;/br&gt;&lt;br /&gt;Use the command: sn.exe -Tp "FilePath to assembly"&lt;br/&gt;&lt;br /&gt;&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3244222978806762761-1221149016522224031?l=tipsforcdevelopers.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://tipsforcdevelopers.blogspot.com/feeds/1221149016522224031/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://tipsforcdevelopers.blogspot.com/2010/10/public-token-key.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3244222978806762761/posts/default/1221149016522224031'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3244222978806762761/posts/default/1221149016522224031'/><link rel='alternate' type='text/html' href='http://tipsforcdevelopers.blogspot.com/2010/10/public-token-key.html' title='Public token key'/><author><name>Schooltje</name><uri>http://www.blogger.com/profile/01705460178760655019</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3244222978806762761.post-1353849913154920610</id><published>2010-10-12T08:37:00.004+02:00</published><updated>2010-10-12T08:40:22.469+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='.net'/><category scheme='http://www.blogger.com/atom/ns#' term='c#'/><title type='text'>Fiddler and localhost</title><content type='html'>&lt;p&gt;Working with &lt;a href="http://www.fiddler2.com/fiddler/version.asp" target="_blank"&gt;Fiddler&lt;/a&gt; for seeing the details of the Http request of a website is usefull for optimizing the performance of a website. Check if there are unneeded requests or if there are many requests which triggers a 404.&lt;br/&gt;&lt;br/&gt;A tip when working with localhost you must http://localhost.:1519/default.aspx instead of &lt;br /&gt;http://localhost:1519/default.aspx. So add a point behind the hostname.&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3244222978806762761-1353849913154920610?l=tipsforcdevelopers.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://tipsforcdevelopers.blogspot.com/feeds/1353849913154920610/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://tipsforcdevelopers.blogspot.com/2010/10/fiddler-and-localhost.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3244222978806762761/posts/default/1353849913154920610'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3244222978806762761/posts/default/1353849913154920610'/><link rel='alternate' type='text/html' href='http://tipsforcdevelopers.blogspot.com/2010/10/fiddler-and-localhost.html' title='Fiddler and localhost'/><author><name>Schooltje</name><uri>http://www.blogger.com/profile/01705460178760655019</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3244222978806762761.post-7627158501340776966</id><published>2010-10-12T07:34:00.003+02:00</published><updated>2010-10-12T07:37:33.220+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='.net'/><category scheme='http://www.blogger.com/atom/ns#' term='c#'/><title type='text'>IEnumerable Empty</title><content type='html'>&lt;p&gt;When creating an IEnumerables, I mostly returned a null value when there are no values for the collection. But it is in some situations better to return an empty collection. This can be done with the &lt;a href="http://msdn.microsoft.com/en-us/library/bb341042.aspx" target="_blank"&gt;Enumerable.Empty method&lt;/a&gt;.&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3244222978806762761-7627158501340776966?l=tipsforcdevelopers.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://tipsforcdevelopers.blogspot.com/feeds/7627158501340776966/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://tipsforcdevelopers.blogspot.com/2010/10/ienumerable-empty.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3244222978806762761/posts/default/7627158501340776966'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3244222978806762761/posts/default/7627158501340776966'/><link rel='alternate' type='text/html' href='http://tipsforcdevelopers.blogspot.com/2010/10/ienumerable-empty.html' title='IEnumerable Empty'/><author><name>Schooltje</name><uri>http://www.blogger.com/profile/01705460178760655019</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3244222978806762761.post-3448351720417038420</id><published>2010-05-28T07:36:00.001+02:00</published><updated>2010-05-28T07:36:39.516+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='.net'/><category scheme='http://www.blogger.com/atom/ns#' term='VS2010'/><category scheme='http://www.blogger.com/atom/ns#' term='c#'/><title type='text'>Short cuts in Visual Studio 2010</title><content type='html'>&lt;p&gt;&lt;a href="http://www.microsoft.com/downloads/details.aspx?displaylang=en&amp;FamilyID=92ced922-d505-457a-8c9c-84036160639f" target="_blank"&gt;shortcuts of Visual Studio 2010&lt;/a&gt;&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3244222978806762761-3448351720417038420?l=tipsforcdevelopers.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://tipsforcdevelopers.blogspot.com/feeds/3448351720417038420/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://tipsforcdevelopers.blogspot.com/2010/05/short-cuts-in-visual-studio-2010.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3244222978806762761/posts/default/3448351720417038420'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3244222978806762761/posts/default/3448351720417038420'/><link rel='alternate' type='text/html' href='http://tipsforcdevelopers.blogspot.com/2010/05/short-cuts-in-visual-studio-2010.html' title='Short cuts in Visual Studio 2010'/><author><name>Schooltje</name><uri>http://www.blogger.com/profile/01705460178760655019</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3244222978806762761.post-5843631367274680495</id><published>2010-05-19T08:33:00.001+02:00</published><updated>2010-05-19T08:35:08.752+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='.net'/><category scheme='http://www.blogger.com/atom/ns#' term='c#'/><title type='text'>How to take ScreenShot in C#</title><content type='html'>From &lt;a href="http://jalpesh.blogspot.com/2007/06/how-to-take-screenshot-in-c.html" target="_blank"&gt;this article&lt;/a&gt; I have copied the code below for taking a screenshot. I have not yet tested this code, because I do not reminder where I need this... when I do I will update this post:)&lt;br /&gt;&lt;br /&gt;here is the code in C# for screenshot.&lt;br /&gt;&lt;br /&gt;int screenWidth = Screen.GetBounds(new Point(0, 0)).Width;&lt;br /&gt;int screenHeight = Screen.GetBounds(new Point(0, 0)).Height;&lt;br /&gt;Bitmap bmpScreenShot = new Bitmap(screenWidth, screenHeight);&lt;br /&gt;Graphics gfx = Graphics.FromImage((Image)bmpScreenShot);&lt;br /&gt;gfx.CopyFromScreen(0, 0, 0, 0, new Size(screenWidth, screenHeight));&lt;br /&gt;bmpScreenShot.Save("test.jpg", ImageFormat.Jpeg);&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3244222978806762761-5843631367274680495?l=tipsforcdevelopers.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://tipsforcdevelopers.blogspot.com/feeds/5843631367274680495/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://tipsforcdevelopers.blogspot.com/2010/05/how-to-take-screenshot-in-c.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3244222978806762761/posts/default/5843631367274680495'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3244222978806762761/posts/default/5843631367274680495'/><link rel='alternate' type='text/html' href='http://tipsforcdevelopers.blogspot.com/2010/05/how-to-take-screenshot-in-c.html' title='How to take ScreenShot in C#'/><author><name>Schooltje</name><uri>http://www.blogger.com/profile/01705460178760655019</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3244222978806762761.post-6770023742739375825</id><published>2010-04-30T14:26:00.002+02:00</published><updated>2010-05-06T08:58:09.582+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='.net'/><category scheme='http://www.blogger.com/atom/ns#' term='VS2010'/><category scheme='http://www.blogger.com/atom/ns#' term='c#'/><title type='text'>.NET Framework 4</title><content type='html'>Since the beginning of this month is &lt;a href="http://msdn.microsoft.com/en-us/library/ee941656.aspx" target="_blank"&gt;.NET Framework 4&lt;/a&gt; released. When migrating to a newer version of the framework, there are always some issues. These issues are listed on the MSDN site. Hope it helps!&lt;br/&gt;&lt;br/&gt;Update: &lt;a href="http://www.asp.net/learn/whitepapers/aspnet4/breaking-changes" target="_blank"&gt;Some changes from another view&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3244222978806762761-6770023742739375825?l=tipsforcdevelopers.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://tipsforcdevelopers.blogspot.com/feeds/6770023742739375825/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://tipsforcdevelopers.blogspot.com/2010/04/net-framework-4.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3244222978806762761/posts/default/6770023742739375825'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3244222978806762761/posts/default/6770023742739375825'/><link rel='alternate' type='text/html' href='http://tipsforcdevelopers.blogspot.com/2010/04/net-framework-4.html' title='.NET Framework 4'/><author><name>Schooltje</name><uri>http://www.blogger.com/profile/01705460178760655019</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3244222978806762761.post-6840274457682176599</id><published>2010-03-25T11:15:00.001+01:00</published><updated>2010-03-25T11:16:56.512+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='.net'/><category scheme='http://www.blogger.com/atom/ns#' term='c#'/><title type='text'>Embedded Resources</title><content type='html'>When you work with embedded resource, you can use the following code to get a list of all the embedded resources in de current assembly:&lt;br /&gt;&lt;pre class="csharp" name="code"&gt;&lt;br /&gt;foreach (string s in this.GetType().Assembly.GetManifestResourceNames())&lt;br /&gt;      System.Diagnostics.Debug.WriteLine(s);&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;More info on &lt;a href="http://www.geekality.net/2008/12/27/how-to-use-assembly-embedded-resources/" target="_blank"&gt;How to use assemlby embedded resources&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3244222978806762761-6840274457682176599?l=tipsforcdevelopers.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://tipsforcdevelopers.blogspot.com/feeds/6840274457682176599/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://tipsforcdevelopers.blogspot.com/2010/03/embedded-resources.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3244222978806762761/posts/default/6840274457682176599'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3244222978806762761/posts/default/6840274457682176599'/><link rel='alternate' type='text/html' href='http://tipsforcdevelopers.blogspot.com/2010/03/embedded-resources.html' title='Embedded Resources'/><author><name>Schooltje</name><uri>http://www.blogger.com/profile/01705460178760655019</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3244222978806762761.post-1990424836316731717</id><published>2010-03-12T08:37:00.001+01:00</published><updated>2010-03-12T08:38:22.127+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='.net'/><category scheme='http://www.blogger.com/atom/ns#' term='c#'/><title type='text'>Check your web.config</title><content type='html'>&lt;p&gt;&lt;a href="http://weblogs.asp.net/dotnetstories/archive/2009/10/24/five-common-mistakes-in-the-web-config-file.aspx" target="_blank"&gt;Check your web.config&lt;/a&gt; on these common mistakes which occurs in the web.configs.&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3244222978806762761-1990424836316731717?l=tipsforcdevelopers.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://tipsforcdevelopers.blogspot.com/feeds/1990424836316731717/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://tipsforcdevelopers.blogspot.com/2010/03/check-your-webconfig.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3244222978806762761/posts/default/1990424836316731717'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3244222978806762761/posts/default/1990424836316731717'/><link rel='alternate' type='text/html' href='http://tipsforcdevelopers.blogspot.com/2010/03/check-your-webconfig.html' title='Check your web.config'/><author><name>Schooltje</name><uri>http://www.blogger.com/profile/01705460178760655019</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3244222978806762761.post-4631509826035372751</id><published>2010-03-12T08:32:00.002+01:00</published><updated>2010-03-12T08:35:20.254+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='.net'/><category scheme='http://www.blogger.com/atom/ns#' term='c#'/><title type='text'>IIS 7 and IIS 7.5</title><content type='html'>&lt;p&gt;The IIS version for Windows Server 2008 (Vista) is IIS7 and the IIS version for Windows Server 2008 R2 (Windows 7) is IIS 7.5. &lt;a href="http://learn.iis.net/page.aspx/29/install-iis-7-on-windows-server-2008-or-windows-server-2008-r2/" target="_blank"&gt;read more information about specific details&lt;/a&gt;. At the moment it is not clear for me what the difference are for configuring a web application in IIS 7 and IIS7.5, specially for the web.config. When I know more about this, I will blog this....&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3244222978806762761-4631509826035372751?l=tipsforcdevelopers.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://tipsforcdevelopers.blogspot.com/feeds/4631509826035372751/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://tipsforcdevelopers.blogspot.com/2010/03/iis-7-and-iis-75.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3244222978806762761/posts/default/4631509826035372751'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3244222978806762761/posts/default/4631509826035372751'/><link rel='alternate' type='text/html' href='http://tipsforcdevelopers.blogspot.com/2010/03/iis-7-and-iis-75.html' title='IIS 7 and IIS 7.5'/><author><name>Schooltje</name><uri>http://www.blogger.com/profile/01705460178760655019</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3244222978806762761.post-6354197402438029478</id><published>2010-03-12T08:29:00.002+01:00</published><updated>2010-03-12T08:31:59.850+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='browsers'/><title type='text'>Browser capabilities</title><content type='html'>&lt;p&gt;&lt;a href="http://www.howtocreate.co.uk/tutorials/jsexamples/brotest/" target="_blank"&gt;Test your browser capabilities&lt;/a&gt; on this site. When you use the Developer Toolbar for disabling Javascript or CSS support you can see the results on this page. Also useful for crossbrowsing web development.&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3244222978806762761-6354197402438029478?l=tipsforcdevelopers.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://tipsforcdevelopers.blogspot.com/feeds/6354197402438029478/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://tipsforcdevelopers.blogspot.com/2010/03/browser-capabilities.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3244222978806762761/posts/default/6354197402438029478'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3244222978806762761/posts/default/6354197402438029478'/><link rel='alternate' type='text/html' href='http://tipsforcdevelopers.blogspot.com/2010/03/browser-capabilities.html' title='Browser capabilities'/><author><name>Schooltje</name><uri>http://www.blogger.com/profile/01705460178760655019</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3244222978806762761.post-7980160273325120912</id><published>2010-03-08T09:17:00.002+01:00</published><updated>2010-03-08T09:19:52.286+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='terminology'/><title type='text'>Name Mangling</title><content type='html'>&lt;p&gt;&lt;a href="http://en.wikipedia.org/wiki/Name_mangling" target="_blank"&gt;Name Mangling&lt;/a&gt; is a definition which is used inside a programming language. For example: A compiler uses this, for unique identification for private fields by prefixing the private fields with the class name.&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3244222978806762761-7980160273325120912?l=tipsforcdevelopers.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://tipsforcdevelopers.blogspot.com/feeds/7980160273325120912/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://tipsforcdevelopers.blogspot.com/2010/03/name-mangling.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3244222978806762761/posts/default/7980160273325120912'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3244222978806762761/posts/default/7980160273325120912'/><link rel='alternate' type='text/html' href='http://tipsforcdevelopers.blogspot.com/2010/03/name-mangling.html' title='Name Mangling'/><author><name>Schooltje</name><uri>http://www.blogger.com/profile/01705460178760655019</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3244222978806762761.post-8377912749520852271</id><published>2010-02-17T11:21:00.001+01:00</published><updated>2010-02-17T11:21:40.108+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='.net'/><category scheme='http://www.blogger.com/atom/ns#' term='linq'/><category scheme='http://www.blogger.com/atom/ns#' term='c#'/><title type='text'>LINQ: ToLookup vs ToDictionary</title><content type='html'>&lt;p&gt;A nice article about &lt;a target="_blank" href="http://blog.donnfelker.com/2010/02/12/linq-tolookup-vs-todictionary/"&gt;LINQ: ToLookup vs ToDictionary&lt;/a&gt;&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3244222978806762761-8377912749520852271?l=tipsforcdevelopers.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://tipsforcdevelopers.blogspot.com/feeds/8377912749520852271/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://tipsforcdevelopers.blogspot.com/2010/02/linq-tolookup-vs-todictionary.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3244222978806762761/posts/default/8377912749520852271'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3244222978806762761/posts/default/8377912749520852271'/><link rel='alternate' type='text/html' href='http://tipsforcdevelopers.blogspot.com/2010/02/linq-tolookup-vs-todictionary.html' title='LINQ: ToLookup vs ToDictionary'/><author><name>Schooltje</name><uri>http://www.blogger.com/profile/01705460178760655019</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3244222978806762761.post-6642775502197729960</id><published>2010-02-08T07:48:00.002+01:00</published><updated>2010-02-08T07:50:24.096+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='.net'/><category scheme='http://www.blogger.com/atom/ns#' term='c#'/><title type='text'>Taking Shapshots in ASP.NET</title><content type='html'>On the blog of &lt;a href="http://www.enestaylan.com/eng/post/2010/01/05/Taking-Snapshot-in-ASPNET.aspx" target="_blank"&gt;ENES TAYLAN&lt;/a&gt; I have found an article about &lt;a href="http://www.enestaylan.com/eng/post/2010/01/05/Taking-Snapshot-in-ASPNET.aspx" target="_blank"&gt;Taking Shapshots in ASP.NET&lt;/a&gt;. It is a nice feature, but it must be provided as webservice, in the example on this page it can only be used a stand-alone.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3244222978806762761-6642775502197729960?l=tipsforcdevelopers.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://tipsforcdevelopers.blogspot.com/feeds/6642775502197729960/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://tipsforcdevelopers.blogspot.com/2010/02/taking-shapshots-in-aspnet.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3244222978806762761/posts/default/6642775502197729960'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3244222978806762761/posts/default/6642775502197729960'/><link rel='alternate' type='text/html' href='http://tipsforcdevelopers.blogspot.com/2010/02/taking-shapshots-in-aspnet.html' title='Taking Shapshots in ASP.NET'/><author><name>Schooltje</name><uri>http://www.blogger.com/profile/01705460178760655019</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3244222978806762761.post-2481823013199015545</id><published>2010-02-08T07:45:00.001+01:00</published><updated>2010-02-08T07:45:58.668+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='.net'/><category scheme='http://www.blogger.com/atom/ns#' term='exception'/><category scheme='http://www.blogger.com/atom/ns#' term='c#'/><title type='text'>Which exceptions are there in .NET?</title><content type='html'>On the blog of &lt;a href="http://www.mikesdotnetting.com/Article/130/Cheat-Sheet-.NET-Framework-Exceptions" target="_blank"&gt;Mikesdotnetting&lt;/a&gt; there is a &lt;a href="http://www.mikesdotnetting.com/Article/130/Cheat-Sheet-.NET-Framework-Exceptions" target="_blank"&gt;article&lt;/a&gt; which summaries some exceptions from the .NET Framework. So these can be used.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3244222978806762761-2481823013199015545?l=tipsforcdevelopers.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://tipsforcdevelopers.blogspot.com/feeds/2481823013199015545/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://tipsforcdevelopers.blogspot.com/2010/02/which-exceptions-are-there-in-net.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3244222978806762761/posts/default/2481823013199015545'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3244222978806762761/posts/default/2481823013199015545'/><link rel='alternate' type='text/html' href='http://tipsforcdevelopers.blogspot.com/2010/02/which-exceptions-are-there-in-net.html' title='Which exceptions are there in .NET?'/><author><name>Schooltje</name><uri>http://www.blogger.com/profile/01705460178760655019</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3244222978806762761.post-5298433824176594543</id><published>2010-02-05T07:56:00.001+01:00</published><updated>2010-02-05T07:56:27.449+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='.net'/><category scheme='http://www.blogger.com/atom/ns#' term='c#'/><title type='text'>Callbacks</title><content type='html'>&lt;a href="http://www.codeproject.com/KB/webforms/CallBackWebControls.aspx"&gt;Some information about callbacks&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3244222978806762761-5298433824176594543?l=tipsforcdevelopers.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://tipsforcdevelopers.blogspot.com/feeds/5298433824176594543/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://tipsforcdevelopers.blogspot.com/2010/02/callbacks.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3244222978806762761/posts/default/5298433824176594543'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3244222978806762761/posts/default/5298433824176594543'/><link rel='alternate' type='text/html' href='http://tipsforcdevelopers.blogspot.com/2010/02/callbacks.html' title='Callbacks'/><author><name>Schooltje</name><uri>http://www.blogger.com/profile/01705460178760655019</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3244222978806762761.post-7706714516869061091</id><published>2010-02-01T07:51:00.002+01:00</published><updated>2010-02-01T07:54:46.508+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='.net'/><category scheme='http://www.blogger.com/atom/ns#' term='linq'/><category scheme='http://www.blogger.com/atom/ns#' term='c#'/><title type='text'>How to get an indexed item of an IEnumerable object (Linq)</title><content type='html'>&lt;p&gt;&lt;a href="http://weblogs.asp.net/jeffwids/archive/2010/01/29/how-to-get-an-indexed-item-of-an-ienumerable-object-linq.aspx" target="_blank"&gt;How to get an indexed item of an IEnumerable object (Linq)&lt;/a&gt;, this is a question which I often have had when I start using IEnumerable. But it is possible with the ElementAt() extension method!.&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3244222978806762761-7706714516869061091?l=tipsforcdevelopers.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://tipsforcdevelopers.blogspot.com/feeds/7706714516869061091/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://tipsforcdevelopers.blogspot.com/2010/02/how-to-get-indexed-item-of-ienumerable.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3244222978806762761/posts/default/7706714516869061091'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3244222978806762761/posts/default/7706714516869061091'/><link rel='alternate' type='text/html' href='http://tipsforcdevelopers.blogspot.com/2010/02/how-to-get-indexed-item-of-ienumerable.html' title='How to get an indexed item of an IEnumerable object (Linq)'/><author><name>Schooltje</name><uri>http://www.blogger.com/profile/01705460178760655019</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3244222978806762761.post-3391728738597923428</id><published>2010-01-27T15:49:00.000+01:00</published><updated>2010-01-27T15:50:01.613+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='.net'/><category scheme='http://www.blogger.com/atom/ns#' term='c#'/><title type='text'>Adding a Reference Path to all your .NET projects</title><content type='html'>&lt;a href="http://weblogs.asp.net/pabloretyk/archive/2010/01/27/adding-a-reference-path-to-all-your-net-projects.aspx" target="_blank"&gt;Adding a Reference Path to all your .NET projects&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3244222978806762761-3391728738597923428?l=tipsforcdevelopers.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://tipsforcdevelopers.blogspot.com/feeds/3391728738597923428/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://tipsforcdevelopers.blogspot.com/2010/01/adding-reference-path-to-all-your-net.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3244222978806762761/posts/default/3391728738597923428'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3244222978806762761/posts/default/3391728738597923428'/><link rel='alternate' type='text/html' href='http://tipsforcdevelopers.blogspot.com/2010/01/adding-reference-path-to-all-your-net.html' title='Adding a Reference Path to all your .NET projects'/><author><name>Schooltje</name><uri>http://www.blogger.com/profile/01705460178760655019</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3244222978806762761.post-7529639715112988852</id><published>2010-01-22T10:52:00.002+01:00</published><updated>2010-01-22T10:53:28.375+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='.net'/><category scheme='http://www.blogger.com/atom/ns#' term='c#'/><title type='text'>Get the name of the method</title><content type='html'>&lt;p&gt;Sometimes it is easy to print the methodname of the current method. This can be typed manually, but with use of Reflection this can be retrieved with the following simple command:&lt;br/&gt;&lt;br /&gt;System.Reflection.MethodBase.GetCurrentMethod().Name&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3244222978806762761-7529639715112988852?l=tipsforcdevelopers.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://tipsforcdevelopers.blogspot.com/feeds/7529639715112988852/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://tipsforcdevelopers.blogspot.com/2010/01/get-name-of-method.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3244222978806762761/posts/default/7529639715112988852'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3244222978806762761/posts/default/7529639715112988852'/><link rel='alternate' type='text/html' href='http://tipsforcdevelopers.blogspot.com/2010/01/get-name-of-method.html' title='Get the name of the method'/><author><name>Schooltje</name><uri>http://www.blogger.com/profile/01705460178760655019</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3244222978806762761.post-214219351130500782</id><published>2010-01-11T19:27:00.001+01:00</published><updated>2010-01-11T19:29:17.674+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='tools'/><title type='text'>Log Parser</title><content type='html'>&lt;a href="http://weblogs.asp.net/guybarrette/archive/2010/01/10/parsing-iis-logs.aspx" target="_blank"&gt;Log Parser&lt;/a&gt; is a usefull tool for reading and analysing IIS logfiles.&lt;br/&gt;&lt;a href="http://www.microsoft.com/downloads/details.aspx?FamilyID=890cd06b-abf8-4c25-91b2-f8d975cf8c07&amp;displaylang=en" target="_blank"&gt;Download Log Parser&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3244222978806762761-214219351130500782?l=tipsforcdevelopers.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://tipsforcdevelopers.blogspot.com/feeds/214219351130500782/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://tipsforcdevelopers.blogspot.com/2010/01/log-parser.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3244222978806762761/posts/default/214219351130500782'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3244222978806762761/posts/default/214219351130500782'/><link rel='alternate' type='text/html' href='http://tipsforcdevelopers.blogspot.com/2010/01/log-parser.html' title='Log Parser'/><author><name>Schooltje</name><uri>http://www.blogger.com/profile/01705460178760655019</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3244222978806762761.post-6530657249238806311</id><published>2010-01-09T13:57:00.002+01:00</published><updated>2010-02-06T14:51:00.354+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='tools'/><category scheme='http://www.blogger.com/atom/ns#' term='.net'/><category scheme='http://www.blogger.com/atom/ns#' term='c#'/><title type='text'>Reflector</title><content type='html'>&lt;a href="http://www.red-gate.com/products/reflector/" target="_blank"&gt;Reflector&lt;/a&gt; is a tool for disassembly a dll. So you can see the source code and you can analyse if the assembly works correctly.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3244222978806762761-6530657249238806311?l=tipsforcdevelopers.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://tipsforcdevelopers.blogspot.com/feeds/6530657249238806311/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://tipsforcdevelopers.blogspot.com/2010/01/refelector.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3244222978806762761/posts/default/6530657249238806311'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3244222978806762761/posts/default/6530657249238806311'/><link rel='alternate' type='text/html' href='http://tipsforcdevelopers.blogspot.com/2010/01/refelector.html' title='Reflector'/><author><name>Schooltje</name><uri>http://www.blogger.com/profile/01705460178760655019</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3244222978806762761.post-3327707397705420706</id><published>2010-01-09T12:38:00.003+01:00</published><updated>2010-01-09T12:42:11.113+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='.net'/><category scheme='http://www.blogger.com/atom/ns#' term='ajax'/><category scheme='http://www.blogger.com/atom/ns#' term='exception'/><category scheme='http://www.blogger.com/atom/ns#' term='c#'/><title type='text'>Link dump</title><content type='html'>&lt;strong&gt;Loading Message with Ajax&lt;/strong&gt;&lt;br/&gt;&lt;a href="http://weblogs.asp.net/aghausman/archive/2009/07/20/show-loading-message-in-asp-net-ajax.aspx" target="_blank"&gt;http://weblogs.asp.net/aghausman/archive/2009/07/20/show-loading-message-in-asp-net-ajax.aspx&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Resolve urls with Javascript&lt;/strong&gt;&lt;br/&gt;&lt;a href="http://weblogs.asp.net/joelvarty/archive/2009/07/17/resolveurl-in-javascript.aspx" target="_blank"&gt;http://weblogs.asp.net/joelvarty/archive/2009/07/17/resolveurl-in-javascript.aspx&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Logging guidelines&lt;/strong&gt;&lt;br/&gt;&lt;a href="http://www.bugfree.dk/blog/2009/07/22/basic-logging-guidelines/" target="_blank"&gt;http://www.bugfree.dk/blog/2009/07/22/basic-logging-guidelines/&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3244222978806762761-3327707397705420706?l=tipsforcdevelopers.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://tipsforcdevelopers.blogspot.com/feeds/3327707397705420706/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://tipsforcdevelopers.blogspot.com/2010/01/link-dump.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3244222978806762761/posts/default/3327707397705420706'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3244222978806762761/posts/default/3327707397705420706'/><link rel='alternate' type='text/html' href='http://tipsforcdevelopers.blogspot.com/2010/01/link-dump.html' title='Link dump'/><author><name>Schooltje</name><uri>http://www.blogger.com/profile/01705460178760655019</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3244222978806762761.post-6926035780953817960</id><published>2010-01-09T12:36:00.001+01:00</published><updated>2010-01-09T12:37:48.263+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='enterprise library'/><category scheme='http://www.blogger.com/atom/ns#' term='.net'/><category scheme='http://www.blogger.com/atom/ns#' term='c#'/><title type='text'>Enterprise Library Logging</title><content type='html'>For logging exception the &lt;a href="http://bloggingabout.net/blogs/dennis/archive/2009/07/21/quickstart-tutorial-into-enterprise-library-logging.aspx" target="_blank"&gt;Enterprise Library&lt;/a&gt; an usefull tool.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3244222978806762761-6926035780953817960?l=tipsforcdevelopers.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://tipsforcdevelopers.blogspot.com/feeds/6926035780953817960/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://tipsforcdevelopers.blogspot.com/2010/01/enterprise-library-logging.html#comment-form' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3244222978806762761/posts/default/6926035780953817960'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3244222978806762761/posts/default/6926035780953817960'/><link rel='alternate' type='text/html' href='http://tipsforcdevelopers.blogspot.com/2010/01/enterprise-library-logging.html' title='Enterprise Library Logging'/><author><name>Schooltje</name><uri>http://www.blogger.com/profile/01705460178760655019</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3244222978806762761.post-1416829068404638202</id><published>2010-01-09T12:18:00.002+01:00</published><updated>2010-01-09T12:23:53.089+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='.net'/><category scheme='http://www.blogger.com/atom/ns#' term='c#'/><title type='text'>.NET Validators</title><content type='html'>When using 'Validators' you must use the property "IsValid" and you must use the method "Validate".&lt;br/&gt;For a CustomValidator you must implement the 'ServerValidate' event.&lt;br/&gt;Also the property 'ClientValidationFunction' must be set to organize the Client side validatie.&lt;br/&gt;&lt;br/&gt;source: validator&lt;br/&gt;arguments.value: the control which must be validated&lt;br/&gt;arguments.isvalid: true if the value is valid otherwise false.&lt;br/&gt;- &lt;a href="http://msdn.microsoft.com/en-us/library/system.web.ui.webcontrols.customvalidator.aspx" target="_blank"&gt;http://msdn.microsoft.com/en-us/library/system.web.ui.webcontrols.customvalidator.aspx&lt;/a&gt;&lt;br/&gt;- &lt;a href="http://www.codeproject.com/KB/validation/MultiDependValidator.aspx" target="_blank"&gt;http://www.codeproject.com/KB/validation/MultiDependValidator.aspx&lt;/a&gt;&lt;br/&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3244222978806762761-1416829068404638202?l=tipsforcdevelopers.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://tipsforcdevelopers.blogspot.com/feeds/1416829068404638202/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://tipsforcdevelopers.blogspot.com/2010/01/net-validators.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3244222978806762761/posts/default/1416829068404638202'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3244222978806762761/posts/default/1416829068404638202'/><link rel='alternate' type='text/html' href='http://tipsforcdevelopers.blogspot.com/2010/01/net-validators.html' title='.NET Validators'/><author><name>Schooltje</name><uri>http://www.blogger.com/profile/01705460178760655019</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3244222978806762761.post-7164320537121509748</id><published>2010-01-09T10:48:00.003+01:00</published><updated>2010-01-09T10:53:45.670+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='browsers'/><title type='text'>Do not use underscores in DNS computer names</title><content type='html'>The support of Internet Explorer with underscore is not the same as for browsers like firefox and chrome.&lt;br/&gt;&lt;br /&gt;Take the following address: http://pc02_test.domain.com/webapp&lt;br/&gt;&lt;br /&gt;When you now want to store some information in the cookie, this goes wrong. So the advise is do not use underscores!&lt;br/&gt;&lt;br /&gt;More information:&lt;br/&gt;&lt;br /&gt;- &lt;a href="http://social.msdn.microsoft.com/Forums/en-US/iewebdevelopment/thread/8e876e9e-b223-4f84-a5d1-1eda2c2bbdf4" target="_blank"&gt;http://social.msdn.microsoft.com/Forums/en-US/iewebdevelopment/thread/8e876e9e-b223-4f84-a5d1-1eda2c2bbdf4&lt;/a&gt;&lt;br /&gt;- &lt;a href="http://www.enhanceie.com/ie/bugs.asp" target="_blank"&gt;http://www.enhanceie.com/ie/bugs.asp (IE005)&lt;/a&gt;&lt;br /&gt;- &lt;a href="http://support.microsoft.com/kb/909264" target="_blank"&gt;http://support.microsoft.com/kb/909264&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3244222978806762761-7164320537121509748?l=tipsforcdevelopers.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://tipsforcdevelopers.blogspot.com/feeds/7164320537121509748/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://tipsforcdevelopers.blogspot.com/2010/01/do-not-use-underscores-in-dns-computer.html#comment-form' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3244222978806762761/posts/default/7164320537121509748'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3244222978806762761/posts/default/7164320537121509748'/><link rel='alternate' type='text/html' href='http://tipsforcdevelopers.blogspot.com/2010/01/do-not-use-underscores-in-dns-computer.html' title='Do not use underscores in DNS computer names'/><author><name>Schooltje</name><uri>http://www.blogger.com/profile/01705460178760655019</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3244222978806762761.post-6741938814919483920</id><published>2010-01-09T10:35:00.002+01:00</published><updated>2010-01-09T10:38:09.579+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='enterprise library'/><category scheme='http://www.blogger.com/atom/ns#' term='.net'/><title type='text'>Environmental overrides with Enterprise Library</title><content type='html'>For the most application there are several environments available. Each environment has his own configuration (like connection string, files and so on).&lt;br/&gt;&lt;br /&gt;With Enterprise Library you can create environments and override some properties of the web.config. See for more information: &lt;a href="http://www.pnpguidance.net/Post/EnvironmentalOverridesEnterpriseLibrary3.aspx" target="_blank"&gt;Environmental overrides&lt;/a&gt;.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3244222978806762761-6741938814919483920?l=tipsforcdevelopers.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://tipsforcdevelopers.blogspot.com/feeds/6741938814919483920/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://tipsforcdevelopers.blogspot.com/2010/01/environmental-overrides-with-enterprise.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3244222978806762761/posts/default/6741938814919483920'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3244222978806762761/posts/default/6741938814919483920'/><link rel='alternate' type='text/html' href='http://tipsforcdevelopers.blogspot.com/2010/01/environmental-overrides-with-enterprise.html' title='Environmental overrides with Enterprise Library'/><author><name>Schooltje</name><uri>http://www.blogger.com/profile/01705460178760655019</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3244222978806762761.post-8964238720644498133</id><published>2009-12-29T19:33:00.003+01:00</published><updated>2009-12-29T19:47:42.797+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='testen'/><title type='text'>Unit testing losse flarden</title><content type='html'>&lt;p&gt;Wanneer je start met unit testing, zijn er diverse handvaten die je kunt gebruiken om unit testing te gebruiken in je applicaties.&lt;br/&gt;In de test logica mag je geen gebruik maken van &lt;br/&gt;- IFs statements&lt;br/&gt;- Switch of case statements&lt;br/&gt;&lt;br/&gt;- Vervolgens moet de test code die je opstelt herhaalbaar uitgevoerd kunnen worden.&lt;br/&gt;- Vermijd Multiple Asserts.&lt;br/&gt;- Integration test en een unit test moet je scheiden&lt;br/&gt;Alle testen in de solution runnen, wanneer een test failed dan is er een probleem. Dus -&gt; betere test&lt;br/&gt;-&gt; integration test&lt;br/&gt;-&gt; er is geen configuratie maar je moet de test vertrouwen&lt;br/&gt;Een verschil tussen een unit test en integration test is dat bij een integration test configuration noodzakelijk is. (gebruik de postfix unittest en integrationtest voor de desbetreffende testen)&lt;Br/&gt;&lt;br/&gt;Bij 'gewone' code geldt al gebruik GEEN magic numbers, en dit gaat ook op voor test code.&lt;br/&gt;&lt;br /&gt;&lt;strong&gt;Syntax method names (bij testen&lt;/strong&gt;&lt;br/&gt;- method name&lt;br/&gt;-state undertest&lt;br/&gt;- expected behavior&lt;br/&gt;-&gt; dat leidt tot 'Add_LessThanZero_ThrowException'.&lt;br/&gt;&lt;br/&gt;&lt;strong&gt;Helper methods&lt;/strong&gt;&lt;br/&gt;- '_make' -&gt; create&lt;br/&gt;- '_change' -&gt; update&lt;br/&gt;- '_assert_'&lt;br/&gt;&lt;br/&gt;- Alleen public testen. DIt is een contract naar buiten toe. Private/protected is voor intern gebruik en meer verandelijk.&lt;br/&gt;- Incremental work! (stapje voor stapje)&lt;br/&gt;- [setup] attribut, dit is uitgevoerd voor ELKE test&lt;br/&gt;- start een fail test, de test mag niet blijven 'falen' als de productie code is aangepast&lt;br/&gt;- TDD -&gt; vind de bugs sneller&lt;br/&gt;- Simple code kan bugs bevatten&lt;br/&gt;- Test names zijn lang maar dit is readabily (documentatie)&lt;br/&gt;- Duplicated de logic in de test is een probleem, je test de logica niet. Het eindresultaat is niet gecontroleerd de bug wordt gewoon opnieuw gecreereerd in de Assert.AreEqual. Unittest mag geen logica bevatten, zelfs geen string.Format etc.&lt;br/&gt;- Verander nooit een test. Als een test niet goed is (failuing test). Tegenstrijdige requirements vraag na welke requirement geldig is.&lt;Br/&gt;- Code coverage&lt;br/&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3244222978806762761-8964238720644498133?l=tipsforcdevelopers.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://tipsforcdevelopers.blogspot.com/feeds/8964238720644498133/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://tipsforcdevelopers.blogspot.com/2009/12/unit-testing-losse-flarden.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3244222978806762761/posts/default/8964238720644498133'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3244222978806762761/posts/default/8964238720644498133'/><link rel='alternate' type='text/html' href='http://tipsforcdevelopers.blogspot.com/2009/12/unit-testing-losse-flarden.html' title='Unit testing losse flarden'/><author><name>Schooltje</name><uri>http://www.blogger.com/profile/01705460178760655019</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3244222978806762761.post-339780058848802737</id><published>2009-11-07T10:59:00.003+01:00</published><updated>2009-11-07T11:03:43.363+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='sql'/><category scheme='http://www.blogger.com/atom/ns#' term='conversion'/><category scheme='http://www.blogger.com/atom/ns#' term='Datetime format'/><title type='text'>SQL datetime headaches</title><content type='html'>I'm always hassleing with datetimes in the SQL Server database to get the correct datetime format that i want. It seems that most of this stuff you can do with specifying a format when converting it:&lt;br /&gt;&lt;a href="http://msdn.microsoft.com/en-us/library/ms187928.aspx"&gt;Usefull page for that&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;But it did not realy have what i wanted from it.&lt;br /&gt;&lt;br /&gt;So the final solution was the following&lt;br /&gt;to get a format like this:&lt;br /&gt;2008-11-13 17:29:00&lt;o:p&gt;&lt;/o:p&gt; &lt;p class="MsoNormal"&gt;&lt;o:p&gt; I needed to do the following&lt;br /&gt;&lt;/o:p&gt;&lt;/p&gt; &lt;p class="MsoNormal"&gt;&lt;span style="font-family: 'Courier New'; color: blue; font-size: 10pt;"&gt;SET&lt;/span&gt;&lt;span style="font-family: 'Courier New'; font-size: 10pt;"&gt; generated &lt;span style="color: gray;"&gt;=&lt;/span&gt; &lt;span style="color: fuchsia;"&gt;cast&lt;/span&gt;&lt;span style="color: gray;"&gt;(&lt;/span&gt; &lt;span style="color: fuchsia;"&gt;getdate&lt;/span&gt;&lt;span style="color: gray;"&gt;()&lt;/span&gt; &lt;span style="color: gray;"&gt;-&lt;/span&gt; 8 &lt;span style="color: blue;"&gt;as&lt;/span&gt; &lt;span style="color: blue;"&gt;smalldatetime&lt;/span&gt;&lt;span style="color: gray;"&gt;)&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3244222978806762761-339780058848802737?l=tipsforcdevelopers.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://tipsforcdevelopers.blogspot.com/feeds/339780058848802737/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://tipsforcdevelopers.blogspot.com/2009/11/sql-datetime-headaches.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3244222978806762761/posts/default/339780058848802737'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3244222978806762761/posts/default/339780058848802737'/><link rel='alternate' type='text/html' href='http://tipsforcdevelopers.blogspot.com/2009/11/sql-datetime-headaches.html' title='SQL datetime headaches'/><author><name>Tim</name><uri>http://www.blogger.com/profile/10442979332056647386</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3244222978806762761.post-4950184965731569620</id><published>2009-11-07T10:49:00.004+01:00</published><updated>2009-11-07T11:06:20.996+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Solution to remember'/><category scheme='http://www.blogger.com/atom/ns#' term='c#'/><category scheme='http://www.blogger.com/atom/ns#' term='WCF'/><title type='text'>WCF service error contract name not found</title><content type='html'>I had a stupid error a few weeks back which involved a WCF service, A end of the day configuration issue and some totaly unrelated error message. In short after googleing i came across the solution and i decided it was one to remember.&lt;br /&gt;&lt;br /&gt;solution on the blog of &lt;a href="http://mrpmorris.blogspot.com/2008/08/contract-name-could-not-be-found-in.html"&gt;&lt;span class="post-author vcard"&gt;&lt;span class="fn"&gt;Peter Morris&lt;/span&gt;&lt;/span&gt;&lt;/a&gt;:&lt;br /&gt;&lt;br /&gt;&lt;span style="font-style: italic;font-family:'Verdana','sans-serif';color:red;"  &gt;The contract name  xxxxxxx could not be found in the list of contracts implemented by the  service&lt;/span&gt;&lt;span style="color: rgb(51, 51, 51); font-style: italic;font-family:'Verdana','sans-serif';" &gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: rgb(51, 51, 51);font-family:'Verdana','sans-serif';" &gt;So what you need to do:&lt;br /&gt;Check names of interfaces&lt;br /&gt;Check namespaces&lt;br /&gt;Check the service attributes (&lt;/span&gt;&lt;span style="color: rgb(51, 51, 51);font-family:'Verdana','sans-serif';" &gt;[AspNetCompatibilityRequirements(RequirementsMode=AspNetCompatibilityRequirementsMode.Allowed)])&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 51, 51);font-family:'Verdana','sans-serif';" &gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3244222978806762761-4950184965731569620?l=tipsforcdevelopers.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://tipsforcdevelopers.blogspot.com/feeds/4950184965731569620/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://tipsforcdevelopers.blogspot.com/2009/11/wcf-service-error-contract-name-not.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3244222978806762761/posts/default/4950184965731569620'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3244222978806762761/posts/default/4950184965731569620'/><link rel='alternate' type='text/html' href='http://tipsforcdevelopers.blogspot.com/2009/11/wcf-service-error-contract-name-not.html' title='WCF service error contract name not found'/><author><name>Tim</name><uri>http://www.blogger.com/profile/10442979332056647386</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3244222978806762761.post-4239910521843714652</id><published>2009-11-07T10:37:00.003+01:00</published><updated>2009-11-07T10:47:09.838+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Inversion of control'/><category scheme='http://www.blogger.com/atom/ns#' term='Dependency injection'/><category scheme='http://www.blogger.com/atom/ns#' term='c#'/><title type='text'>What is Inversion of control and Dependency injection</title><content type='html'>recently we started to use &lt;a href="http://www.codeplex.com/unity/"&gt;Unity&lt;/a&gt; for projects. Unity is a way to facilitate dependency injection into you code.&lt;br /&gt;&lt;br /&gt;And we where using some of the terms often related to this topic and it was confusing me. I decided to get my facts straight.&lt;br /&gt;&lt;br /&gt;&lt;div class="ExternalClass64115A38A3B247A0A650AF0938963180"&gt; &lt;div&gt;&lt;strong&gt;Inversion Of Control&lt;/strong&gt;&lt;/div&gt; &lt;div&gt;Inversion of control article that i have found usefull&lt;/div&gt; &lt;div&gt; &lt;/div&gt; &lt;div&gt;&lt;a href="http://martinfowler.com/bliki/InversionOfControl.html"&gt;http://martinfowler.com/bliki/InversionOfControl.html&lt;/a&gt;&lt;/div&gt; &lt;div&gt; &lt;/div&gt; &lt;div&gt;This article states that inversion of control is a priciple. &lt;/div&gt; &lt;div&gt; &lt;/div&gt; &lt;div&gt;a short statement that signifies the base principle:&lt;/div&gt; &lt;div&gt;"Don't call us, we will call you"&lt;br /&gt;&lt;br /&gt;the principle comes down to the following:&lt;br /&gt;A Control gets all his data and events from the outside and itself does not know anything about the context it is being used in. This results in lousely coupled Code/controls which in turn should make them more reusable.&lt;br /&gt;&lt;/div&gt; &lt;div&gt; &lt;/div&gt; &lt;div&gt;&lt;strong&gt;Dependency Injection&lt;/strong&gt;&lt;/div&gt; &lt;div&gt;Dependency injection is a way to achieve Inversion of control&lt;/div&gt; &lt;div&gt;&lt;a href="http://martinfowler.com/articles/injection.html#ComponentsAndServices"&gt;http://martinfowler.com/articles/injection.html#ComponentsAndServices&lt;/a&gt;&lt;/div&gt; &lt;div&gt; &lt;/div&gt; &lt;div&gt; &lt;p style="margin: 0in 0in 0pt;" class="MsoNormal"&gt;&lt;a href="http://www.codeproject.com/KB/aspnet/IOCDI.aspx"&gt;&lt;span style="font-family:Calibri;font-size:100%;"&gt;http://www.codeproject.com/KB/aspnet/IOCDI.aspx&lt;/span&gt;&lt;/a&gt;&lt;/p&gt; &lt;p style="margin: 0in 0in 0pt;" class="MsoNormal"&gt; &lt;/p&gt; &lt;p style="margin: 0in 0in 0pt;" class="MsoNormal"&gt;&lt;strong&gt;Conlusion&lt;/strong&gt;&lt;/p&gt; &lt;p style="margin: 0in 0in 0pt;" class="MsoNormal"&gt;Inversion of control is a  principle with the goal to help you create better, more reusable code&lt;br /&gt;&lt;/p&gt; &lt;p style="margin: 0in 0in 0pt;" class="MsoNormal"&gt; &lt;/p&gt; &lt;p style="margin: 0in 0in 0pt;" class="MsoNormal"&gt;Dependency injection is a  specific method of achieving inversion of control.(Unity is a method for dependency injection)&lt;br /&gt;&lt;/p&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3244222978806762761-4239910521843714652?l=tipsforcdevelopers.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://tipsforcdevelopers.blogspot.com/feeds/4239910521843714652/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://tipsforcdevelopers.blogspot.com/2009/11/what-is-inversion-of-control-and.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3244222978806762761/posts/default/4239910521843714652'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3244222978806762761/posts/default/4239910521843714652'/><link rel='alternate' type='text/html' href='http://tipsforcdevelopers.blogspot.com/2009/11/what-is-inversion-of-control-and.html' title='What is Inversion of control and Dependency injection'/><author><name>Tim</name><uri>http://www.blogger.com/profile/10442979332056647386</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3244222978806762761.post-1329322491061163601</id><published>2009-11-07T10:18:00.006+01:00</published><updated>2010-02-01T07:53:29.844+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='path resolving'/><category scheme='http://www.blogger.com/atom/ns#' term='c#'/><category scheme='http://www.blogger.com/atom/ns#' term='IUrlResolutionService'/><title type='text'>Path resolution through IUrlResolutionService</title><content type='html'>When developing for a web application you often come accross the scenario where you need to generate a path to a different page and all you have is a app relative path. To resolve this path to a usable client path i have often used different methods to resolve a path.&lt;br /&gt;&lt;br /&gt;When working on a project at work i saw a colleage use the following interface&lt;br /&gt;&lt;span style="background: black none repeat scroll 0% 0%; -moz-background-clip: border; -moz-background-origin: padding; -moz-background-inline-policy: continuous; color: rgb(43, 145, 175);font-family:'Verdana','sans-serif';font-size:10pt;"  &gt;IUrlResolutionService&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;I had never seen that one before and i looked it up&lt;br /&gt;&lt;a href="http://msdn.microsoft.com/en-us/library/system.web.ui.iurlresolutionservice.aspx"&gt;MSDN page&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Quote from the page:&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-style: italic;"&gt;Defines a service implemented by objects to resolve relative URLs based on contextual information.&lt;/span&gt;&lt;br /&gt;....&lt;br /&gt;&lt;/span&gt;&lt;div style="font-weight: bold;" class="CollapseRegionLink"&gt;&lt;span style="font-size:85%;"&gt;Remarks &lt;/span&gt;&lt;/div&gt; &lt;div class="MTPS_CollapsibleSection" style="display: block;"&gt;   &lt;a id="remarksToggle"&gt;&lt;!----&gt;&lt;/a&gt;&lt;p style="font-style: italic;"&gt;&lt;span style="font-size:85%;"&gt;This interface defines the service that is used to resolve URL paths. The &lt;span&gt;&lt;span class="selflink"&gt;IUrlResolutionService&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; interface is used for resolving relative paths and paths that contain the ~ operator. Server controls that reference resources can define the paths to the resources through the ~ operator, which represents the root of the current application. A path containing the ~ operator will not work if passed to the browser. The server control must convert the path to an absolute or relative path before passing it to the browser. &lt;/p&gt;&lt;p style="font-style: italic;"&gt;               &lt;span style="font-size:85%;"&gt;&lt;span&gt;&lt;a id="ctl00_MTCS_main_ctl25_ctl00_ctl00" href="http://msdn.microsoft.com/en-us/library/system.web.ui.control.aspx" onclick="javascript:Track('ctl00_MTCS_main_ctl25_ctl00_contenthere|ctl00_MTCS_main_ctl25_ctl00_ctl00',this);"&gt;Control&lt;/a&gt;&lt;/span&gt; implements this interface. A control that derives from &lt;span&gt;&lt;a id="ctl00_MTCS_main_ctl25_ctl00_ctl01" href="http://msdn.microsoft.com/en-us/library/system.web.ui.control.aspx" onclick="javascript:Track('ctl00_MTCS_main_ctl25_ctl00_contenthere|ctl00_MTCS_main_ctl25_ctl00_ctl01',this);"&gt;Control&lt;/a&gt;&lt;/span&gt; could override this implementation to provide customized resolution of URLs. &lt;/span&gt;&lt;/p&gt;&lt;/div&gt;This interface is implemented by the Control, among other classes, which means that Controls like Page, etc all have a method to resolve the path.&lt;br /&gt;you can pass along controls or the page deeper into your code using this interface to resolve app relative paths for you. For example "~/foo/bar.aspx" would get resolved properly by the control to a path the client can use based on the current context of the control/page.&lt;br /&gt;&lt;br /&gt;I myself are using this more often these days it seems a nice way to do it.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3244222978806762761-1329322491061163601?l=tipsforcdevelopers.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://tipsforcdevelopers.blogspot.com/feeds/1329322491061163601/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://tipsforcdevelopers.blogspot.com/2009/11/when-developing-for-web-application-you.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3244222978806762761/posts/default/1329322491061163601'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3244222978806762761/posts/default/1329322491061163601'/><link rel='alternate' type='text/html' href='http://tipsforcdevelopers.blogspot.com/2009/11/when-developing-for-web-application-you.html' title='Path resolution through IUrlResolutionService'/><author><name>Tim</name><uri>http://www.blogger.com/profile/10442979332056647386</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3244222978806762761.post-8617734149613477844</id><published>2009-11-07T10:14:00.003+01:00</published><updated>2009-11-07T10:18:34.904+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='c# interesting code'/><title type='text'>Steps until failure</title><content type='html'>This is a piece of code i came accross that i thought that was interesting. I came accross this piece of code and i thought i should remember it for future reference&lt;br /&gt;&lt;br /&gt;on Found on the website:&lt;br /&gt;&lt;a href="http://odetocode.com/Blogs/scott/default.aspx"&gt;http://odetocode.com/Blogs/scott/default.aspx&lt;/a&gt;&lt;br /&gt;&lt;p class="MsoNormal"&gt;&lt;span style="font-family: 'Courier New'; color: blue; font-size: 10pt;"&gt;void  &lt;/span&gt;&lt;span style="font-family: 'Courier New'; font-size: 10pt;"&gt;Process(){  &lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal"&gt;&lt;span style="font-family: 'Courier New'; font-size: 10pt;"&gt;  &lt;span style="color: rgb(43, 145, 175);"&gt;Func&lt;/span&gt;&lt;&lt;span style="color: blue;"&gt;bool&lt;/span&gt;&gt;[] steps =     {&lt;br /&gt;         Step1,&lt;br /&gt;         Step2,&lt;br /&gt;         Step3,&lt;br /&gt;         Step4,&lt;br /&gt;         Step5&lt;br /&gt;     };&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class="MsoNormal"&gt;&lt;span style="font-family: 'Courier New'; font-size: 10pt;"&gt;&lt;o:p&gt; &lt;/o:p&gt;     ExecuteStepsUntilFirstFailure(steps);&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class="MsoNormal"&gt;&lt;span style="font-family: 'Courier New'; font-size: 10pt;"&gt;}&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class="MsoNormal"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/p&gt;&lt;pre&gt;&lt;span style="color: blue;"&gt;void &lt;/span&gt;ExecuteStepsUntilFirstFailure(&lt;span style="color: rgb(43, 145, 175);"&gt;IEnumerable&lt;/span&gt;&lt;&lt;span style="color: rgb(43, 145, 175);"&gt;Func&lt;/span&gt;&lt;&lt;span style="color: blue;"&gt;bool&lt;/span&gt;&gt;&gt; steps)&lt;br /&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/pre&gt;&lt;pre&gt;{&lt;br /&gt;    steps.All(step =&gt; step() == &lt;span style="color: blue;"&gt;true&lt;/span&gt;);&lt;o:p&gt;&lt;/o:p&gt;&lt;br /&gt;}&lt;o:p&gt;&lt;/o:p&gt;&lt;/pre&gt; &lt;p&gt;The All operator is documented as stopping as soon as a result can be  determined, so the above code is equivalent to the following:&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;&lt;pre&gt;&lt;span style="color: blue;"&gt;void &lt;/span&gt;ExecuteStepsUntilFirstFailure(&lt;span style="color: rgb(43, 145, 175);"&gt;IEnumerable&lt;/span&gt;&lt;&lt;span style="color: rgb(43, 145, 175);"&gt;Func&lt;/span&gt;&lt;&lt;span style="color: blue;"&gt;bool&lt;/span&gt;&gt;&gt; steps)&lt;o:p&gt;&lt;/o:p&gt;&lt;br /&gt;{&lt;o:p&gt;&lt;/o:p&gt;&lt;br /&gt;    &lt;span style="color: blue;"&gt;foreach &lt;/span&gt;(&lt;span style="color: blue;"&gt;var &lt;/span&gt;step &lt;span style="color: blue;"&gt;in &lt;/span&gt;steps)&lt;o:p&gt;&lt;/o:p&gt;&lt;br /&gt;    {&lt;o:p&gt;&lt;/o:p&gt;&lt;br /&gt;        &lt;span style="color: blue;"&gt;if &lt;/span&gt;(step() == &lt;span style="color: blue;"&gt;false&lt;/span&gt;)&lt;o:p&gt;&lt;/o:p&gt;&lt;br /&gt;        {&lt;o:p&gt;&lt;/o:p&gt;&lt;br /&gt;            &lt;span style="color: blue;"&gt;break&lt;/span&gt;;&lt;o:p&gt;&lt;/o:p&gt;&lt;br /&gt;        }&lt;br /&gt;    }&lt;o:p&gt;&lt;/o:p&gt;&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/pre&gt; &lt;p class="MsoNormal"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/p&gt; &lt;p class="MsoNormal"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/p&gt; &lt;p class="MsoNormal"&gt;&lt;br /&gt;&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3244222978806762761-8617734149613477844?l=tipsforcdevelopers.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://tipsforcdevelopers.blogspot.com/feeds/8617734149613477844/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://tipsforcdevelopers.blogspot.com/2009/11/steps-until-failure.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3244222978806762761/posts/default/8617734149613477844'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3244222978806762761/posts/default/8617734149613477844'/><link rel='alternate' type='text/html' href='http://tipsforcdevelopers.blogspot.com/2009/11/steps-until-failure.html' title='Steps until failure'/><author><name>Tim</name><uri>http://www.blogger.com/profile/10442979332056647386</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3244222978806762761.post-7313295757214684808</id><published>2009-10-29T08:25:00.001+01:00</published><updated>2009-10-29T08:27:14.808+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='c#'/><title type='text'>Environment.NewLine</title><content type='html'>&lt;p&gt;When you create a string with must have multiple line use the option Environment.NewLine and not the escape characters.&lt;br /&gt;&lt;a href="http://www.blackwasp.co.uk/EnvironmentNewLine.aspx" target="_blank"&gt;see&lt;/a&gt;&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3244222978806762761-7313295757214684808?l=tipsforcdevelopers.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://tipsforcdevelopers.blogspot.com/feeds/7313295757214684808/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://tipsforcdevelopers.blogspot.com/2009/10/environmentnewline.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3244222978806762761/posts/default/7313295757214684808'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3244222978806762761/posts/default/7313295757214684808'/><link rel='alternate' type='text/html' href='http://tipsforcdevelopers.blogspot.com/2009/10/environmentnewline.html' title='Environment.NewLine'/><author><name>Schooltje</name><uri>http://www.blogger.com/profile/01705460178760655019</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3244222978806762761.post-6467976471831958318</id><published>2009-10-23T21:55:00.000+02:00</published><updated>2009-10-23T21:55:59.807+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='c#'/><title type='text'>Some Anti campaigns</title><content type='html'>Most programmers use the 'if' and 'loop' statements very much. But when you use this too much, your code can be less readeable. So some blogs have campaigns to minimize the usage of these statements:&lt;br /&gt;&lt;a href="http://weblogs.asp.net/podwysocki/archive/2009/06/26/the-anti-for-campaign.aspx" target="_blank"&gt;- Reduce FOR&lt;/a&gt;&lt;br /&gt;&lt;a href="http://www.antiifcampaign.com/" target="_blank"&gt;- Reduce IF&lt;/a&gt;.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3244222978806762761-6467976471831958318?l=tipsforcdevelopers.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://tipsforcdevelopers.blogspot.com/feeds/6467976471831958318/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://tipsforcdevelopers.blogspot.com/2009/08/some-anti-campaigns.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3244222978806762761/posts/default/6467976471831958318'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3244222978806762761/posts/default/6467976471831958318'/><link rel='alternate' type='text/html' href='http://tipsforcdevelopers.blogspot.com/2009/08/some-anti-campaigns.html' title='Some Anti campaigns'/><author><name>Schooltje</name><uri>http://www.blogger.com/profile/01705460178760655019</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3244222978806762761.post-2638870085349125368</id><published>2009-10-23T21:49:00.001+02:00</published><updated>2009-10-23T21:50:30.664+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='vb.net'/><category scheme='http://www.blogger.com/atom/ns#' term='.net'/><category scheme='http://www.blogger.com/atom/ns#' term='c#'/><title type='text'>Convert VB.NET to C#</title><content type='html'>Since my new job I have to work a little bit more with VB.NET. So here some tips for converting C# (.NET) and VB.NET and the other way around.&lt;br /&gt;&lt;br /&gt;On &lt;a href="http://beta.blogs.microsoft.co.il/blogs/gilf/archive/2009/08/16/quick-tip-convert-vb-net-to-c-or-c-to-vb-net.aspx" target="_blank"&gt;this site&lt;/a&gt; some links can be found, for quick links for converting VB.NET to C# and vice versia.&lt;br /&gt;&lt;br /&gt;Further there are some difference between those two languages. Some of these differences can be readen &lt;a href="http://bloggingabout.net/blogs/mischa/archive/2009/07/20/vb-net-vs-c-the-redux.aspx#481972" target="_blank"&gt;here&lt;/a&gt;.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3244222978806762761-2638870085349125368?l=tipsforcdevelopers.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://tipsforcdevelopers.blogspot.com/feeds/2638870085349125368/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://tipsforcdevelopers.blogspot.com/2009/10/convert-vb-to-c.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3244222978806762761/posts/default/2638870085349125368'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3244222978806762761/posts/default/2638870085349125368'/><link rel='alternate' type='text/html' href='http://tipsforcdevelopers.blogspot.com/2009/10/convert-vb-to-c.html' title='Convert VB.NET to C#'/><author><name>Schooltje</name><uri>http://www.blogger.com/profile/01705460178760655019</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3244222978806762761.post-8582223517203722501</id><published>2009-10-23T21:47:00.000+02:00</published><updated>2009-10-23T21:46:53.445+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='.net'/><category scheme='http://www.blogger.com/atom/ns#' term='c#'/><title type='text'>Nested repeater programmatically</title><content type='html'>On this site I have found some information for creating &lt;a href="http://www.thetyro.com/web2.html" target="_blank"&gt;Nested repeaters&lt;/a&gt; programmatically.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3244222978806762761-8582223517203722501?l=tipsforcdevelopers.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://tipsforcdevelopers.blogspot.com/feeds/8582223517203722501/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://tipsforcdevelopers.blogspot.com/2009/09/nested-repeater-programmatically.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3244222978806762761/posts/default/8582223517203722501'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3244222978806762761/posts/default/8582223517203722501'/><link rel='alternate' type='text/html' href='http://tipsforcdevelopers.blogspot.com/2009/09/nested-repeater-programmatically.html' title='Nested repeater programmatically'/><author><name>Schooltje</name><uri>http://www.blogger.com/profile/01705460178760655019</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3244222978806762761.post-8452114665934411242</id><published>2009-10-23T21:44:00.000+02:00</published><updated>2009-10-23T21:44:50.606+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='.net'/><category scheme='http://www.blogger.com/atom/ns#' term='pdf'/><category scheme='http://www.blogger.com/atom/ns#' term='c#'/><title type='text'>Create PDF in ASP.NET</title><content type='html'>Earlier I have created PDF file from a .NET (web) application with the help of XSL:FO. But my experience was not very good. So I have found a &lt;a href="http://www.mikesdotnetting.com/Article/80/Create-PDFs-in-ASP.NET-getting-started-with-iTextSharp" target="_blank"&gt;Tutorial for creating PDFs&lt;/a&gt;. With this tool you can create PDF files with OO technics, this sounds much better.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3244222978806762761-8452114665934411242?l=tipsforcdevelopers.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://tipsforcdevelopers.blogspot.com/feeds/8452114665934411242/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://tipsforcdevelopers.blogspot.com/2009/10/create-pdf-in-aspnet.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3244222978806762761/posts/default/8452114665934411242'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3244222978806762761/posts/default/8452114665934411242'/><link rel='alternate' type='text/html' href='http://tipsforcdevelopers.blogspot.com/2009/10/create-pdf-in-aspnet.html' title='Create PDF in ASP.NET'/><author><name>Schooltje</name><uri>http://www.blogger.com/profile/01705460178760655019</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3244222978806762761.post-7894326112006357753</id><published>2009-10-13T08:05:00.001+02:00</published><updated>2009-10-13T08:07:00.663+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='.net'/><category scheme='http://www.blogger.com/atom/ns#' term='linq'/><title type='text'>Tip: Linq to SQL</title><content type='html'>When you are using Linq to SQL, you have to read (and use) &lt;a href="http://weblogs.asp.net/paulomorgado/archive/2009/10/13/linq-to-sql-tips-amp-tricks-string-operations.aspx" target="_blank"&gt;these tips&lt;/a&gt;.&lt;br /&gt;I mostly use Linq to Objects, but when I am going to use Linq to Sql is will read these tips again:)&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3244222978806762761-7894326112006357753?l=tipsforcdevelopers.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://tipsforcdevelopers.blogspot.com/feeds/7894326112006357753/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://tipsforcdevelopers.blogspot.com/2009/10/tip-linq-to-sql.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3244222978806762761/posts/default/7894326112006357753'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3244222978806762761/posts/default/7894326112006357753'/><link rel='alternate' type='text/html' href='http://tipsforcdevelopers.blogspot.com/2009/10/tip-linq-to-sql.html' title='Tip: Linq to SQL'/><author><name>Schooltje</name><uri>http://www.blogger.com/profile/01705460178760655019</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3244222978806762761.post-8451248034808841497</id><published>2009-10-12T15:38:00.001+02:00</published><updated>2009-10-12T15:39:48.073+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='tools'/><category scheme='http://www.blogger.com/atom/ns#' term='.net'/><category scheme='http://www.blogger.com/atom/ns#' term='c#'/><title type='text'>Tool SourceCodeOutliner</title><content type='html'>I have read something about the &lt;a href="http://www.codeplex.com/Wiki/View.aspx?ProjectName=SourceCodeOutliner" target="_blank"&gt;SourceCodeOutliner&lt;/a&gt; tool. This is a plugin for Visual Studio which organize your class file in a tree. So you can quickly navigate to a field or property.&lt;br /&gt;&lt;br /&gt;I am not yet using it. But I think I will give it a try for a couple of weeks.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3244222978806762761-8451248034808841497?l=tipsforcdevelopers.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://tipsforcdevelopers.blogspot.com/feeds/8451248034808841497/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://tipsforcdevelopers.blogspot.com/2009/10/tool-sourcecodeoutliner.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3244222978806762761/posts/default/8451248034808841497'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3244222978806762761/posts/default/8451248034808841497'/><link rel='alternate' type='text/html' href='http://tipsforcdevelopers.blogspot.com/2009/10/tool-sourcecodeoutliner.html' title='Tool SourceCodeOutliner'/><author><name>Schooltje</name><uri>http://www.blogger.com/profile/01705460178760655019</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3244222978806762761.post-3645074918722134788</id><published>2009-10-11T09:07:00.001+02:00</published><updated>2009-10-11T09:08:22.473+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='.net'/><category scheme='http://www.blogger.com/atom/ns#' term='c#'/><title type='text'>.NET Versions</title><content type='html'>With &lt;a href="http://msdn.microsoft.com/en-us/library/system.environment.version.aspx" target="_blank"&gt;System.Environment.Version&lt;/a&gt; the version of the Common Runtime Language is returned.&lt;br /&gt;&lt;br /&gt;In the next switch statement an example of using the Version property:&lt;br /&gt;&lt;br /&gt;&lt;pre class="csharp" name="code"&gt;&lt;br /&gt;switch(System.Environment.Version.ToString())&lt;br /&gt;{&lt;br /&gt;case "1.0.3705.000" :&lt;br /&gt;{&lt;br /&gt;Response.Write(" (.NET 1.0)");&lt;br /&gt;break;&lt;br /&gt;}&lt;br /&gt;case "1.0.3705.209" :&lt;br /&gt;{&lt;br /&gt;Response.Write(" (.NET 1.0 SP1)");&lt;br /&gt;break;&lt;br /&gt;}&lt;br /&gt;case "1.0.3705.288" :&lt;br /&gt;{&lt;br /&gt;Response.Write(" (.NET 1.0 SP2)");&lt;br /&gt;break;&lt;br /&gt;}&lt;br /&gt;case "1.0.3705.6018" :&lt;br /&gt;{&lt;br /&gt;Response.Write(" (.NET 1.0 SP3)");&lt;br /&gt;break;&lt;br /&gt;}&lt;br /&gt;case "1.1.4322.573" :&lt;br /&gt;{&lt;br /&gt;Response.Write(" (.NET 1.1)");&lt;br /&gt;break;&lt;br /&gt;}&lt;br /&gt;case "1.1.4322.2032&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;a href="http://blogs.msdn.com/johnwpowell/archive/2008/03/16/c-and-net-framework-features-by-version-quick-reference.aspx" target="_blank"&gt;Overview of .NET versions&lt;/a&gt; from the Framework.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3244222978806762761-3645074918722134788?l=tipsforcdevelopers.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://tipsforcdevelopers.blogspot.com/feeds/3645074918722134788/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://tipsforcdevelopers.blogspot.com/2009/08/net-versions.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3244222978806762761/posts/default/3645074918722134788'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3244222978806762761/posts/default/3645074918722134788'/><link rel='alternate' type='text/html' href='http://tipsforcdevelopers.blogspot.com/2009/08/net-versions.html' title='.NET Versions'/><author><name>Schooltje</name><uri>http://www.blogger.com/profile/01705460178760655019</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3244222978806762761.post-5907238056015125007</id><published>2009-10-09T13:36:00.004+02:00</published><updated>2009-10-09T13:37:51.211+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='.net'/><category scheme='http://www.blogger.com/atom/ns#' term='xml'/><category scheme='http://www.blogger.com/atom/ns#' term='c#'/><title type='text'>Reading attribute with ConfigurationElementCollection</title><content type='html'>&lt;p&gt;I was programming a part of a configuration file like this&lt;br/&gt;&lt;pre class="xml" name="code"&gt;&lt;br /&gt;&lt;popular-links title="title of popular links"&gt;&lt;br /&gt;  &lt;add name="link1" url="http://www.google.nl"/&gt;&lt;br /&gt;  &lt;add name="link2" url="http://www.fok.nl"/&gt;&lt;br /&gt;  &lt;add name="link3" url="http://www.weeronline.nl"/&gt;&lt;br /&gt;&lt;/popular-links&gt;&lt;br /&gt;&lt;/pre&gt;I will use the ConfigurationElementCollection.... so the &lt;add /&gt; elements are not very difficult. Create a class for the &lt;add /&gt; element with the properties name and url and use this in a class which derived from the ConfigurationElementCollection.&lt;br/&gt;&lt;br/&gt;But getting the value of the title attribute on the &lt;popular-links/&gt; element is more difficult. I have not yet found a nice way to do does. For now I am use a &lt;a href="http://www.frankwisniewski.net/post/How-to-use-a-ConfigurationElementCollection-with-custom-attributes.aspx" target="_blank"&gt;dirty hack&lt;/a&gt;.&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3244222978806762761-5907238056015125007?l=tipsforcdevelopers.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://tipsforcdevelopers.blogspot.com/feeds/5907238056015125007/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://tipsforcdevelopers.blogspot.com/2009/10/reading-attribute-with.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3244222978806762761/posts/default/5907238056015125007'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3244222978806762761/posts/default/5907238056015125007'/><link rel='alternate' type='text/html' href='http://tipsforcdevelopers.blogspot.com/2009/10/reading-attribute-with.html' title='Reading attribute with ConfigurationElementCollection'/><author><name>Schooltje</name><uri>http://www.blogger.com/profile/01705460178760655019</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3244222978806762761.post-977453060866264920</id><published>2009-10-07T19:36:00.002+02:00</published><updated>2009-10-07T19:38:13.370+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='fun'/><title type='text'>Google Webelements</title><content type='html'>&lt;p&gt;With &lt;a href="http://www.google.com/webelements/" target="_blank"&gt;Google Webelements&lt;/a&gt; you can create a web element for your web site. On the page you can customize the web element and when you have entered all the settings you simply copy the html in your web site and your web element can be used on your web site.&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3244222978806762761-977453060866264920?l=tipsforcdevelopers.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://tipsforcdevelopers.blogspot.com/feeds/977453060866264920/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://tipsforcdevelopers.blogspot.com/2009/10/google-webelements.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3244222978806762761/posts/default/977453060866264920'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3244222978806762761/posts/default/977453060866264920'/><link rel='alternate' type='text/html' href='http://tipsforcdevelopers.blogspot.com/2009/10/google-webelements.html' title='Google Webelements'/><author><name>Schooltje</name><uri>http://www.blogger.com/profile/01705460178760655019</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3244222978806762761.post-8219135250267558783</id><published>2009-10-07T19:25:00.003+02:00</published><updated>2009-10-07T19:28:44.985+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='.net'/><category scheme='http://www.blogger.com/atom/ns#' term='c#'/><title type='text'>Design conventions properties and methods</title><content type='html'>&lt;p&gt;On the blog of &lt;a href="http://weblogs.asp.net/wesleybakker/default.aspx"&gt;Wesley Bakker&lt;/a&gt; I have read the &lt;a href="http://weblogs.asp.net/wesleybakker/archive/2009/07/27/deadly-poison-of-lazy-loading-and-not-following-design-guidelines.aspx" target="_blank"&gt;following article&lt;/a&gt;. Most of this stuff is really basic, but it is always usefull to repeat this. So conform your code to the design conventions for properties and methods, when you do not some other developers which use your code can make wrong assumptions.&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3244222978806762761-8219135250267558783?l=tipsforcdevelopers.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://tipsforcdevelopers.blogspot.com/feeds/8219135250267558783/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://tipsforcdevelopers.blogspot.com/2009/10/design-conventions-properties-and.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3244222978806762761/posts/default/8219135250267558783'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3244222978806762761/posts/default/8219135250267558783'/><link rel='alternate' type='text/html' href='http://tipsforcdevelopers.blogspot.com/2009/10/design-conventions-properties-and.html' title='Design conventions properties and methods'/><author><name>Schooltje</name><uri>http://www.blogger.com/profile/01705460178760655019</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3244222978806762761.post-8700551157549824226</id><published>2009-10-05T08:13:00.002+02:00</published><updated>2009-10-05T08:19:59.473+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='serialization'/><category scheme='http://www.blogger.com/atom/ns#' term='.net'/><category scheme='http://www.blogger.com/atom/ns#' term='c#'/><title type='text'>XMLSerializer and invalid XML</title><content type='html'>&lt;p&gt;On the blog of &lt;a href="http://weblogs.asp.net/rajbk/default.aspx" target="_blank"&gt;Raj Kaimal&lt;/a&gt; I have read the following &lt;a href="http://weblogs.asp.net/rajbk/archive/2009/10/04/xmlserializer-and-invalid-xml.aspx" target="_blank"&gt;article&lt;/a&gt; about xml serialization.&lt;br/&gt;The conclusion of this article is the existence of the &lt;a href="http://social.msdn.microsoft.com/forums/en-US/xmlandnetfx/thread/43cdb5fb-983f-4b6e-a6e9-e014e433aac4/" target="_blank"&gt;System.Xml.XmlWellFormedWriter&lt;/a&gt; class which can be created with the &lt;a href="http://msdn.microsoft.com/en-us/library/system.xml.xmlwriter.create.aspx" target="_blank"&gt;XmlWriter.Create&lt;/a&gt; method.&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3244222978806762761-8700551157549824226?l=tipsforcdevelopers.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://tipsforcdevelopers.blogspot.com/feeds/8700551157549824226/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://tipsforcdevelopers.blogspot.com/2009/10/xmlserializer-and-invalid-xml.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3244222978806762761/posts/default/8700551157549824226'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3244222978806762761/posts/default/8700551157549824226'/><link rel='alternate' type='text/html' href='http://tipsforcdevelopers.blogspot.com/2009/10/xmlserializer-and-invalid-xml.html' title='XMLSerializer and invalid XML'/><author><name>Schooltje</name><uri>http://www.blogger.com/profile/01705460178760655019</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3244222978806762761.post-8010670060077529416</id><published>2009-10-01T07:46:00.004+02:00</published><updated>2009-10-01T07:56:54.905+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='ajax'/><title type='text'>New Ajax Toolkit</title><content type='html'>&lt;p&gt;In &lt;a href="http://weblogs.asp.net/bleroy/archive/2009/09/30/ajax-control-toolkit-new-controls-bug-fixes.aspx" target="_blank"&gt;this article&lt;/a&gt;  some new controls of the &lt;strong&gt;new ajax toolkit&lt;/strong&gt;&lt;br/&gt;&lt;br/&gt;Download the new release here: &lt;br /&gt;&lt;a href="http://ajaxcontroltoolkit.codeplex.com/Release/ProjectReleases.aspx?ReleaseId=33804" target="_blank"&gt;http://ajaxcontroltoolkit.codeplex.com/Release/ProjectReleases.aspx?ReleaseId=33804&lt;/a&gt;&lt;br/&gt;&lt;br/&gt;Try the live demos here: &lt;br /&gt;&lt;a href="http://www.asp.net/ajax/ajaxcontroltoolkit/samples/" target="_blank"&gt;http://www.asp.net/ajax/ajaxcontroltoolkit/samples/&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3244222978806762761-8010670060077529416?l=tipsforcdevelopers.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://tipsforcdevelopers.blogspot.com/feeds/8010670060077529416/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://tipsforcdevelopers.blogspot.com/2009/10/new-ajax-toolkit.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3244222978806762761/posts/default/8010670060077529416'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3244222978806762761/posts/default/8010670060077529416'/><link rel='alternate' type='text/html' href='http://tipsforcdevelopers.blogspot.com/2009/10/new-ajax-toolkit.html' title='New Ajax Toolkit'/><author><name>Schooltje</name><uri>http://www.blogger.com/profile/01705460178760655019</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3244222978806762761.post-8011885707820171761</id><published>2009-09-25T07:48:00.001+02:00</published><updated>2009-09-25T07:48:48.877+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='.net'/><category scheme='http://www.blogger.com/atom/ns#' term='c#'/><title type='text'>Configure test projects in Visual Studio</title><content type='html'>&lt;p&gt;I have not done anything reals with test projects in Visual Studio but on &lt;a href="http://www.platinumbay.com/" target="_blank"&gt;Platinum Bay&lt;/a&gt; there are some options for &lt;a href="http://www.platinumbay.com/blogs/dotneticated/archive/2009/09/25/neat-visual-studio-test-options.aspx" target="_blank"&gt;configuring the test projects in Visual Studio&lt;/a&gt;.&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3244222978806762761-8011885707820171761?l=tipsforcdevelopers.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://tipsforcdevelopers.blogspot.com/feeds/8011885707820171761/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://tipsforcdevelopers.blogspot.com/2009/09/configure-test-projects-in-visual.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3244222978806762761/posts/default/8011885707820171761'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3244222978806762761/posts/default/8011885707820171761'/><link rel='alternate' type='text/html' href='http://tipsforcdevelopers.blogspot.com/2009/09/configure-test-projects-in-visual.html' title='Configure test projects in Visual Studio'/><author><name>Schooltje</name><uri>http://www.blogger.com/profile/01705460178760655019</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3244222978806762761.post-2971365248866750453</id><published>2009-09-11T11:16:00.000+02:00</published><updated>2009-09-11T11:17:01.228+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='.net'/><title type='text'>.NET Framework 1.1. on Vista</title><content type='html'>&lt;p&gt;When you want to install and use the .NET Framework 1.1. on a PC where Vista is installed &lt;a href="http://www.mydigitallife.info/2007/12/27/install-microsoft-net-framework-11-on-windows-vista-fix-regsvcsexe-fails-error/" target="_blank"&gt;read the following article.&lt;/a&gt;&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3244222978806762761-2971365248866750453?l=tipsforcdevelopers.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://tipsforcdevelopers.blogspot.com/feeds/2971365248866750453/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://tipsforcdevelopers.blogspot.com/2009/09/net-framework-11-on-vista.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3244222978806762761/posts/default/2971365248866750453'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3244222978806762761/posts/default/2971365248866750453'/><link rel='alternate' type='text/html' href='http://tipsforcdevelopers.blogspot.com/2009/09/net-framework-11-on-vista.html' title='.NET Framework 1.1. on Vista'/><author><name>Schooltje</name><uri>http://www.blogger.com/profile/01705460178760655019</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3244222978806762761.post-805725909460726998</id><published>2009-09-11T11:10:00.003+02:00</published><updated>2009-09-11T11:14:53.072+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='sql'/><title type='text'>Reset auto number from a SQL table after delete</title><content type='html'>&lt;p&gt;When you have an auto number on a table and you deletes the rows in the table you have to reset the autonumber value.&lt;/p&gt;&lt;br /&gt;&lt;pre class="sql" name="code"&gt;DELETE FROM tblName&lt;br /&gt;DBCC CHECKIDENT (tblName,RESEED, 0)&lt;/pre&gt;&lt;br /&gt;&lt;p&gt;The first lines throws all the rows in tblName away and with the second row the auto number is reset&lt;br/&gt;&lt;br/&gt;&lt;br /&gt;&lt;a href="http://blog.sqlauthority.com/2007/03/15/sql-server-dbcc-reseed-table-identity-value-reset-table-identity/" target="_blank"&gt;read here more information&lt;/a&gt;&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3244222978806762761-805725909460726998?l=tipsforcdevelopers.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://tipsforcdevelopers.blogspot.com/feeds/805725909460726998/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://tipsforcdevelopers.blogspot.com/2009/09/reset-auto-number-from-sql-table-after.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3244222978806762761/posts/default/805725909460726998'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3244222978806762761/posts/default/805725909460726998'/><link rel='alternate' type='text/html' href='http://tipsforcdevelopers.blogspot.com/2009/09/reset-auto-number-from-sql-table-after.html' title='Reset auto number from a SQL table after delete'/><author><name>Schooltje</name><uri>http://www.blogger.com/profile/01705460178760655019</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3244222978806762761.post-2713041724517592467</id><published>2009-09-10T11:03:00.003+02:00</published><updated>2009-09-10T11:10:16.406+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='.net'/><category scheme='http://www.blogger.com/atom/ns#' term='c#'/><title type='text'>Fill a dropdown with month names</title><content type='html'>On &lt;a href="http://weblogs.asp.net/jeffwids/" target="_blank"&gt;Jeff Widmer's Blog&lt;/a&gt; there is an &lt;a href="http://weblogs.asp.net/jeffwids/archive/2009/09/08/credit-card-expiration-date-dropdownlist-sample-code.aspx" target="_blank"&gt;&gt;article&lt;/a&gt; about filling a dropdown with the month names. It sounds very simple to me, but when you digging into the code you will see that for months there is not a nice solution as for the DayOfWeek:(.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3244222978806762761-2713041724517592467?l=tipsforcdevelopers.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://tipsforcdevelopers.blogspot.com/feeds/2713041724517592467/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://tipsforcdevelopers.blogspot.com/2009/09/fill-dropdown-with-month-names.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3244222978806762761/posts/default/2713041724517592467'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3244222978806762761/posts/default/2713041724517592467'/><link rel='alternate' type='text/html' href='http://tipsforcdevelopers.blogspot.com/2009/09/fill-dropdown-with-month-names.html' title='Fill a dropdown with month names'/><author><name>Schooltje</name><uri>http://www.blogger.com/profile/01705460178760655019</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3244222978806762761.post-6130566293936217163</id><published>2009-09-01T08:11:00.002+02:00</published><updated>2009-09-02T08:01:11.962+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='.net'/><category scheme='http://www.blogger.com/atom/ns#' term='VS2010'/><title type='text'>VS2010: Multi monitor</title><content type='html'>On the Blog of Scottgu he write about the &lt;a href="http://weblogs.asp.net/scottgu/archive/2009/08/31/multi-monitor-support-vs-2010-and-net-4-series.aspx" target="_blank"&gt;support of mulit monitors in VS2010&lt;/a&gt;. This sounds very nice, I will try this when I have installed a version of VS2010...&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3244222978806762761-6130566293936217163?l=tipsforcdevelopers.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://tipsforcdevelopers.blogspot.com/feeds/6130566293936217163/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://tipsforcdevelopers.blogspot.com/2009/09/vs2010-multi-monitor.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3244222978806762761/posts/default/6130566293936217163'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3244222978806762761/posts/default/6130566293936217163'/><link rel='alternate' type='text/html' href='http://tipsforcdevelopers.blogspot.com/2009/09/vs2010-multi-monitor.html' title='VS2010: Multi monitor'/><author><name>Schooltje</name><uri>http://www.blogger.com/profile/01705460178760655019</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3244222978806762761.post-2160961116730221320</id><published>2009-08-28T08:04:00.002+02:00</published><updated>2009-08-28T08:07:14.549+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='fun'/><title type='text'>Fun flow diagram</title><content type='html'>&lt;a href="http://xkcd.com/627/"&gt;&lt;img style="float:left; margin:0 10px 10px 0;cursor:pointer; cursor:hand;width: 178px; height: 200px;" src="http://4.bp.blogspot.com/_eJLqqN6fW6Q/SpdzzAgOm-I/AAAAAAAAAEI/jmiruz2a3e8/s200/tech_support_cheat_sheet.png" border="0" alt=""id="BLOGGER_PHOTO_ID_5374892000435674082" /&gt;&lt;/a&gt;&lt;br /&gt;I have found a very funny flow diagram on &lt;a href="http://xkcd.com/627/" target="_blank"&gt;xkcs&lt;/a&gt;. In this diagram non-computer people gets some instructions what do to when they getting an error on the pc BEFORE calling 'computer experts'.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3244222978806762761-2160961116730221320?l=tipsforcdevelopers.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://tipsforcdevelopers.blogspot.com/feeds/2160961116730221320/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://tipsforcdevelopers.blogspot.com/2009/08/fun-flow-diagram.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3244222978806762761/posts/default/2160961116730221320'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3244222978806762761/posts/default/2160961116730221320'/><link rel='alternate' type='text/html' href='http://tipsforcdevelopers.blogspot.com/2009/08/fun-flow-diagram.html' title='Fun flow diagram'/><author><name>Schooltje</name><uri>http://www.blogger.com/profile/01705460178760655019</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/_eJLqqN6fW6Q/SpdzzAgOm-I/AAAAAAAAAEI/jmiruz2a3e8/s72-c/tech_support_cheat_sheet.png' height='72' width='72'/><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3244222978806762761.post-5210689283245852124</id><published>2009-08-25T17:11:00.001+02:00</published><updated>2009-08-25T17:12:27.379+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='.net'/><category scheme='http://www.blogger.com/atom/ns#' term='c#'/><title type='text'>Convert usercontrol to control</title><content type='html'>&lt;a href="http://msdn.microsoft.com/en-us/library/aa479318.aspx" target="_blank"&gt;This article contains some instructions how to convert a UserControl to a Control&lt;/a&gt;.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3244222978806762761-5210689283245852124?l=tipsforcdevelopers.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://tipsforcdevelopers.blogspot.com/feeds/5210689283245852124/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://tipsforcdevelopers.blogspot.com/2009/08/convert-usercontrol-to-control.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3244222978806762761/posts/default/5210689283245852124'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3244222978806762761/posts/default/5210689283245852124'/><link rel='alternate' type='text/html' href='http://tipsforcdevelopers.blogspot.com/2009/08/convert-usercontrol-to-control.html' title='Convert usercontrol to control'/><author><name>Schooltje</name><uri>http://www.blogger.com/profile/01705460178760655019</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3244222978806762761.post-7496686396741033442</id><published>2009-08-25T13:08:00.002+02:00</published><updated>2009-08-25T13:11:30.481+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='.net'/><category scheme='http://www.blogger.com/atom/ns#' term='VS2008'/><title type='text'>.Root in Source Safe</title><content type='html'>Frustating everytime I created a project the postfix ".root" is added. Finally I have found a site with the &lt;a href="http://social.msdn.microsoft.com/forums/en-US/vssourcecontrol/thread/47343b9a-9322-4875-9429-20936ab8db30/" target="_blank"&gt;same problem&lt;/a&gt; (or an the &lt;a href="http://msdn.microsoft.com/en-us/library/stxxt3fd.aspx" target="_blank"&gt;MSDN website&lt;/a&gt; and a SOLUTION.&lt;br /&gt;&lt;br /&gt;&lt;pre&gt;&lt;br /&gt;You are running into a feature referred to as 'Solution Root' added &lt;br /&gt;to VS2003 (and carried forward into VS2005).  You can disable this behavior &lt;br /&gt;via the following registry entry:&lt;br /&gt;&lt;br /&gt;HKEY_CURRENT_USER\Software\Microsoft\VisualStudio\8.0\SourceControl\DoNotCreateSolutionRootFolderInSourceControl&lt;br /&gt;&lt;/pre&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3244222978806762761-7496686396741033442?l=tipsforcdevelopers.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://tipsforcdevelopers.blogspot.com/feeds/7496686396741033442/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://tipsforcdevelopers.blogspot.com/2009/08/root-in-source-safe.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3244222978806762761/posts/default/7496686396741033442'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3244222978806762761/posts/default/7496686396741033442'/><link rel='alternate' type='text/html' href='http://tipsforcdevelopers.blogspot.com/2009/08/root-in-source-safe.html' title='.Root in Source Safe'/><author><name>Schooltje</name><uri>http://www.blogger.com/profile/01705460178760655019</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3244222978806762761.post-4425215995847639178</id><published>2009-08-25T12:52:00.001+02:00</published><updated>2009-08-25T12:53:49.962+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='design patterns'/><title type='text'>Builder versus Factory pattern</title><content type='html'>Copied from some other website, unknown which one...&lt;br /&gt;&lt;br /&gt;&lt;quote&gt;Difference Between Builder pattern and Factory pattern&lt;br /&gt;The factory pattern defers the choice of what concrete type of object to make until run time. E.g. going to a restaurant to order the special of the day. The waiter is the interface to the factory that takes the abstractor generic message "Get me the special of the day!" and returns the concrete product (i.e. Hawaiian or Spicy pizza)&lt;br /&gt;The builder pattern encapsulates the logic of how to put together a complex object so that the client just requests a configuration and the builder directs the logic of building it. E.g The main contractor (builder) in building a house knows, given a floor plan, how to execute the sequence of operations (i.e. by delegating to subcontractors) needed to build the complex object. If that logic was not encapsulated in a builder, then the buyers would have to organize the subcontracting themselves ("Dear, shouldn't we have asked for the foundation to be laid before the roofers showed up?")&lt;br /&gt;The factory is concerned with what is made, the builder with how it is made. Design patterns points out that Abstract factory is similar to builder in that it too may construct complex objects. The primary difference is that the Builder pattern focuses on constructing a complex object step by step. Abstract factory's emphasis is on families of product objects (either simple or complex). Builder returns the product as the final step, but as far as the Abstract Factory is concerned, the product gets returned immediately.&lt;/quote&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3244222978806762761-4425215995847639178?l=tipsforcdevelopers.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://tipsforcdevelopers.blogspot.com/feeds/4425215995847639178/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://tipsforcdevelopers.blogspot.com/2009/08/builder-versus-factory-pattern.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3244222978806762761/posts/default/4425215995847639178'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3244222978806762761/posts/default/4425215995847639178'/><link rel='alternate' type='text/html' href='http://tipsforcdevelopers.blogspot.com/2009/08/builder-versus-factory-pattern.html' title='Builder versus Factory pattern'/><author><name>Schooltje</name><uri>http://www.blogger.com/profile/01705460178760655019</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3244222978806762761.post-854446742893542004</id><published>2009-08-25T08:37:00.002+02:00</published><updated>2009-09-11T11:15:06.117+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='html'/><title type='text'>_Blank variant</title><content type='html'>On old school tip... when you do not want to use "target=_blank", you can the use following javascript.&lt;br /&gt;&lt;pre class="html" name="code"&gt;&lt;br /&gt;&amp;lt;a onclick="window.open(this.href,'_blank');return false;" href="http://some_oother_site.com"&amp;gt;Some Other Site&amp;lt;/a&amp;gt;&lt;br /&gt;&lt;/pre&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3244222978806762761-854446742893542004?l=tipsforcdevelopers.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://tipsforcdevelopers.blogspot.com/feeds/854446742893542004/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://tipsforcdevelopers.blogspot.com/2009/08/blank-variant.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3244222978806762761/posts/default/854446742893542004'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3244222978806762761/posts/default/854446742893542004'/><link rel='alternate' type='text/html' href='http://tipsforcdevelopers.blogspot.com/2009/08/blank-variant.html' title='_Blank variant'/><author><name>Schooltje</name><uri>http://www.blogger.com/profile/01705460178760655019</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3244222978806762761.post-971988400262792342</id><published>2009-08-25T08:32:00.002+02:00</published><updated>2009-08-25T08:35:16.412+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='.net'/><category scheme='http://www.blogger.com/atom/ns#' term='c#'/><title type='text'>TemplateSourceDirectory invisible</title><content type='html'>&lt;a href="http://msdn.microsoft.com/en-us/library/system.web.ui.control.templatesourcedirectory.aspx"&gt;TemplateSourceDirectory&lt;/a&gt; can be overridden in the following way:&lt;br /&gt;&lt;pre class="code" name="csharp"&gt;new public virtual string TemplateSourceDirectory&lt;br /&gt;{&lt;br /&gt;  get&lt;br /&gt;  {&lt;br /&gt;    return Page.TemplateSourceDirectory;&lt;br /&gt;  }&lt;br /&gt;}&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;Now the property is invisible for other classes.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3244222978806762761-971988400262792342?l=tipsforcdevelopers.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://tipsforcdevelopers.blogspot.com/feeds/971988400262792342/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://tipsforcdevelopers.blogspot.com/2009/08/templatesourcedirectory-invisible.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3244222978806762761/posts/default/971988400262792342'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3244222978806762761/posts/default/971988400262792342'/><link rel='alternate' type='text/html' href='http://tipsforcdevelopers.blogspot.com/2009/08/templatesourcedirectory-invisible.html' title='TemplateSourceDirectory invisible'/><author><name>Schooltje</name><uri>http://www.blogger.com/profile/01705460178760655019</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3244222978806762761.post-4259785506960478182</id><published>2009-08-25T07:47:00.002+02:00</published><updated>2009-08-25T07:49:23.990+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='.net'/><category scheme='http://www.blogger.com/atom/ns#' term='c#'/><title type='text'>Set time-out-time</title><content type='html'>On the blog of &lt;a href="http://weblogs.asp.net/sujithkjagini/default.aspx" target="_blank"&gt;Sujith K Jagini&lt;/a&gt; there is a article with some information about&lt;br /&gt;&lt;a href="http://weblogs.asp.net/sujithkjagini/archive/2009/08/24/timeout-exceptions.aspx" target="_blank"&gt;Time out exceptions&lt;/a&gt;. How can the 'time-out-time' be set in a WCF service, web service or for (SQL) database.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3244222978806762761-4259785506960478182?l=tipsforcdevelopers.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://tipsforcdevelopers.blogspot.com/feeds/4259785506960478182/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://tipsforcdevelopers.blogspot.com/2009/08/set-time-out-time.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3244222978806762761/posts/default/4259785506960478182'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3244222978806762761/posts/default/4259785506960478182'/><link rel='alternate' type='text/html' href='http://tipsforcdevelopers.blogspot.com/2009/08/set-time-out-time.html' title='Set time-out-time'/><author><name>Schooltje</name><uri>http://www.blogger.com/profile/01705460178760655019</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3244222978806762761.post-6041890736694000068</id><published>2009-08-24T09:42:00.002+02:00</published><updated>2009-08-24T09:44:26.608+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='sql'/><category scheme='http://www.blogger.com/atom/ns#' term='.net'/><title type='text'>SQL injection prevention</title><content type='html'>Last weekend the website of &lt;a href="http://tweakers.net/nieuws/62003/website-fok-gehackt-en-onder-vuur-van-ddos-aanval.html" target="_blank"&gt;FOK was hacked&lt;/a&gt;. It is easy to prevent SQL injection, read the article below:&lt;br /&gt;&lt;a target="_blank" href="http://www.mikesdotnetting.com/Article/113/Preventing-SQL-Injection-in-ASP.NET"&gt;How to prevent your application from SQL Injection.&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3244222978806762761-6041890736694000068?l=tipsforcdevelopers.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://tipsforcdevelopers.blogspot.com/feeds/6041890736694000068/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://tipsforcdevelopers.blogspot.com/2009/08/sql-injection-prevention.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3244222978806762761/posts/default/6041890736694000068'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3244222978806762761/posts/default/6041890736694000068'/><link rel='alternate' type='text/html' href='http://tipsforcdevelopers.blogspot.com/2009/08/sql-injection-prevention.html' title='SQL injection prevention'/><author><name>Schooltje</name><uri>http://www.blogger.com/profile/01705460178760655019</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3244222978806762761.post-6899939644664086404</id><published>2009-08-20T13:16:00.000+02:00</published><updated>2009-08-20T13:16:23.579+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='.net'/><title type='text'>Not showing a login page</title><content type='html'>When you uses .NET web application authentication the user is automatically redirected to the login screen. &lt;a href="http://weblogs.asp.net/joelvarty/archive/2009/04/24/detect-a-security-exception-when-using-formsauthentication.aspx" target="_blank"&gt;Here&lt;/a&gt; there is an example how you can prevent this, and now you can show the 'Access denied' page.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3244222978806762761-6899939644664086404?l=tipsforcdevelopers.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://tipsforcdevelopers.blogspot.com/feeds/6899939644664086404/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://tipsforcdevelopers.blogspot.com/2009/08/not-showing-login-page.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3244222978806762761/posts/default/6899939644664086404'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3244222978806762761/posts/default/6899939644664086404'/><link rel='alternate' type='text/html' href='http://tipsforcdevelopers.blogspot.com/2009/08/not-showing-login-page.html' title='Not showing a login page'/><author><name>Schooltje</name><uri>http://www.blogger.com/profile/01705460178760655019</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3244222978806762761.post-2558604631221927464</id><published>2009-08-20T13:13:00.000+02:00</published><updated>2009-08-20T13:13:36.035+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='seo'/><category scheme='http://www.blogger.com/atom/ns#' term='.net'/><title type='text'>SEO: Viewstate on top</title><content type='html'>The rules for better SEO on your website are not static. So it is better to set the Viewstate information at the bottom of your webpage. How you can do this can you read &lt;a href="http://madskristensen.net/post/An-HttpModule-that-moves-ViewState-to-the-bottom.aspx" target="_blank"&gt;here&lt;/a&gt;.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3244222978806762761-2558604631221927464?l=tipsforcdevelopers.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://tipsforcdevelopers.blogspot.com/feeds/2558604631221927464/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://tipsforcdevelopers.blogspot.com/2009/08/seo-viewstate-on-top.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3244222978806762761/posts/default/2558604631221927464'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3244222978806762761/posts/default/2558604631221927464'/><link rel='alternate' type='text/html' href='http://tipsforcdevelopers.blogspot.com/2009/08/seo-viewstate-on-top.html' title='SEO: Viewstate on top'/><author><name>Schooltje</name><uri>http://www.blogger.com/profile/01705460178760655019</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3244222978806762761.post-3430332667021835933</id><published>2009-08-20T13:10:00.000+02:00</published><updated>2009-08-20T13:10:59.549+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='.net'/><title type='text'>Composited control</title><content type='html'>&lt;a href="http://highoncoding.com/Articles/529_Creating_a_RequiredTextBox_Web_Server_Control_in_ASP_NET.aspx"&gt;Here&lt;/a&gt; you can read something about composited controls. (with validators)&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3244222978806762761-3430332667021835933?l=tipsforcdevelopers.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://tipsforcdevelopers.blogspot.com/feeds/3430332667021835933/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://tipsforcdevelopers.blogspot.com/2009/08/composited-control.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3244222978806762761/posts/default/3430332667021835933'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3244222978806762761/posts/default/3430332667021835933'/><link rel='alternate' type='text/html' href='http://tipsforcdevelopers.blogspot.com/2009/08/composited-control.html' title='Composited control'/><author><name>Schooltje</name><uri>http://www.blogger.com/profile/01705460178760655019</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3244222978806762761.post-4937019601329864490</id><published>2009-08-20T13:09:00.000+02:00</published><updated>2009-08-20T13:09:09.090+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='.net'/><category scheme='http://www.blogger.com/atom/ns#' term='ajax'/><title type='text'>In Place Editing</title><content type='html'>With the control of AJAX.NET it is now (easy) possible to create a website where the user can update the content with a click on the content which must be updated.&lt;br /&gt;&lt;br /&gt;On &lt;a href="http://misfitgeek.com/" target="_blank"&gt;Misfit Geek&lt;/a&gt; there is a nice startup tutorial about &lt;a href="http://misfitgeek.com/blog/aspnet/using-the-asp-net-ajax-editor-control-to-implement-in-place-content-editing/" target="_blank"&gt;Inplace editing&lt;/a&gt;.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3244222978806762761-4937019601329864490?l=tipsforcdevelopers.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://tipsforcdevelopers.blogspot.com/feeds/4937019601329864490/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://tipsforcdevelopers.blogspot.com/2009/08/in-place-editing.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3244222978806762761/posts/default/4937019601329864490'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3244222978806762761/posts/default/4937019601329864490'/><link rel='alternate' type='text/html' href='http://tipsforcdevelopers.blogspot.com/2009/08/in-place-editing.html' title='In Place Editing'/><author><name>Schooltje</name><uri>http://www.blogger.com/profile/01705460178760655019</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3244222978806762761.post-706409902783591716</id><published>2009-08-20T13:04:00.001+02:00</published><updated>2009-08-25T13:06:33.573+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='.net'/><category scheme='http://www.blogger.com/atom/ns#' term='c#'/><title type='text'>Redirect Session Expiration</title><content type='html'>On &lt;a href="http://www.schnieds.com/" target="_blank"&gt;Schnieds Blog&lt;/a&gt; I have read an piece of code about &lt;a href="http://www.schnieds.com/2009/07/aspnet-session-expiration-redirect.html" target="_blank"&gt;Redirecting when the session is expirated&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;I have not yet used this, but it seems nice to integrate this in a webapplication which uses form authentication.&lt;br /&gt;&lt;br /&gt;&lt;a href="http://weblogs.asp.net/latishsehgal/archive/2008/08.aspx" target="_blank"&gt;more info&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3244222978806762761-706409902783591716?l=tipsforcdevelopers.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://tipsforcdevelopers.blogspot.com/feeds/706409902783591716/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://tipsforcdevelopers.blogspot.com/2009/08/redirect-session-expiration.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3244222978806762761/posts/default/706409902783591716'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3244222978806762761/posts/default/706409902783591716'/><link rel='alternate' type='text/html' href='http://tipsforcdevelopers.blogspot.com/2009/08/redirect-session-expiration.html' title='Redirect Session Expiration'/><author><name>Schooltje</name><uri>http://www.blogger.com/profile/01705460178760655019</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3244222978806762761.post-1570786518028176613</id><published>2009-08-19T13:30:00.000+02:00</published><updated>2009-08-19T13:31:19.116+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='serialization'/><category scheme='http://www.blogger.com/atom/ns#' term='.net'/><title type='text'>Serialization in ASP.NET (2)</title><content type='html'>Starting with serialization....uhhh I always forget that... I have found a link with an easy example which can be used as startup code fragment. &lt;br/&gt;&lt;a href="http://weblogs.asp.net/stevewellens/archive/2009/07/02/serializing-and-deserializing-objects-to-and-from-xml.aspx" target="_blank"&gt;Simple example for serializing and deserializing&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3244222978806762761-1570786518028176613?l=tipsforcdevelopers.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://tipsforcdevelopers.blogspot.com/feeds/1570786518028176613/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://tipsforcdevelopers.blogspot.com/2009/08/serialization-in-aspnet-2.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3244222978806762761/posts/default/1570786518028176613'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3244222978806762761/posts/default/1570786518028176613'/><link rel='alternate' type='text/html' href='http://tipsforcdevelopers.blogspot.com/2009/08/serialization-in-aspnet-2.html' title='Serialization in ASP.NET (2)'/><author><name>Schooltje</name><uri>http://www.blogger.com/profile/01705460178760655019</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3244222978806762761.post-3357255710993032422</id><published>2009-08-19T13:28:00.000+02:00</published><updated>2009-08-19T13:28:59.459+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='.net'/><category scheme='http://www.blogger.com/atom/ns#' term='c#'/><title type='text'>Web Site or Web Application</title><content type='html'>When you start building a web appication with Visual Studio you must decide which type you use:&lt;br /&gt;- a web application project&lt;br /&gt;- a web site project (introduced in VS2005)&lt;br /&gt;&lt;br /&gt;Some links with information about this discussion&lt;br /&gt;- &lt;a href="http://aspnetresources.com/blog/web_site_vs_web_application_project_wap.aspx"&gt;ASP.NET Resources - Web Site vs Web Application Project (WAP)&lt;/a&gt;&lt;br /&gt;- &lt;a href="http://msdn.microsoft.com/en-us/library/ex526337(VS.80).aspx"&gt;ASP.NET Web Site Layout&lt;/a&gt;&lt;br /&gt;- &lt;a href="http://www.codersbarn.com/post/2008/06/ASPNET-Web-Site-versus-Web-Application-Project.aspx"&gt;asp.net Web Site versus Web Application Project&lt;/a&gt;&lt;br /&gt;- &lt;a href="http://www.c-sharpcorner.com/UploadFile/kalisk/website02232009162404PM/website.aspx"&gt;ASP.NET Website vs Web Application project&lt;/a&gt;&lt;br /&gt;- &lt;a href="http://west-wind.com/weblog/posts/3016.aspx"&gt;Understanding Page Inheritance in ASP.NET 2.0 - Rick Strahl's Web Log&lt;/a&gt;&lt;br /&gt;- &lt;a href="http://blogs.vertigo.com/personal/swarren/Blog/Lists/Posts/Post.aspx?ID=10"&gt;Web Site or Web Application - Blog&lt;/a&gt;&lt;br /&gt;- &lt;a href="http://www.clyral.com/za/pages/web/website_vs_webapplication.html"&gt;Website versus Web Application - Durban, South Africa&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;But the conclusion of most of these sites is: decide it by yourself!&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3244222978806762761-3357255710993032422?l=tipsforcdevelopers.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://tipsforcdevelopers.blogspot.com/feeds/3357255710993032422/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://tipsforcdevelopers.blogspot.com/2009/08/web-site-or-web-application.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3244222978806762761/posts/default/3357255710993032422'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3244222978806762761/posts/default/3357255710993032422'/><link rel='alternate' type='text/html' href='http://tipsforcdevelopers.blogspot.com/2009/08/web-site-or-web-application.html' title='Web Site or Web Application'/><author><name>Schooltje</name><uri>http://www.blogger.com/profile/01705460178760655019</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3244222978806762761.post-2605321625449741943</id><published>2009-08-19T13:27:00.000+02:00</published><updated>2009-08-19T13:27:36.355+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='VS2008'/><title type='text'>Convert Website to Webapplication</title><content type='html'>When you want to convert a Website to a webapplication you can read&lt;br /&gt;&lt;a href="http://weblogs.asp.net/meligy/archive/2008/08/03/converting-vs-2008-website-to-web-application.aspx" target="_blank"&gt;here&lt;/a&gt; some instructions for doiing this.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3244222978806762761-2605321625449741943?l=tipsforcdevelopers.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://tipsforcdevelopers.blogspot.com/feeds/2605321625449741943/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://tipsforcdevelopers.blogspot.com/2009/08/convert-website-to-webapplication.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3244222978806762761/posts/default/2605321625449741943'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3244222978806762761/posts/default/2605321625449741943'/><link rel='alternate' type='text/html' href='http://tipsforcdevelopers.blogspot.com/2009/08/convert-website-to-webapplication.html' title='Convert Website to Webapplication'/><author><name>Schooltje</name><uri>http://www.blogger.com/profile/01705460178760655019</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3244222978806762761.post-9011342556706935577</id><published>2009-08-19T13:25:00.001+02:00</published><updated>2010-02-01T07:54:18.089+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Access'/><category scheme='http://www.blogger.com/atom/ns#' term='.net'/><title type='text'>Parameters queries in Access</title><content type='html'>When developing websites for 'fun', mostly I will use an Access Database. In SQL server you have stored procedures and you can give values to them with params. This is also possible in Access, but Stored Procedures are called Queries and a nice example can be found &lt;a target="_blank" href="http://www.mikesdotnetting.com/Article/26/Parameter-Queries-in-ASP.NET-with-MS-Access"&gt;here&lt;/a&gt;.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3244222978806762761-9011342556706935577?l=tipsforcdevelopers.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://tipsforcdevelopers.blogspot.com/feeds/9011342556706935577/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://tipsforcdevelopers.blogspot.com/2009/08/parameters-queries-in-access.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3244222978806762761/posts/default/9011342556706935577'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3244222978806762761/posts/default/9011342556706935577'/><link rel='alternate' type='text/html' href='http://tipsforcdevelopers.blogspot.com/2009/08/parameters-queries-in-access.html' title='Parameters queries in Access'/><author><name>Schooltje</name><uri>http://www.blogger.com/profile/01705460178760655019</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3244222978806762761.post-6288763943909720916</id><published>2009-08-19T13:22:00.000+02:00</published><updated>2009-08-19T13:22:40.437+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='.net'/><category scheme='http://www.blogger.com/atom/ns#' term='jquery'/><title type='text'>Tabs in Jquery</title><content type='html'>On &lt;a href="http://www.mikesdotnetting.com/" target="_blank"&gt;Mikesdotnetting&lt;/a&gt; I have read the article about &lt;a href="http://www.mikesdotnetting.com/Article.aspx?ArticleID=102" target="_blank"&gt;JQuery and Tabs.&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;I have sent a comment with the questing how to navigate directly to a specific tab? &lt;a href="http://getrentwiz.com/blog/jquery-tab-select-from-url/" target="_blank"&gt;Example of navigate directly to a specific tab&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3244222978806762761-6288763943909720916?l=tipsforcdevelopers.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://tipsforcdevelopers.blogspot.com/feeds/6288763943909720916/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://tipsforcdevelopers.blogspot.com/2009/04/tabs-in-jquery.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3244222978806762761/posts/default/6288763943909720916'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3244222978806762761/posts/default/6288763943909720916'/><link rel='alternate' type='text/html' href='http://tipsforcdevelopers.blogspot.com/2009/04/tabs-in-jquery.html' title='Tabs in Jquery'/><author><name>Schooltje</name><uri>http://www.blogger.com/profile/01705460178760655019</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3244222978806762761.post-9176976484357084543</id><published>2009-08-19T07:53:00.001+02:00</published><updated>2009-08-19T07:56:24.016+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='html'/><title type='text'>Only IE7 in IE8</title><content type='html'>&lt;a target="_blank" href="http://weblogs.asp.net/joelvarty/archive/2009/03/23/force-ie7-compatibility-mode-in-ie8-with-iis-settings.aspx"&gt;Force IE7&lt;/a&gt; compatibility mode in IE8 with a single line in the header of each webpage.&lt;br /&gt;&lt;br /&gt;&lt;pre name="code" class="html"&gt;&lt;br /&gt;&amp;lt;meta http-equiv="X-UA-Compatible" content="IE=7" /&amp;gt;&lt;br /&gt;&lt;/pre&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3244222978806762761-9176976484357084543?l=tipsforcdevelopers.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://tipsforcdevelopers.blogspot.com/feeds/9176976484357084543/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://tipsforcdevelopers.blogspot.com/2009/08/only-ie7-in-ie8.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3244222978806762761/posts/default/9176976484357084543'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3244222978806762761/posts/default/9176976484357084543'/><link rel='alternate' type='text/html' href='http://tipsforcdevelopers.blogspot.com/2009/08/only-ie7-in-ie8.html' title='Only IE7 in IE8'/><author><name>Schooltje</name><uri>http://www.blogger.com/profile/01705460178760655019</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3244222978806762761.post-1606999847355968674</id><published>2009-08-17T08:23:00.002+02:00</published><updated>2009-08-20T13:16:59.977+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='.net'/><category scheme='http://www.blogger.com/atom/ns#' term='xml'/><title type='text'>Escaping xml data</title><content type='html'>On &lt;a href="http://weblogs.asp.net/smehaffie/default.aspx"&gt;Shawn's Technical Blog&lt;/a&gt; I have read the following article about &lt;a href="http://weblogs.asp.net/smehaffie/archive/2009/08/16/escaping-unescaping-xml-data.aspx"&gt;escaping xml data&lt;/a&gt;.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3244222978806762761-1606999847355968674?l=tipsforcdevelopers.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://tipsforcdevelopers.blogspot.com/feeds/1606999847355968674/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://tipsforcdevelopers.blogspot.com/2009/08/escaping-xml-data.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3244222978806762761/posts/default/1606999847355968674'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3244222978806762761/posts/default/1606999847355968674'/><link rel='alternate' type='text/html' href='http://tipsforcdevelopers.blogspot.com/2009/08/escaping-xml-data.html' title='Escaping xml data'/><author><name>Schooltje</name><uri>http://www.blogger.com/profile/01705460178760655019</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3244222978806762761.post-5241418304417954781</id><published>2009-08-02T17:12:00.003+02:00</published><updated>2009-08-02T17:18:52.088+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='.net'/><category scheme='http://www.blogger.com/atom/ns#' term='c#'/><title type='text'>String.Empty vs empty quotes vs String.Length</title><content type='html'>&lt;p&gt;The usage of &lt;strong&gt;String.Empty&lt;/strong&gt; is more efficient that the usage of empty quotes.&lt;br/&gt;&lt;br /&gt;When using empty quotes an object is created and this produces more assembly code on the execution stack and for string.Empty is NO object created.&lt;/p&gt;&lt;p&gt;The usage of String.Length == 0 is the best. Now there is a numeric compare applied instead of a string compararision, and numeric compare is quicker.&lt;/p&gt;&lt;br /&gt;&lt;p&gt;Only what if the string has the value null? So use string.IsNullOrEmpty method&lt;/p&gt;&lt;br /&gt;&lt;p&gt;More info: &lt;a href="http://www.csharper.net/blog/string_empty_vs_empty_quotes___quot__quot___vs_string_length.aspx" target="_blank"&gt;C# Shiznit&lt;/a&gt;, &lt;a href="http://www.vikramlakhotia.com/StringEmpty_Vs_Empty_Quotes_Vs_Stringlength.aspx" target="_blank"&gt;Vikram's Blog&lt;/a&gt;&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3244222978806762761-5241418304417954781?l=tipsforcdevelopers.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://tipsforcdevelopers.blogspot.com/feeds/5241418304417954781/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://tipsforcdevelopers.blogspot.com/2009/08/stringempty-vs-empty-quotes-vs.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3244222978806762761/posts/default/5241418304417954781'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3244222978806762761/posts/default/5241418304417954781'/><link rel='alternate' type='text/html' href='http://tipsforcdevelopers.blogspot.com/2009/08/stringempty-vs-empty-quotes-vs.html' title='String.Empty vs empty quotes vs String.Length'/><author><name>Schooltje</name><uri>http://www.blogger.com/profile/01705460178760655019</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3244222978806762761.post-7735519998472392222</id><published>2009-08-02T17:02:00.004+02:00</published><updated>2009-09-23T13:30:23.931+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='.net'/><category scheme='http://www.blogger.com/atom/ns#' term='exception'/><category scheme='http://www.blogger.com/atom/ns#' term='c#'/><title type='text'>Throw; versus Throw e;</title><content type='html'>&lt;p&gt;In &lt;a href="http://weblogs.asp.net/lhunt/pages/CSharp-Coding-Standards-document.aspx" target="_blank"&gt;Coding Standards&lt;/a&gt; is the differents between throw and throw e explained.&lt;/p&gt;&lt;p&gt;&lt;strong&gt;What is the difference?&lt;/strong&gt;&lt;br/&gt;The difference is that 'throw;' the original stack trace persists and 'throw ex' truncates the stack trace after the method where the 'throw ex;' is called.&lt;/p&gt;&lt;p&gt;&lt;strong&gt;When using 'throw;'?&lt;/strong&gt;&lt;br/&gt;When in the try{...} a method is called then you must use 'throw;' to take care that you have the original stack trace.&lt;/p&gt;&lt;br /&gt;&lt;pre name="code" class="csharp"&gt;Example:&lt;br /&gt;// Bad!&lt;br /&gt;catch(Exception ex)&lt;br /&gt;{&lt;br /&gt;  Log(ex);&lt;br /&gt;  throw ex;&lt;br /&gt;}&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;pre name="code" class="csharp"&gt;// Good!&lt;br /&gt;catch(Exception)&lt;br /&gt;{&lt;br /&gt;  Log(ex);&lt;br /&gt;  throw;&lt;br /&gt;}&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;p&gt;Another alternative is to create a new Exception and pass the current exception as inner exception. The stack trace is shown correctly (complete)&lt;/p&gt;&lt;br /&gt;&lt;pre name="code" class="csharp"&gt;Example:&lt;br /&gt;// Bad!&lt;br /&gt;catch(Exception ex)&lt;br /&gt;{&lt;br /&gt;  Log(ex);&lt;br /&gt;  throw ex;&lt;br /&gt;}&lt;/pre&gt;&lt;br /&gt;&lt;pre name="code" class="csharp"&gt;// Good!&lt;br /&gt;catch(Exception)&lt;br /&gt;{&lt;br /&gt;  Log(ex);&lt;br /&gt;  Throw new NotImplementedException(“some extra information”, ex);&lt;br /&gt;}&lt;/pre&gt;&lt;br /&gt;See for more information &lt;a target="_blank" href="http://weblogs.asp.net/fmarguerie/archive/2008/01/02/rethrowing-exceptions-and-preserving-the-full-call-stack-trace.aspx"&gt;Fabrice's weblog&lt;/a&gt;, &lt;a target="_blank" href="http://www.tkachenko.com/blog/archives/000352.html"&gt;Signs on the Sand&lt;/a&gt;, &lt;a target="_blank" href="http://aspadvice.com/blogs/joteke/archive/2004/04/15/2277.aspx"&gt;Joteke's Blog&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3244222978806762761-7735519998472392222?l=tipsforcdevelopers.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://tipsforcdevelopers.blogspot.com/feeds/7735519998472392222/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://tipsforcdevelopers.blogspot.com/2009/08/throw-versus-throw-e.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3244222978806762761/posts/default/7735519998472392222'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3244222978806762761/posts/default/7735519998472392222'/><link rel='alternate' type='text/html' href='http://tipsforcdevelopers.blogspot.com/2009/08/throw-versus-throw-e.html' title='Throw; versus Throw e;'/><author><name>Schooltje</name><uri>http://www.blogger.com/profile/01705460178760655019</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3244222978806762761.post-7718634207014583193</id><published>2009-08-02T16:40:00.003+02:00</published><updated>2009-08-02T17:02:16.036+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='.net'/><category scheme='http://www.blogger.com/atom/ns#' term='c#'/><title type='text'>String.Compare or String.ToLower</title><content type='html'>&lt;pre name="code" class="csharp"&gt;// Bad!&lt;br /&gt;Example: (ToLower() creates a temp string)&lt;br /&gt;int id = -1;&lt;br /&gt;string name = "lance hunt";&lt;br /&gt;for(int i=0; i &lt; customerList.Count; i++)&lt;br /&gt;{&lt;br /&gt;  if(customerList[i].Name.ToLower() == name)&lt;br /&gt;  {&lt;br /&gt;    id = customerList[i].ID;&lt;br /&gt;  }&lt;br /&gt;}&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;pre name="code" class="csharp"&gt;// Good! (but not for all cultures)&lt;br /&gt;int id = -1;&lt;br /&gt;string name = "lance hunt";&lt;br /&gt;for(int i=0; i &lt; customerList.Count; i++)&lt;br /&gt;{&lt;br /&gt;  // The “ignoreCase = true” argument performs a&lt;br /&gt;  // case-insensitive compare without new allocation.&lt;br /&gt;  if(String.Compare(customerList[i].Name, name, true)== 0)&lt;br /&gt;  {&lt;br /&gt;    id = customerList[i].ID;&lt;br /&gt;  }&lt;br /&gt;}&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;pre name="code" class="csharp"&gt;// Good! (now also for all cultures)&lt;br /&gt;int id = -1;&lt;br /&gt;string name = "lance hunt";&lt;br /&gt;for (int i = 0; i &lt; customerList.Count; i++)&lt;br /&gt;{&lt;br /&gt;  // The StringComparison.OrdinalIgnoreCase argument performs a&lt;br /&gt;  // case-insensitive compare without new allocation and for several cultures. &lt;br /&gt;  if (String.Compare(customerList[i].Name, name, StringComparison.OrdinalIgnoreCase) == 0)&lt;br /&gt;  {&lt;br /&gt;    id = customerList[i].ID;&lt;br /&gt;  }&lt;br /&gt;}&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;p&gt;Een leuke referentie is de zogenaamde &lt;a href="http://www.moserware.com/2008/02/does-your-code-pass-turkey-test.html" target="_blank"&gt;Turkey Test&lt;/a&gt;.&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3244222978806762761-7718634207014583193?l=tipsforcdevelopers.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://tipsforcdevelopers.blogspot.com/feeds/7718634207014583193/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://tipsforcdevelopers.blogspot.com/2009/08/stringcompare-or-stringtolower.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3244222978806762761/posts/default/7718634207014583193'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3244222978806762761/posts/default/7718634207014583193'/><link rel='alternate' type='text/html' href='http://tipsforcdevelopers.blogspot.com/2009/08/stringcompare-or-stringtolower.html' title='String.Compare or String.ToLower'/><author><name>Schooltje</name><uri>http://www.blogger.com/profile/01705460178760655019</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3244222978806762761.post-6047132468658258772</id><published>2009-07-27T08:49:00.001+02:00</published><updated>2009-07-27T08:50:39.381+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='.net'/><category scheme='http://www.blogger.com/atom/ns#' term='c#'/><title type='text'>Countries depending CurrentCultureInfo</title><content type='html'>&lt;a href="http://weblogs.asp.net/aghausman/archive/2009/07/26/get-countries-name-in-net.aspx" target="_blank"&gt;A nice post about getting countries&lt;/a&gt; with taking care of the current culture info.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3244222978806762761-6047132468658258772?l=tipsforcdevelopers.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://tipsforcdevelopers.blogspot.com/feeds/6047132468658258772/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://tipsforcdevelopers.blogspot.com/2009/07/countries-depending-currentcultureinfo.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3244222978806762761/posts/default/6047132468658258772'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3244222978806762761/posts/default/6047132468658258772'/><link rel='alternate' type='text/html' href='http://tipsforcdevelopers.blogspot.com/2009/07/countries-depending-currentcultureinfo.html' title='Countries depending CurrentCultureInfo'/><author><name>Schooltje</name><uri>http://www.blogger.com/profile/01705460178760655019</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3244222978806762761.post-4710500119976663346</id><published>2009-07-01T07:54:00.000+02:00</published><updated>2009-07-01T07:56:31.734+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='.net'/><category scheme='http://www.blogger.com/atom/ns#' term='c#'/><title type='text'>Refactoring methods</title><content type='html'>On &lt;a href="http://www.refactoring.com" target="_blank"&gt;Refactoring.com&lt;/a&gt; there is published a &lt;a href="http://www.refactoring.com/catalog/index.html" target="_blank"&gt;list&lt;/a&gt; with some refactoring rules. &lt;br /&gt;&lt;br /&gt;I try myself to read this list and also use this list during programming. And when I optimize some code fragment I want to realize that I am using one of these refactoring methods.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3244222978806762761-4710500119976663346?l=tipsforcdevelopers.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://tipsforcdevelopers.blogspot.com/feeds/4710500119976663346/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://tipsforcdevelopers.blogspot.com/2009/07/refactoring-methods.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3244222978806762761/posts/default/4710500119976663346'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3244222978806762761/posts/default/4710500119976663346'/><link rel='alternate' type='text/html' href='http://tipsforcdevelopers.blogspot.com/2009/07/refactoring-methods.html' title='Refactoring methods'/><author><name>Schooltje</name><uri>http://www.blogger.com/profile/01705460178760655019</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3244222978806762761.post-5784285949100262660</id><published>2009-06-25T07:46:00.001+02:00</published><updated>2009-06-25T07:47:40.967+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='.net'/><category scheme='http://www.blogger.com/atom/ns#' term='c#'/><title type='text'>Byte array</title><content type='html'>&lt;a href="http://weblogs.asp.net/erwingriekspoor/archive/2009/05/01/convert-string-to-byte-array-and-byte-array-to-string.aspx#comments" target="_blank"&gt;Code snippet&lt;/a&gt; for converting a byte array to a string (or vice versa) with or without knowing the Encoding.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3244222978806762761-5784285949100262660?l=tipsforcdevelopers.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://tipsforcdevelopers.blogspot.com/feeds/5784285949100262660/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://tipsforcdevelopers.blogspot.com/2009/06/byte-array.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3244222978806762761/posts/default/5784285949100262660'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3244222978806762761/posts/default/5784285949100262660'/><link rel='alternate' type='text/html' href='http://tipsforcdevelopers.blogspot.com/2009/06/byte-array.html' title='Byte array'/><author><name>Schooltje</name><uri>http://www.blogger.com/profile/01705460178760655019</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3244222978806762761.post-4234409738341171396</id><published>2009-06-25T07:43:00.003+02:00</published><updated>2009-06-25T07:45:20.939+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='.net'/><category scheme='http://www.blogger.com/atom/ns#' term='linq'/><category scheme='http://www.blogger.com/atom/ns#' term='c#'/><title type='text'>LINQ: Join</title><content type='html'>The Join operator is an extension method for the String object. With this you can easily create a comma separated string of a list from strings.&lt;br /&gt;&lt;br /&gt;On &lt;a href="http://weblogs.asp.net/erwingriekspoor/" target="_blank"&gt;Erwin's Blog&lt;/a&gt; you can read an &lt;a href="http://weblogs.asp.net/erwingriekspoor/archive/2009/06/24/creating-a-delimiter-separated-list-from-list-of-strings.aspx" target="_blank"&gt;example&lt;/a&gt;.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3244222978806762761-4234409738341171396?l=tipsforcdevelopers.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://tipsforcdevelopers.blogspot.com/feeds/4234409738341171396/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://tipsforcdevelopers.blogspot.com/2009/06/linq-join.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3244222978806762761/posts/default/4234409738341171396'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3244222978806762761/posts/default/4234409738341171396'/><link rel='alternate' type='text/html' href='http://tipsforcdevelopers.blogspot.com/2009/06/linq-join.html' title='LINQ: Join'/><author><name>Schooltje</name><uri>http://www.blogger.com/profile/01705460178760655019</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3244222978806762761.post-5501764040581712529</id><published>2009-06-09T07:44:00.002+02:00</published><updated>2009-06-09T07:46:49.491+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='VS2008'/><category scheme='http://www.blogger.com/atom/ns#' term='linq'/><title type='text'>LINQ: Debug Visualizer</title><content type='html'>&lt;p&gt;On the blog of &lt;a target="_blank"  href="http://weblogs.asp.net/scottgu/"&gt;Scottgu&lt;/a&gt; you will find some instructions for installing a &lt;a target="_blank" href="http://weblogs.asp.net/scottgu/archive/2007/07/31/linq-to-sql-debug-visualizer.aspx"&gt;Linq to SQL debug visualizer&lt;/a&gt;. With this visualizer installer you can see the relating SQL queries for the Linq statements.&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3244222978806762761-5501764040581712529?l=tipsforcdevelopers.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://tipsforcdevelopers.blogspot.com/feeds/5501764040581712529/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://tipsforcdevelopers.blogspot.com/2009/06/linq-debug-visualizer.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3244222978806762761/posts/default/5501764040581712529'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3244222978806762761/posts/default/5501764040581712529'/><link rel='alternate' type='text/html' href='http://tipsforcdevelopers.blogspot.com/2009/06/linq-debug-visualizer.html' title='LINQ: Debug Visualizer'/><author><name>Schooltje</name><uri>http://www.blogger.com/profile/01705460178760655019</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3244222978806762761.post-6799565676090408960</id><published>2009-06-08T07:59:00.001+02:00</published><updated>2009-06-08T08:00:58.200+02:00</updated><title type='text'>Expresion builders in C#</title><content type='html'>On &lt;a href="http://aspnet.4guysfromrolla.com/"&gt;4GuysFromRolla&lt;/a&gt; there is an article about &lt;a href="http://aspnet.4guysfromrolla.com/articles/022509-1.aspx"&gt;expression builders&lt;/a&gt;.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3244222978806762761-6799565676090408960?l=tipsforcdevelopers.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://tipsforcdevelopers.blogspot.com/feeds/6799565676090408960/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://tipsforcdevelopers.blogspot.com/2009/06/expresion-builders-in-c.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3244222978806762761/posts/default/6799565676090408960'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3244222978806762761/posts/default/6799565676090408960'/><link rel='alternate' type='text/html' href='http://tipsforcdevelopers.blogspot.com/2009/06/expresion-builders-in-c.html' title='Expresion builders in C#'/><author><name>Schooltje</name><uri>http://www.blogger.com/profile/01705460178760655019</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3244222978806762761.post-3474733394267049853</id><published>2009-06-05T08:25:00.002+02:00</published><updated>2009-07-15T07:52:20.884+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='seo'/><title type='text'>SEO Toolkit</title><content type='html'>There is a new nice plugin for IIS 7, the SEO Toolkit. Scottgu describes on his blog, some nice features of the &lt;a href="http://weblogs.asp.net/scottgu/archive/2009/06/03/iis-search-engine-optimization-toolkit.aspx"&gt;SEO Toolkit&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Update 15 july 2009: &lt;a href="http://weblogs.asp.net/steveschofield/archive/2009/07/14/thank-you-iis-team-for-the-seo-toolkit-it-helped-correct-over-500-errors.aspx"&gt;Nice results of SEO Toolkit&lt;/a&gt;.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3244222978806762761-3474733394267049853?l=tipsforcdevelopers.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://tipsforcdevelopers.blogspot.com/feeds/3474733394267049853/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://tipsforcdevelopers.blogspot.com/2009/06/seo-toolkit.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3244222978806762761/posts/default/3474733394267049853'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3244222978806762761/posts/default/3474733394267049853'/><link rel='alternate' type='text/html' href='http://tipsforcdevelopers.blogspot.com/2009/06/seo-toolkit.html' title='SEO Toolkit'/><author><name>Schooltje</name><uri>http://www.blogger.com/profile/01705460178760655019</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3244222978806762761.post-4531121422647514171</id><published>2009-05-28T07:42:00.007+02:00</published><updated>2009-05-28T07:56:21.793+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='.net'/><category scheme='http://www.blogger.com/atom/ns#' term='exception'/><category scheme='http://www.blogger.com/atom/ns#' term='c#'/><title type='text'>Link dump: Exception Handling</title><content type='html'>I have already post &lt;a href="http://tipsforcdevelopers.blogspot.com/search/label/exception"&gt;a few blog items about exception handling&lt;/a&gt;, but I think it is a difficult subject.&lt;br /&gt;&lt;br /&gt;So here some links which provide me some information to get some more information about this subject. And most important how can you add exceptions into an existing application?&lt;br /&gt;&lt;br /&gt;General information:&lt;br /&gt;&lt;ul&gt;&lt;li&gt;&lt;a href="http://www.codeproject.com/KB/aspnet/ASPNETExceptionHandling.aspx"&gt;codeproject User Friendly ASP.NET Exception Handling. Free source code and programming help&lt;/a&gt; &lt;/li&gt;&lt;li&gt;&lt;a href="http://code.google.com/p/elmah/"&gt;elmah - Google Code&lt;/a&gt; &lt;/li&gt;&lt;li&gt;&lt;a href="http://stackoverflow.com/questions/198805/how-to-send-email-in-html-format-with-microsoft-enterprise-library"&gt;How to send email in HTML format with Microsoft Enterprise Library - Stack Overflow&lt;/a&gt; &lt;/li&gt;&lt;li&gt;&lt;a href="http://msdn.microsoft.com/en-us/library/aa479319.aspx"&gt;Rich Custom Error Handling with ASP.NET&lt;/a&gt; &lt;/li&gt;&lt;li&gt;&lt;a href="http://msdn.microsoft.com/en-us/library/aa479332.aspx"&gt;Using HTTP Modules and Handlers to Create Pluggable ASP.NET Components&lt;/a&gt; &lt;/li&gt;&lt;li&gt;&lt;a href="http://blogs.microsoft.co.il/blogs/dorong/archive/2006/12/24/Try_7B00_where-is-hell_3F007D00_catch_7B00_here_21007D00_.aspx"&gt;Try{refactoring();}catch{return null;} - Doron Goldberg&lt;/a&gt;  &lt;/li&gt;&lt;/ul&gt;&lt;p&gt;Webservice:&lt;/p&gt;&lt;ul&gt;&lt;li&gt;&lt;a href="http://www.codinghorror.com/blog/archives/000054.html"&gt;Throwing better SOAP exceptions&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="http://msdn.microsoft.com/en-us/library/ds492xtk(vs.71).aspx"&gt;Handling and Throwing Exceptions in XML Web Services&lt;/a&gt; &lt;/li&gt;&lt;li&gt;&lt;a href="http://www.codeproject.com/KB/XML/ExceptionalSoapExtension.aspx"&gt;codeproject Exception Handling SOAP Extension. Free source code and programming help&lt;/a&gt; &lt;/li&gt;&lt;li&gt;&lt;a href="http://msdn.microsoft.com/en-us/library/ds492xtk(vs.71).aspx"&gt;WS - Handling and Throwing Exceptions in XML Web Services&lt;/a&gt; &lt;/li&gt;&lt;li&gt;&lt;a href="http://geekswithblogs.net/pavelka/archive/2005/09/05/HowToCreateAGlobalExceptionHandlerForAWebService.aspx"&gt;WS - How to create a global exception handler for a Web Service&lt;/a&gt; &lt;/li&gt;&lt;/ul&gt;&lt;p&gt;&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3244222978806762761-4531121422647514171?l=tipsforcdevelopers.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://tipsforcdevelopers.blogspot.com/feeds/4531121422647514171/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://tipsforcdevelopers.blogspot.com/2009/05/link-dump-exception-handling.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3244222978806762761/posts/default/4531121422647514171'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3244222978806762761/posts/default/4531121422647514171'/><link rel='alternate' type='text/html' href='http://tipsforcdevelopers.blogspot.com/2009/05/link-dump-exception-handling.html' title='Link dump: Exception Handling'/><author><name>Schooltje</name><uri>http://www.blogger.com/profile/01705460178760655019</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3244222978806762761.post-6992504479912913940</id><published>2009-05-26T07:51:00.002+02:00</published><updated>2009-05-26T07:53:50.181+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='.net'/><category scheme='http://www.blogger.com/atom/ns#' term='VS2010'/><category scheme='http://www.blogger.com/atom/ns#' term='c#'/><title type='text'>VS2010: Regular Expression Editor</title><content type='html'>A couple days ago &lt;a href="http://msdn.microsoft.com/en-us/netframework/dd819232.aspx"&gt;the beta version of VS2010 is released&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;I have not yet installed it on my PC, but I have read about the Regular Expression Editor and I found a &lt;a href="http://editorsamples.codeplex.com/"&gt;Code plex: Editor Samples&lt;/a&gt; so maybe you can use this in the near future.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3244222978806762761-6992504479912913940?l=tipsforcdevelopers.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://tipsforcdevelopers.blogspot.com/feeds/6992504479912913940/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://tipsforcdevelopers.blogspot.com/2009/05/vs2010-regular-expression-editor.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3244222978806762761/posts/default/6992504479912913940'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3244222978806762761/posts/default/6992504479912913940'/><link rel='alternate' type='text/html' href='http://tipsforcdevelopers.blogspot.com/2009/05/vs2010-regular-expression-editor.html' title='VS2010: Regular Expression Editor'/><author><name>Schooltje</name><uri>http://www.blogger.com/profile/01705460178760655019</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3244222978806762761.post-2725728678460259200</id><published>2009-05-26T07:49:00.004+02:00</published><updated>2009-07-17T07:58:16.211+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='.net'/><category scheme='http://www.blogger.com/atom/ns#' term='VS2008'/><category scheme='http://www.blogger.com/atom/ns#' term='c#'/><category scheme='http://www.blogger.com/atom/ns#' term='testen'/><title type='text'>How to start with Unit Testing?</title><content type='html'>I do not know how to start with Unit Testing. And I still don't...&lt;br /&gt;&lt;br /&gt;So there are several blog items about Unit Testing, see&lt;br /&gt;&lt;a href="http://weblogs.asp.net/stefansedich/archive/2009/05/19/unit-testing-asp-net-asp-net-unit-testing-has-never-been-this-easy.aspx"&gt;Unit Testing ASP.NET ASP.NET unit testing has never been this easy - Stefan Sedich's Blog&lt;/a&gt;. But what is the best way to start.&lt;br /&gt;&lt;br /&gt;Can someone give me a good suggestion?&lt;br /&gt;&lt;br /&gt;Update 16 july 2009: I have found a nice list with suggestions on &lt;a href="http://www.bugfree.dk/blog/2009/06/19/my-unit-testing-guidelines/" target="_blank"&gt;Bugfree&lt;/a&gt;.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3244222978806762761-2725728678460259200?l=tipsforcdevelopers.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://tipsforcdevelopers.blogspot.com/feeds/2725728678460259200/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://tipsforcdevelopers.blogspot.com/2009/05/how-to-start-with-unit-testing.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3244222978806762761/posts/default/2725728678460259200'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3244222978806762761/posts/default/2725728678460259200'/><link rel='alternate' type='text/html' href='http://tipsforcdevelopers.blogspot.com/2009/05/how-to-start-with-unit-testing.html' title='How to start with Unit Testing?'/><author><name>Schooltje</name><uri>http://www.blogger.com/profile/01705460178760655019</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3244222978806762761.post-1930260936765865725</id><published>2009-05-26T07:39:00.003+02:00</published><updated>2009-05-26T07:48:52.232+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='.net'/><category scheme='http://www.blogger.com/atom/ns#' term='c#'/><title type='text'>Browser backbutton in ASP.NET</title><content type='html'>The backbutton from the browser does not work often in the way you want in ASP.NET applications. Below some links with information and tweaks relating the back button:&lt;br /&gt;&lt;br /&gt;&lt;a href="http://codebetter.com/blogs/peter.van.ooijen/archive/2005/07/19/129384.aspx"&gt;A back button for asp.net pages - Peter's Gekko - CodeBetter.Com - Stuff you need to Code Better!&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://forums.overclockers.com.au/showthread.php?t=767187"&gt;ASP.NET Browser Back Button - Overclockers Australia Forums&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.dotnetfusion.com/Default.aspx?g=posts&amp;t=39"&gt;Avoid Back button after logout. - ASP.net - Dotnet Fusion&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://bytes.com/topic/asp-net/answers/865218-back-button-browser-compitible-asp-net-application"&gt;back button of browser compitible with asp.net application - bytes&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://dotnetslackers.com/VB_NET/re-490_Back_Button_in_ASP_NET.aspx"&gt;dotnetslackers Back Button in ASP.NET&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3244222978806762761-1930260936765865725?l=tipsforcdevelopers.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://tipsforcdevelopers.blogspot.com/feeds/1930260936765865725/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://tipsforcdevelopers.blogspot.com/2009/05/browser-backbutton-in-aspnet.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3244222978806762761/posts/default/1930260936765865725'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3244222978806762761/posts/default/1930260936765865725'/><link rel='alternate' type='text/html' href='http://tipsforcdevelopers.blogspot.com/2009/05/browser-backbutton-in-aspnet.html' title='Browser backbutton in ASP.NET'/><author><name>Schooltje</name><uri>http://www.blogger.com/profile/01705460178760655019</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3244222978806762761.post-3793713015009519418</id><published>2009-05-25T09:30:00.003+02:00</published><updated>2009-05-26T07:55:01.053+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='tools'/><category scheme='http://www.blogger.com/atom/ns#' term='.net'/><category scheme='http://www.blogger.com/atom/ns#' term='VS2008'/><category scheme='http://www.blogger.com/atom/ns#' term='c#'/><title type='text'>Resource editors</title><content type='html'>On &lt;a href="http://weblogs.asp.net/lduveau/archive/2008/03/03/cool-tool-zeta-resource-editor.aspx"&gt;the blog entry&lt;/a&gt; there are two tools for editing the default resx files for the resources.&lt;br /&gt;&lt;br /&gt;&lt;a href="http://weblogs.asp.net/lduveau/archive/2008/03/02/cool-tool-vs-resource-refactoring-tool.aspx"&gt;The Zeta Resource Editor is a Windows Tool&lt;/a&gt; and a &lt;a href="http://blog.lavablast.com/post/2008/02/RESX-file-Web-Editor.aspx"&gt;Web Tool&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Also a useful add-in is the automatically &lt;a href="http://weblogs.asp.net/lduveau/archive/2008/03/02/cool-tool-vs-resource-refactoring-tool.aspx"&gt;add to resource&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3244222978806762761-3793713015009519418?l=tipsforcdevelopers.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://tipsforcdevelopers.blogspot.com/feeds/3793713015009519418/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://tipsforcdevelopers.blogspot.com/2009/05/resource-editors.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3244222978806762761/posts/default/3793713015009519418'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3244222978806762761/posts/default/3793713015009519418'/><link rel='alternate' type='text/html' href='http://tipsforcdevelopers.blogspot.com/2009/05/resource-editors.html' title='Resource editors'/><author><name>Schooltje</name><uri>http://www.blogger.com/profile/01705460178760655019</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3244222978806762761.post-1820709078482856904</id><published>2009-05-07T21:45:00.005+02:00</published><updated>2009-07-01T07:51:52.818+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='.net'/><category scheme='http://www.blogger.com/atom/ns#' term='linq'/><category scheme='http://www.blogger.com/atom/ns#' term='c#'/><title type='text'>LINQ: Any() or Count()</title><content type='html'>&lt;strong&gt;Update 1 july&lt;/strong&gt;: &lt;a href="http://weblogs.asp.net/psteele/archive/2009/06/30/linq-quickly-create-dictionaries-with-todictionary.aspx" target="_blank"&gt;Also information about the ToDictionary method&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;When you have a collection and you want to check if there are items in the collection you can do this&lt;br /&gt;&lt;br /&gt;Codefragment 1:&lt;br /&gt;&lt;pre name="code" class="csharp"&gt;&lt;br /&gt;if (lCollection.Count() &gt; 0) {&lt;br /&gt;// do something&lt;br /&gt;}&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;Codefragment 2:&lt;br /&gt;&lt;pre name="code" class="csharp"&gt;&lt;br /&gt;if (lCollection.Any()) {&lt;br /&gt;// do something&lt;br /&gt;}&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;When the collection is also an ICollection the Count property is returned otherwise the collection is enumerated an counted for each element. The last one is an expensive operation.&lt;br /&gt;&lt;br /&gt;The Any() method begins to iterate over the collection and stops when the condition is true. If you use the variant without the condition, the method iterates over the first element and stops. So code fragment 2 is a better solution qua performance.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3244222978806762761-1820709078482856904?l=tipsforcdevelopers.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://tipsforcdevelopers.blogspot.com/feeds/1820709078482856904/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://tipsforcdevelopers.blogspot.com/2009/05/linq-any-or-count.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3244222978806762761/posts/default/1820709078482856904'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3244222978806762761/posts/default/1820709078482856904'/><link rel='alternate' type='text/html' href='http://tipsforcdevelopers.blogspot.com/2009/05/linq-any-or-count.html' title='LINQ: Any() or Count()'/><author><name>Schooltje</name><uri>http://www.blogger.com/profile/01705460178760655019</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3244222978806762761.post-5050762615197137949</id><published>2009-05-07T21:33:00.003+02:00</published><updated>2009-05-07T21:34:36.151+02:00</updated><title type='text'>LINQ and Deferred Execution</title><content type='html'>I was programming with LINQ and again I was forgotten the Deferred Execution of LINQ. I know the LINQ statement will executed when the program is running, but sometimes it is confusing, so I have read &lt;a href="http://blogs.msdn.com/charlie/archive/2007/12/09/deferred-execution.aspx"&gt;Charlie Calvert&amp;#39;s Community Blog : LINQ and Deferred Execution&lt;/a&gt;&lt;br /&gt;article and hopefully I will reminder it this time.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3244222978806762761-5050762615197137949?l=tipsforcdevelopers.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://tipsforcdevelopers.blogspot.com/feeds/5050762615197137949/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://tipsforcdevelopers.blogspot.com/2009/05/linq-and-deferred-execution.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3244222978806762761/posts/default/5050762615197137949'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3244222978806762761/posts/default/5050762615197137949'/><link rel='alternate' type='text/html' href='http://tipsforcdevelopers.blogspot.com/2009/05/linq-and-deferred-execution.html' title='LINQ and Deferred Execution'/><author><name>Schooltje</name><uri>http://www.blogger.com/profile/01705460178760655019</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3244222978806762761.post-7910692033825403307</id><published>2009-05-06T11:57:00.000+02:00</published><updated>2009-05-06T12:58:15.054+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='.net'/><category scheme='http://www.blogger.com/atom/ns#' term='c#'/><title type='text'>Difference between Convert.ToBase64String and HttpServerUtility.UrlTokenEncode?</title><content type='html'>&lt;p&gt;There are two methods for converting a string to a Base64 value:&lt;/p&gt;&lt;ul&gt;&lt;li&gt;&lt;a href="http://msdn.microsoft.com/en-us/library/dhx0d524.aspx"&gt;Convert.ToBase64String&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="http://msdn.microsoft.com/en-us/library/system.web.httpserverutility.urltokenencode.aspx"&gt;UrlTokenEncode&lt;/a&gt;&lt;/li&gt;&lt;/ul&gt;&lt;p&gt;But what is the exact differnce between them? And when do you decide the use the Convert or the Encode?&lt;/p&gt;&lt;p&gt;When you are going to transmit a value via a URL the method to use is the: HttpServerUtility.UrlTokenEncode() method,&lt;/p&gt;&lt;p&gt;This method creates a url safe value.&lt;br /&gt;&lt;/p&gt;&lt;p&gt;The original base64 string encoding follows a standard definition which uses the following characters:&lt;/p&gt;&lt;p&gt;From:&lt;/p&gt;&lt;p&gt;&lt;a href="http://www.ietf.org/rfc/rfc1421.txt"&gt;http://www.ietf.org/rfc/rfc1421.txt&lt;/a&gt;&lt;br /&gt;&lt;/p&gt;&lt;pre&gt; Value Encoding  Value Encoding  Value Encoding  Value Encoding&lt;br /&gt;      0 A            17 R            34 i            51 z&lt;br /&gt;      1 B            18 S            35 j            52 0&lt;br /&gt;      2 C            19 T            36 k            53 1&lt;br /&gt;      3 D            20 U            37 l            54 2&lt;br /&gt;      4 E            21 V            38 m            55 3&lt;br /&gt;      5 F            22 W            39 n            56 4&lt;br /&gt;      6 G            23 X            40 o            57 5&lt;br /&gt;      7 H            24 Y            41 p            58 6&lt;br /&gt;      8 I            25 Z            42 q            59 7&lt;br /&gt;      9 J            26 a            43 r            60 8&lt;br /&gt;     10 K            27 b            44 s            61 9&lt;br /&gt;     11 L            28 c            45 t            62 +&lt;br /&gt;     12 M            29 d            46 u            63 /&lt;br /&gt;     13 N            30 e            47 v&lt;br /&gt;     14 O            31 f            48 w         (pad) =&lt;br /&gt;     15 P            32 g            49 x&lt;br /&gt;     16 Q            33 h            50 y&lt;br /&gt;&lt;br /&gt;                 Printable Encoding Characters&lt;br /&gt;                            Table 1&lt;br /&gt;&lt;/pre&gt;&lt;p&gt;As you can see there are a few characters in this set that are already used in normal urls. To create url save string the +, / and = characters are substituted for other tokens to create a value which is usable in a URL.&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;The System.Convert.ToBase64 does not display this behavior which might result in a value which isn't usable in a URL, So when you Encode a value to base64 data which you are going to use in a url use HttpSeverUtility.UrlTokenEncode to create safe values&lt;br /&gt;&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3244222978806762761-7910692033825403307?l=tipsforcdevelopers.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://tipsforcdevelopers.blogspot.com/feeds/7910692033825403307/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://tipsforcdevelopers.blogspot.com/2009/05/difference-between-converttobase64strin.html#comment-form' title='3 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3244222978806762761/posts/default/7910692033825403307'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3244222978806762761/posts/default/7910692033825403307'/><link rel='alternate' type='text/html' href='http://tipsforcdevelopers.blogspot.com/2009/05/difference-between-converttobase64strin.html' title='Difference between Convert.ToBase64String and HttpServerUtility.UrlTokenEncode?'/><author><name>Schooltje</name><uri>http://www.blogger.com/profile/01705460178760655019</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3244222978806762761.post-5494142448715032104</id><published>2009-05-01T12:51:00.003+02:00</published><updated>2009-05-26T07:55:01.054+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='VS2008'/><category scheme='http://www.blogger.com/atom/ns#' term='tips'/><title type='text'>Clipboard Ring</title><content type='html'>In Visual Studio you can use the Clipboard Ring. When you have copied multiple times something with CTRL+C, this is stored on the Clipboard Ring.&lt;br /&gt;&lt;br /&gt;With CTRL+SHIFT+V can you browse through the Clipboard Ring.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3244222978806762761-5494142448715032104?l=tipsforcdevelopers.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://tipsforcdevelopers.blogspot.com/feeds/5494142448715032104/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://tipsforcdevelopers.blogspot.com/2009/05/clipboard-ring.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3244222978806762761/posts/default/5494142448715032104'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3244222978806762761/posts/default/5494142448715032104'/><link rel='alternate' type='text/html' href='http://tipsforcdevelopers.blogspot.com/2009/05/clipboard-ring.html' title='Clipboard Ring'/><author><name>Schooltje</name><uri>http://www.blogger.com/profile/01705460178760655019</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3244222978806762761.post-6800024066119345860</id><published>2009-05-01T09:50:00.000+02:00</published><updated>2009-05-01T12:46:44.930+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='.net'/><category scheme='http://www.blogger.com/atom/ns#' term='c#'/><title type='text'>Events in (Web)UserControls</title><content type='html'>On &lt;a href="http://mats.softgear.se/" title="Mats Lycken - Posts about .NET related stuff"&gt;Mats Lycken - Posts about .NET related stuff&lt;/a&gt; I have read the following &lt;a href="http://mats.softgear.se/post/ASPNET-101---Part-1-Communication-from-User-control-to-Page-in-ASPNET.aspx"&gt;post&lt;/a&gt; about &lt;a href="http://mats.softgear.se/post/ASPNET-101---Part-1-Communication-from-User-control-to-Page-in-ASPNET.aspx"&gt;Events in (Web)UserControls&lt;/a&gt;.&lt;br /&gt;I am a big fan of using (Web)UserControls, but often I forgot to use events... so may be I go use them more now;)&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3244222978806762761-6800024066119345860?l=tipsforcdevelopers.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://tipsforcdevelopers.blogspot.com/feeds/6800024066119345860/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://tipsforcdevelopers.blogspot.com/2009/05/events-in-webusercontrols.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3244222978806762761/posts/default/6800024066119345860'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3244222978806762761/posts/default/6800024066119345860'/><link rel='alternate' type='text/html' href='http://tipsforcdevelopers.blogspot.com/2009/05/events-in-webusercontrols.html' title='Events in (Web)UserControls'/><author><name>Schooltje</name><uri>http://www.blogger.com/profile/01705460178760655019</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry></feed>
