In some projects you have to migrate old code to a new state of the art. You may confrontated with code which is managed by Visual Source Safe. Additionally you have the requirements not to loose the history and labeled informations about the project. Continue reading
Implementing a Web Service with Windows Communication Foundation is really easy. You need only a few clicks for having fun and enjoying a cup of coffee after successfuel implementation.
But what is, when you have the requirement for implementing a stable and fully duplex communication including the server may send indepently messages to any specific connected client at any time? The client and server should also detect broken connections and reconnect automatically. Thats a little more complex and you can not implement by one click. Too bad for enjoying your coffee in a few minutes.
For illustration purposes I have created a sample project. The client may request at any time a “Hello World” from server. Every 30 seconds, the server sends a “Hello World” to every connected client. In this sample application you see the mechanism how you can implement a callback contract and a duplex communication. Continue reading
As a big fan of WCF (Windows communication foundation) I learned about two years ago for my MCTS WCF certificate. During the learning process I made in my free time a presentation for working collegues. Continue reading
It seems that PRISM technology will be favorized by implementing Wpf, Silverlight or Windows Phone 7 applications. My personal opinion is that the current development state of PRISM needs too much manual development effort for realizing a project. Some automated goodies would be needed for PRISM hardly. But I think they would be realized and available in conceivable time.
I prefer something between: Implementing M-V-VM with PRISM library. Especially the DelegateCommand of PRISM is a goodie which simplifies Commanding and improves the understanding MVVM and reading of written code lines remarquable.
In the following lines I have coded an MVVM with PRISM example. It is a simple master detail visualization. Continue reading
Yes, I know WinForms is an outdated task of Microsoft and Wpf is the future. But most of the developer have honor to maintain WinForm project. WinForm controls have the boring feature that it is not possible to access from a foreign thread context to set the WinForm properties. If you do that you get a friendly exception and the application terminates, which is not a wanted function for the customers. To reach a stable application an Invoke-Call might solve this issue. For that I wrote a tread extension class which allows Invoked calls in several ways. Some code parts are from the web and some I developed by myself. For those which are still on WinForms this code part might help to synchronize data with controls. Continue reading
When you need to change a pending Windows Embedded Standard 7 Image without a configuration or you have lost your configuration set (really a bad scenario :-() you have luck. Microsoft provides a tool where you can restore the configuration set at any time ((e: is the device where your Master Image is located):
pkgscn /Get-Packages /Image:e:\ /ConfigSetDir:c:\temp
After an official release of a Windows Embedded Standard 7 image you might to maintain your master image with updating your service packs without booting. Continue reading