<feed version="0.3" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns="http://purl.org/atom/ns#" xml:lang="nl-NL"><title>Bel.NET</title><link rel="alternate" type="text/html" href="http://dotnetjunkies.com/WebLog/beliwan/default.aspx" /><tagline type="text/html">the everlasting dotnet newbie</tagline><id>http://dotnetjunkies.com/WebLog/beliwan/default.aspx</id><author><url>http://dotnetjunkies.com/WebLog/beliwan/default.aspx</url></author><generator url="http://communityserver.org" version="1.0.1.50214">Community Server</generator><modified>2004-11-22T13:23:00Z</modified><entry><title>BizTalk Tools and guidelines</title><link rel="alternate" type="text/html" href="http://dotnetjunkies.com/WebLog/beliwan/archive/2008/04/15/463688.aspx" /><id>58df7014-fd75-437c-9641-150997716d1c:463688</id><created>2008-04-15T00:12:00Z</created><content type="text/html" mode="escaped">I stumbled upon a nice list of tools and guidelines regarding BizTalk Server (2006).

&lt;a&gt;Tools and Guidelines&lt;/a&gt;.&lt;img src="http://dotnetjunkies.com/WebLog/aggbug.aspx?PostID=463688" width="1" height="1"&gt;</content><slash:comments>0</slash:comments><wfw:commentRss>http://dotnetjunkies.com/WebLog/beliwan/commentrss.aspx?PostID=463688</wfw:commentRss></entry><entry><title>Attending Tech-Ed Developers 2006 Barcelona, Spain</title><link rel="alternate" type="text/html" href="http://dotnetjunkies.com/WebLog/beliwan/archive/2006/11/03/153395.aspx" /><id>58df7014-fd75-437c-9641-150997716d1c:153395</id><created>2006-11-03T08:02:00Z</created><content type="text/html" mode="escaped">&lt;P&gt;&lt;FONT&gt;I am grabbing my personal stuff, the necessary&amp;nbsp;tickets, passport&amp;nbsp;and my camera. I am flying to Barcelona to attend Tech-Ed Developers 2006. I am looking forward to go to all kinds of sessions. I am still browsing the sessions to find out what the interesting things for me&amp;nbsp;are. I will definitely go to a lot of Architectural sessions. Also some of my favorite speakers are on stage.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT&gt;Sunday morning I will arive at Barcelona Airport and from there go by buss to the hotel. One day off to visit some interesting areas and have a nice lunch and diner with a good colleague.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT&gt;Barcelona, here we come, and oh, you can follow our experiences at &lt;A href="http://teched2006barcelona.blogspot.com/"&gt;http://teched2006barcelona.blogspot.com/&lt;/A&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT&gt;Ronald and Iwan will blog there about tech-ed and the sessions.&lt;/FONT&gt;&lt;/P&gt;&lt;img src="http://dotnetjunkies.com/WebLog/aggbug.aspx?PostID=153395" width="1" height="1"&gt;</content><slash:comments>0</slash:comments><wfw:commentRss>http://dotnetjunkies.com/WebLog/beliwan/commentrss.aspx?PostID=153395</wfw:commentRss></entry><entry><title>EventStream - ConnectionString</title><link rel="alternate" type="text/html" href="http://dotnetjunkies.com/WebLog/beliwan/archive/2005/06/14/121245.aspx" /><id>58df7014-fd75-437c-9641-150997716d1c:121245</id><created>2005-06-14T09:48:00Z</created><content type="text/html" mode="escaped">&lt;P&gt;&lt;FONT&gt;I am combining the DirectEventStream and the BufferedEventStream.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT&gt;Keep in mind that the ConnectionString differs. &lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT&gt;Buffered : &lt;FONT&gt;"User ID=BAMUser;Password=BAMUser;Data Source=(local);Initial Catalog=BizTalkMsgBoxDb"&lt;/FONT&gt;&lt;FONT&gt;;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT&gt;Direct: &lt;FONT&gt;"User ID=BAMUser;Password=BAMUser;Data Source=(local);Initial Catalog=BAMPrimaryImport"&lt;/FONT&gt;&lt;FONT&gt;;&lt;/P&gt;&lt;/FONT&gt;&lt;/FONT&gt;
&lt;P&gt;&lt;FONT&gt;&lt;FONT&gt; &lt;/P&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;img src="http://dotnetjunkies.com/WebLog/aggbug.aspx?PostID=121245" width="1" height="1"&gt;</content><slash:comments>0</slash:comments><wfw:commentRss>http://dotnetjunkies.com/WebLog/beliwan/commentrss.aspx?PostID=121245</wfw:commentRss></entry><entry><title>Password Generator [20050513] [Dutch]</title><link rel="alternate" type="text/html" href="http://dotnetjunkies.com/WebLog/beliwan/archive/2005/05/15/76873.aspx" /><id>58df7014-fd75-437c-9641-150997716d1c:76873</id><created>2005-05-15T14:43:00Z</created><content type="text/html" mode="escaped">&lt;a href="http://www.angel.net/~nic/passwd.html"&gt;Password Generator&lt;a&gt;...(&lt;a href="http://dotnetjunkies.comhttp://dotnetjunkies.com/WebLog/beliwan/archive/2005/05/15/76873.aspx"&gt;read more&lt;/a&gt;)&lt;img src="http://dotnetjunkies.com/WebLog/aggbug.aspx?PostID=76873" width="1" height="1"&gt;</content><slash:comments>0</slash:comments><wfw:commentRss>http://dotnetjunkies.com/WebLog/beliwan/commentrss.aspx?PostID=76873</wfw:commentRss></entry><entry><title>Reading UIPConfigSettings from alternative location</title><link rel="alternate" type="text/html" href="http://dotnetjunkies.com/WebLog/beliwan/archive/2004/11/22/33049.aspx" /><id>58df7014-fd75-437c-9641-150997716d1c:33049</id><created>2004-11-22T13:23:00Z</created><content type="text/html" mode="escaped">&lt;FONT&gt;&lt;FONT&gt;
&lt;P&gt;&lt;FONT&gt;I was looking for a way to separate the &lt;/FONT&gt;&lt;FONT&gt;UIP configuration settings from the default configuration file. Finally come up with the following solution. To use it you have to change the &lt;FONT&gt;&lt;FONT face="Courier New"&gt;UIPConfiguration &lt;/FONT&gt;&lt;FONT&gt;class. &lt;/P&gt;
&lt;P&gt;&lt;FONT&gt;By adding the &lt;/FONT&gt;&lt;FONT face="Courier New"&gt;alternativeConfigFile &lt;FONT&gt;attribute to the uipConfiguration section, you are able to use the following function to get the configuration&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Courier New"&gt;&lt;FONT&gt;&lt;FONT&gt;c&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face="Courier New"&gt;&lt;FONT&gt;onfigSections&lt;/FONT&gt;&lt;FONT&gt;&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT&gt;&lt;BR&gt;&lt;/FONT&gt;&lt;FONT face="Courier New"&gt;&lt;FONT&gt;&lt;FONT&gt;section&lt;/FONT&gt;&lt;FONT&gt; &lt;/FONT&gt;&lt;FONT&gt;alternativeConfigFile&lt;/FONT&gt;&lt;FONT&gt;="uipConfiguration.config"&lt;/FONT&gt;&lt;FONT&gt; &lt;/FONT&gt;&lt;FONT&gt;name&lt;/FONT&gt;&lt;FONT&gt;="uipConfiguration"&lt;/FONT&gt;&lt;FONT&gt; &lt;/FONT&gt;&lt;FONT&gt;type&lt;/FONT&gt;&lt;FONT&gt;="Microsoft.ApplicationBlocks.UIProcess.UIPConfigHandler, Microsoft.ApplicationBlocks.UIProcess, Version=1.0.1.0,Culture=neutral,PublicKeyToken=null"&lt;/FONT&gt;&lt;FONT&gt; &lt;/FONT&gt;&lt;FONT&gt;/&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;BR&gt;&lt;FONT&gt;&lt;/FONT&gt;&lt;FONT face="Courier New"&gt;configSections&lt;/FONT&gt;&lt;FONT&gt;&lt;FONT face="Courier New"&gt;&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;
&lt;P&gt;&lt;FONT&gt;&lt;FONT&gt;Add the following code to the try section of the getter :&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;FONT&gt;&lt;FONT&gt;&lt;FONT&gt;
&lt;P&gt;&lt;FONT face="Courier New"&gt;_currentConfig = GetSettingsFromAlternativeLocation();&lt;/FONT&gt; &lt;BR&gt;&lt;/FONT&gt;&lt;FONT face="Courier New"&gt;&lt;FONT&gt;if&lt;/FONT&gt;&lt;FONT&gt; ( _currentConfig == &lt;/FONT&gt;&lt;FONT&gt;null&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT&gt;&lt;FONT face="Courier New"&gt; ) &lt;/FONT&gt;&lt;FONT face="Courier New"&gt;_currentConfig = (UIPConfigSettings)ConfigurationSettings.GetConfig( UipConfigSection );&lt;/FONT&gt;&lt;/P&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;
&lt;P&gt;&lt;FONT&gt;Finally implement the following private function:&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Courier New"&gt;&lt;FONT&gt;private&lt;/FONT&gt;&lt;FONT&gt; &lt;/FONT&gt;&lt;FONT&gt;static&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT&gt;&lt;FONT face="Courier New"&gt; UIPConfigSettings GetSettingsFromAlternativeLocation()&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT&gt;&lt;FONT face="Courier New"&gt;{&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;/FONT&gt;&lt;FONT&gt;&lt;FONT face="Courier New"&gt;//Retrieve location of EntryAssembly&lt;/FONT&gt;&lt;/P&gt;&lt;/FONT&gt;&lt;FONT&gt;
&lt;P&gt;&lt;/FONT&gt;&lt;FONT face="Courier New"&gt;string&lt;/FONT&gt;&lt;FONT&gt;&lt;FONT face="Courier New"&gt; entryAssemblyLocation = System.Reflection.Assembly.GetEntryAssembly().Location;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;/FONT&gt;&lt;FONT face="Courier New"&gt;string&lt;/FONT&gt;&lt;FONT&gt;&lt;FONT face="Courier New"&gt; usedConfigFile = entryAssemblyLocation + ".config";&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;/FONT&gt;&lt;FONT&gt;&lt;FONT face="Courier New"&gt;//Load file in XmlDocument&lt;/FONT&gt;&lt;/P&gt;&lt;/FONT&gt;&lt;FONT&gt;
&lt;P&gt;&lt;FONT face="Courier New"&gt;XmlDocument configurationFile = &lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face="Courier New"&gt;new&lt;/FONT&gt;&lt;FONT&gt;&lt;FONT face="Courier New"&gt; XmlDocument();&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Courier New"&gt;configurationFile.Load(usedConfigFile);&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Courier New"&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;/FONT&gt;&lt;FONT&gt;&lt;FONT face="Courier New"&gt;//Get uipSection&lt;/FONT&gt;&lt;/P&gt;&lt;/FONT&gt;&lt;FONT&gt;
&lt;P&gt;&lt;FONT face="Courier New"&gt;XmlNode uipSectionNode = configurationFile.SelectSingleNode("/configuration/configSections/section[@name='uipConfiguration']");&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;/FONT&gt;&lt;FONT&gt;&lt;FONT face="Courier New"&gt;//Read alternativeConfigFile location&lt;/FONT&gt;&lt;/P&gt;&lt;/FONT&gt;&lt;FONT&gt;
&lt;P&gt;&lt;/FONT&gt;&lt;FONT face="Courier New"&gt;string&lt;/FONT&gt;&lt;FONT&gt;&lt;FONT face="Courier New"&gt; alternativeConfigFile = ((XmlElement)uipSectionNode).GetAttribute("alternativeConfigFile");&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Courier New"&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;/FONT&gt;&lt;FONT&gt;&lt;FONT face="Courier New"&gt;//If not exist return null, to handle default uipConfiguration section&lt;/FONT&gt;&lt;/P&gt;&lt;/FONT&gt;&lt;FONT&gt;
&lt;P&gt;&lt;/FONT&gt;&lt;FONT face="Courier New"&gt;&lt;FONT&gt;if&lt;/FONT&gt;&lt;FONT&gt; ( alternativeConfigFile == &lt;/FONT&gt;&lt;FONT&gt;string&lt;/FONT&gt;&lt;FONT&gt;.Empty ) &lt;/FONT&gt;&lt;FONT&gt;return&lt;/FONT&gt;&lt;FONT&gt; &lt;/FONT&gt;&lt;FONT&gt;null&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT&gt;&lt;FONT face="Courier New"&gt;;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;/FONT&gt;&lt;FONT&gt;&lt;FONT face="Courier New"&gt;//If filelocation exist then use it, else Combine it with DirectoryName of configfile&lt;/FONT&gt;&lt;/P&gt;&lt;/FONT&gt;&lt;FONT&gt;
&lt;P&gt;&lt;/FONT&gt;&lt;FONT face="Courier New"&gt;if&lt;/FONT&gt;&lt;FONT&gt;&lt;FONT face="Courier New"&gt; ( !File.Exists(alternativeConfigFile) )&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Courier New"&gt;{&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Courier New"&gt;FileInfo fileInfo = &lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face="Courier New"&gt;new&lt;/FONT&gt;&lt;FONT&gt;&lt;FONT face="Courier New"&gt; FileInfo(usedConfigFile);&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Courier New"&gt;alternativeConfigFile = Path.Combine(fileInfo.DirectoryName, alternativeConfigFile);&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Courier New"&gt;}&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Courier New"&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;/FONT&gt;&lt;FONT&gt;&lt;FONT face="Courier New"&gt;//reuse XmlDocument and load alternative configuration file with UIP settings&lt;/FONT&gt;&lt;/P&gt;&lt;/FONT&gt;&lt;FONT&gt;
&lt;P&gt;&lt;FONT face="Courier New"&gt;configurationFile.Load(alternativeConfigFile);&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Courier New"&gt;XmlNode uipConfigurationNode = configurationFile.SelectSingleNode("//uipConfiguration");&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Courier New"&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;/FONT&gt;&lt;FONT face="Courier New"&gt;&lt;FONT&gt;if&lt;/FONT&gt;&lt;FONT&gt; ( uipConfigurationNode != &lt;/FONT&gt;&lt;FONT&gt;null&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT&gt;&lt;FONT face="Courier New"&gt; )&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Courier New"&gt;{&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Courier New"&gt;UIPConfigHandler uipConfigHandler = &lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face="Courier New"&gt;new&lt;/FONT&gt;&lt;FONT&gt;&lt;FONT face="Courier New"&gt; UIPConfigHandler();&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;/FONT&gt;&lt;FONT face="Courier New"&gt;&lt;FONT&gt;return&lt;/FONT&gt;&lt;FONT&gt; (UIPConfigSettings)uipConfigHandler.Create(&lt;/FONT&gt;&lt;FONT&gt;null&lt;/FONT&gt;&lt;FONT&gt;,&lt;/FONT&gt;&lt;FONT&gt;null&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT&gt;&lt;FONT face="Courier New"&gt;, uipConfigurationNode); &lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Courier New"&gt;}&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;/FONT&gt;&lt;FONT face="Courier New"&gt;&lt;FONT&gt;else&lt;/FONT&gt;&lt;FONT&gt; &lt;/FONT&gt;&lt;FONT&gt;return&lt;/FONT&gt;&lt;FONT&gt; &lt;/FONT&gt;&lt;FONT&gt;null&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT&gt;&lt;FONT face="Courier New"&gt;;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Courier New"&gt;}&lt;/FONT&gt;&lt;/P&gt;&lt;/FONT&gt;&lt;img src="http://dotnetjunkies.com/WebLog/aggbug.aspx?PostID=33049" width="1" height="1"&gt;</content><slash:comments>0</slash:comments><wfw:commentRss>http://dotnetjunkies.com/WebLog/beliwan/commentrss.aspx?PostID=33049</wfw:commentRss></entry></feed>