<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Cow Computing &#187; .NET</title>
	<atom:link href="http://www.cowcomputing.com/category/net/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.cowcomputing.com</link>
	<description>Share Info about Cloud Computing &#38; Programming</description>
	<lastBuildDate>Thu, 22 Jul 2010 17:10:24 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>Combine All DLL and EXE into One</title>
		<link>http://www.cowcomputing.com/2009/09/08/combine-all-dll-and-exe-into-one/</link>
		<comments>http://www.cowcomputing.com/2009/09/08/combine-all-dll-and-exe-into-one/#comments</comments>
		<pubDate>Tue, 08 Sep 2009 07:54:35 +0000</pubDate>
		<dc:creator>Steve</dc:creator>
				<category><![CDATA[.NET]]></category>
		<category><![CDATA[DLL]]></category>

		<guid isPermaLink="false">http://steve.katyyeung.com/?p=39</guid>
		<description><![CDATA[Often when we are developing on the .NET platform, we might try to link some external library or even create our very own to facilitate the development. This usually results in a bunch of dll together with the exe sitting inside the bin folder. It&#8217;s ugly and troublesome for user in case certain dll is [...]]]></description>
			<content:encoded><![CDATA[<p>Often when we are developing on the .NET platform, we might try to link some external library or even create our very own to facilitate the development. This usually results in a bunch of dll together with the exe sitting inside the bin folder. It&#8217;s ugly and troublesome for user in case certain dll is missing.</p>
<p>Now, we got a solution from a microsoft researcher. <a href="http://www.microsoft.com/downloads/details.aspx?FamilyID=22914587-b4ad-4eae-87cf-b14ae6a939b0&amp;displaylang=en">ILMerge</a> is a utility developed to merge multiple dll/exe into one.</p>
<pre class="brush:bash">// To merge into a single exe.
ILMerge.exe /out:Combined.exe path_to_bin/original.exe path_to_lib/lib.dll

// To merge into a single dll
ILMerge.exe /out:Combined.dll path_to_lib/lib.dll path_to_lib/lib2.dll</pre>
<p>*note that, the merge only work good with dll created under .NET platform.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.cowcomputing.com/2009/09/08/combine-all-dll-and-exe-into-one/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>.NET code to interact with Java&#8217;s Web Service</title>
		<link>http://www.cowcomputing.com/2009/09/07/net-code-to-interact-with-javas-web-service/</link>
		<comments>http://www.cowcomputing.com/2009/09/07/net-code-to-interact-with-javas-web-service/#comments</comments>
		<pubDate>Mon, 07 Sep 2009 10:51:45 +0000</pubDate>
		<dc:creator>Steve</dc:creator>
				<category><![CDATA[.NET]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Web Service]]></category>

		<guid isPermaLink="false">http://steve.katyyeung.com/?p=35</guid>
		<description><![CDATA[Recently, i am working on a library to allow .NET developer to interact with a web service built on Java. It&#8217;s a SwA (Soap with Attachment). The reason for me to do this is because there&#8217;s been no support for such operation in .NET framework and users who want to deal with such scenario will [...]]]></description>
			<content:encoded><![CDATA[<p>Recently, i am working on a library to allow .NET developer to interact with a web service built on Java. It&#8217;s a SwA (Soap with Attachment). The reason for me to do this is because there&#8217;s been no support for such operation in .NET framework and users who want to deal with such scenario will have to write their own code bit by bit to accomplish the job, which is TEDIOUS&#8230;</p>
<p>The library i built relies on an open source library called <a href="http://www.pocketsoap.com">PocketSoap</a>. Its support on Attachment and its ease of use is appealing and i at last chosen to give it a try and build a POC on top of it. Below is a simple usage sample for the PocketSoap library.</p>
<pre class="brush:csharp">using System;
using PocketSOAP;
using PocketSOAPAttachments;

namespace PSTryout
{
    public class psWS
    {
        CoEnvelope e = new CoEnvelopeClass();
        e.Body.Create("id", 1, "", null, null);
        e.EncodingStyle = "";

        HTTPTransport h = new HTTPTransport();
        h.SOAPAction = "query";
        h.Timeout = 30000;
        h.Send("http://localhost:8080/ws/", e.Serialize());

        string enc = "";
        e.Parse(h, enc);
    }
}</pre>
]]></content:encoded>
			<wfw:commentRss>http://www.cowcomputing.com/2009/09/07/net-code-to-interact-with-javas-web-service/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
