WPF quickstart caliburn is a ready-to-use project that uses :
- WCF Services for Client/Server communication in duplex
- MahApps.Metro for UI design
- Caliburn.Micro to setup MVVM
- Twitter API
- Yahoo! Finance API
- NY Times API
##INSTALLATION NOTES
###Server side Console:
Launch the server side project executable.
###Client Side UI:
Launch the client.
❗ In order to be allowed connection and retrieved data, the server console must be started.
💡 Under VS Debug Mode, you can start multiple projects WPF.QuickStart.UI & WPF.QuickStart.Server
##USEFUL LINKS:
###WPF FAQ
####WPF Layout :
Dockpanel The order of element added is important, last element will filled the remaining space, when LastFillChild = true
Grid & Overlay Controls in the same cell of a Grid are rendered back-to-front
####WPF Styling :
####WPF Binding :
HOW TO debug data binding issuehttp://stackoverflow.com/questions/4225867/how-can-i-turn-binding-errors-into-runtime-exceptions)
####WPF Controls :
####WPF UI Freezing FAQ :
http://stackoverflow.com/questions/10065000/running-long-tasks-without-freezing-the-ui
###TWITTER :
###CALIBURN.MICRO :
###WPF LIBS ON GITHUB/CODEPLEX :
mahapps Great UI Styles
###OTHER TOOLS :
####Json
http://stackoverflow.com/questions/833943/watermark-hint-text-placeholder-textbox-in-wpf
##ENCOUNTERED ISSUES :
Pour les problèmes d'import dans le XAML de namespaces non reconnu lorsque les dll proviennent du WEB :
https://wpfanimatedgif.codeplex.com/discussions/392120
Par ordre de priorité :
-
Si disponible, installer la dll via nugget manager.
-
Ou bien, aller dans les propriétés de la dll => "Unblock"/"Débloquer".
-
Ou bien, ajouter dans le .config du projet :
<runtime>
<loadFromRemoteSources enabled="true" />
</runtime>
##TASKS LIST
- [:construction_worker:] Setup Data layer with Entity Framework instead of using mock repositories.
- [:construction_worker:] Inject IOC for Services using MEF
- [:construction_worker:] Find a way to flash the row when an item is an in a listbox (event/trigger ..)
- [:construction_worker:] Implement a DialogWindow with a webbrowser when clicking on the top bar on Twitter/Yahoo.
##KNOWN BUGS :
- [:scream_cat:] Close WCF Service OnDeactivate ChildViewModel (i.e stop twitter from pushing data automatically).
- [:scream_cat:] Client Server Screen : fix bug when get tweets then query server. Cannot call the snd operation because same channel is still open to callback the tweets.
- [:scream_cat:] Screen Display Name not working