When I grow up I want to code in c#

Twitter












Tag Cloud


dot net

There are 3 entries for the tag dot net

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 ......