Automatic ICommand activation in WPF
Today I will present you my solution for automatic command activation in WPF MvvM application.
By Mirek on (tags: comanding, DelegateCommand, mvvm, WPF, categories: code)Today I will present you my solution for automatic command activation in WPF MvvM application.
By Mirek on (tags: comanding, DelegateCommand, mvvm, WPF, categories: code)Recently we moved our main WPF project to .net framework 4.5 and Visual Studio 2012. Then when I tried to preview some of basic views in Visual Studio designer I faced some strange problems. We have several user controls that we use in our views.
By Mirek on (tags: .net 4.5, user control, Visual Studio 2012, WPF, categories: architecture)In the previous post we saw how to use the built in Trace class for logging facilities. However the Trace class is not the latest Microsoft’s recommended way for logging your application. In this post I will try to present the quickest way of configuring TraceSource and use it for logging purposes.
By Mirek on (tags: c#, logging, .net, TraceSource, tracing, categories: code)I’ve used a few version control systems: visual source safe, subversion, git, mercurial and tfs.
My current favourite – git. It it’s the most popular one at the moment, but to be honest there’s a good reason for that. It has a gigantic learning curve, but once you grok the concept, everything falls into place.
My second choice – subversion. I’ve used it for a long time and it got the job done.
The one I am using at the moment – tfs and here’s where the story starts.
Here’s how to restore a db backup taken from sql server to a localdb instance without using sql server management studio
By eidias on (tags: localdb, categories: tools)Recently we have decided to replace the logging framework we used, because of its not necessary complexity and a bunch of features we did not use and even did not know anything about. The goal was to use the built in System.Diagnostic.Trace facility and cover some of basic requirements we had.
By Mirek on (tags: logging, Trace, tracing, categories: code)Full error (almost): C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Microsoft.Common.targets (4486): Could not find required file 'setup.bin' – in practice – adventures with migration to .net 4.5
By eidias on (tags: None, categories: infrastructure)I’m not a fan of the nuget GUI – I prefer the command line but there’s been a ‘feature’ that was more comfortable to do in the gui – uninstall a package from all projects.
By eidias on (tags: None, categories: tools)Here’s a short article describing a few changes in razor 2.0
By eidias on (tags: razor, categories: web)CSS has been around for a while and will stay for a while longer and although I think it’s a good and working ‘language’ it has a few pitfalls – the biggest one being the lack of ability to reuse certain parts. Take colors for example, when you want to style a site you need to repeat the color declaration everywhere you want to set it, so when you change your mind, the only way to implement the changes is search and replace. Now that’s not that bad when you have a small site and one css file, but when the number of files grows, that problem grows along. So what can we do?
By eidias on (tags: css, less, sass, stylus, categories: code, web)