Ivan Krivyakov's Blog

Premature optimization is the root of all evil

January 2, 2009

Merging Configs (WCF and otherwise)

Following up on the WCF config theme. Back in April I wrote a config merger for our CAB application. General scenario was as follows: we had a central “shell” application that was loading “plug-ins” based on a dynamic config file. The shell and the plug-ins were developed by different teams with different release schedules, etc.
[read more...]

WCF Configuration

Thoughts from one of my last projects. It is difficult to create a well-isolated component that uses a WCF client under the covers. WCF reads end-point configuration settings from the app.config, and there is only one app.config per application. This creates a classic “leaking abstraction” problem. I can’t just use the component by doing new MyComponent(), I also need to worry about some scary XML mambo-jumbo in the config file. And if I don’t get it right, the component may fail in mysterious ways. [read more...]

Is .NET a Java clone?

One of my friends said that he admires Microsoft marketing genius for creating a Java clone and bringing it to commercial success. But is .NET really a Java clone? On the surface it definitely seems like it, similarities are numerous. But important differences are numerous as well. I once did a presentation on this at work, and now I am thinking of creating an article to that effect. So, hold on :-)