Geeks With Blogs
Marcin Celej blog March 2007 Entries
Windows SDK setup crash
For the last two days i've tried installing Windows SDK available here: Microsoft® Windows® Software Development Kit for Windows Vista™ and .NET Framework 3.0 Runtime Components . When I tried to instal it, the setup crashed just at the beginnig, without saying anything interesting. I uninstalled everyting I could, that was somehow connected to the Visual Studio (Guidance Automation Toolkit, Visual Studio SDK, etc.). It didn't help. I've noticed that the setup (just at the beginning) displayed information ......

Posted On Saturday, March 31, 2007 2:03 PM

Windows Communication Foundation - Virtual Lab
I've just taken Writual Lab on Windows Communication Foundation available at http://labs.netfx3.com/. The lab is titled: Understanding Windows Communication Foundation. It is really amazing - I mean the WCF. If I only had this stuff few years ago, or even a year ago. No web services, remoting, channel sinks, asymetric communication problems and many others. Hmmm, I am dreaming now, how to rewrite application that I am currently working on. I believe it is possible as I have service centric application ......

Posted On Thursday, March 29, 2007 8:43 PM

Invoking Web Service dynamically using HttpWebRequest
Yesterday I needed to implement (quickly) a mechanism of dynamic invocation of a web service. I called a Web Service using HttpWebRequest and gathered the response stream. I didn't know the description of the WS (WSDL) in design time. I added some configuration mechanisms to my application tha allow me to change the invoked web service without necesity of recompilation (I will show only the mechanics of WS invocation). How did I invoke this: Step 1. My Web Service looks like this: [WebService(Namespace ......

Posted On Monday, March 26, 2007 8:33 PM

Creating generic type object dynamically using reflection
I had a problem some time ago. I needed to create generic type object dynamically. I couldn't find how to do it. Now, when I know, I can share the mysterious knowledge.public static object CreateGeneric(Type generic, Type innerType, params object[] args) { System.Type specificType = generic.MakeGenericType(new System.Type[] { innerType }); return Activator.CreateInstance(sp... args); } To create a genric List of string, use the following code:CreateGeneric(typeof(L... typeof(string)); ......

Posted On Saturday, March 24, 2007 10:46 PM

Copyright © Marcin Celej | Powered by: GeeksWithBlogs.net