During a build you can ask MsBuild to deploy on build using the switch /p:DeployOnBuild=true as I described in previous posts. This is mainly used to deploy the site on IIS thanks to WebDeploy, but you can also use WebDeploy to deploy on a disk path. The problem is that the path is stored in […]

Continue reading about Publishing web project on disk during build

Signalr is really good on keeping alive the connection between server and the client and make sure that the client automatically reconnect if there are connection issue. To verify this you can write a simple test with a simple hub that each second broadcasts to all clients current server timestamp with a simple timer. Now […]

Continue reading about Detect Client-side reconnection with SignalR

I’ve a customer where we set up a TFS Build that automatically compile, obfuscates assembly and finally publish with click-once on an internal server. As a part of the process, a tool is used to move the published packages from the internal server to public server, to make it available to final customers. This tool […]

Continue reading about Error publishing Click-once moving from .NET 3.5 to 4.5:

There is an article on MSDN that demonstrates how to enable sorting column for a ListView used with Grid layout. The solution presented there works perfectly, but I do not want to put code behind my windows, because I work with MVVM approach. The solution is wrapping everything in a behavior, so I took the […]

Continue reading about Sorting a WPF ListView in Grid Mode

Yesterday I was presented with an interesting question: How can I design a user control that change appearance when the windows containing it is maximized? Thanks to WPF binding and Triggers the solution is simple, suppose you want to create a border control that change thickness when the windows that contains this User Control is […]

Continue reading about Change appearance of a control if the windows is maximized in WPF