agosto 2007 Blog Posts

WCF Dynamic proxy configuration for COM+ and client certificates

I use the dynamic proxy to create proxies for com+ exposed web services. I want to use wsHttpBinding with transport security mode with SSL using client certificate for authentication. To address this scenario you have to modify the proxy adding a Credential property on DynamicProxy type. public ClientCredentials Credentials { get { return (ClientCredentials)base.GetProperty("ClientCredentials"); } } From your code you can use this to set the certificate. In my case the client is an asp.net app so the certificate in the...

Sample c# program to test xslt

  If you don't have a version of vs (or any other xml editor) that supports debugging xslt you can use this simple program to test the xslt of the previous post. Technorati Tags: c#, xslt, ATOM 1: MemoryStream ms = new MemoryStream(); 2: XmlWriterSettings xws = new XmlWriterSettings(); 3: xws.Indent = true; 4: XmlWriter xw = XmlWriter.Create(ms, xws); 5:   6: // Load and transform 7: XslCompiledTransform ctx = new XslCompiledTransform(false); 8: ctx.Load(@"ATOM2Tree.xslt"); 9: ctx.Transform(textBlogUrl.Text, xw); 10:...

«agosto»
domlunmarmergiovensab
2930311234
567891011
12131415161718
19202122232425
2627282930311
2345678