<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.windowsclient.net/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>Zuker On Foundations - All Comments</title><link>http://blogs.windowsclient.net/zuker/default.aspx</link><description>The realm of .NET (WPF, WCF and all around)</description><dc:language>en</dc:language><generator>CommunityServer 2007 (Build: 20423.869)</generator><item><title>re: ClickOnce Deployment w/ Prerequisites in IIS</title><link>http://blogs.windowsclient.net/zuker/archive/2008/05/28/clickonce-deployment-w-prerequisites-in-iis.aspx#53760</link><pubDate>Mon, 25 Aug 2008 16:41:10 GMT</pubDate><guid isPermaLink="false">f1c07d22-4184-4df1-9c40-8dd04b52e796:53760</guid><dc:creator>Tom Willwerth</dc:creator><description>&lt;p&gt;Thanks for posting! This solved the issue in my environment as well.&lt;/p&gt;
&lt;img src="http://blogs.windowsclient.net/aggbug.aspx?PostID=53760" width="1" height="1"&gt;</description></item><item><title>re: WCF - Creating a certificate</title><link>http://blogs.windowsclient.net/zuker/archive/2008/06/29/wcf-creating-a-certificate.aspx#46798</link><pubDate>Fri, 01 Aug 2008 16:25:01 GMT</pubDate><guid isPermaLink="false">f1c07d22-4184-4df1-9c40-8dd04b52e796:46798</guid><dc:creator>Jimmy</dc:creator><description>&lt;p&gt;Thanks for the tip.&lt;/p&gt;
&lt;img src="http://blogs.windowsclient.net/aggbug.aspx?PostID=46798" width="1" height="1"&gt;</description></item><item><title>re: Managing Multiple Configuration File Environments with Pre-Build Events</title><link>http://blogs.windowsclient.net/zuker/archive/2008/06/29/managing-multiple-configuration-file-environments-with-pre-build-events.aspx#41402</link><pubDate>Tue, 15 Jul 2008 16:16:19 GMT</pubDate><guid isPermaLink="false">f1c07d22-4184-4df1-9c40-8dd04b52e796:41402</guid><dc:creator>Schalk</dc:creator><description>&lt;p&gt;For interest sake, have a look at how Castle Windsor does this using XML processing instructions in the config file - a different way of doing things...&lt;/p&gt;
&lt;p&gt;&lt;a rel="nofollow" target="_new" href="http://www.castleproject.org/container/documentation/v1rc3/usersguide/defines.html"&gt;www.castleproject.org/.../defines.html&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&amp;lt;configuration&amp;gt;&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp;&amp;lt;?define DEBUG?&amp;gt;&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp;&amp;lt;components&amp;gt;&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp;&amp;lt;?if DEBUG?&amp;gt;&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;component &lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;id=&amp;quot;my.component&amp;quot; &lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;service=&amp;quot;Namespace.IService, AssemblyName&amp;quot;&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;type=&amp;quot;DebugVersion, AssemblyName&amp;quot; /&amp;gt;&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp;&amp;lt;?elsif STAGE?&amp;gt;&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;component &lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;id=&amp;quot;my.component&amp;quot; &lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;service=&amp;quot;Namespace.IService, AssemblyName&amp;quot;&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;type=&amp;quot;DebugVersion, AssemblyName&amp;quot; /&amp;gt;&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp;&amp;lt;?elsif PRODUCTION?&amp;gt;&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;component &lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;id=&amp;quot;my.component&amp;quot; &lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;service=&amp;quot;Namespace.IService, AssemblyName&amp;quot;&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;type=&amp;quot;DebugVersion, AssemblyName&amp;quot; /&amp;gt;&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp;&amp;lt;?else?&amp;gt;&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;component &lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;id=&amp;quot;my.component&amp;quot; &lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;service=&amp;quot;Namespace.IService, AssemblyName&amp;quot;&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;type=&amp;quot;DebugVersion, AssemblyName&amp;quot; /&amp;gt;&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp;&amp;lt;?end?&amp;gt;&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp;&amp;lt;/components&amp;gt;&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp;&amp;lt;?undef DEBUG?&amp;gt;&lt;/p&gt;
&lt;p&gt;&amp;lt;/configuration&amp;gt;&lt;/p&gt;
&lt;img src="http://blogs.windowsclient.net/aggbug.aspx?PostID=41402" width="1" height="1"&gt;</description></item><item><title>re: Enum - Working with [Flags]</title><link>http://blogs.windowsclient.net/zuker/archive/2008/06/19/enum-working-with-flags.aspx#32386</link><pubDate>Thu, 19 Jun 2008 22:04:37 GMT</pubDate><guid isPermaLink="false">f1c07d22-4184-4df1-9c40-8dd04b52e796:32386</guid><dc:creator>joeyw</dc:creator><description>&lt;p&gt;Cool, may be more effecient to use &lt;/p&gt;
&lt;p&gt; 1 &amp;lt;&amp;lt; (int)DayOfWeek.Tuesday.&lt;/p&gt;
&lt;p&gt;instead of pow.&lt;/p&gt;
&lt;img src="http://blogs.windowsclient.net/aggbug.aspx?PostID=32386" width="1" height="1"&gt;</description></item><item><title>re: WCF Visualizers</title><link>http://blogs.windowsclient.net/zuker/archive/2008/06/10/wcf-visualizers.aspx#31532</link><pubDate>Thu, 12 Jun 2008 03:30:01 GMT</pubDate><guid isPermaLink="false">f1c07d22-4184-4df1-9c40-8dd04b52e796:31532</guid><dc:creator>Dan</dc:creator><description>&lt;p&gt;Thanks, &lt;/p&gt;
&lt;p&gt;Very cool tool.&lt;/p&gt;
&lt;img src="http://blogs.windowsclient.net/aggbug.aspx?PostID=31532" width="1" height="1"&gt;</description></item><item><title>re: WCF Security - UserName Over TCP Transport</title><link>http://blogs.windowsclient.net/zuker/archive/2008/03/04/wcf-security-username-over-tcp-transport.aspx#31109</link><pubDate>Sun, 08 Jun 2008 07:20:28 GMT</pubDate><guid isPermaLink="false">f1c07d22-4184-4df1-9c40-8dd04b52e796:31109</guid><dc:creator>zuker</dc:creator><description>&lt;p&gt;Hi KJQ,&lt;/p&gt;
&lt;p&gt;If I understand you correctly, you are talking about security delegation / cascading matters.&lt;/p&gt;
&lt;p&gt;The flow as I understand is as follows:&lt;/p&gt;
&lt;p&gt;Client --&amp;gt; Service A --&amp;gt; Service B&lt;/p&gt;
&lt;p&gt;What is the security configuration for both Service A and Service B?&lt;/p&gt;
&lt;p&gt;When you say Service A is an AspNet service, do you mean it is mapped to the aspnet roles store? (configured with Username authentication and aspnet roles authorization)&lt;/p&gt;
&lt;p&gt;What is Service B configured with? If it is the native form of Tcp Binding, it is configured to accept windows tokens.&lt;/p&gt;
&lt;p&gt;If that is the case, you have 2 services configured with different authentication.&lt;/p&gt;
&lt;p&gt;This is a problem, because Service A will not have a Windows principal if it configured so, when calling Service B from the context of Service A, there wouldn't occur delegation in this case.&lt;/p&gt;
&lt;p&gt;You could perform impersonation in Service A, but you would have to match a windows account for each username detail, plus you would have to know its password.&lt;/p&gt;
&lt;p&gt;You should determine the following -&lt;/p&gt;
&lt;p&gt;1) - Could the security configuration be matched between the services?&lt;/p&gt;
&lt;p&gt; &amp;nbsp; - Perhaps add another authentication mode to Service B which would support Username as well.&lt;/p&gt;
&lt;p&gt; &amp;nbsp; - Use Claims-Based security.&lt;/p&gt;
&lt;p&gt;2) - Perhaps implementing a STS, trusting it in all services, some sort of WS-Trust&lt;/p&gt;
&lt;p&gt;3) - Impersonate an appropriate windows account when calling Service B.&lt;/p&gt;
&lt;p&gt;4) - Determine the best technical way to perform the security token delegation between services.&lt;/p&gt;
&lt;img src="http://blogs.windowsclient.net/aggbug.aspx?PostID=31109" width="1" height="1"&gt;</description></item><item><title>re: WCF Security - UserName Over TCP Transport</title><link>http://blogs.windowsclient.net/zuker/archive/2008/03/04/wcf-security-username-over-tcp-transport.aspx#30445</link><pubDate>Sun, 01 Jun 2008 13:58:41 GMT</pubDate><guid isPermaLink="false">f1c07d22-4184-4df1-9c40-8dd04b52e796:30445</guid><dc:creator>KJQ</dc:creator><description>&lt;p&gt;Almost...what i have is the following:&lt;/p&gt;
&lt;p&gt;1) Public client makes call to a service (ServiceA) using public endpoint (wsHttp) and AspNet. &amp;nbsp;Client and server config matches.&lt;/p&gt;
&lt;p&gt;2) From within the service (ServiceA) I want to call another service (ServiceB) that exposes an endpoint for internal use only (TCP or Pipes).&lt;/p&gt;
&lt;p&gt;The issue I have been having is cascading the credentials from the AspNet (ServiceA) invocation to ServiceB. &amp;nbsp;At the point when I am in ServiceA I have the Principal. &amp;nbsp;Now what I want to do is call another service from that service and cascade those credentials over. &amp;nbsp;I don't need to necessarily secure the inner-service (ServiceB) just carry the Principal over.&lt;/p&gt;
&lt;p&gt;In summary, I want to make service-to-service calls similar to how I make public-to-service calls.&lt;/p&gt;
&lt;p&gt;Thanks.&lt;/p&gt;
&lt;img src="http://blogs.windowsclient.net/aggbug.aspx?PostID=30445" width="1" height="1"&gt;</description></item><item><title>re: ClickOnce Deployment w/ Prerequisites in IIS</title><link>http://blogs.windowsclient.net/zuker/archive/2008/05/28/clickonce-deployment-w-prerequisites-in-iis.aspx#29928</link><pubDate>Wed, 28 May 2008 08:55:34 GMT</pubDate><guid isPermaLink="false">f1c07d22-4184-4df1-9c40-8dd04b52e796:29928</guid><dc:creator>Assaf</dc:creator><description>&lt;p&gt;Cool!&lt;/p&gt;
&lt;img src="http://blogs.windowsclient.net/aggbug.aspx?PostID=29928" width="1" height="1"&gt;</description></item><item><title>re: WCF Security - UserName Over TCP Transport</title><link>http://blogs.windowsclient.net/zuker/archive/2008/03/04/wcf-security-username-over-tcp-transport.aspx#29017</link><pubDate>Wed, 21 May 2008 17:00:29 GMT</pubDate><guid isPermaLink="false">f1c07d22-4184-4df1-9c40-8dd04b52e796:29017</guid><dc:creator>zuker</dc:creator><description>&lt;p&gt;Hi KJQ,&lt;/p&gt;
&lt;p&gt;There is a sample in the SDK which is called &amp;#39;Trusted Facade&amp;#39; (usually at C:\Program Files\Microsoft SDKs\Windows\v6.0\Samples\WCFSamples\TechnologySamples\Scenario\TrustedFacade\CS)&lt;/p&gt;
&lt;p&gt;The sample illustrates this concept.&lt;/p&gt;
&lt;p&gt;As I understand from you,&lt;/p&gt;
&lt;p&gt;Th client&amp;#39;s endpoint is configured using a wsHttpBinding and the service is configured to use tcp protocol?&lt;/p&gt;
&lt;p&gt;In this case you will experience problems and the communication will not work.&lt;/p&gt;
&lt;p&gt;The bindings between the client and server must match.&lt;/p&gt;&lt;img src="http://blogs.windowsclient.net/aggbug.aspx?PostID=29017" width="1" height="1"&gt;</description></item><item><title>re: WCF Security - UserName Over TCP Transport</title><link>http://blogs.windowsclient.net/zuker/archive/2008/03/04/wcf-security-username-over-tcp-transport.aspx#29008</link><pubDate>Wed, 21 May 2008 16:32:53 GMT</pubDate><guid isPermaLink="false">f1c07d22-4184-4df1-9c40-8dd04b52e796:29008</guid><dc:creator>KJQ</dc:creator><description>&lt;p&gt;This looks like exactly what i have been trying to do except the only difference is I have a wsHttp endpoint calling a tcp service and want to pass the credentials over to that.&lt;/p&gt;
&lt;p&gt;Is there a source code sample for this?&lt;/p&gt;
&lt;p&gt;Thanks.&lt;/p&gt;
&lt;p&gt;KJQ&lt;/p&gt;
&lt;img src="http://blogs.windowsclient.net/aggbug.aspx?PostID=29008" width="1" height="1"&gt;</description></item></channel></rss>