Sometimes there is the need to change the return value of an expectation to a Mock with a value based on parameters used in the call. Suppose you need to create a mock, and want to verify that the method DoInt() gets called with a value greater than 42 and it should return the value [...]
Continue reading about Change return value of a mock based on parameters in Rhino mocks
One of the coolest feature of Tfs2010 is Lab Management, an infrastructure tool that permits you to manage Virtual Environment to test your applications. Once you have defined some template machine in SCVMM you can import them into your Lab to be used in defining Virtual Environment. When you imported all the templates you need [...]
Continue reading about Deploy a solution and a database in a Lab Management Virtual Environment
I have a simple scenario, I have an application deployed internally with click once, and some of the internal versions are made avaliable externally. The problem is that I need to change the application configuration file before deploying them to production server. To accomplish this you can simply locate the file applicationname.exe.config.deploy in the deploy [...]
I have a winform application that is distributed internally through a dev server with IIS, the application is distributed in the address http://10.8.0.5:10444/MyApplicationNameInternal/publish.htm This application is deployed for internal use and test, and when it is stable it gets deployed to customers machine. To avoid problem I need simply to take the version deployed in [...]
Continue reading about Move a click once deployed application between servers





