When I grow up I want to code in c#

Twitter












Tag Cloud


June 2007 Entries

With all these messages flying about, what do they look like...

So far we have a contract, 2 client/server pairs (one programmatic and one administrative). We can observe that the highly difficult tasks of text concatenation and changing case are happening. But these examples are extremely trivial, and as we increase complexity, try new things, it would be nice to observer what is going on, especially when it does not go well. Luck for us, there is a built in logging facility in .NET and a complete feature set and viewing tool specifically for WCF. And all can ......

Let's add config file support to the client...

We have overhauled the server to support the endpoints in the config file. Let's do the same for the Client. We can then start playing with various config file settings. Just to preserve the samples, I am going to copy the client code to a new app, and modify the new one. Let's call it WCFConsoleClientCfg. Step 1. Delete the interface file we had in the previous client. We are going to use a tool to recreate it. Or at least it's equivalent. Step 2. go to project->add new and pick a application ......

Why write code when we can specify our services administratively in XML?

Okay, that was a joke. I like writing code. I am not trying to get rid of coders. Okay, trust me? One of the interesting features of WCF is the ability to do the Address and Binding portion of our 3 legged stool administratively. In a xml file called app.config or web.config. This allows some interesting possibilities of changing the service endpoint without changing code. Being able to take a project from development to QA to production (assuming all is well with it) without a recompile to redirect ......

My endpoint is all dressed up and no one to dance with..

Now that we have a contract defined (WCFContract) a binding selected (basicHttpBinding) and a address picked (http://localhost:8000/WCFC... we are ready to let someone use it. To use a service, we basically perform many of the same operations. 1) add a new console app to our solution. It doesn't have to be part of our solution, that is just what this demo does. To that console add the standard reference for our friend System.ServiceModel. 2) Open the program.cs (okay, ......

Let's Host our service and build a client

First, let me correct my service implementation. I must have missed my low caffeine light when I wrote the implementation. The code should read str = str.ToUpper(); and str = str.ToLower(); to work. Amazing how returning the string you sent offers little value. Not that this particular service is of great value, but at least now it does what I intended. What we have done so far... So far we have a simple, 3 method web service, using basichttpbindings, sending strings in and out. This should be very ......

I am taking a contract out on WCF...

First, a choice of tools.. I am going to use Visual Studio 2008. I know, it is in Beta, Beta 1 in fact. But Beta 2 should be out soon, and it should release q4 of 2007, q1 of 2008. There might be a tighter date published, but I haven't looked today. It also has a better support for WCF and the .Net 3.5 stuff in general. So, that is where we are going to live. Contract definition As far as I can tell, WCF has four kinds of contracts. (btw, thanks Juval Lowy's book for the list that is coming) Service ......

Time for some serious WCF investigation...

In my job at Microsoft, I am forced to be a generalist, knowing about all development topics. I find it too easy to allow myself to find excuses to not commit the time to go deep and completely understand a topic. But sometimes along come some very intriguing topics that really peak my interest. The current set of technologies in the .net framework, specifically WCF, WPF, WF, and Cardspace were the first to grab my attention. And the Next Gen web UI stuff in the form of Silverlight really needs a ......

Microsoft eScrum Version 1.0

eScrum: Agile Project Management Tool eScrum is an end-to-end Project management tool for Scrum. It is a web based tool built on the Microsoft Visual Studio Team Foundation Server (TFS) platform. Its components include a web interface,and a TFS Process template. With the increased adoption of Agile methodologies and TFS, eScrum fills an important gap of having an integrated solution for customers. eScrum external offerings: o Multiple ways to interact with your Scrum project, with integrity of data: ......

Why do I need a "second life" if I don't have a first one?

My team at Microsoft is looking into interesting and varied ways to help the development community get info. One of the ways is a online approach using SecondLife. I am just curious, how many folks are engaged in SecondLife? One of the thoughts is to engage in a "codecamp in the ether". Has anyone tried this? Or perhaps a UG in the virtual world. Has anyone tried this? I know there are some offerings in SecondLife for IBM, but it seems more of a static resource location. I have just started looking ......