<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.msdn.com/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Young's Software for Mere Mortals</title><link>http://blogs.msdn.com/yjhong/default.aspx</link><description>Young Jun Hong's blog about BizTalk</description><dc:language>ko</dc:language><generator>CommunityServer 2.1 SP1 (Build: 61025.2)</generator><item><title>When CSC.Exe Generates a Different Size of Assembly From VS IDE</title><link>http://blogs.msdn.com/yjhong/archive/2007/09/28/when-csc-exe-generates-a-different-size-of-assembly-from-vs-ide.aspx</link><pubDate>Fri, 28 Sep 2007 05:23:58 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:5177404</guid><dc:creator>yjhong</dc:creator><slash:comments>3</slash:comments><comments>http://blogs.msdn.com/yjhong/comments/5177404.aspx</comments><wfw:commentRss>http://blogs.msdn.com/yjhong/commentrss.aspx?PostID=5177404</wfw:commentRss><description>&lt;p&gt;I struggled for the reason why CSC.EXE results in an assembly differently from VS IDE, because VS IDE generates an assembly of 20KB while CSC.exe compiles it in 8KB with the same source code. &lt;/p&gt;  &lt;p&gt;I checked the compiler options for the two compilers, but I couldn&amp;#x2019;t find any big difference. I didn&amp;#x2019;t except it, but I simply copied the compiler command shown in the output window of VS IDE and executed the same one in the command line window..Wow. The same command line generated the assembly of 8 KB, which were 20KB in VS IDE with the same compiler options.. &lt;/p&gt;  &lt;p&gt;To figure out&amp;#xA0; which compiler options and how VS IDE actually passed to CSC.exe, I tried the process explorer and the Gflag tools to hook into the csc.exe execution&amp;#x2026;.but, I couldn&amp;#x2019;t because VS IDE uses a different mechanism to run the compiler.&amp;#xA0; I disassembled them and checked the differences, but no big difference. &lt;/p&gt;  &lt;p&gt;The actually reason is that I migrated the project from the previous version of VS IDE to 2005. In the previous version, the default File alignment has been changed for the new version. The default value of the setting was 4096, but now it is 512. I don't why though. &lt;/p&gt;  &lt;p&gt;To have change the option for CSC.exe, you can use &lt;a href="http://msdn2.microsoft.com/en-us/library/0s4tzdf2(VS.80).aspx" target="_blank"&gt;the &amp;quot;/filealign&amp;quot; option&lt;/a&gt;. If you want to change the setting in VS IDE, you can do that by setting File Alignment in the Advanced Build Settings dialog box. &lt;a href="http://blogs.msdn.com/blogfiles/yjhong/WindowsLiveWriter/Whe.ExeGeneratesaDifferentSizeofAssembly_F0BD/Capture8-30-2007-5.04.54%20PM.jpg"&gt;&lt;img style="border-top-width: 0px; border-left-width: 0px; border-bottom-width: 0px; border-right-width: 0px" height="171" alt="Capture8-30-2007-5.04.54 PM" src="http://blogs.msdn.com/blogfiles/yjhong/WindowsLiveWriter/Whe.ExeGeneratesaDifferentSizeofAssembly_F0BD/Capture8-30-2007-5.04.54%20PM_thumb.jpg" width="240" border="0" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;Young&lt;/p&gt;  &lt;div class="wlWriterSmartContent" id="0767317B-992E-4b12-91E0-4F059A8CECA8:cf792707-dee0-4093-82f5-40d8965702d3" style="padding-right: 0px; display: inline; padding-left: 0px; padding-bottom: 0px; margin: 0px; padding-top: 0px"&gt;Technorati Tags:  		&lt;a href="http://technorati.com/tags/C#/" rel="tag"&gt;C#&lt;/a&gt; 		&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=5177404" width="1" height="1"&gt;</description></item><item><title>Changing text encodings of output files redirected from PowerShell. </title><link>http://blogs.msdn.com/yjhong/archive/2007/06/08/changing-text-encodings-of-output-files-redirected-from-powershell.aspx</link><pubDate>Thu, 07 Jun 2007 21:53:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:3146512</guid><dc:creator>yjhong</dc:creator><slash:comments>1</slash:comments><comments>http://blogs.msdn.com/yjhong/comments/3146512.aspx</comments><wfw:commentRss>http://blogs.msdn.com/yjhong/commentrss.aspx?PostID=3146512</wfw:commentRss><description>&lt;P&gt;I created a logman setting file as follows:&lt;BR&gt;typeperf -q | where { $_ -like "\Phy*" } | foreach { '"' + $_.Trim() + '"' } &amp;gt; counter.txt&lt;/P&gt;
&lt;P&gt;But, logman raised an error reading “Invalid counter path” when I tried to update a counter data collection with the settng file, counter.txt. That’s right. Logman requires the ANSI encoding for its setting file, while the output redirection that PowerShell created Unicode files for that redirection. &lt;/P&gt;
&lt;P&gt;Then, How to create a output text file with different encodings?&lt;/P&gt;
&lt;P&gt;typeperf -q | where { $_ -like "\Phy*" } | foreach { '"' + $_.Trim() + '"' } | output –encoding ASCII&lt;BR&gt;&lt;/P&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=3146512" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/yjhong/archive/tags/Powershell/default.aspx">Powershell</category></item><item><title>The public beta 2 of BizTalk Server 2006 R2 has been released.</title><link>http://blogs.msdn.com/yjhong/archive/2007/04/04/the-public-beta-2-of-biztalk-server-2006-r2-has-been-released.aspx</link><pubDate>Tue, 03 Apr 2007 20:18:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:2019669</guid><dc:creator>yjhong</dc:creator><slash:comments>0</slash:comments><comments>http://blogs.msdn.com/yjhong/comments/2019669.aspx</comments><wfw:commentRss>http://blogs.msdn.com/yjhong/commentrss.aspx?PostID=2019669</wfw:commentRss><description>&lt;SPAN lang=EN-US style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"&gt;
&lt;P&gt;&lt;SPAN lang=EN-US style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"&gt;It's been long time since I posted the last one. I was pretty busy in working on the WCF adapter documentation for R2.&amp;nbsp; In addition to the WCF adapters, R2 also has EDI, RFID, and WCF/WinWF interceptors. I think this release has a very high quality. &lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp;&lt;/SPAN&gt;The WCF adapter has been improved a lot since Beta 1 from the TAP customer feedbacks, and it also has several walkthroughs and samples. You can download this release from &lt;A title="Microsoft Connect Web site" href="https://login.live.com/login.srf?wa=wsignin1.0&amp;amp;rpsnv=10&amp;amp;checkda=1&amp;amp;ct=1175620955&amp;amp;rver=4.0.1532.0&amp;amp;wp=MCMBI&amp;amp;wreply=https:%2F%2Fconnect.microsoft.com%2FDownloads%2FDownloadDetails.aspx%3FSiteID%3D65%26DownloadID%3D6014&amp;amp;lc=1033&amp;amp;id=64416" mce_href="https://login.live.com/login.srf?wa=wsignin1.0&amp;amp;rpsnv=10&amp;amp;checkda=1&amp;amp;ct=1175620955&amp;amp;rver=4.0.1532.0&amp;amp;wp=MCMBI&amp;amp;wreply=https:%2F%2Fconnect.microsoft.com%2FDownloads%2FDownloadDetails.aspx%3FSiteID%3D65%26DownloadID%3D6014&amp;amp;lc=1033&amp;amp;id=64416"&gt;here&lt;/A&gt;. If you have any questions about the WCF adapters in R2, please let me know.&lt;?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN lang=EN-US style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"&gt;-- Young&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/SPAN&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=2019669" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/yjhong/archive/tags/BizTalk/default.aspx">BizTalk</category></item><item><title>BizTalk Server 2006 R2</title><link>http://blogs.msdn.com/yjhong/archive/2006/07/29/682344.aspx</link><pubDate>Sat, 29 Jul 2006 09:15:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:682344</guid><dc:creator>yjhong</dc:creator><slash:comments>2</slash:comments><comments>http://blogs.msdn.com/yjhong/comments/682344.aspx</comments><wfw:commentRss>http://blogs.msdn.com/yjhong/commentrss.aspx?PostID=682344</wfw:commentRss><description>&lt;P&gt;I think there will be no engine changes in R2, but this product refresh will include a number of interesting features and enhancements. For example, R2 adds EDI, RFID, WCF and WF BAM Interceptors, the WCF adapter and supports the R2 Adapter Framework and new releases of LOB adapters. You can get more information about what R2 will look like &lt;A href="http://www.topxml.com/BizTalk-Rule-Engine/re-37847_BizTalk-2006-R2.aspx"&gt;here&lt;/A&gt;. &lt;/P&gt;
&lt;P&gt;By the way, I'm now working on the WCF adapters that will be released with BizTalk Server 2006 R2. If you have any questions about the adapters, please leave a message.&lt;BR&gt;&lt;/P&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=682344" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/yjhong/archive/tags/BizTalk/default.aspx">BizTalk</category></item><item><title>Passing arguments from the command line to downstream functions in Powershell</title><link>http://blogs.msdn.com/yjhong/archive/2006/07/19/670564.aspx</link><pubDate>Wed, 19 Jul 2006 07:40:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:670564</guid><dc:creator>yjhong</dc:creator><slash:comments>2</slash:comments><comments>http://blogs.msdn.com/yjhong/comments/670564.aspx</comments><wfw:commentRss>http://blogs.msdn.com/yjhong/commentrss.aspx?PostID=670564</wfw:commentRss><description>$args is a special variable, an array of all arguments passed to a function on the command line. But, $args is always treated as an array in PowerShell. And It may cause an interesting side effect when passing $args to a downstream function.&lt;BR&gt;Suppose we define a function as follows:&lt;BR&gt;&lt;FONT style="BACKGROUND-COLOR: #ffffff" color=#ff0000&gt;function t1 &lt;BR&gt;{&lt;BR&gt;&amp;nbsp;“args : $args, $($args.count)”&lt;BR&gt;}&lt;/FONT&gt;&lt;BR&gt;If you call the function in the command line as follows:&lt;BR&gt;&lt;FONT color=#ff0000&gt;PS : Yjhong&amp;gt;C:\t1 r t g&lt;/FONT&gt;&lt;BR&gt;The result will be &lt;BR&gt;&lt;FONT color=#ff0000&gt;args: r t, 2&lt;BR&gt;&lt;/FONT&gt;But, if you call the function in a function as follows:&lt;BR&gt;&lt;FONT color=#ff0000&gt;function t2&lt;BR&gt;{&lt;BR&gt;&amp;nbsp;t1 $args # my intention is passing the command line arguments that t2 received to the nested function, t1. &lt;BR&gt;}&lt;/FONT&gt;&lt;BR&gt;And, if you run the t2 as follows, you will get a different result as follows:&lt;BR&gt;&lt;FONT color=#ff0000&gt;PS : Yjhong&amp;gt;C:\t2 r t &lt;BR&gt;args: System.Object[], 1 &lt;BR&gt;&lt;/FONT&gt;It means that when the t1 function is called in a function, t1 will receive one System.Object[] object consisting of two elements, ‘r’, and ‘t’&lt;BR&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=670564" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/yjhong/archive/tags/Powershell/default.aspx">Powershell</category></item><item><title>How to create a function name to the global scope in a  Powershell script file</title><link>http://blogs.msdn.com/yjhong/archive/2006/07/19/670047.aspx</link><pubDate>Tue, 18 Jul 2006 22:30:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:670047</guid><dc:creator>yjhong</dc:creator><slash:comments>3</slash:comments><comments>http://blogs.msdn.com/yjhong/comments/670047.aspx</comments><wfw:commentRss>http://blogs.msdn.com/yjhong/commentrss.aspx?PostID=670047</wfw:commentRss><description>&lt;P&gt;I created a script named s.ps1 to define a function named s1. &lt;/P&gt;
&lt;P&gt;&lt;FONT color=#ff1493&gt;# s.ps1&lt;BR&gt;function s1 &lt;BR&gt;{&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; //&lt;BR&gt;}&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;But, after I run this script, the s1 function is not available in the global scope like:&lt;/P&gt;
&lt;P&gt;&lt;FONT color=#ff1493&gt;.\S.ps1&lt;BR&gt;S1&lt;BR&gt;s1' is not recognized as a cmdlet, function, operable program, or script file.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;There are two ways to add the function name to the global scope.&lt;/P&gt;
&lt;P&gt;1) Using the dot sourcing &lt;/P&gt;
&lt;P&gt;&lt;FONT color=#ff1493&gt;. .\s.ps1 # be cautious that there are a space between two dots.&lt;/FONT&gt; &lt;/P&gt;
&lt;P&gt;This makes all definitions in the script be exported or copied to the global scope after its execution. &lt;/P&gt;
&lt;P&gt;2) Using global: keyword as follows:&lt;/P&gt;
&lt;P&gt;&lt;FONT color=#ff1493&gt;# s.ps1&lt;BR&gt;function global:s1 &lt;BR&gt;{&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; //&lt;BR&gt;}&lt;/FONT&gt;&lt;BR&gt;&lt;/P&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=670047" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/yjhong/archive/tags/Powershell/default.aspx">Powershell</category></item><item><title>How to create multiple or jagged arrays in Powershell</title><link>http://blogs.msdn.com/yjhong/archive/2006/07/18/668757.aspx</link><pubDate>Mon, 17 Jul 2006 23:01:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:668757</guid><dc:creator>yjhong</dc:creator><slash:comments>2</slash:comments><comments>http://blogs.msdn.com/yjhong/comments/668757.aspx</comments><wfw:commentRss>http://blogs.msdn.com/yjhong/commentrss.aspx?PostID=668757</wfw:commentRss><description>&lt;P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"&gt;&lt;SPAN lang=EN-US&gt;&lt;FONT face=Arial size=2&gt;For me, it was not apparent to create multiple dimensional or jagged arrays in Powershell. I tried the following command, but it only made a single dimensional array: &lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"&gt;&lt;SPAN lang=EN-US&gt;&lt;FONT size=2&gt;&lt;FONT face=Arial&gt;$b = ((‘a’,’a’)) &lt;?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"&gt;&lt;SPAN lang=EN-US&gt;&lt;FONT size=2&gt;&lt;FONT face=Arial&gt;$b.Count &lt;o:p&gt;&lt;/o:p&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"&gt;&lt;SPAN lang=EN-US&gt;&lt;FONT face=Arial size=2&gt;2&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"&gt;&lt;SPAN lang=EN-US&gt;&lt;FONT face=Arial size=2&gt;&lt;A href="http://www.manning.com/payette/"&gt;Bruce Payette&lt;/A&gt; gave me the answers for this basic question. &lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"&gt;&lt;SPAN lang=EN-US&gt;&lt;FONT face=Arial size=2&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&amp;nbsp;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"&gt;&lt;SPAN lang=EN-US&gt;&lt;FONT face=Arial size=2&gt;Here is how to create multiple arrays:&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"&gt;&lt;SPAN lang=EN-US&gt;&lt;FONT size=2&gt;&lt;FONT face=Arial&gt;$x = new-object "int32[,]" 10,10&lt;o:p&gt;&lt;/o:p&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"&gt;&lt;SPAN lang=EN-US&gt;&lt;FONT size=2&gt;&lt;FONT face=Arial&gt;$x.rank&lt;o:p&gt;&lt;/o:p&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"&gt;&lt;SPAN lang=EN-US&gt;&lt;FONT size=2&gt;&lt;FONT face=Arial&gt;$x[0,5] = 13&lt;o:p&gt;&lt;/o:p&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"&gt;&lt;SPAN lang=EN-US&gt;&lt;FONT size=2&gt;&lt;FONT face=Arial&gt;$x[0,5]&lt;o:p&gt;&lt;/o:p&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"&gt;&lt;SPAN lang=EN-US&gt;&lt;FONT face=Arial size=2&gt;13&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"&gt;&lt;SPAN lang=EN-US&gt;&lt;FONT face=Arial size=2&gt;And, here is how to create jagged arrays:&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"&gt;&lt;SPAN lang=EN-US&gt;&lt;FONT size=2&gt;&lt;FONT face=Arial&gt;$a = (1,2,3),("a","b","c"),([char[]]"Hello")&lt;o:p&gt;&lt;/o:p&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"&gt;&lt;SPAN lang=EN-US&gt;&lt;FONT size=2&gt;&lt;FONT face=Arial&gt;$a[0]&lt;o:p&gt;&lt;/o:p&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"&gt;&lt;SPAN lang=EN-US&gt;&lt;FONT size=2&gt;&lt;FONT face=Arial&gt;1&lt;o:p&gt;&lt;/o:p&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"&gt;&lt;SPAN lang=EN-US&gt;&lt;FONT size=2&gt;&lt;FONT face=Arial&gt;2&lt;o:p&gt;&lt;/o:p&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"&gt;&lt;SPAN lang=EN-US&gt;&lt;FONT size=2&gt;&lt;FONT face=Arial&gt;3&lt;o:p&gt;&lt;/o:p&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"&gt;&lt;SPAN lang=EN-US&gt;&lt;FONT size=2&gt;&lt;FONT face=Arial&gt;$a[0][1]&lt;o:p&gt;&lt;/o:p&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"&gt;&lt;SPAN lang=EN-US&gt;&lt;FONT size=2&gt;&lt;FONT face=Arial&gt;2&lt;o:p&gt;&lt;/o:p&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"&gt;&lt;SPAN lang=EN-US&gt;&lt;FONT size=2&gt;&lt;FONT face=Arial&gt;$a[1][1]&lt;o:p&gt;&lt;/o:p&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"&gt;&lt;SPAN lang=EN-US&gt;&lt;FONT size=2&gt;&lt;FONT face=Arial&gt;b&lt;o:p&gt;&lt;/o:p&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"&gt;&lt;SPAN lang=EN-US&gt;&lt;FONT size=2&gt;&lt;FONT face=Arial&gt;$a[2][4]&lt;o:p&gt;&lt;/o:p&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"&gt;&lt;SPAN lang=EN-US&gt;&lt;FONT size=2&gt;&lt;FONT face=Arial&gt;o&lt;o:p&gt;&lt;/o:p&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"&gt;&lt;SPAN lang=EN-US&gt;&lt;FONT face=Arial size=2&gt;$a[2][1..3]&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;Or..you can use&amp;nbsp;unary comma operator as follows:&lt;/P&gt;
&lt;P&gt;$a = ,(1,2)&lt;BR&gt;$a.count&lt;BR&gt;1&lt;BR&gt;$a[0]&lt;BR&gt;1&lt;BR&gt;2&lt;BR&gt;$a[0].count&lt;BR&gt;2&lt;BR&gt;&lt;/P&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=668757" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/yjhong/archive/tags/Powershell/default.aspx">Powershell</category></item><item><title>You will love the new shell named Powershell!</title><link>http://blogs.msdn.com/yjhong/archive/2006/07/18/668719.aspx</link><pubDate>Mon, 17 Jul 2006 22:47:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:668719</guid><dc:creator>yjhong</dc:creator><slash:comments>5</slash:comments><comments>http://blogs.msdn.com/yjhong/comments/668719.aspx</comments><wfw:commentRss>http://blogs.msdn.com/yjhong/commentrss.aspx?PostID=668719</wfw:commentRss><description>When I installed Windows SDK to test Indigo stuff, I found another toy named Powershell. Powershell is the new name of MSH code named &lt;A href="http://blogs.msdn.com/monad/"&gt;Monad&lt;/A&gt;. It is a shell or command interpreter based on .NET framework. &lt;BR&gt;I thought the cmd.exe shell is too simple for practical uses. But, Powershell is simply great!. It is easy, simple, and powerful. It also gives an interactive script development environment that I missed from VB or Jscript. For me, it looks like a Scheme or Lisp interpreter that I learnt and loved at college. Moreover, I think it gives good enough features to manage systems..Now I’m considering using a text based editor like vi, emacs, or qeditor again..:-) &lt;BR&gt;You can download Powershell standalone &lt;A href="http://www.microsoft.com/downloads/info.aspx?na=22&amp;amp;p=1&amp;amp;SrcDisplayLang=en&amp;amp;SrcCategoryId=&amp;amp;SrcFamilyId=&amp;amp;u=%2fdownloads%2fdetails.aspx%3fFamilyID%3d2b0bbfcd-0797-4083-a817-5e6a054a85c9%26DisplayLang%3den"&gt;here&lt;/A&gt;. &lt;BR&gt;It will be great if Powershell provider or cmdlet (command let) for BizTalk Server would be provided. (If I have sometime I’d like to make some sample codes for BizTalk Server management.) &lt;BR&gt;Try the new shell, and I believe you will love it!&lt;BR&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=668719" width="1" height="1"&gt;</description></item><item><title>10 more BizTalk samples are live in the MSDN Web site</title><link>http://blogs.msdn.com/yjhong/archive/2006/06/28/648728.aspx</link><pubDate>Tue, 27 Jun 2006 21:04:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:648728</guid><dc:creator>yjhong</dc:creator><slash:comments>1</slash:comments><comments>http://blogs.msdn.com/yjhong/comments/648728.aspx</comments><wfw:commentRss>http://blogs.msdn.com/yjhong/commentrss.aspx?PostID=648728</wfw:commentRss><description>&lt;P&gt;10&amp;nbsp;more BizTalk samples are live in &lt;A href="http://msdn.microsoft.com/biztalk/downloads/samples/default.aspx"&gt;&lt;STRONG&gt;&lt;FONT color=#006bad&gt;the MSDN Web site&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/A&gt;. I wrote four of them as follows:&lt;/P&gt;
&lt;P&gt;1) BAM and HAT Correlation&lt;BR&gt;This sample demonstrates how to use the enhanced BAM features, and how to customize BAM and HAT integration. This sample also includes a Windows Forms application customizing BAM and HAT integration for the sample BizTalk solution&lt;/P&gt;
&lt;P&gt;2) Using Role Links&lt;BR&gt;This sample demonstrates how to use role links and parties. &lt;/P&gt;
&lt;P&gt;3) Using Enterprise Library 2.0 with BizTalk Server&lt;BR&gt;This sample demonstrates how to use Enterprise Library 2.0 with BizTalk Server.&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;
&lt;P&gt;4) Consuming Web Services&lt;BR&gt;This sample demonstrates how to consume Web services in a messaging-only scenario, and without using the Add Web Reference option&lt;/P&gt;
&lt;P&gt;If you have any feedbacks about the samples, please leave a message. &lt;/P&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=648728" width="1" height="1"&gt;</description></item><item><title>How to suppress the annoying warning message, "The dependency 'Microsoft.BizTalk.Tracing' could not be found."</title><link>http://blogs.msdn.com/yjhong/archive/2006/06/10/624867.aspx</link><pubDate>Sat, 10 Jun 2006 07:34:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:624867</guid><dc:creator>yjhong</dc:creator><slash:comments>0</slash:comments><comments>http://blogs.msdn.com/yjhong/comments/624867.aspx</comments><wfw:commentRss>http://blogs.msdn.com/yjhong/commentrss.aspx?PostID=624867</wfw:commentRss><description>&lt;P&gt;I got the following warning messages when building a BizTalk project. &lt;/P&gt;
&lt;P&gt;&lt;BR&gt;------ Build started: Project: BizTalkApp, Configuration: Development .NET ------&lt;BR&gt;Updating references...&lt;BR&gt;The dependency 'Microsoft.BizTalk.Tracing' could not be found.&lt;BR&gt;The dependency 'Microsoft.BizTalk.Bam.EventObservation' could not be found.&lt;BR&gt;The dependency 'Microsoft.BizTalk.Streaming' could not be found.&lt;BR&gt;The dependency 'Microsoft.BizTalk.XPathReader' could not be found.&lt;BR&gt;Performing main compilation...&lt;/P&gt;
&lt;P&gt;&lt;BR&gt;I think these warning messages are no harm at runtime. But, they may annoy. The BizTalk project had a reference to a pipeline component project using some BizTalk related components such as Microsoft.BizTalk.Pipeline.dll. &lt;BR&gt;To suppress these warning messages, you can select "False" for the "Copy Local" property of the referenced pipeline project in the BizTalk project. After then, they will be gone. &lt;BR&gt;&lt;/P&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=624867" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/yjhong/archive/tags/BizTalk/default.aspx">BizTalk</category></item><item><title>How to send the feedbacks for the BizTalk Server documentation!</title><link>http://blogs.msdn.com/yjhong/archive/2006/06/06/618435.aspx</link><pubDate>Tue, 06 Jun 2006 02:17:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:618435</guid><dc:creator>yjhong</dc:creator><slash:comments>2</slash:comments><comments>http://blogs.msdn.com/yjhong/comments/618435.aspx</comments><wfw:commentRss>http://blogs.msdn.com/yjhong/commentrss.aspx?PostID=618435</wfw:commentRss><description>&lt;P&gt;I attended a customer awareness workshop last week, and one of the feedbacks from customers is about how to send the feedbacks about the BizTalk Server documentations. &lt;BR&gt;Each topic of the online or offline documentations has the following table at the bottom of the page, If you can’t see the table, you can enable it by clicking &lt;IMG src="http://youngjunh.members.winisp.net/blogs/sendfeedbackicon.JPG"&gt;. &lt;BR&gt;&lt;IMG src="http://youngjunh.members.winisp.net/blogs/sendfeedback.JPG"&gt;&lt;BR&gt;The feedbacks are reviewed promptly, and then the BizTalk Server UE team will response them within 24 hours (usually sooner). &lt;BR&gt;If you have any problems or feedbacks, please don’t hesitate to send them so that you will get the right documentation that you want to see. &lt;BR&gt;&lt;/P&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=618435" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/yjhong/archive/tags/BizTalk/default.aspx">BizTalk</category></item><item><title>10 more samples for BizTalk Server 2006 live at the MSDN Web site</title><link>http://blogs.msdn.com/yjhong/archive/2006/06/06/618109.aspx</link><pubDate>Mon, 05 Jun 2006 21:42:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:618109</guid><dc:creator>yjhong</dc:creator><slash:comments>0</slash:comments><comments>http://blogs.msdn.com/yjhong/comments/618109.aspx</comments><wfw:commentRss>http://blogs.msdn.com/yjhong/commentrss.aspx?PostID=618109</wfw:commentRss><description>&lt;P&gt;10 more samples for BizTalk Server 2006 live at &lt;A href="http://msdn.microsoft.com/biztalk/downloads/samples/default.aspx"&gt;the MSDN Web site&lt;/A&gt;. I wrote the following samples of them.&lt;/P&gt;
&lt;P&gt;1) Using Long Running Transactions in Orchestrations (BizTalk Server Sample)&lt;/P&gt;
&lt;P&gt;2) Recoverable Interchange Processing Using Pipelines (BizTalk Server Sample)&lt;/P&gt;
&lt;P&gt;3) Delivery Notification (BizTalk Server Sample)&lt;/P&gt;
&lt;P&gt;I'm now writing some samples for Role Link, SSO Configuration Source, BAM-HAT correlation, and Web Services messaging only scenario. If&amp;nbsp;you have any opinion or feedbacks for the samples you want to see, please let me know. &lt;/P&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=618109" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/yjhong/archive/tags/BizTalk/default.aspx">BizTalk</category></item><item><title>Using Enterprise Library 2.0 in the BizTalk Server 2006 applications with SSO</title><link>http://blogs.msdn.com/yjhong/archive/2006/05/31/611309.aspx</link><pubDate>Wed, 31 May 2006 05:36:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:611309</guid><dc:creator>yjhong</dc:creator><slash:comments>6</slash:comments><comments>http://blogs.msdn.com/yjhong/comments/611309.aspx</comments><wfw:commentRss>http://blogs.msdn.com/yjhong/commentrss.aspx?PostID=611309</wfw:commentRss><description>&lt;P&gt;Enterprise Library 2.0 was released early this year. The library consists of several application blocks for so called enterprise level applications; logging, data access, security, configuration, exception handling, and so on. &lt;BR&gt;BizTalk Server 2006 provides a great tool for BizTalk Server configuration, but it doesn’t seem to have any tool for the application configuration running on BizTalk Server. &lt;BR&gt;Of course, you can use the configuration application block included in Enterprise Library 2.0, but you should touch the BTSNTSVC.exe.config file that is a system-wide resource.&amp;nbsp; Otherwise, you can use the SSO store to manage the configuration, but you still need to make a custom management tool, and it couldn’t be well integrated with Enterprise Library 2.0. .&lt;BR&gt;I thought the best way to solve these problems should be to implement a SSO configuration source for Enterprise Library. In this way, you can use the Enterprise Library configuration tool to save your configuration information, and the application blocks in Enterprise Library can be more seamlessly integrated into the BizTalk Server 2006 applications.&amp;nbsp; &lt;/P&gt;
&lt;P&gt;How to install the SSO configuration source:&lt;/P&gt;
&lt;BLOCKQUOTE dir=ltr style="MARGIN-RIGHT: 0px"&gt;
&lt;P&gt;1)&amp;nbsp;Download the &lt;A href="http://youngjunh.members.winisp.net/blogs/SsoConfigurationSource.VSTS.zip"&gt;SsoConfigurationSource.VSTS solution &lt;/A&gt;and unzip it to the C:\BizTalkServer2006RTWSamples folder. &lt;BR&gt;2)&amp;nbsp;Compile the sample solution. It is recommend downloading Enterprise Library 2.0 from the &lt;A href="http://msdn.microsoft.com/practices/"&gt;Microsoft patterns and practices Web site&lt;/A&gt;, but you don’t need to do that because this sample includes all of the executables in the EnterpriseLibrary2.0Signed folder.&lt;BR&gt;3)&amp;nbsp;Run the following command to create the SSO application for the application blocks in Enterprise Library: DummyApp.xml is in the TestData folder of the SsoConfigurationTest project.&lt;BR&gt;ssomanage –createapps DummyApp.xml &lt;/P&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&lt;BR&gt;How to test the SSO configuration source:&lt;/P&gt;
&lt;BLOCKQUOTE dir=ltr style="MARGIN-RIGHT: 0px"&gt;
&lt;P&gt;4)&amp;nbsp;Open EntlibConfig.exe that is the configuration tool for Enterprise Library 2.0, which is included in the EnterpriseLibrary2.0Signed folder. &lt;BR&gt;5)&amp;nbsp;Open DummyApp.config using EntlibConfig.exe. DummyApp.config has a full sample configuration information for Enterprise Library. You can pick up just a few of the application blocks as you need. &lt;BR&gt;6)&amp;nbsp;Create a new Configuration Sources.&lt;BR&gt;&lt;IMG src="http://youngjunh.members.winisp.net/blogs/createconfigurationsource.JPG"&gt;&lt;BR&gt;7)&amp;nbsp;Remove System Configuration Source, and then add Sso Configuration Source.&lt;BR&gt;&lt;IMG src="http://youngjunh.members.winisp.net/blogs/createssoconfigurationsource.JPG"&gt;&lt;BR&gt;8)&amp;nbsp;Set the ApplicationName property to Dummy, and then set the SelectedSource property of the Configuration Source node to SSO Configuration Source. &lt;BR&gt;9)&amp;nbsp;Save it. It will save the configuration information in the file to SSO. (You can also create configuration information from scratch or export the existing configuration data in SSO to an external file.) &lt;BR&gt;Now, you can use Enterprise Library in the BizTalk Server applications like: &lt;/P&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;Database db = DatabaseFactory.CreateDatabase(“Dummy Connection String1”);&lt;BR&gt;db.ExecuteNonQuery(commandType.Text, “Delete Orders”);&lt;BR&gt;…&lt;BR&gt;I’m now writing documentation for this sample component, which will be published at end of June. I’m going to update the codes as well until that time. But, if you have any opinions, or feedbacks for this component, please let me know. I’d like to keep updating this component even after it is published. &lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=611309" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/yjhong/archive/tags/BizTalk/default.aspx">BizTalk</category></item><item><title>C# sample code for interface injection</title><link>http://blogs.msdn.com/yjhong/archive/2006/05/24/605721.aspx</link><pubDate>Wed, 24 May 2006 10:28:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:605721</guid><dc:creator>yjhong</dc:creator><slash:comments>3</slash:comments><comments>http://blogs.msdn.com/yjhong/comments/605721.aspx</comments><wfw:commentRss>http://blogs.msdn.com/yjhong/commentrss.aspx?PostID=605721</wfw:commentRss><description>&lt;P&gt;I read a great article titled "&lt;A href="http://www.martinfowler.com/articles/injection.html"&gt;Inversion of Control Containers and the Dependency Injection pattern&lt;/A&gt;" written by Martin Fowler. But, as for me the interface injection pattern was a little confusing. I wrote &lt;A href="http://youngjunh.members.winisp.net/blogs/InterfaceInjectionSample.zip"&gt;a sample code in C#&lt;/A&gt; based on his article, but the sample doesn’t implement a container. I think it will make it easier to understand the pattern itself. &lt;/P&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=605721" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/yjhong/archive/tags/.NET+programming/default.aspx">.NET programming</category></item><item><title>5 more BizTalk samples are live in the MSDN Web site. </title><link>http://blogs.msdn.com/yjhong/archive/2006/05/24/605701.aspx</link><pubDate>Wed, 24 May 2006 10:07:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:605701</guid><dc:creator>yjhong</dc:creator><slash:comments>0</slash:comments><comments>http://blogs.msdn.com/yjhong/comments/605701.aspx</comments><wfw:commentRss>http://blogs.msdn.com/yjhong/commentrss.aspx?PostID=605701</wfw:commentRss><description>&lt;P&gt;5 more BizTalk samples are live in &lt;A href="http://msdn.microsoft.com/biztalk/downloads/samples/default.aspx"&gt;the MSDN Web site&lt;/A&gt;. I wrote three of them as follows:&lt;/P&gt;
&lt;P&gt;1) SSO as Configuration Store&lt;BR&gt;This sample provides an implementation of a sample class and a walkthrough that demonstrates how to use the SSO administrative utility and the SSOApplicationConfig command-line tool.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;
&lt;P&gt;2) Atomic Transactions with COM+ Serviced Components in Orchestrations&lt;BR&gt;This sample demonstrates how atomic transactions work in orchestrations.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;
&lt;P&gt;3) Using the SQL Adapter with Atomic Transactions in Orchestrations&lt;BR&gt;This sample shows how to use the SQL adapter with atomic transactions to keep databases consistent.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;BR&gt;&lt;BR&gt;&amp;nbsp;In my samples, I used to &lt;A href="http://blogs.msdn.com/kevinsmi/default.aspx"&gt;BizUnit 2006&lt;/A&gt; to make it easy to repro the steps and change the samples. If you have any feedbacks about the samples, please leave a message. &lt;/P&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=605701" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/yjhong/archive/tags/BizTalk/default.aspx">BizTalk</category></item></channel></rss>