How to avoid SerializationException: Type is not resolved for member XXX when testing a component that uses the LogicalCallContext

I think this is good explaination why you get this error. Is it possible to use the logical call context within a unit test in VS 2010? I searched what is good option this. I never find any answer except MarshalByRefObject. So why you should inherit your object with it . It is good explanation … Read more

web.config and app.config machine-specific settings in git

I’d like to suggest you look at ConfigGen. We use it in all our projects, and it works wonders for all the developers and also for all our environments. It basically runs off a spreadsheet that states machine name and output configuration file, and then tokenises a template App.Config or Web.Config, substituting values from the … Read more

npm git repository not updating versions

Ok this is how it is done. I was also confused. So i have a private npm module at [email protected]:myModule/MySweetModule.git I have just published the latest tagged version. Unfortunately i cannot figure out how that works, BUT it works off your master. SOOO your master branch can be your integration branch and you have stage … Read more

What is the difference between a Docker Container and an Ansible Playbook?

There are many reasons most articles talk about using them together. Think of Ansible as a way of installing and configuring a machine where you can go back and tweak any individual step of that install and configuration in the future. You can then scale that concept out to many machines as you are able … Read more

Configuration data in Scala — should I use the Reader monad?

Let’s start with a simple, superficial difference between your approach and the Reader approach, which is that you no longer need to hang onto config anywhere at all. Let’s say you define the following vaguely clever type synonym: type Configured[A] = ConfigSource => A Now, if I ever need a ConfigSource for some function, say … Read more

How to defer routes definition in Angular.js?

Since routes are defined on a provider level, normally new routes can only be defined in the configuration block. The trouble is that in the configuration block all the vital services are still undefined (most notably $http). So, on the surface it looks like w can’t define routes dynamically. Now, it turns out that in … Read more