﻿<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments for Just A Programmer</title>
	<atom:link href="http://www.justaprogrammer.net/comments/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.justaprogrammer.net</link>
	<description>We're Just Programmers...</description>
	<lastBuildDate>Sun, 19 Feb 2012 20:00:39 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>Comment on Using New-Object -ArgumentList when the constructor takes one parameter that is an array by Justin Dearing</title>
		<link>http://www.justaprogrammer.net/2011/03/30/an-array-of-one-item-in-powershell/comment-page-1/#comment-300</link>
		<dc:creator>Justin Dearing</dc:creator>
		<pubDate>Sun, 19 Feb 2012 20:00:39 +0000</pubDate>
		<guid isPermaLink="false">http://www.justaprogrammer.net/?p=541#comment-300</guid>
		<description>&lt;span class=&quot;topsy_trackback_comment&quot;&gt;&lt;span class=&quot;topsy_twitter_username&quot;&gt;&lt;span class=&quot;topsy_trackback_content&quot;&gt;Edited and retitled old blog: Using New-Object -ArgumentList when the constructor takes one parameter that is an array http://t.co/MNKZCcv0&lt;/span&gt;&lt;/span&gt;</description>
		<content:encoded><![CDATA[<p><span class="topsy_trackback_comment"><span class="topsy_twitter_username"><span class="topsy_trackback_content">Edited and retitled old blog: Using New-Object -ArgumentList when the constructor takes one parameter that is an array <a href="http://t.co/MNKZCcv0" rel="nofollow">http://t.co/MNKZCcv0</a></span></span></span></p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Using PowerShell to call a WCF service by Saddam Al-Kaddah</title>
		<link>http://www.justaprogrammer.net/2012/02/11/using-powershell-to-call-a-wcf-service/comment-page-1/#comment-299</link>
		<dc:creator>Saddam Al-Kaddah</dc:creator>
		<pubDate>Thu, 16 Feb 2012 18:39:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.justaprogrammer.net/?p=1255#comment-299</guid>
		<description>Thank you for your quick reply. I found the problem. I was debugging in the powershell editor. When running from the command line I was able to access the methods and dataobjects. :-)</description>
		<content:encoded><![CDATA[<p>Thank you for your quick reply. I found the problem. I was debugging in the powershell editor. When running from the command line I was able to access the methods and dataobjects. <img src='http://www.justaprogrammer.net/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Using PowerShell to call a WCF service by Justin Dearing</title>
		<link>http://www.justaprogrammer.net/2012/02/11/using-powershell-to-call-a-wcf-service/comment-page-1/#comment-298</link>
		<dc:creator>Justin Dearing</dc:creator>
		<pubDate>Thu, 16 Feb 2012 16:24:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.justaprogrammer.net/?p=1255#comment-298</guid>
		<description>Saddam, Try running your script against the echo service in a new powershell process. You can do this with the command &quot;powershell -NoProfile -file wcf.text.ps1&quot;. If that works try just 
&quot;powershell  -file wcf.text.ps1&quot; If the problem appears without -NoProfile it has something to do with your powershell profile. Also, do you get the Error about ConfigurationManagertClient when you use your service, or the echo service?

One problem with both Get-WcfProxy and New-WebService is that each time you run them, the client proxy, and all the custom classes in the request and responses get recreated. However, they are distinct types and not assignable to each other. So If you had a service with the function &quot;void DoStuff(DoStuffRequest request)&quot; and you did the following:

$proxy = Get-WcfProxy $myWsdl
$foo = New-Object DoStuffRequest -Property $SomeHashTable
$proxy = Get-WcfProxy $myWsdl 
[DoStuffRequest] $bar = $foo

the last line would give and error because the CLR would thing they were two distinct and incompatiable DoStuffRequest types.</description>
		<content:encoded><![CDATA[<p>Saddam, Try running your script against the echo service in a new powershell process. You can do this with the command &#8220;powershell -NoProfile -file wcf.text.ps1&#8243;. If that works try just <br />
&#8220;powershell  -file wcf.text.ps1&#8243; If the problem appears without -NoProfile it has something to do with your powershell profile. Also, do you get the Error about ConfigurationManagertClient when you use your service, or the echo service?</p>
<p>One problem with both Get-WcfProxy and New-WebService is that each time you run them, the client proxy, and all the custom classes in the request and responses get recreated. However, they are distinct types and not assignable to each other. So If you had a service with the function &#8220;void DoStuff(DoStuffRequest request)&#8221; and you did the following:</p>
<p>$proxy = Get-WcfProxy $myWsdl<br />
$foo = New-Object DoStuffRequest -Property $SomeHashTable<br />
$proxy = Get-WcfProxy $myWsdl <br />
[DoStuffRequest] $bar = $foo</p>
<p>the last line would give and error because the CLR would thing they were two distinct and incompatiable DoStuffRequest types.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Using PowerShell to call a WCF service by Saddam Al-Kaddah</title>
		<link>http://www.justaprogrammer.net/2012/02/11/using-powershell-to-call-a-wcf-service/comment-page-1/#comment-297</link>
		<dc:creator>Saddam Al-Kaddah</dc:creator>
		<pubDate>Thu, 16 Feb 2012 15:59:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.justaprogrammer.net/?p=1255#comment-297</guid>
		<description>I am using a windows7 64bit developer machine and I have tried your powershell scripts to invoke a service call, with no luck. I even tried the echo service, also no luck.

$proxy = Get-WcfProxy $wsdlImporter
$proxy comes back empty. Endpoints and bindings are resolved with no issues. It compiles in memory too.
The service itself is compiled in .net 4.0,

This is the error I am gettingNew-Object : Cannot find type [ConfigurationManagerClient, fh_bzdby, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null]: make sure the assembly containing this type is loaded.At C:wcf.ps1:192 char:19+     return New-Object &lt;&lt;&lt;&lt;  $proxyType($Binding, $EndpointAddress);    + CategoryInfo          : InvalidType: (:) [New-Object], PSArgumentException    + FullyQualifiedErrorId : TypeNotFound,Microsoft.PowerShell.Commands.NewObjectCommand</description>
		<content:encoded><![CDATA[<p>I am using a windows7 64bit developer machine and I have tried your powershell scripts to invoke a service call, with no luck. I even tried the echo service, also no luck.</p>
<p>$proxy = Get-WcfProxy $wsdlImporter<br />
$proxy comes back empty. Endpoints and bindings are resolved with no issues. It compiles in memory too.<br />
The service itself is compiled in .net 4.0,</p>
<p>This is the error I am gettingNew-Object : Cannot find type [ConfigurationManagerClient, fh_bzdby, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null]: make sure the assembly containing this type is loaded.At C:wcf.ps1:192 char:19+     return New-Object &lt;&lt;&lt;&lt;  $proxyType($Binding, $EndpointAddress);    + CategoryInfo          : InvalidType: (:) [New-Object], PSArgumentException    + FullyQualifiedErrorId : TypeNotFound,Microsoft.PowerShell.Commands.NewObjectCommand</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Using PowerShell to call a WCF service by Jim Hofer</title>
		<link>http://www.justaprogrammer.net/2012/02/11/using-powershell-to-call-a-wcf-service/comment-page-1/#comment-296</link>
		<dc:creator>Jim Hofer</dc:creator>
		<pubDate>Sun, 12 Feb 2012 17:12:02 +0000</pubDate>
		<guid isPermaLink="false">http://www.justaprogrammer.net/?p=1255#comment-296</guid>
		<description>&lt;span class=&quot;topsy_trackback_comment&quot;&gt;&lt;span class=&quot;topsy_twitter_username&quot;&gt;&lt;span class=&quot;topsy_trackback_content&quot;&gt;#PowerShell Using PowerShell to call a WCF service � Just A Programmer - http://t.co/BmxWx2vo&lt;/span&gt;&lt;/span&gt;</description>
		<content:encoded><![CDATA[<p><span class="topsy_trackback_comment"><span class="topsy_twitter_username"><span class="topsy_trackback_content">#PowerShell Using PowerShell to call a WCF service � Just A Programmer &#8211; <a href="http://t.co/BmxWx2vo" rel="nofollow">http://t.co/BmxWx2vo</a></span></span></span></p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Using PowerShell to call a WCF service by Justin Dearing</title>
		<link>http://www.justaprogrammer.net/2012/02/11/using-powershell-to-call-a-wcf-service/comment-page-1/#comment-295</link>
		<dc:creator>Justin Dearing</dc:creator>
		<pubDate>Sun, 12 Feb 2012 04:16:51 +0000</pubDate>
		<guid isPermaLink="false">http://www.justaprogrammer.net/?p=1255#comment-295</guid>
		<description>&lt;span class=&quot;topsy_trackback_comment&quot;&gt;&lt;span class=&quot;topsy_twitter_username&quot;&gt;&lt;span class=&quot;topsy_trackback_content&quot;&gt;New blog post: Using PowerShell to call a WCF service http://t.co/Uusgw1bV #powershell #wcf #justaprogrammer&lt;/span&gt;&lt;/span&gt;</description>
		<content:encoded><![CDATA[<p><span class="topsy_trackback_comment"><span class="topsy_twitter_username"><span class="topsy_trackback_content">New blog post: Using PowerShell to call a WCF service <a href="http://t.co/Uusgw1bV" rel="nofollow">http://t.co/Uusgw1bV</a> #powershell #wcf #justaprogrammer</span></span></span></p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Continuous Integration with TFS2010, MSDeploy &amp; VSDBCMD by Mordechai Danielov</title>
		<link>http://www.justaprogrammer.net/2011/10/27/continuous-integration-with-tfs2010-msdeploy-vsdbcmd/comment-page-1/#comment-293</link>
		<dc:creator>Mordechai Danielov</dc:creator>
		<pubDate>Mon, 16 Jan 2012 07:27:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.justaprogrammer.net/?p=965#comment-293</guid>
		<description>here is a powershell deployment script: 
http://bitwisemnm.com/2012/01/automatically-deploying-data-dude-projects-with-vsdbcmd-exe/</description>
		<content:encoded><![CDATA[<p>here is a powershell deployment script: <br />
<a href="http://bitwisemnm.com/2012/01/automatically-deploying-data-dude-projects-with-vsdbcmd-exe/" rel="nofollow">http://bitwisemnm.com/2012/01/automatically-deploying-data-dude-projects-with-vsdbcmd-exe/</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Using PowerShell to represent Base 26 as the uppercase English Alphabet by Mr Power Scripts</title>
		<link>http://www.justaprogrammer.net/2012/01/09/using-powershell-to-represent-base-26-as-the-uppercase-english-alphabet/comment-page-1/#comment-290</link>
		<dc:creator>Mr Power Scripts</dc:creator>
		<pubDate>Thu, 12 Jan 2012 04:13:17 +0000</pubDate>
		<guid isPermaLink="false">http://www.justaprogrammer.net/?p=1214#comment-290</guid>
		<description>&lt;span class=&quot;topsy_trackback_comment&quot;&gt;&lt;span class=&quot;topsy_twitter_username&quot;&gt;&lt;span class=&quot;topsy_trackback_content&quot;&gt;Once again: Using PowerShell to represent Base 26 as the uppercase English Alphabet http://t.co/kHQzbqsY&lt;/span&gt;&lt;/span&gt;</description>
		<content:encoded><![CDATA[<p><span class="topsy_trackback_comment"><span class="topsy_twitter_username"><span class="topsy_trackback_content">Once again: Using PowerShell to represent Base 26 as the uppercase English Alphabet <a href="http://t.co/kHQzbqsY" rel="nofollow">http://t.co/kHQzbqsY</a></span></span></span></p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Using PowerShell to represent Base 26 as the uppercase English Alphabet by Justin Dearing</title>
		<link>http://www.justaprogrammer.net/2012/01/09/using-powershell-to-represent-base-26-as-the-uppercase-english-alphabet/comment-page-1/#comment-291</link>
		<dc:creator>Justin Dearing</dc:creator>
		<pubDate>Thu, 12 Jan 2012 04:10:37 +0000</pubDate>
		<guid isPermaLink="false">http://www.justaprogrammer.net/?p=1214#comment-291</guid>
		<description>&lt;span class=&quot;topsy_trackback_comment&quot;&gt;&lt;span class=&quot;topsy_twitter_username&quot;&gt;&lt;span class=&quot;topsy_trackback_content&quot;&gt;Once again: Using PowerShell to represent Base 26 as the uppercase English Alphabet http://t.co/kHQzbqsY&lt;/span&gt;&lt;/span&gt;</description>
		<content:encoded><![CDATA[<p><span class="topsy_trackback_comment"><span class="topsy_twitter_username"><span class="topsy_trackback_content">Once again: Using PowerShell to represent Base 26 as the uppercase English Alphabet <a href="http://t.co/kHQzbqsY" rel="nofollow">http://t.co/kHQzbqsY</a></span></span></span></p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Making an RDP connection to a server you just rebooted with powershell by Sherif Talaat</title>
		<link>http://www.justaprogrammer.net/2012/01/07/making-an-rdp-connection-to-a-server-you-just-rebooted-with-powershell/comment-page-1/#comment-289</link>
		<dc:creator>Sherif Talaat</dc:creator>
		<pubDate>Wed, 11 Jan 2012 19:43:12 +0000</pubDate>
		<guid isPermaLink="false">http://www.justaprogrammer.net/?p=1194#comment-289</guid>
		<description>&lt;span class=&quot;topsy_trackback_comment&quot;&gt;&lt;span class=&quot;topsy_twitter_username&quot;&gt;&lt;span class=&quot;topsy_trackback_content&quot;&gt;Making an RDP connection to a server you just rebooted with #Powershell http://t.co/L53iEICR&lt;/span&gt;&lt;/span&gt;</description>
		<content:encoded><![CDATA[<p><span class="topsy_trackback_comment"><span class="topsy_twitter_username"><span class="topsy_trackback_content">Making an RDP connection to a server you just rebooted with #Powershell <a href="http://t.co/L53iEICR" rel="nofollow">http://t.co/L53iEICR</a></span></span></span></p>
]]></content:encoded>
	</item>
</channel>
</rss>

