Welcome to MSDN Blogs Sign in | Join | Help

Browse by Tags

When CSC.Exe Generates a Different Size of Assembly From VS IDE

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. I checked the compiler options for the two compilers, but I
Posted by yjhong | 3 Comments

Changing text encodings of output files redirected from PowerShell.

I created a logman setting file as follows: typeperf -q | where { $_ -like "\Phy*" } | foreach { '"' + $_.Trim() + '"' } > counter.txt But, logman raised an error reading “Invalid counter path” when I tried to update a counter data collection with
Posted by yjhong | 1 Comments
Filed under:

The public beta 2 of BizTalk Server 2006 R2 has been released.

It's been long time since I posted the last one. I was pretty busy in working on the WCF adapter documentation for R2. In addition to the WCF adapters, R2 also has EDI, RFID, and WCF/WinWF interceptors. I think this release has a very high quality. The
Posted by yjhong | 0 Comments
Filed under:

BizTalk Server 2006 R2

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
Posted by yjhong | 2 Comments
Filed under:

Passing arguments from the command line to downstream functions in Powershell

$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. Suppose we
Posted by yjhong | 2 Comments
Filed under:

How to create a function name to the global scope in a Powershell script file

I created a script named s.ps1 to define a function named s1. # s.ps1 function s1 { // } But, after I run this script, the s1 function is not available in the global scope like: .\S.ps1 S1 s1' is not recognized as a cmdlet, function, operable program,
Posted by yjhong | 3 Comments
Filed under:

How to create multiple or jagged arrays in Powershell

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: $b = ((‘a’,’a’)) $b.Count 2 Bruce Payette gave me the answers for this basic question.
Posted by yjhong | 2 Comments
Filed under:

You will love the new shell named Powershell!

When I installed Windows SDK to test Indigo stuff, I found another toy named Powershell. Powershell is the new name of MSH code named Monad . It is a shell or command interpreter based on .NET framework. I thought the cmd.exe shell is too simple for practical
Posted by yjhong | 5 Comments

10 more BizTalk samples are live in the MSDN Web site

10 more BizTalk samples are live in the MSDN Web site . I wrote four of them as follows: 1) BAM and HAT Correlation This sample demonstrates how to use the enhanced BAM features, and how to customize BAM and HAT integration. This sample also includes
Posted by yjhong | 1 Comments

How to suppress the annoying warning message, "The dependency 'Microsoft.BizTalk.Tracing' could not be found."

I got the following warning messages when building a BizTalk project. ------ Build started: Project: BizTalkApp, Configuration: Development .NET ------ Updating references... The dependency 'Microsoft.BizTalk.Tracing' could not be found. The dependency
Posted by yjhong | 0 Comments
Filed under:

How to send the feedbacks for the BizTalk Server documentation!

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. Each topic of the online or offline documentations has the following table at the bottom
Posted by yjhong | 2 Comments
Filed under:

10 more samples for BizTalk Server 2006 live at the MSDN Web site

10 more samples for BizTalk Server 2006 live at the MSDN Web site . I wrote the following samples of them. 1) Using Long Running Transactions in Orchestrations (BizTalk Server Sample) 2) Recoverable Interchange Processing Using Pipelines (BizTalk Server
Posted by yjhong | 0 Comments
Filed under:

Using Enterprise Library 2.0 in the BizTalk Server 2006 applications with SSO

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. BizTalk Server 2006 provides
Posted by yjhong | 6 Comments
Filed under:

C# sample code for interface injection

I read a great article titled " Inversion of Control Containers and the Dependency Injection pattern " written by Martin Fowler. But, as for me the interface injection pattern was a little confusing. I wrote a sample code in C# based on his article, but
Posted by yjhong | 3 Comments
Filed under:

5 more BizTalk samples are live in the MSDN Web site.

5 more BizTalk samples are live in the MSDN Web site . I wrote three of them as follows: 1) SSO as Configuration Store This sample provides an implementation of a sample class and a walkthrough that demonstrates how to use the SSO administrative utility
Posted by yjhong | 0 Comments
Filed under:
More Posts Next page »
 
Page view tracker