Click here to Skip to main content

Articles by Sacha Barber (Articles: 154, Technical Blogs: 130)

Articles: 154, Technical Blogs: 130

RSS Feed

Average article rating: 4.88

Miscellaneous
General
Posted: 8 Sep 2010   Updated: 8 Sep 2010   Views: 72,673   Rating: 4.92/5    Votes: 60   Popularity: 8.74
Licence: The Code Project Open License (CPOL)      Bookmarked: 99   Downloaded: 729
A brief look into the DevLabs Reactive Framework.
Posted: 3 Jan 2012   Updated: 5 Jan 2012   Views: 44,313   Rating: 4.91/5    Votes: 30   Popularity: 7.25
Licence: The Code Project Open License (CPOL)      Bookmarked: 63   Downloaded: 742
A look at using RabbitMq to do message routing.
Posted: 4 Feb 2012   Updated: 7 Feb 2012   Views: 79,926   Rating: 4.95/5    Votes: 67   Popularity: 9.04
Licence: The Code Project Open License (CPOL)      Bookmarked: 155   Downloaded: 3,198
Streaming live results to a web site using MSMQ/Duplex WCF/SignalR/jQuery
Posted: 20 Mar 2012   Updated: 20 Mar 2012   Views: 59,235   Rating: 4.95/5    Votes: 68   Popularity: 9.06
Licence: The Code Project Open License (CPOL)      Bookmarked: 105   Downloaded: 0
A look into the CodeStash Visual Studio Extension.
Posted: 1 Jul 2013   Updated: 1 Jul 2013   Views: 54,121   Rating: 4.99/5    Votes: 20   Popularity: 6.49
Licence: The Code Project Open License (CPOL)      Bookmarked: 38   Downloaded: 828
A look at creating well structured modular javascript using AMD library Require.js
Lists, Menus, Choosers
Posted: 28 Mar 2011   Updated: 5 Apr 2011   Views: 98,335   Rating: 4.95/5    Votes: 66   Popularity: 9.01
Licence: The Code Project Open License (CPOL)      Bookmarked: 126   Downloaded: 1,133
A small utility Fluent interface class to export a List.
Windows Forms
Posted: 27 Nov 2006   Updated: 1 Apr 2007   Views: 42,253   Rating: 4.66/5    Votes: 22   Popularity: 5.10
Licence: The Code Project Open License (CPOL)      Bookmarked: 31   Downloaded: 709
An article which shows how to easily apply Windows XP themes to Windows Forms in .NET v1.1.
Smart Client
General
Posted: 21 Feb 2009   Updated: 21 Feb 2009   Views: 214,569   Rating: 4.98/5    Votes: 219   Popularity: 11.65
Licence: The Code Project Open License (CPOL)      Bookmarked: 300   Downloaded: 3,281
A queryable working MP3 player, using some cool LINQ stuff.
Posted: 31 Mar 2009   Updated: 8 Jun 2009   Views: 157,110   Rating: 4.94/5    Votes: 113   Popularity: 10.15
Licence: The Code Project Open License (CPOL)      Bookmarked: 259   Downloaded: 2,015
A nice explar of how to use RESTful WCF and WPF.
Applications & Tools
General
Posted: 2 Dec 2013   Updated: 13 Dec 2013   Views: 42,765   Rating: 4.93/5    Votes: 64   Popularity: 8.91
Licence: The Code Project Open License (CPOL)      Bookmarked: 116   Downloaded: 972
A look at how to create a responsive web site using ASP MVC / Twitter Bootstrap / WebAPI and Knockout.js.
ASP.NET
General
Posted: 10 Oct 2011   Updated: 6 Dec 2011   Views: 111,203   Rating: 4.90/5    Votes: 83   Popularity: 9.40
Licence: The Code Project Open License (CPOL)      Bookmarked: 212   Downloaded: 4,290
A simple look at how to share the JSON API to Web and Desktop.
Posted: 20 Mar 2012   Updated: 21 Mar 2012   Views: 51,551   Rating: 4.82/5    Votes: 34   Popularity: 7.38
Licence: The Code Project Open License (CPOL)      Bookmarked: 48   Downloaded: 0
A distributed codesnippet storage tool : Part II
Posted: 14 Aug 2014   Updated: 14 Aug 2014   Views: 3,976   Rating: 5.00/5    Votes: 10   Popularity: 5.00
Licence: The Code Project Open License (CPOL)      Bookmarked: 8   Downloaded: 0
Angular.Js / Azure / ASP MVC / SignalR / Bootstrap demo app
Posted: 13 Aug 2014   Updated: 14 Aug 2014   Views: 6,835   Rating: 5.00/5    Votes: 12   Popularity: 5.40
Licence: The Code Project Open License (CPOL)      Bookmarked: 12   Downloaded: 0
Angular.Js / Azure / ASP MVC / SignalR / Bootstrap demo app
Posted: 11 Aug 2014   Updated: 14 Aug 2014   Views: 14,494   Rating: 5.00/5    Votes: 35   Popularity: 7.72
Licence: The Code Project Open License (CPOL)      Bookmarked: 43   Downloaded: 0
Angular.Js / Azure / ASP MVC / SignalR / Bootstrap demo app
Utilities
Posted: 20 Mar 2012   Updated: 15 May 2012   Views: 83,582   Rating: 4.98/5    Votes: 80   Popularity: 9.48
Licence: The Code Project Open License (CPOL)      Bookmarked: 161   Downloaded: 0
A distributed code-snippet storage tool.
ASP.NET Controls
Grid Controls
Posted: 22 May 2007   Updated: 22 May 2007   Views: 294,599   Rating: 4.84/5    Votes: 96   Popularity: 9.59
Licence: The Code Project Open License (CPOL)      Bookmarked: 158   Downloaded: 4,166
Using JavaScript To Select GridView Rows
Charts, Graphs and Images
Images and multimedia
Posted: 6 Jan 2007   Updated: 17 May 2007   Views: 306,433   Rating: 4.79/5    Votes: 58   Popularity: 8.44
Licence: Not specified      Bookmarked: 273   Downloaded: 7,069
Shows how to store images in SQL Database Image Storage & create Thumnails easiliy from
Client side scripting
General
Posted: 14 Aug 2013   Updated: 5 Sep 2013   Views: 153,983   Rating: 4.96/5    Votes: 77   Popularity: 9.36
Licence: The Code Project Open License (CPOL)      Bookmarked: 166   Downloaded: 6,969
An example application using angular/Rx for JavaScript/Web Sockets/jQuery
HTML / CSS
General
Posted: 13 Jul 2011   Updated: 13 Jul 2011   Views: 55,890   Rating: 4.92/5    Votes: 54   Popularity: 8.53
Licence: The Code Project Open License (CPOL)      Bookmarked: 99   Downloaded: 1,345
Using HTML5 WebWorkers and a custom jQuery plug-in to create a Flickr image wall.
Node.js
General
Posted: 7 Jan 2013   Updated: 11 Feb 2013   Views: 76,306   Rating: 4.97/5    Votes: 50   Popularity: 8.44
Licence: The Code Project Open License (CPOL)      Bookmarked: 131   Downloaded: 1,371
Small demo app using Node.Js/Socket.IO/MongoDB/D3.Js and jQuery.
Silverlight
Applications
Posted: 9 Jan 2010   Updated: 9 Jan 2010   Views: 78,998   Rating: 4.93/5    Votes: 35   Popularity: 7.60
Licence: The Code Project Open License (CPOL)      Bookmarked: 85   Downloaded: 2,190
A demo app that shows how to upload a file using Silverlight/HttpHandler/MVVM, and includes Silverlight MVVM Library and Helpers.
General
Posted: 1 Nov 2007   Updated: 1 Nov 2007   Views: 213,201   Rating: 4.95/5    Votes: 124   Popularity: 10.36
Licence: Not specified      Bookmarked: 236   Downloaded: 678
Silverlight 1.1 Fun and Games
Posted: 13 May 2008   Updated: 24 Feb 2009   Views: 94,941   Rating: 4.89/5    Votes: 45   Popularity: 8.08
Licence: The Code Project Open License (CPOL)      Bookmarked: 93   Downloaded: 1,978
An article showing how to do DeepZoom in Silverlight 2.0.
Posted: 23 Feb 2010   Updated: 25 Feb 2010   Views: 96,812   Rating: 4.92/5    Votes: 48   Popularity: 8.27
Licence: The Code Project Open License (CPOL)      Bookmarked: 165   Downloaded: 2,212
An introduction to ADO.NET Data Services / RIA Services.
Web Security
General
Posted: 13 Dec 2010   Updated: 13 Dec 2010   Views: 137,658   Rating: 4.95/5    Votes: 67   Popularity: 9.04
Licence: The Code Project Open License (CPOL)      Bookmarked: 155   Downloaded: 4,034
Shows how to use OpenID with ASP.NET MVC Forms Authentication.
Security
Posted: 30 Jan 2007   Updated: 30 Jan 2007   Views: 48,135   Rating: 4.11/5    Votes: 24   Popularity: 5.68
Licence: The Code Project Open License (CPOL)      Bookmarked: 45   Downloaded: 142
Protect sensitive data from nasty web bots using server / client obfuscation methods.
Office Development
Microsoft Excel
Posted: 9 Nov 2006   Updated: 9 Nov 2006   Views: 370,198   Rating: 4.75/5    Votes: 44   Popularity: 7.81
Licence: Not specified      Bookmarked: 222   Downloaded: 9,452
Export Gridview to Excel, render cells, add WordArt, and fill a custom template.
NoSQL
General
Posted: 21 May 2012   Updated: 27 May 2012   Views: 59,512   Rating: 4.96/5    Votes: 58   Popularity: 8.75
Licence: The Code Project Open License (CPOL)      Bookmarked: 122   Downloaded: 433
A look at several Document database, and a look at how to use them
C#
Applications
Posted: 25 Nov 2006   Updated: 11 Feb 2007   Views: 131,102   Rating: 4.79/5    Votes: 31   Popularity: 7.14
Licence: Not specified      Bookmarked: 137   Downloaded: 5,077
An article which shows how to remotley control a media player
Posted: 22 Dec 2006   Updated: 4 Feb 2013   Views: 58,745   Rating: 4.39/5    Votes: 40   Popularity: 7.04
Licence: The Code Project Open License (CPOL)      Bookmarked: 73   Downloaded: 825
A simple web spider to see fetch CodeProject articles.
General
Posted: 2 Jan 2009   Updated: 2 Jan 2009   Views: 43,968   Rating: 4.81/5    Votes: 28   Popularity: 6.95
Licence: The Code Project Open License (CPOL)      Bookmarked: 110   Downloaded: 498
A look at Dependency Injection and IOC containers.
Posted: 8 Mar 2011   Updated: 8 Mar 2011   Views: 68,715   Rating: 4.96/5    Votes: 37   Popularity: 7.77
Licence: The Code Project Open License (CPOL)      Bookmarked: 85   Downloaded: 428
Set of utility classes to observe a chain of INotifyPropertyChanged objects.
Posted: 10 May 2011   Updated: 10 May 2011   Views: 71,312   Rating: 4.94/5    Votes: 60   Popularity: 8.78
Licence: The Code Project Open License (CPOL)      Bookmarked: 133   Downloaded: 1,404
A look into using the Task Parallel Library.
Posted: 18 Feb 2011   Updated: 10 May 2011   Views: 133,002   Rating: 4.96/5    Votes: 83   Popularity: 9.51
Licence: The Code Project Open License (CPOL)      Bookmarked: 163   Downloaded: 1,397
A look into using the Task Parallel Library.
Posted: 23 Feb 2011   Updated: 10 May 2011   Views: 120,884   Rating: 4.92/5    Votes: 64   Popularity: 8.88
Licence: The Code Project Open License (CPOL)      Bookmarked: 137   Downloaded: 1,175
A look into using the Task Parallel Library.
Posted: 25 Mar 2011   Updated: 10 May 2011   Views: 57,245   Rating: 4.92/5    Votes: 49   Popularity: 8.31
Licence: The Code Project Open License (CPOL)      Bookmarked: 106   Downloaded: 1,240
A look into using the Task Parallel Library.
Posted: 1 Feb 2011   Updated: 17 May 2011   Views: 705,815   Rating: 4.98/5    Votes: 276   Popularity: 12.16
Licence: The Code Project Open License (CPOL)      Bookmarked: 589   Downloaded: 6,592
A look into using the Task Parallel Library.
Posted: 28 Feb 2007   Updated: 14 Jun 2011   Views: 1,166,474   Rating: 4.98/5    Votes: 477   Popularity: 13.33
Licence: The Code Project Open License (CPOL)      Bookmarked: 1115   Downloaded: 22,361
100% Reflective Class Diagram Creation Tool
Posted: 25 Feb 2013   Updated: 25 Feb 2013   Views: 24,206   Rating: 4.98/5    Votes: 32   Popularity: 7.50
Licence: The Code Project Open License (CPOL)      Bookmarked: 53   Downloaded: 290
A simple IOC Container just for the fun of it really
Posted: 21 Jun 2013   Updated: 21 Jun 2013   Views: 34,349   Rating: 4.96/5    Votes: 28   Popularity: 7.18
Licence: The Code Project Open License (CPOL)      Bookmarked: 69   Downloaded: 2,387
A small demo app that shows how to store/search using Lucene.NET
Posted: 10 Sep 2013   Updated: 10 Sep 2013   Views: 24,540   Rating: 4.94/5    Votes: 31   Popularity: 7.37
Licence: The Code Project Open License (CPOL)      Bookmarked: 59   Downloaded: 259
A how to do Expression API cookbook
Posted: 22 Jul 2012   Updated: 21 Oct 2013   Views: 63,051   Rating: 5.00/5    Votes: 68   Popularity: 9.16
Licence: The Code Project Open License (CPOL)      Bookmarked: 136   Downloaded: 936
A look at common internal DSL techniques, with a mocking framework example
Other .NET Languages
F#
Posted: 4 Apr 2014   Updated: 4 Apr 2014   Views: 5,128   Rating: 5.00/5    Votes: 3   Popularity: 2.39
Licence: The Code Project Open License (CPOL)      Bookmarked: 4   Downloaded: 0
We continue our journey into F#, and this time we will look at recursion. We have already seen this in a number of places, namely when we talked about Lists and also Pattern Matching. So some of this should be vaguely familiar to you.   Simple Example Lets start with the most basic example which [&#
Posted: 20 May 2014   Updated: 21 May 2014   Views: 3,871   Rating: 5.00/5    Votes: 1   Popularity: 0.00
Licence: The Code Project Open License (CPOL)      Bookmarked: 4   Downloaded: 0
This is the final post on the initial proposed F# series that I had planned. That doesn’t mean there may not be more from me in the future but this will be the final one in the current batch. So what will this one be on? This one will be on type providers. Type providers […]
.NET Framework
General
Posted: 7 May 2008   Updated: 7 May 2008   Views: 118,339   Rating: 4.93/5    Votes: 78   Popularity: 9.32
Licence: The Code Project Open License (CPOL)      Bookmarked: 292   Downloaded: 2,284
Using the AddIn model pipeline.
Posted: 27 Aug 2010   Updated: 3 Sep 2010   Views: 130,837   Rating: 4.98/5    Votes: 70   Popularity: 9.19
Licence: The Code Project Open License (CPOL)      Bookmarked: 137   Downloaded: 1,107
A look into messaging solutions using NServiceBus.
Posted: 20 Feb 2014   Updated: 23 Feb 2014   Views: 20,734   Rating: 4.87/5    Votes: 23   Popularity: 6.63
Licence: The Code Project Open License (CPOL)      Bookmarked: 35   Downloaded: 232
A small article on how to use NServiceBus to create workflows
Libraries
General
Posted: 26 Dec 2010   Updated: 5 Jan 2011   Views: 91,570   Rating: 4.99/5    Votes: 75   Popularity: 9.36
Licence: The Code Project Open License (CPOL)      Bookmarked: 139   Downloaded: 1,492
A look at different Aspect Orientated Programming frameworks.
Posted: 9 Jul 2011   Updated: 11 Jul 2011   Views: 30,233   Rating: 4.82/5    Votes: 32   Popularity: 7.25
Licence: The Code Project Open License (CPOL)      Bookmarked: 77   Downloaded: 950
An experiment into combining AOP and MEF.
LINQ
General
Posted: 1 Nov 2008   Updated: 1 Nov 2008   Views: 89,154   Rating: 4.88/5    Votes: 57   Popularity: 8.56
Licence: The Code Project Open License (CPOL)      Bookmarked: 153   Downloaded: 269
A journey into Expressions
Windows API
General
Posted: 30 Mar 2007   Updated: 30 Mar 2007   Views: 36,369   Rating: 3.44/5    Votes: 26   Popularity: 4.86
Licence: Not specified      Bookmarked: 18   Downloaded: 0
A Sneaky Peek At Visual Studio 9 (Codenamed Orcas)
Posted: 23 Mar 2007   Updated: 11 Apr 2007   Views: 446,444   Rating: 4.92/5    Votes: 161   Popularity: 10.85
Licence: The Code Project Open License (CPOL)      Bookmarked: 499   Downloaded: 3,992
An introduction to LINQ
Posted: 4 Apr 2007   Updated: 16 Apr 2007   Views: 146,129   Rating: 4.73/5    Votes: 66   Popularity: 8.60
Licence: The Code Project Open License (CPOL)      Bookmarked: 186   Downloaded: 1,027
An introduction to LINQ
Posted: 11 May 2007   Updated: 24 May 2007   Views: 141,830   Rating: 4.89/5    Votes: 66   Popularity: 8.90
Licence: The Code Project Open License (CPOL)      Bookmarked: 189   Downloaded: 1,945
An introduction to LINQ
Posted: 16 Sep 2013   Updated: 16 Sep 2013   Views: 14,379   Rating: 5.00/5    Votes: 12   Popularity: 5.40
Licence: The Code Project Open License (CPOL)      Bookmarked: 6   Downloaded: 175
Windows Communication Foundation
General
Posted: 27 Jun 2008   Updated: 2 Dec 2010   Views: 85,955   Rating: 4.56/5    Votes: 60   Popularity: 8.09
Licence: The Code Project Open License (CPOL)      Bookmarked: 152   Downloaded: 476
A few tips when working with WCF.
Posted: 25 Jul 2007   Updated: 22 Jul 2011   Views: 1,098,084   Rating: 4.93/5    Votes: 448   Popularity: 13.08
Licence: The Code Project Open License (CPOL)      Bookmarked: 1103   Downloaded: 48,019
How to create a peer-to-peer chat application using Windows Communication Foundation
Posted: 17 Jan 2012   Updated: 19 Apr 2012   Views: 157,475   Rating: 4.97/5    Votes: 100   Popularity: 9.94
Licence: The Code Project Open License (CPOL)      Bookmarked: 297   Downloaded: 5,399
A look at designing a service layer using good practices, and the MSFT technology stack.
Windows Presentation Foundation
Annotations
Posted: 14 Apr 2008   Updated: 14 Apr 2008   Views: 123,278   Rating: 4.90/5    Votes: 67   Popularity: 8.96
Licence: The Code Project Open License (CPOL)      Bookmarked: 160   Downloaded: 3,218
A WPF 3D Panel that allows tabbing and activates the current item.
Applications
Posted: 16 Oct 2007   Updated: 24 Oct 2007   Views: 103,268   Rating: 4.93/5    Votes: 64   Popularity: 8.90
Licence: The Code Project Open License (CPOL)      Bookmarked: 111   Downloaded: 1,332
The classic Snakes WPF'ed.
Posted: 1 Dec 2007   Updated: 18 Jan 2008   Views: 170,692   Rating: 4.83/5    Votes: 96   Popularity: 9.57
Licence: The Code Project Open License (CPOL)      Bookmarked: 235   Downloaded: 1,998
A simple contact keeper using XLINQ/LINQ/WPF.
Posted: 14 Jan 2008   Updated: 27 Feb 2008   Views: 127,331   Rating: 4.94/5    Votes: 53   Popularity: 8.53
Licence: The Code Project Open License (CPOL)      Bookmarked: 124   Downloaded: 1,623
WPF Amazon Explorer Using 3D
Posted: 23 Mar 2008   Updated: 3 Apr 2008   Views: 379,566   Rating: 4.94/5    Votes: 154   Popularity: 10.80
Licence: The Code Project Open License (CPOL)      Bookmarked: 365   Downloaded: 2,730
WPF: A Beginner's Guide series, end exemplar and fun with Physics.
Posted: 28 Apr 2008   Updated: 9 Aug 2008   Views: 60,361   Rating: 4.78/5    Votes: 26   Popularity: 6.76
Licence: The Code Project Open License (CPOL)      Bookmarked: 59   Downloaded: 1,510
A simple 9 peice puzzle using ImageBrush.ViewBox.
Posted: 12 Oct 2008   Updated: 12 Oct 2008   Views: 100,374   Rating: 4.94/5    Votes: 66   Popularity: 9.00
Licence: The Code Project Open License (CPOL)      Bookmarked: 147   Downloaded: 2,177
A 3D screensaver written in WPF.
Posted: 8 Nov 2009   Updated: 8 Nov 2009   Views: 104,638   Rating: 5.00/5    Votes: 106   Popularity: 10.13
Licence: The Code Project Open License (CPOL)      Bookmarked: 186   Downloaded: 2,740
An AI search application using the A* algorithm.
Posted: 10 Oct 2012   Updated: 15 Apr 2013   Views: 111,459   Rating: 4.99/5    Votes: 106   Popularity: 10.12
Licence: The Code Project Open License (CPOL)      Bookmarked: 437   Downloaded: 3,377
A complete end to end example from DB to WPF client using MVVM/PRISM/NHibernate/Respository/IOC.
Posted: 6 Jun 2011   Updated: 20 Feb 2014   Views: 157,382   Rating: 4.91/5    Votes: 175   Popularity: 11.02
Licence: The Code Project Open License (CPOL)      Bookmarked: 401   Downloaded: 7,128
WPF: Version II of my 100% Reflective class diagram creation tool.
Controls
Posted: 1 Mar 2007   Updated: 1 Mar 2007   Views: 143,531   Rating: 4.73/5    Votes: 39   Popularity: 7.52
Licence: Not specified      Bookmarked: 96   Downloaded: 2,346
Creating and consuming a custom WPF control
Posted: 28 Aug 2007   Updated: 6 Sep 2007   Views: 228,794   Rating: 4.91/5    Votes: 49   Popularity: 8.29
Licence: Not specified      Bookmarked: 133   Downloaded: 6,281
WPF Interactive Image Cropping Control
Posted: 15 Apr 2008   Updated: 29 May 2008   Views: 99,782   Rating: 4.55/5    Votes: 48   Popularity: 7.66
Licence: The Code Project Open License (CPOL)      Bookmarked: 70   Downloaded: 736
An article on sorting ItemsControl (with some bonuses).
Posted: 12 May 2007   Updated: 24 Jun 2008   Views: 117,277   Rating: 4.86/5    Votes: 58   Popularity: 8.57
Licence: The Code Project Open License (CPOL)      Bookmarked: 131   Downloaded: 2,983
WPF Flickr Viewer Using XLINQ
Posted: 19 Jun 2008   Updated: 30 Jun 2008   Views: 173,159   Rating: 4.90/5    Votes: 61   Popularity: 8.75
Licence: The Code Project Open License (CPOL)      Bookmarked: 150   Downloaded: 7,164
WPF: A simple article on using WebBrowser to stream YouTube videos.
Posted: 1 Feb 2009   Updated: 1 Feb 2009   Views: 155,421   Rating: 4.89/5    Votes: 111   Popularity: 10.00
Licence: The Code Project Open License (CPOL)      Bookmarked: 181   Downloaded: 2,830
A WPF graph control with autoscaling and historical data support.
Posted: 3 Jul 2009   Updated: 3 Jul 2009   Views: 80,452   Rating: 4.97/5    Votes: 52   Popularity: 8.53
Licence: The Code Project Open License (CPOL)      Bookmarked: 95   Downloaded: 927
A better selection option for users.
Posted: 9 Oct 2008   Updated: 4 Nov 2009   Views: 133,090   Rating: 4.93/5    Votes: 78   Popularity: 9.32
Licence: The Code Project Open License (CPOL)      Bookmarked: 183   Downloaded: 3,227
A notes listbox that you could use in your own app.
Posted: 24 Dec 2009   Updated: 24 Dec 2009   Views: 86,785   Rating: 4.91/5    Votes: 74   Popularity: 9.17
Licence: The Code Project Open License (CPOL)      Bookmarked: 126   Downloaded: 2,566
WPF: A simple pageable 3D graph.
Posted: 16 Mar 2010   Updated: 16 Mar 2010   Views: 65,143   Rating: 4.97/5    Votes: 79   Popularity: 9.44
Licence: The Code Project Open License (CPOL)      Bookmarked: 100   Downloaded: 2,329
A re-usable breadcrumb control for WPF.
Posted: 14 Apr 2010   Updated: 14 Apr 2010   Views: 172,019   Rating: 4.97/5    Votes: 150   Popularity: 10.83
Licence: The Code Project Open License (CPOL)      Bookmarked: 245   Downloaded: 2,515
Simple WPF TimeLineControl That I Think May Be Useful
Posted: 29 Oct 2010   Updated: 1 Nov 2010   Views: 115,049   Rating: 4.95/5    Votes: 81   Popularity: 9.44
Licence: The Code Project Open License (CPOL)      Bookmarked: 97   Downloaded: 1,642
A control that partially emulates a popular phone.
Posted: 12 Feb 2011   Updated: 15 Feb 2011   Views: 70,179   Rating: 4.92/5    Votes: 50   Popularity: 8.35
Licence: The Code Project Open License (CPOL)      Bookmarked: 65   Downloaded: 1,030
A kind of 3d tree level control
Posted: 14 Apr 2011   Updated: 18 Apr 2011   Views: 116,099   Rating: 4.95/5    Votes: 75   Popularity: 9.28
Licence: The Code Project Open License (CPOL)      Bookmarked: 124   Downloaded: 8,008
Highly customisable WPF Carousel control.
Posted: 11 Nov 2010   Updated: 9 Mar 2012   Views: 102,461   Rating: 4.87/5    Votes: 45   Popularity: 8.04
Licence: The Code Project Open License (CPOL)      Bookmarked: 58   Downloaded: 1,914
Show hows to alter the DatePicker to use keyboard up/down keys for cleverer date selection.
Posted: 2 Feb 2009   Updated: 17 Apr 2012   Views: 126,209   Rating: 4.88/5    Votes: 66   Popularity: 8.86
Licence: The Code Project Open License (CPOL)      Bookmarked: 125   Downloaded: 3,651
A simple Color Picker with preview.
Posted: 20 Apr 2012   Updated: 20 Oct 2013   Views: 95,487   Rating: 5.00/5    Votes: 50   Popularity: 8.49
Licence: The Code Project Open License (CPOL)      Bookmarked: 126   Downloaded: 11,223
A simple Metro style Panorama control for WPF.
Posted: 27 Nov 2009   Updated: 22 Jul 2014   Views: 39,917   Rating: 4.98/5    Votes: 33   Popularity: 7.55
Licence: The Code Project Open License (CPOL)      Bookmarked: 65   Downloaded: 1,542
Nice little rating control for WPF
Data Binding
Posted: 20 Feb 2008   Updated: 22 May 2008   Views: 294,620   Rating: 4.97/5    Votes: 155   Popularity: 10.89
Licence: The Code Project Open License (CPOL)      Bookmarked: 350   Downloaded: 3,431
An introduction into WPF Databinding.
Posted: 20 Jul 2008   Updated: 20 Jul 2008   Views: 84,876   Rating: 4.90/5    Votes: 39   Popularity: 7.80
Licence: The Code Project Open License (CPOL)      Bookmarked: 76   Downloaded: 771
An article on how to simplify the WPF validation process.
Posted: 6 Dec 2008   Updated: 6 Dec 2008   Views: 64,032   Rating: 4.93/5    Votes: 23   Popularity: 6.71
Licence: The Code Project Open License (CPOL)      Bookmarked: 49   Downloaded: 389
An article which shows how to bind to generic methods
General
Posted: 15 Dec 2006   Updated: 22 Mar 2007   Views: 350,726   Rating: 4.65/5    Votes: 72   Popularity: 8.64
Licence: The Code Project Open License (CPOL)      Bookmarked: 230   Downloaded: 10,000
An article which shows how to achieve some of the common XAML concepts.
Posted: 7 Jun 2007   Updated: 7 Jun 2007   Views: 129,241   Rating: 4.91/5    Votes: 48   Popularity: 8.28
Licence: Not specified      Bookmarked: 90   Downloaded: 3,887
Adventures into Ink API using WPF
Posted: 8 Nov 2007   Updated: 8 Nov 2007   Views: 214,515   Rating: 4.64/5    Votes: 82   Popularity: 8.88
Licence: Not specified      Bookmarked: 139   Downloaded: 8,045
A Simple WPF Explorer Tree
Posted: 30 Jan 2008   Updated: 11 Mar 2008   Views: 257,275   Rating: 4.89/5    Votes: 114   Popularity: 10.05
Licence: The Code Project Open License (CPOL)      Bookmarked: 277   Downloaded: 4,819
An introduction into RoutedEvents / RoutedCommands.
Posted: 10 Feb 2008   Updated: 11 Mar 2008   Views: 174,935   Rating: 4.94/5    Votes: 137   Popularity: 10.55
Licence: The Code Project Open License (CPOL)      Bookmarked: 260   Downloaded: 2,783
An introduction into WPF Dependancy Properties.
Posted: 10 Jun 2008   Updated: 30 Jun 2008   Views: 146,787   Rating: 4.92/5    Votes: 108   Popularity: 10.01
Licence: The Code Project Open License (CPOL)      Bookmarked: 180   Downloaded: 1,467
WPF: An article on using 3D visualization of an RSS feed.
Posted: 30 Nov 2008   Updated: 30 Nov 2008   Views: 147,604   Rating: 4.93/5    Votes: 85   Popularity: 9.53
Licence: The Code Project Open License (CPOL)      Bookmarked: 228   Downloaded: 3,798
Demonstrates a method of dynamic query across WCF Service boundaries.
Posted: 23 Jan 2009   Updated: 23 Jan 2009   Views: 91,334   Rating: 4.93/5    Votes: 60   Popularity: 8.75
Licence: The Code Project Open License (CPOL)      Bookmarked: 144   Downloaded: 894
Cross business object validation: a more centric view.
Posted: 17 Jul 2009   Updated: 17 Jul 2009   Views: 23,789   Rating: 4.87/5    Votes: 14   Popularity: 5.57
Licence: The Code Project Open License (CPOL)      Bookmarked: 24   Downloaded: 397
Using IronPython in WPF to evaluate expressions
Posted: 23 Sep 2007   Updated: 7 Nov 2009   Views: 180,885   Rating: 4.61/5    Votes: 100   Popularity: 9.21
Licence: The Code Project Open License (CPOL)      Bookmarked: 147   Downloaded: 1,891
Comparing Flash and WPF.
Posted: 22 Nov 2009   Updated: 23 Nov 2009   Views: 114,610   Rating: 5.00/5    Votes: 88   Popularity: 9.72
Licence: The Code Project Open License (CPOL)      Bookmarked: 183   Downloaded: 10,388
Using Windows7 / VS2010 and some of the new bits such as TaskBar/JumpList and Drag & Drop
Posted: 11 Jul 2009   Updated: 23 Dec 2009   Views: 169,782   Rating: 4.74/5    Votes: 81   Popularity: 9.04
Licence: The Code Project Open License (CPOL)      Bookmarked: 258   Downloaded: 0
It would probably be like Cinch a MVVM framework for WPF
Posted: 30 Dec 2009   Updated: 30 Dec 2009   Views: 56,426   Rating: 4.97/5    Votes: 51   Popularity: 8.48
Licence: The Code Project Open License (CPOL)      Bookmarked: 142   Downloaded: 798
A threading component that shows failures/busy status and data.
Posted: 23 Mar 2010   Updated: 23 Mar 2010   Views: 51,321   Rating: 4.94/5    Votes: 33   Popularity: 7.49
Licence: The Code Project Open License (CPOL)      Bookmarked: 72   Downloaded: 775
Simple article showing how you to embed PicLens in your own apps
Posted: 31 Mar 2010   Updated: 31 Mar 2010   Views: 203,937   Rating: 5.00/5    Votes: 109   Popularity: 10.19
Licence: The Code Project Open License (CPOL)      Bookmarked: 137   Downloaded: 1,242
This is true code, what you say
Posted: 21 Apr 2010   Updated: 22 Apr 2010   Views: 70,691   Rating: 4.88/5    Votes: 26   Popularity: 6.90
Licence: The Code Project Open License (CPOL)      Bookmarked: 79   Downloaded: 1,135
Showcasing how to use PRISM's regions outside of PRISM.
Posted: 19 Sep 2008   Updated: 27 Apr 2010   Views: 166,237   Rating: 4.97/5    Votes: 62   Popularity: 8.91
Licence: The Code Project Open License (CPOL)      Bookmarked: 127   Downloaded: 2,721
Binding and using Friendly enums in WPF
Posted: 19 Jul 2009   Updated: 7 May 2010   Views: 323,892   Rating: 4.96/5    Votes: 114   Popularity: 10.19
Licence: The Code Project Open License (CPOL)      Bookmarked: 153   Downloaded: 0
It would probably be like Cinch, an MVVM framework for WPF.
Posted: 7 Aug 2009   Updated: 7 May 2010   Views: 72,665   Rating: 4.93/5    Votes: 55   Popularity: 8.59
Licence: The Code Project Open License (CPOL)      Bookmarked: 68   Downloaded: 0
It would probably be like Cinch, an MVVM framework for WPF.
Posted: 14 Jan 2011   Updated: 14 Jan 2011   Views: 94,854   Rating: 4.98/5    Votes: 46   Popularity: 8.27
Licence: The Code Project Open License (CPOL)      Bookmarked: 99   Downloaded: 615
A look at Fluent APIs and an example of one.
Posted: 26 Oct 2012   Updated: 24 Jan 2013   Views: 80,903   Rating: 4.98/5    Votes: 76   Popularity: 9.36
Licence: The Code Project Open License (CPOL)      Bookmarked: 223   Downloaded: 0
A WPF diagram designer written with MVVM in mind
Posted: 20 Aug 2013   Updated: 20 Aug 2013   Views: 15,128   Rating: 5.00/5    Votes: 10   Popularity: 5.00
Licence: The Code Project Open License (CPOL)      Bookmarked: 19   Downloaded: 321
Shows how to use PRISM navigation API in VM 1st with child container support
Layout
Posted: 17 Jan 2008   Updated: 13 Feb 2008   Views: 1,094,017   Rating: 4.88/5    Votes: 743   Popularity: 14.02
Licence: The Code Project Open License (CPOL)      Bookmarked: 1084   Downloaded: 11,255
An introduction into the WPF layout system.
Posted: 20 Sep 2008   Updated: 20 Sep 2008   Views: 136,337   Rating: 4.88/5    Votes: 66   Popularity: 8.88
Licence: The Code Project Open License (CPOL)      Bookmarked: 182   Downloaded: 3,228
A Spider type control tree thingy for WPF.
Libraries
Posted: 15 Apr 2009   Updated: 21 May 2009   Views: 87,019   Rating: 4.91/5    Votes: 65   Popularity: 8.91
Licence: The Code Project Open License (CPOL)      Bookmarked: 91   Downloaded: 2,474
WPF: A demo of using the Onyx WPF framework.
Posted: 12 Aug 2009   Updated: 4 Sep 2009   Views: 93,405   Rating: 5.00/5    Votes: 46   Popularity: 8.31
Licence: The Code Project Open License (CPOL)      Bookmarked: 61   Downloaded: 0
It would probably be like Cinch, an MVVM framework for WPF.
Posted: 18 Sep 2009   Updated: 5 Dec 2009   Views: 94,870   Rating: 4.98/5    Votes: 94   Popularity: 9.82
Licence: The Code Project Open License (CPOL)      Bookmarked: 127   Downloaded: 0
A code generator for my Cinch MVVM Framework.
Posted: 1 Aug 2009   Updated: 23 Dec 2009   Views: 79,441   Rating: 4.96/5    Votes: 64   Popularity: 8.95
Licence: The Code Project Open License (CPOL)      Bookmarked: 74   Downloaded: 0
It would probably be like Cinch, an MVVM framework for WPF.
Posted: 13 Jun 2010   Updated: 17 Jun 2010   Views: 147,990   Rating: 4.93/5    Votes: 72   Popularity: 9.15
Licence: The Code Project Open License (CPOL)      Bookmarked: 129   Downloaded: 0
If Jack Daniels made MVVM Frameworks.
Posted: 25 Jul 2009   Updated: 7 Aug 2010   Views: 141,372   Rating: 5.00/5    Votes: 76   Popularity: 9.40
Licence: The Code Project Open License (CPOL)      Bookmarked: 92   Downloaded: 0
It would probably be like Cinch, an MVVM framework for WPF.
Posted: 17 Jun 2010   Updated: 1 Jan 2011   Views: 66,910   Rating: 4.93/5    Votes: 41   Popularity: 7.95
Licence: The Code Project Open License (CPOL)      Bookmarked: 27   Downloaded: 0
If Jack Daniels made MVVM frameworks.
Posted: 22 Jul 2010   Updated: 1 Jan 2011   Views: 90,048   Rating: 4.95/5    Votes: 39   Popularity: 7.88
Licence: The Code Project Open License (CPOL)      Bookmarked: 32   Downloaded: 0
If Jack Daniels made MVVM frameworks.
Posted: 3 Aug 2010   Updated: 1 Jan 2011   Views: 38,330   Rating: 4.86/5    Votes: 22   Popularity: 6.56
Licence: The Code Project Open License (CPOL)      Bookmarked: 16   Downloaded: 0
If Jack Daniels made MVVM frameworks.
Posted: 7 Aug 2010   Updated: 1 Jan 2011   Views: 182,939   Rating: 4.88/5    Votes: 49   Popularity: 8.24
Licence: The Code Project Open License (CPOL)      Bookmarked: 34   Downloaded: 0
If Jack Daniels made MVVM Frameworks.
Posted: 27 Jul 2010   Updated: 17 Mar 2011   Views: 62,672   Rating: 4.75/5    Votes: 32   Popularity: 7.34
Licence: The Code Project Open License (CPOL)      Bookmarked: 32   Downloaded: 0
If Jack Daniels made MVVM Frameworks
Posted: 11 Jan 2011   Updated: 14 Mar 2012   Views: 104,314   Rating: 4.98/5    Votes: 38   Popularity: 7.87
Licence: The Code Project Open License (CPOL)      Bookmarked: 66   Downloaded: 3,072
Shows you how to use CinchV2 with Prism 4 with ease.
Styles
Posted: 26 Sep 2008   Updated: 26 Sep 2008   Views: 132,606   Rating: 4.78/5    Votes: 46   Popularity: 7.95
Licence: The Code Project Open License (CPOL)      Bookmarked: 67   Downloaded: 878
How to create Styles in code/and magical Content.
Templates
Posted: 10 Dec 2007   Updated: 26 Feb 2008   Views: 87,351   Rating: 4.65/5    Votes: 38   Popularity: 7.32
Licence: The Code Project Open License (CPOL)      Bookmarked: 94   Downloaded: 456
A few tips on how to write well behaved WPF controls.
Posted: 11 Mar 2008   Updated: 5 Apr 2008   Views: 215,646   Rating: 4.96/5    Votes: 89   Popularity: 9.66
Licence: The Code Project Open License (CPOL)      Bookmarked: 247   Downloaded: 3,883
An introduction into WPF Styles and Templates.
Utilities
Posted: 13 Sep 2007   Updated: 13 Sep 2007   Views: 234,985   Rating: 4.86/5    Votes: 45   Popularity: 8.03
Licence: The Code Project Open License (CPOL)      Bookmarked: 131   Downloaded: 13,341
A simple WPF media player with media item list.
XAML
Posted: 19 Jan 2008   Updated: 11 Mar 2008   Views: 303,489   Rating: 4.82/5    Votes: 152   Popularity: 10.52
Licence: The Code Project Open License (CPOL)      Bookmarked: 314   Downloaded: 3,148
An introduction into XAML / code and WPF resources.
Posted: 27 Mar 2008   Updated: 27 Mar 2008   Views: 155,280   Rating: 4.91/5    Votes: 44   Popularity: 8.06
Licence: The Code Project Open License (CPOL)      Bookmarked: 124   Downloaded: 4,937
Excursions and deviations into the dark recesses of my mind.
Windows Runtime
General
Posted: 30 Oct 2013   Updated: 4 Nov 2013   Views: 16,661   Rating: 5.00/5    Votes: 19   Popularity: 6.39
Licence: The Code Project Open License (CPOL)      Bookmarked: 27   Downloaded: 0
A look at an excellent WinRT MVVM framework.
Posted: 4 Nov 2013   Updated: 5 Nov 2013   Views: 12,595   Rating: 5.00/5    Votes: 16   Popularity: 6.02
Licence: The Code Project Open License (CPOL)      Bookmarked: 12   Downloaded: 0
StyleMVVM Demo App
Algorithms & Recipes
Evolutional
Posted: 8 Nov 2006   Updated: 8 Nov 2006   Views: 143,930   Rating: 4.72/5    Votes: 51   Popularity: 8.06
Licence: Not specified      Bookmarked: 114   Downloaded: 1,828
A simple Genetic Algorithm (GA) to solve a card problem.
Posted: 29 Jan 2007   Updated: 29 Jan 2007   Views: 94,321   Rating: 4.77/5    Votes: 32   Popularity: 7.18
Licence: The Code Project Open License (CPOL)      Bookmarked: 50   Downloaded: 416
An implementation of Dawkins Biomorphs and some more crazy evolving creatures.
General
Posted: 3 Nov 2006   Updated: 3 Nov 2006   Views: 91,607   Rating: 4.35/5    Votes: 21   Popularity: 5.75
Licence: Not specified      Bookmarked: 50   Downloaded: 1,307
An AI search to solve the Missionaries and Cannibals problem.
Neural Networks
Posted: 24 Nov 2006   Updated: 29 Jan 2007   Views: 159,590   Rating: 4.87/5    Votes: 103   Popularity: 9.79
Licence: Not specified      Bookmarked: 232   Downloaded: 4,316
AI : An Introduction into Neural Networks (Multi-layer networks / Back Propagation)
Posted: 11 Dec 2006   Updated: 29 Jan 2007   Views: 169,219   Rating: 4.90/5    Votes: 87   Popularity: 9.49
Licence: The Code Project Open License (CPOL)      Bookmarked: 234   Downloaded: 3,305
AI: An introduction into neural networks (multi-layer networks / trained by Microbial GA).
Posted: 17 Nov 2006   Updated: 16 May 2007   Views: 507,884   Rating: 4.92/5    Votes: 211   Popularity: 11.43
Licence: Not specified      Bookmarked: 439   Downloaded: 1
AI : An introduction into Neural Networks
Parsers and Interpreters
Posted: 11 Jan 2009   Updated: 11 Jan 2009   Views: 44,214   Rating: 4.95/5    Votes: 23   Popularity: 6.74
Licence: The Code Project Open License (CPOL)      Bookmarked: 40   Downloaded: 237
A look at the Visitor pattern, and a Reflective version.
Internet / Network
Network
Posted: 26 Oct 2006   Updated: 26 Oct 2006   Views: 300,952   Rating: 4.88/5    Votes: 68   Popularity: 8.95
Licence: Not specified      Bookmarked: 158   Downloaded: 10,739
An article which describes how to obtain a list of network computer names using C# and the NetServerEnum function from the Netapi32.dll.
Parallel Programming
General
Posted: 15 Aug 2009   Updated: 15 Aug 2009   Views: 48,322   Rating: 4.46/5    Votes: 18   Popularity: 5.60
Licence: The Code Project Open License (CPOL)      Bookmarked: 41   Downloaded: 313
Using the VS2010 Tasks namespace.
Threads, Processes & IPC
General
Posted: 17 Mar 2011   Updated: 10 May 2011   Views: 51,405   Rating: 4.94/5    Votes: 48   Popularity: 8.30
Licence: The Code Project Open License (CPOL)      Bookmarked: 107   Downloaded: 1,033
A look into using the Task Parallel Library.
Multi-threading
Posted: 17 May 2008   Updated: 9 Aug 2008   Views: 524,694   Rating: 4.86/5    Votes: 480   Popularity: 13.02
Licence: The Code Project Open License (CPOL)      Bookmarked: 953   Downloaded: 3,196
A beginners guide to threading in .NET.
Posted: 10 Aug 2008   Updated: 10 Aug 2008   Views: 148,641   Rating: 4.88/5    Votes: 116   Popularity: 10.07
Licence: The Code Project Open License (CPOL)      Bookmarked: 288   Downloaded: 2,377
This article will be all about how to thread different types of UIs.
Posted: 5 Jun 2008   Updated: 10 Aug 2008   Views: 246,513   Rating: 4.91/5    Votes: 252   Popularity: 11.78
Licence: The Code Project Open License (CPOL)      Bookmarked: 419   Downloaded: 1,870
A beginner's guide to threading in .NET.
Posted: 29 Jun 2008   Updated: 10 Aug 2008   Views: 164,279   Rating: 4.88/5    Votes: 243   Popularity: 11.66
Licence: The Code Project Open License (CPOL)      Bookmarked: 341   Downloaded: 1,781
This article is all about how to control the synchronization of different threads.
Posted: 19 Jul 2008   Updated: 10 Aug 2008   Views: 100,732   Rating: 4.82/5    Votes: 126   Popularity: 10.12
Licence: The Code Project Open License (CPOL)      Bookmarked: 247   Downloaded: 1,451
This article will be all about how to control the synchronization of different threads.
Ultrabooks
General
Posted: 10 Oct 2012   Updated: 10 Oct 2012   Views: 11,172   Rating: 4.91/5    Votes: 4   Popularity: 2.95
Licence: The Code Project Open License (CPOL)      Bookmarked: 12   Downloaded: 0
An article which will use Win8 sensors from the desktop and will show XNA and Javascript interop from WPF
Windows 8 Design
General
Posted: 29 Jan 2013   Updated: 29 Jan 2013   Views: 19,485   Rating: 4.94/5    Votes: 10   Popularity: 4.89
Licence: The Code Project Open License (CPOL)      Bookmarked: 22   Downloaded: 248
Simple Windows 8 app that tries to have some fun with sensors
Code Generation
General
Posted: 26 Jan 2008   Updated: 27 Jan 2008   Views: 45,921   Rating: 4.70/5    Votes: 35   Popularity: 7.25
Licence: The Code Project Open License (CPOL)      Bookmarked: 107   Downloaded: 4,840
How to use CodeDOM and CompilerServices to dynamically create assemblies/apps.
Interviews
General
Posted: 26 Aug 2011   Updated: 26 Aug 2011   Views: 41,631   Rating: 4.95/5    Votes: 62   Popularity: 8.86
Licence: The Code Project Open License (CPOL)      Bookmarked: 33   Downloaded: 0
Welcome to our continuing series of Code Project interviews in which we talk to developers about their backgrounds, projects, interests and pet peeves. In this installment we track down Code Project member Sacha Barber.
Posted: 23 Aug 2013   Updated: 23 Aug 2013   Views: 8,423   Rating: 5.00/5    Votes: 5   Popularity: 3.49
Licence: The Code Project Open License (CPOL)      Bookmarked: 6   Downloaded: 0
In honour of the 10 million member milestone, CodeProject members Sacha Barber and Daniel Vaughan reflect back on their time as part of the developer community.

Average blogs rating: 4.61

Combo & List Boxes
Extending the List Control
Posted: 3 Mar 2014   Updated: 3 Mar 2014   Views: 5,133   Rating: 5.00/5    Votes: 2   Popularity: 1.51
Licence: The Code Project Open License (CPOL)      Bookmarked: 4   Downloaded: 0
At work I was stuck with a small problem when working with the XmlSerializer which I have not been using that much of late. Anyway I started out with something like this small demo program below Where I would get this Xml when I serialized the Order object I had in play. And I would […]
Document / View
Doc/View Internals
Posted: 17 Jun 2009   Updated: 17 Jun 2009   Views: 125,682   Rating: 4.92/5    Votes: 11   Popularity: 5.13
Licence: The Code Project Open License (CPOL)      Bookmarked: 30   Downloaded: 2,381
A while back I was looking at the Infragistics WPf showcase,Tangerine and I was quite jealous about the scrollbars that they managed to use. I mean styling a Button is one thing, but the ScrollBar is made of lost of nasty different control parts, (Part_XXX elements). Incidently I wrote an article ab
Posted: 17 Jun 2009   Updated: 17 Jun 2009   Views: 85,051   Rating: 4.75/5    Votes: 13   Popularity: 5.27
Licence: The Code Project Open License (CPOL)      Bookmarked: 40   Downloaded: 0
As part of an article that I am creating for www.codeproject.com I decided to look into using the System.Windows.Documents namespace and have a look at seeing if I could make a semi-cool’ish looking document.Now when you use FlowDocuments, there are several container WPF container controls wh
Posted: 17 Jun 2009   Updated: 17 Jun 2009   Views: 20,579   Rating: 3.50/5    Votes: 4   Popularity: 2.05
Licence: The Code Project Open License (CPOL)      Bookmarked: 11   Downloaded: 380
A little while ago I wrote an article for www.codeproject.com about using 3D meshes in WPF that were hosting 2d controls, such as Grids, Lists, and User controls. The article which can be found right here if you are interested.The problem with the way that I did things in that article was that I us
Files and Folders
Configuration Files
Posted: 24 Apr 2014   Updated: 22 May 2014   Views: 6,227   Rating: 0.0 / 5    Votes: 0   Popularity: 0.0
Licence: The Code Project Open License (CPOL)      Bookmarked: 1   Downloaded: 0
Now that we have some of the basic types and pattern matching under our belts, I thought it high time that we learnt a bit about how to organize our own code. Throughout some of the posts we have already been through I have been referring to modules such as the “List module”. In this […]
Grid & Data Controls
General
Posted: 4 Mar 2014   Updated: 4 Mar 2014   Views: 4,688   Rating: 0.0 / 5    Votes: 0   Popularity: 0.0
Licence: The Code Project Open License (CPOL)      Bookmarked: 1   Downloaded: 0
WinRT : How to communicate with WebView Javascript from C# and vice versa
Progress Controls
General
Posted: 9 Apr 2009   Updated: 22 Jun 2009   Views: 104,090   Rating: 4.13/5    Votes: 16   Popularity: 4.92
Licence: The Code Project Open License (CPOL)      Bookmarked: 54   Downloaded: 0
Ever wanted a slightly different progress bar from the standard WPF Progress bar which looks like the following (IsIndeterminate is like the WinForms Marquee enum value) :  1: <ProgressBar VerticalAlignment="Top" 2: Height="22" IsIndeterminate="True"/&
Posted: 4 Jan 2010   Updated: 4 Jan 2010   Views: 56,845   Rating: 4.81/5    Votes: 12   Popularity: 5.19
Licence: The Code Project Open License (CPOL)      Bookmarked: 32   Downloaded: 1
A while back I posted a blog post about a simple Circular Progress Bar that I did for WPF. The original post is right here : http://sachabarber.net/?p=429It turns out that was not the best thing to do, as the old approach used a never ending animation, that was even running when the controls Visibil
Shell and IE programming
IE / Explorer plug-ins
Posted: 9 Apr 2009   Updated: 9 Apr 2009   Views: 25,924   Rating: 5.00/5    Votes: 3   Popularity: 2.39
Licence: The Code Project Open License (CPOL)      Bookmarked: 9   Downloaded: 0
I was working on something for an upcoming article that I am writing where I am messing around with 3D, and I was having a small issue with a VisualBrush (something to do with Freezable, I never did quite figure it out and came up with a better solution), but along the way of trying [...]
Static & Panel Controls
Custom Controls
Posted: 29 Dec 2009   Updated: 29 Dec 2009   Views: 32,272   Rating: 4.50/5    Votes: 8   Popularity: 4.21
Licence: The Code Project Open License (CPOL)      Bookmarked: 14   Downloaded: 0
A while ago I wrote about how to create a scrollable design surface in WPF, and how you could also add friction into the mix.My original post was called “Creating A Scrollable Control Surface In WPF” which can be found at  the following url:http://sachabarber.net/?p=225This original blog post p
ASP.NET
General
Posted: 3 Mar 2014   Updated: 3 Mar 2014   Views: 3,850   Rating: 5.00/5    Votes: 1   Popularity: 0.00
Licence: The Code Project Open License (CPOL)      Bookmarked: 2   Downloaded: 0
One of the new things that seems to have past me by when working with ASP MVC / Web API is Attribute Routing. This is not intended to be a big blog post, but will show you one reason why Attribute Routing is useful.   Imagine we have this Web API controller, which are both [&#8230;]
Custom Controls
General
Posted: 17 Jun 2009   Updated: 17 Jun 2009   Views: 19,087   Rating: 4.00/5    Votes: 2   Popularity: 1.20
Licence: The Code Project Open License (CPOL)      Bookmarked: 12   Downloaded: 80
A little while ago I mentioned about how important I thought it was to create a brand, and I showed you that you can create some interesting looking controls by Templating/Styling the standard System.Windows controls to create a brand.I also showed you a ScrollViewer and a Tab control which I had a
Posted: 17 Jun 2009   Updated: 17 Jun 2009   Views: 30,084   Rating: 4.79/5    Votes: 9   Popularity: 4.52
Licence: The Code Project Open License (CPOL)      Bookmarked: 29   Downloaded: 537
WPF has a number of layout Panels that you could use straight out the box, there isWrapPanelStackPanelGridCanvasDockPanelAll of which are great, but occasionally you want something a little bit special. Whilst its probably true that you make most creations using a combination of the existing
Posted: 17 Jun 2009   Updated: 17 Jun 2009   Views: 22,328   Rating: 0.0 / 5    Votes: 0   Popularity: 0.0
Licence: The Code Project Open License (CPOL)      Bookmarked: 11   Downloaded: 0
Microsoft have done a great job with LINQ IMHO. However there are times when it might be handy to create your own LINQ extension methods. LINQ extension methods can be applied to any type provided that the source is of type IEnumerable, so thats really the only requirement.So how do we w
Node.js
General
Posted: 4 Mar 2014   Updated: 4 Mar 2014   Views: 6,034   Rating: 4.82/5    Votes: 3   Popularity: 2.29
Licence: The Code Project Open License (CPOL)      Bookmarked: 6   Downloaded: 0
I was At work the other day and my boss was pushing (nicely) my team lead and I to create a XMAS present for him. What we basically wanted was to capture certain information about certain event that were occurring in the system in real time and have them sent to a web site. I [&#8230;]
Web Security
General
Posted: 3 Mar 2014   Updated: 3 Mar 2014   Views: 4,805   Rating: 0.0 / 5    Votes: 0   Popularity: 0.0
Licence: The Code Project Open License (CPOL)      Bookmarked: 1   Downloaded: 0
At work I do a mixture of ASP MVC /  WCF and WPF. We have pretty much embraced MVxx frameworks for JavaScript such as Knockout.js and Angular.js, but we recently had to do some truly responsive design web work, which needed to target loads of different form factors. We have good software guys where
Azure
General
Posted: 2 Jul 2014   Updated: 2 Jul 2014   Views: 3,085   Rating: 5.00/5    Votes: 1   Popularity: 0.00
Licence: The Code Project Open License (CPOL)      Bookmarked: 3   Downloaded: 0
As Part of a bigger project I am doing right now, I wanted to be able to store data from a HTML Canvas as a byte[] and save it in Azure blog storage. I thought that this by iteself may make an interesting post. I have not posted up any code this time, but all [&#8230;]
C#
Attributes
Posted: 9 Apr 2009   Updated: 9 Apr 2009   Views: 27,841   Rating: 5.00/5    Votes: 3   Popularity: 2.00
Licence: The Code Project Open License (CPOL)      Bookmarked: 14   Downloaded: 0
A while back (can&#8217;t remember exactly when) I started saying I was going to write a bit about RESTFul WCF, you can see my 1st post at http://sachabarber.net/?p=460. In that post I mentioned that I would probably do the following:The schedule of posts is probably going to be something like this
COM Interop
Posted: 9 Apr 2009   Updated: 9 Apr 2009   Views: 32,564   Rating: 4.93/5    Votes: 11   Popularity: 5.13
Licence: The Code Project Open License (CPOL)      Bookmarked: 26   Downloaded: 0
About 1 year ago a good friend of mine Marlon Grech wrote a lovely article on MVC + M. You can read all about Marlons great article over at http://marlongrech.wordpress.com/2008/03/20/more-than-just-mvc-for-wpf/ Essentially what Marlon did was create a message system to allow disparate MVC c
Posted: 9 Apr 2009   Updated: 9 Apr 2009   Views: 16,964   Rating: 5.00/5    Votes: 1   Popularity: 0.00
Licence: The Code Project Open License (CPOL)      Bookmarked: 15   Downloaded: 0
Lately I have been neglecting my  coding duties a bit in order to go out and get drunk actually. Which I have become a bit tired of now, so I am back onto the code, which is a good place.Now I am in the process of creating another article, and though I can not reveal [...]
General
Posted: 9 Apr 2009   Updated: 9 Apr 2009   Views: 7,314   Rating: 0.0 / 5    Votes: 0   Popularity: 0.0
Licence: The Code Project Open License (CPOL)      Bookmarked: 5   Downloaded: 0
The .NET 3.5 SP1 is full of tricks, just today I found a new property called AlternationCount which is available on all the ItemControl controls such as ItemControl, ListBox etc etc.This simply property can be used to provide some sort of alternative look based on the current value of the Alternati
Posted: 9 Apr 2009   Updated: 9 Apr 2009   Views: 6,835   Rating: 0.0 / 5    Votes: 0   Popularity: 0.0
Licence: The Code Project Open License (CPOL)      Bookmarked: 4   Downloaded: 0
At work we all try and do our best to be productive. And as software developers we all probably have to author classes, that follow a familiar pattern. So if like me you are looking to work smart, you will undoubtedly look into code that writes code.This is good in my opinion, code generation can [
Posted: 9 Apr 2009   Updated: 9 Apr 2009   Views: 13,607   Rating: 5.00/5    Votes: 1   Popularity: 0.00
Licence: The Code Project Open License (CPOL)      Bookmarked: 14   Downloaded: 0
At work at the moment I am working on a way way cool customisable search that basically allows user to pick source entities and related entities and then pick what fields they would like to show, this is similar to Microsoft&#8217;s CRM Dynamics product, which allows very very sophisticated searches
Posted: 9 Apr 2009   Updated: 9 Apr 2009   Views: 12,515   Rating: 5.00/5    Votes: 1   Popularity: 0.00
Licence: The Code Project Open License (CPOL)      Bookmarked: 7   Downloaded: 0
A while back I published a post about creating a friction enabled scrolling canvas in WPF (the old post can be found at http://sachabarber.net/?p=225), which I thought was way cool. It turns out that I was not the only one that thought this, and one of my WPF Buddies and fellow WPF Disciples Jeremia
Posted: 20 Apr 2009   Updated: 20 Apr 2009   Views: 30,633   Rating: 5.00/5    Votes: 7   Popularity: 4.23
Licence: The Code Project Open License (CPOL)      Bookmarked: 31   Downloaded: 0
As part of the new Blend3 release, there is a new Dll called "Microsoft.Expression.Interactivity.dll". This Dll is a pretty cool thing, as it formalises a pattern that many WPF developers have probably already used, in their own manner. It basically formalises the "Attached Behaviour&#3
Posted: 12 Aug 2014   Updated: 12 Aug 2014   Views: 3,265   Rating: 0.0 / 5    Votes: 0   Popularity: 0.0
Licence: The Code Project Open License (CPOL)      Bookmarked: 3   Downloaded: 0
It has been quite a while since I wrote my last article, I have been busy writing a long series of blob posts on &#8220;F# For Beginners&#8220;, and doing a lot of reading (which I hope to have more blog posts/articles about very soon). Anyway we digress, so what is this article about. Well it [&#82
C++ / CLI
C++/CLI
Posted: 17 Jun 2009   Updated: 17 Jun 2009   Views: 38,943   Rating: 4.67/5    Votes: 5   Popularity: 3.22
Licence: The Code Project Open License (CPOL)      Bookmarked: 17   Downloaded: 0
At work we are currently using a very very Agile process, which involves 1/4 hourly builds, which was all going brilliantly with a WPF solution and some Mocks and some NUnit test projects. Then we got to the point where we had to start building our WCF service and have the WPF project obtain a [...]
Other .NET Languages
F#
Posted: 3 Mar 2014   Updated: 3 Mar 2014   Views: 4,673   Rating: 5.00/5    Votes: 2   Popularity: 1.51
Licence: The Code Project Open License (CPOL)      Bookmarked: 1   Downloaded: 0
In this post we will look at F# bindings, in particular we will look at Let / Use / Do. Now you may be asking yourself what a binding is, and since we have not really covered it yet, now would be a good time to talk about this. Quite simply a binding associates an [&#8230;]
Posted: 4 Mar 2014   Updated: 4 Mar 2014   Views: 5,044   Rating: 4.67/5    Votes: 2   Popularity: 1.40
Licence: The Code Project Open License (CPOL)      Bookmarked: 2   Downloaded: 0
Now I had intended to write a 1/2 decent blog post on F# operators, but then I had a think about this, and too be honest I could not actually see too much merit in simply reiterating what was already freely available on MSDN where it lists ALL of the F# operators.   You can [&#8230;]
Posted: 5 Mar 2014   Updated: 5 Mar 2014   Views: 4,420   Rating: 4.00/5    Votes: 1   Popularity: 0.00
Licence: The Code Project Open License (CPOL)      Bookmarked: 2   Downloaded: 0
So our journey into F# continues. The next coupe of posts will be about F# types that may or may not have standard .NET equivalents. This post will be talking about tuples.   What Are Tuples A tuple is a grouping of unnamed but ordered values, possibly of different types.   Creating Tuples Tuples ar
Posted: 3 Mar 2014   Updated: 10 Mar 2014   Views: 6,326   Rating: 4.80/5    Votes: 3   Popularity: 2.39
Licence: The Code Project Open License (CPOL)      Bookmarked: 2   Downloaded: 0
As most of you know I am a C# kind of guy.  So whenever I want to do a bit of mucking about where I just want to try something out I will typically just spin up an instance of LINQPad and try stuff out in there. If things grow too much and I need [&#8230;]
Posted: 3 Mar 2014   Updated: 10 Mar 2014   Views: 10,992   Rating: 4.92/5    Votes: 6   Popularity: 3.89
Licence: The Code Project Open License (CPOL)      Bookmarked: 9   Downloaded: 0
So this is the 1st post in my F# series. So what are we going to cover then? Well as many programmers well know, it is customary to start with a “Hello World” example. So we will be doing just that. So without further ado, what does it take to create a stand alone “Hello [&#8230;]
Posted: 11 Mar 2014   Updated: 12 Mar 2014   Views: 5,438   Rating: 5.00/5    Votes: 1   Popularity: 0.00
Licence: The Code Project Open License (CPOL)      Bookmarked: 3   Downloaded: 0
  OK so our F# journey continues. We have looked at some of the basic building block types such as Records/Tuples, it is now time to look at Discriminated Unions. Discriminated unions provide support for values that can be one of a number of possible values. The possible values are known as “union c
Posted: 13 Mar 2014   Updated: 13 Mar 2014   Views: 4,666   Rating: 5.00/5    Votes: 1   Popularity: 0.00
Licence: The Code Project Open License (CPOL)      Bookmarked: 4   Downloaded: 0
If C# there is a concept of null for reference types and Nullable class for value types (structs). For value type this can take one of the following 2 forms (for demo purposes I am using a int type here, but the type could be any value type) Nullable int?   These are both equivalent. [&#8230;]
Posted: 22 Mar 2014   Updated: 22 Mar 2014   Views: 4,469   Rating: 5.00/5    Votes: 2   Popularity: 1.51
Licence: The Code Project Open License (CPOL)      Bookmarked: 2   Downloaded: 0
Any serious programming you do in any language will always involve lists. As such you will be pleased to know that F# has very very good support for Lists, by way of its List module. A list in F# is an ordered, immutable series of elements of the same type.   Creating Lists In F# [&#8230;]
Posted: 26 Mar 2014   Updated: 26 Mar 2014   Views: 4,299   Rating: 0.0 / 5    Votes: 0   Popularity: 0.0
Licence: The Code Project Open License (CPOL)      Bookmarked: 2   Downloaded: 0
Last time we looked at the List module, and we now proceed to look at the sequence module. You will in fact see a lot of similarities with the sequence module compared to the list module. The main difference between F# lists and F# sequence is pretty much the same as it is in C#|VB [&#8230;]
Posted: 28 Mar 2014   Updated: 28 Mar 2014   Views: 4,291   Rating: 4.67/5    Votes: 2   Popularity: 1.51
Licence: The Code Project Open License (CPOL)      Bookmarked: 4   Downloaded: 0
No language would be complete without arrays (at least in my opinion). They are an excellent structure. F# is of course no fool, and includes them (as you would expect), so this blog will concentrate on looking at using arrays in F#   Creating Arrays There are several ways to create arrays, just as
Posted: 2 Apr 2014   Updated: 3 Apr 2014   Views: 4,628   Rating: 0.0 / 5    Votes: 0   Popularity: 0.0
Licence: The Code Project Open License (CPOL)      Bookmarked: 2   Downloaded: 0
So last time we looked at Arrays, this time we will look at another core F# technique called pattern matching. Patterns are rules for transforming input data. They are used throughout the F# language to compare data with a logical structure or structures, decompose data into constituent parts, or ex
Posted: 9 Apr 2014   Updated: 9 Apr 2014   Views: 4,477   Rating: 5.00/5    Votes: 1   Popularity: 0.00
Licence: The Code Project Open License (CPOL)      Bookmarked: 3   Downloaded: 0
Now that we have some of the basic types and pattern matching under our belts, I thought it high time that we learnt a bit about how to organize our own code. Throughout some of the posts we have already been through I have been referring to modules such as the “List module”. In this [&#8230;]
Posted: 15 Apr 2014   Updated: 16 Apr 2014   Views: 4,228   Rating: 0.0 / 5    Votes: 0   Popularity: 0.0
Licence: The Code Project Open License (CPOL)      Bookmarked: 2   Downloaded: 0
As previously stated F# allows different styles of programming that is you can use of or all of the following: Functional Imperative OO In F# you have choices and you are free to mix and match these styles to suit your needs. In this article we will look at flow control statements, which although qu
Posted: 23 Apr 2014   Updated: 23 Apr 2014   Views: 4,728   Rating: 0.0 / 5    Votes: 0   Popularity: 0.0
Licence: The Code Project Open License (CPOL)      Bookmarked: 3   Downloaded: 0
We now start the OO leg of our F# journey, where we will look at how to create classes (generic classes too) and use OO things like inheritance/interfaces, and we shall also look at how to use events within our classes, and how to use reflection to do meta programming against our classes instances.
Posted: 14 Apr 2014   Updated: 23 Apr 2014   Views: 6,635   Rating: 0.0 / 5    Votes: 0   Popularity: 0.0
Licence: The Code Project Open License (CPOL)      Bookmarked: 2   Downloaded: 0
So in the last bog, we wrapped up a part of this series, which was to do with the functional programming aspect of F#. We will now begin the “Imperative Programming” section. This will not be a huge section and will not involve that many posts, and hopefully will be more familiar to people that [&#8
Posted: 24 Apr 2014   Updated: 24 Apr 2014   Views: 3,212   Rating: 0.0 / 5    Votes: 0   Popularity: 0.0
Licence: The Code Project Open License (CPOL)      Bookmarked: 1   Downloaded: 0
We continue our journey into F#, and this time we will look at recursion. We have already seen this in a number of places, namely when we talked about Lists and also Pattern Matching. So some of this should be vaguely familiar to you.   Simple Example Lets start with the most basic example which [&#
Posted: 24 Apr 2014   Updated: 24 Apr 2014   Views: 4,275   Rating: 5.00/5    Votes: 1   Popularity: 0.00
Licence: The Code Project Open License (CPOL)      Bookmarked: 1   Downloaded: 0
We now start the OO leg of our F# journey, where we will look at how to create classes (generic classes too) and use OO things like inheritance/interfaces, and we shall also look at how to use events within our classes, and how to use reflection to do meta programming against our classes instances.
Posted: 24 Apr 2014   Updated: 29 Apr 2014   Views: 6,147   Rating: 0.0 / 5    Votes: 0   Popularity: 0.0
Licence: The Code Project Open License (CPOL)      Bookmarked: 2   Downloaded: 0
Any serious programming you do in any language will always involve lists. As such you will be pleased to know that F# has very very good support for Lists, by way of its List module. A list in F# is an ordered, immutable series of elements of the same type.   Creating Lists In F# [&#8230;]
Posted: 24 Apr 2014   Updated: 30 Apr 2014   Views: 5,560   Rating: 0.0 / 5    Votes: 0   Popularity: 0.0
Licence: The Code Project Open License (CPOL)      Bookmarked: 1   Downloaded: 0
Last time we looked at the List module, and we now proceed to look at the sequence module. You will in fact see a lot of similarities with the sequence module compared to the list module. The main difference between F# lists and F# sequence is pretty much the same as it is in C#|VB [&#8230;]
Posted: 24 Apr 2014   Updated: 1 May 2014   Views: 6,630   Rating: 0.0 / 5    Votes: 0   Popularity: 0.0
Licence: The Code Project Open License (CPOL)      Bookmarked: 1   Downloaded: 0
No language would be complete without arrays (at least in my opinion). They are an excellent structure. F# is of course no fool, and includes them (as you would expect), so this blog will concentrate on looking at using arrays in F#   Creating Arrays There are several ways to create arrays, just as
Posted: 24 Apr 2014   Updated: 1 May 2014   Views: 5,946   Rating: 0.0 / 5    Votes: 0   Popularity: 0.0
Licence: The Code Project Open License (CPOL)      Bookmarked: 1   Downloaded: 0
So last time we looked at Arrays, this time we will look at another core F# technique called pattern matching. Patterns are rules for transforming input data. They are used throughout the F# language to compare data with a logical structure or structures, decompose data into constituent parts, or ex
Posted: 1 May 2014   Updated: 2 May 2014   Views: 4,260   Rating: 0.0 / 5    Votes: 0   Popularity: 0.0
Licence: The Code Project Open License (CPOL)      Bookmarked: 1   Downloaded: 0
So we are about 1/2 way through the OO segment of our F# journey, we just have this article and one other to do. This one will focus on generics support in F#, we shall be covering the following topics Implicit Generics Explicit Generics Using Generics In Various Types Generic Constraints I should j
Posted: 6 May 2014   Updated: 7 May 2014   Views: 4,943   Rating: 3.80/5    Votes: 3   Popularity: 1.43
Licence: The Code Project Open License (CPOL)      Bookmarked: 2   Downloaded: 0
This time we will wrap up the OO leg of our F# journey, by looking into using reflection. Before we start, I just want to point out that some of the examples that I will use here are either modified versions of some examples, or are actual examples by the fabulous Chris Sells, from his [&#8230;]
Posted: 7 May 2014   Updated: 16 May 2014   Views: 5,741   Rating: 0.0 / 5    Votes: 0   Popularity: 0.0
Licence: The Code Project Open License (CPOL)      Bookmarked: 2   Downloaded: 0
Ok so we just wrapped up the final dedicated chunk of the main F# areas, where we looked at OO Programming in F#. These last couple of articles will be miscellaneous ones that I could no really find a home for. This one in particular will be on Active Patterns. Active pattern allow you to [&#8230;]
Posted: 17 May 2014   Updated: 20 May 2014   Views: 3,958   Rating: 0.0 / 5    Votes: 0   Popularity: 0.0
Licence: The Code Project Open License (CPOL)      Bookmarked: 0   Downloaded: 0
Last time we looked at the Async class, and examined some of its core functions. This time we will be looking at using some Task Parallel Library (TPL) classes, namely Task, and Task. We will also examine how the Async module can be used in conjunction with TPL.  TPL Primer I do not have enough [&#8
Posted: 3 Mar 2014   Updated: 21 May 2014   Views: 5,956   Rating: 5.00/5    Votes: 2   Popularity: 1.51
Licence: The Code Project Open License (CPOL)      Bookmarked: 2   Downloaded: 0
One of the things you will most likely need to do when you work with any language is format text, and surprise surprise F# is no different. Since F# is a .NET language we can always make use of Console.WriteLine(..) and String.Format(..) where we could use any of the regular formatters that you have
Posted: 10 Apr 2014   Updated: 22 May 2014   Views: 6,651   Rating: 5.00/5    Votes: 2   Popularity: 1.51
Licence: The Code Project Open License (CPOL)      Bookmarked: 2   Downloaded: 0
We are nearing the end of one of the main sections of this function series, but we have yet to look at one of the main elements you will see when using F#, which is signatures of functions. In order to understand function signatures we will be revisiting our own old friend the “FSI Window”. [&#8230;
Posted: 24 Apr 2014   Updated: 22 May 2014   Views: 6,266   Rating: 0.0 / 5    Votes: 0   Popularity: 0.0
Licence: The Code Project Open License (CPOL)      Bookmarked: 3   Downloaded: 0
We continue our OO journey, and this time we look at events within classes. Events are a good way for no related classes t communicate, you can think of events as a kind of publish-subscribe arrangement, where the source of the event (the class that contains the event) is the publisher, whilst a con
Posted: 10 May 2014   Updated: 22 May 2014   Views: 7,363   Rating: 5.00/5    Votes: 1   Popularity: 0.00
Licence: The Code Project Open License (CPOL)      Bookmarked: 3   Downloaded: 0
In this post we will look at using a reactive programming paradigm within F#. There may be some of you that have used the Reactive Extensions (Rx), I am in fact a massive fan boy of Rx, and really enjoy what it can bring to a project, in particular I think a UI project benefits [&#8230;]
Posted: 14 May 2014   Updated: 22 May 2014   Views: 5,660   Rating: 5.00/5    Votes: 1   Popularity: 0.00
Licence: The Code Project Open License (CPOL)      Bookmarked: 2   Downloaded: 0
Last time we looked at reactive programming, and this time we will look at a very cool feature of F# which is called asynchronous workflows. It is fair to say that the new Async-Await syntax bears more than a passing resemblance to F# async workflows. Async workflows offer a easy way to write asynch
Posted: 15 May 2014   Updated: 22 May 2014   Views: 5,015   Rating: 5.00/5    Votes: 1   Popularity: 0.00
Licence: The Code Project Open License (CPOL)      Bookmarked: 3   Downloaded: 0
Last time we looked at the Async class, and examined some of its core functions. This time we will be looking at using some Task Parallel Library (TPL) classes, namely Task, and Task. We will also examine how the Async module can be used in conjunction with TPL.  TPL Primer I do not have enough [&#8
Posted: 20 May 2014   Updated: 22 May 2014   Views: 5,133   Rating: 5.00/5    Votes: 1   Popularity: 0.00
Licence: The Code Project Open License (CPOL)      Bookmarked: 2   Downloaded: 5
In this post we will examine how F# can be used to do various tasks that you may have commonly use C#/VB.NET for. It will also show how to interop between F#/C# and vice versa. I have already shown some of the content here in previous posts, so apologies for that in advance. Downloadable Code [&#823
.NET Framework
XAML
Posted: 3 Mar 2014   Updated: 3 Mar 2014   Views: 3,733   Rating: 0.0 / 5    Votes: 0   Popularity: 0.0
Licence: The Code Project Open License (CPOL)      Bookmarked: 3   Downloaded: 0
I was at work the other day and I had a situation where I needed to use a nullable enum. I wanted this to be available within a ComboBox but It was not compulsary for the users to select something. I also wanted to allow the ComboBox to print a friendly name of the Enum [&#8230;]
Win32/64 SDK & OS
Active Directory
Posted: 17 Jun 2009   Updated: 17 Jun 2009   Views: 14,590   Rating: 3.67/5    Votes: 2   Popularity: 1.10
Licence: The Code Project Open License (CPOL)      Bookmarked: 6   Downloaded: 51
For those of us fortunate enough to own Windows Vista we can now see transparent windows that show the content behind our window through a glass window. This is down to the Desktop Windows Manager ability to extend the glass effect into the client area. This is however only possible on Windows Vista
Windows API
General
Posted: 4 Mar 2014   Updated: 4 Mar 2014   Views: 3,825   Rating: 0.0 / 5    Votes: 0   Popularity: 0.0
Licence: The Code Project Open License (CPOL)      Bookmarked: 1   Downloaded: 0
This blog post is a strange one in a lot of ways, it is more of me pointing out a set of recipes and linking through to a related article. So  what are the recipes, and what will it show you, the reader how to do? Well I am going to start with a wee [&#8230;]
Windows Presentation Foundation
General
Posted: 8 Sep 2009   Updated: 8 Sep 2009   Views: 23,887   Rating: 4.83/5    Votes: 7   Popularity: 4.07
Licence: The Code Project Open License (CPOL)      Bookmarked: 14   Downloaded: 0
The other day I was at work and needed to use a WPF ListView (Selector) to call a ICommand in a ViewModel. Here is what I did.
Posted: 17 Jun 2009   Updated: 10 Sep 2009   Views: 47,029   Rating: 4.56/5    Votes: 5   Popularity: 3.15
Licence: The Code Project Open License (CPOL)      Bookmarked: 23   Downloaded: 0
recently at work I was asked to look into Localization techniques when working with WPF/XAML. There are some excellent sources around that cover the various different techniques such asthis excellent article which outlines the following techniquesUsing LocbamlLocbaml is a localization tool that M
Posted: 11 Nov 2009   Updated: 11 Nov 2009   Views: 13,553   Rating: 5.00/5    Votes: 2   Popularity: 1.51
Licence: The Code Project Open License (CPOL)      Bookmarked: 5   Downloaded: 0
WPF: Tube Planner Using A Guided Search
Posted: 4 Jan 2010   Updated: 4 Jan 2010   Views: 9,477   Rating: 5.00/5    Votes: 2   Popularity: 1.51
Licence: The Code Project Open License (CPOL)      Bookmarked: 3   Downloaded: 0
WPF: New Threading Component
Posted: 3 Mar 2014   Updated: 3 Mar 2014   Views: 3,808   Rating: 5.00/5    Votes: 1   Popularity: 0.00
Licence: The Code Project Open License (CPOL)      Bookmarked: 5   Downloaded: 0
Where I work we deal with FX (Foreign Exchange), and as such we have to deal with a lot of different holidays both for all the countries of the world and the 2 currencies normally involved in a FX deal. We would also typically like to show this to theuser by way of a blacked [&#8230;]
Posted: 3 Mar 2014   Updated: 3 Mar 2014   Views: 5,390   Rating: 5.00/5    Votes: 1   Popularity: 0.00
Licence: The Code Project Open License (CPOL)      Bookmarked: 3   Downloaded: 0
This article is my first one for quite a while, there is a reason for that but I will not bore you all with that. Anyway I have written this article after a little time off. So what does it do, what is this article about? I decided to spend a bit of time to [&#8230;]
Windows Runtime
General
Posted: 3 Mar 2014   Updated: 3 Mar 2014   Views: 3,908   Rating: 0.0 / 5    Votes: 0   Popularity: 0.0
Licence: The Code Project Open License (CPOL)      Bookmarked: 1   Downloaded: 0
About a year ago I contacted by this uber sharp american guy called Ian Johnson, who asked me if I would be so kind as to review his upcoming Windows 8 MVVM library. I stated that I was currently on holiday, but when I got back I would be glad to. Now I have been [&#8230;]
Sponsored Articles
Posted: 4 Mar 2014   Updated: 4 Mar 2014   Views: 4,372   Rating: 5.00/5    Votes: 2   Popularity: 1.51
Licence: The Code Project Open License (CPOL)      Bookmarked: 1   Downloaded: 0
So I have just finished doing my 1st WinRT demo article (and yes it is for an article for codeproject), which I will have up soon. Coming from a place where I was working a lot with WPF I thought it might be a good idea to capture some of my thoughts/current gripes when working [&#8230;]
Date and Time
General
Posted: 17 Jun 2009   Updated: 17 Jun 2009   Views: 23,464   Rating: 3.67/5    Votes: 4   Popularity: 2.05
Licence: The Code Project Open License (CPOL)      Bookmarked: 8   Downloaded: 0
How to call a method asynchronously but have a timeout
DLLs & Assemblies
General
Posted: 12 Sep 2009   Updated: 12 Sep 2009   Views: 27,520   Rating: 4.88/5    Votes: 7   Popularity: 4.17
Licence: The Code Project Open License (CPOL)      Bookmarked: 35   Downloaded: 0
As some of you may know I have been working on a code generator for my Cinch MVVM framework, which I am pleased to say I am nearly done with. The last stumbling block has been that I need to extract a bunch of Namespaces from Assemblies that the main code referenced, which I want [...]
Internet / Network
Client/Server Development
Posted: 26 Aug 2014   Updated: 26 Aug 2014   Views: 1,498   Rating: 0.0 / 5    Votes: 0   Popularity: 0.0
Licence: The Code Project Open License (CPOL)      Bookmarked: 1   Downloaded: 0
Last time we looked at the different socket types within ZeroMq, and I also told you their equivalent in NetMq (which is what I use for these posts). This time we will look at 3 small areas of ZeroMq, which are none the less very important areas, and should not be overlooked. These areas are [&#8230
General
Posted: 20 Aug 2014   Updated: 26 Aug 2014   Views: 4,624   Rating: 4.83/5    Votes: 4   Popularity: 3.01
Licence: The Code Project Open License (CPOL)      Bookmarked: 9   Downloaded: 0
What Is ZeroMQ ZeroMq is a C library that contains a bunch of insane sockets, that provide a very very cool abstraction over the typical socket code you would find yourself writing. It provides building blocks by way of a standard set of sockets that have been built with certain scenarios in mind. T
Threads, Processes & IPC
Thread Pooling
Posted: 17 Jun 2009   Updated: 17 Jun 2009   Views: 15,191   Rating: 3.00/5    Votes: 3   Popularity: 1.43
Licence: The Code Project Open License (CPOL)      Bookmarked: 11   Downloaded: 0
As part of an ongoing article I am just about to finish, I needed a thread safe ObservableCollection. Now the native .NET framework doesn&#8217;t have one of those, but luckily it supplies you with the right job to create one using some of the Threading APIs.Here is what I came up with.
Code Generation
General
Posted: 2 Nov 2009   Updated: 2 Nov 2009   Views: 14,116   Rating: 5.00/5    Votes: 1   Popularity: 0.00
Licence: The Code Project Open License (CPOL)      Bookmarked: 10   Downloaded: 0
I must admit I kinda missed the boat with T4 templates and what was capable of them, which annoys me, so I set out to try and have a look at them the other day, but low and behold Karl Shifflett has beaten me to it.
Posted: 4 Mar 2014   Updated: 4 Mar 2014   Views: 4,041   Rating: 0.0 / 5    Votes: 0   Popularity: 0.0
Licence: The Code Project Open License (CPOL)      Bookmarked: 2   Downloaded: 0
WinRT: Asynchronous Code in SearchPane.SuggestionsRequested
Uncategorised Technical Blogs
General
Posted: 17 Jun 2009   Updated: 17 Jun 2009   Views: 14,547   Rating: 4.20/5    Votes: 2   Popularity: 1.20
Licence: The Code Project Open License (CPOL)      Bookmarked: 14   Downloaded: 0
If you are working with WinForms or WPF you will more than likely run into some long running operation that you would like to run in a new thread. A novice may actually try and create a new Thread, which is ok, but that means you are responsible for the entire lifecycle of your new [...]
Posted: 17 Jun 2009   Updated: 17 Jun 2009   Views: 37,993   Rating: 4.00/5    Votes: 5   Popularity: 2.80
Licence: The Code Project Open License (CPOL)      Bookmarked: 8   Downloaded: 0
Of late I have been working with Net Advantage for WPF by Infragistics, but today we didn&#8217;t really need the fully functionality of a DataGrid and needed a rather lighter weight component (basically simply sorting list, no paging, no grouping&#8230;just a list), so I turned my attention back to
Posted: 17 Jun 2009   Updated: 17 Jun 2009   Views: 16,836   Rating: 5.00/5    Votes: 4   Popularity: 3.01
Licence: The Code Project Open License (CPOL)      Bookmarked: 9   Downloaded: 0
I have worked with XAML/WPF for a while now, but it wasn&#8217;t until recently I thought about generic support in XAML. I had no idea if it was possible, so I decided to have a quick look into this.Luckily the WPF team thought about this and do actually enable WPF developers the correct mechanisms
Posted: 17 Jun 2009   Updated: 17 Jun 2009   Views: 6,786   Rating: 4.33/5    Votes: 2   Popularity: 1.30
Licence: The Code Project Open License (CPOL)      Bookmarked: 5   Downloaded: 0
As we all know one of the things that LINQ gives us is anonymous types that can be used by using the selection query operator, such as  1: var x = new { DateNow = DateTime.Now };  Which will give us an anonymous type with a single DateTime property called "DateNow", which i
Posted: 17 Jun 2009   Updated: 17 Jun 2009   Views: 11,348   Rating: 0.0 / 5    Votes: 0   Popularity: 0.0
Licence: The Code Project Open License (CPOL)      Bookmarked: 4   Downloaded: 0
As some of you that have worked with XAML and Generics may know, there is currently no support for Generics in XAML (that is no support for direct binding of methods that use generics).So consider this problemThat I have various bits of static data that are used through out the system, that are he
Posted: 17 Jun 2009   Updated: 17 Jun 2009   Views: 17,522   Rating: 0.0 / 5    Votes: 0   Popularity: 0.0
Licence: The Code Project Open License (CPOL)      Bookmarked: 3   Downloaded: 97
During the course of the WPF project we are working on at work, we decided to go down the Agile/XP/TDD/Mocks/Continuous Integration route, which means Unit tests, lots of them.We are using NUnit, which I really like, but we are also using WPF, we are obviously using the latest/greatest patterns AKA
Posted: 17 Jun 2009   Updated: 17 Jun 2009   Views: 13,205   Rating: 0.0 / 5    Votes: 0   Popularity: 0.0
Licence: The Code Project Open License (CPOL)      Bookmarked: 6   Downloaded: 91
At work we are using the Infragistics .NET Advantage For WPF, one control of which is the xamDataGrid. We had a small requirement that was to show a label over the grid whenever no records were obtained for the xamDataGrid.DataSource.Now I could have tackled this in a simple manner where I placed t
Posted: 17 Jun 2009   Updated: 17 Jun 2009   Views: 13,682   Rating: 5.00/5    Votes: 2   Popularity: 1.51
Licence: The Code Project Open License (CPOL)      Bookmarked: 5   Downloaded: 164
One of the great things about WPF is that it separates the functionality of a control from the way it looks, this has become known as &#8220;lookless controls&#8221;. Which is great, but how can we ensure that our custom controls behave and also have a default look in the first place. This mini arti
Posted: 17 Jun 2009   Updated: 17 Jun 2009   Views: 11,690   Rating: 3.67/5    Votes: 2   Popularity: 1.10
Licence: The Code Project Open License (CPOL)      Bookmarked: 3   Downloaded: 0
There are some great things in the .NET 3.5 SP1 for sure, one of them is very useful which is the new StringFormat Binding property, which means that you do not need to write ValueConverters any more to create a formatted value for the Binding. I really like this little addition to WPF. The o
Posted: 17 Jun 2009   Updated: 17 Jun 2009   Views: 9,531   Rating: 5.00/5    Votes: 1   Popularity: 0.00
Licence: The Code Project Open License (CPOL)      Bookmarked: 6   Downloaded: 0
I have done a number of projects that all parse RSS Feeds using XLINQ. Which in itself is awesome, and much easier than using old XML techniques. Where I would so something like 1: public static List LoadLatestPictures() 2: { 3: try 4: [...]
Posted: 17 Jun 2009   Updated: 17 Jun 2009   Views: 20,757   Rating: 5.00/5    Votes: 8   Popularity: 4.52
Licence: The Code Project Open License (CPOL)      Bookmarked: 7   Downloaded: 0
I am working on a 3D article in WPF, and I wanted to use an ImageBrush but was having some issues with it, so I decided to split this out into a small test app.I had the following setupAnd I simply wanted to test this out by creating an ImageBrush that I could use to [...]
Posted: 17 Jun 2009   Updated: 17 Jun 2009   Views: 8,071   Rating: 0.0 / 5    Votes: 0   Popularity: 0.0
Licence: The Code Project Open License (CPOL)      Bookmarked: 3   Downloaded: 24
You know when there is something you have done a million times, but for the life of you, you just can&#8217;t seem to be able to remember how to do it. Well responding to mouse movements, is my bug bear.Today I had to drag an element in a container in WPF, and try as I [...]
Posted: 17 Jun 2009   Updated: 17 Jun 2009   Views: 30,576   Rating: 4.38/5    Votes: 4   Popularity: 2.67
Licence: The Code Project Open License (CPOL)      Bookmarked: 14   Downloaded: 1,507
Have you ever had a requirement that called for the user to be able to scroll around a large object, such as a diagram. Well I have, and I have just started working on a hobby project where I need just such a feature. We probably all know that WPF has a ScrollViewer control which [...]
Posted: 17 Jun 2009   Updated: 17 Jun 2009   Views: 26,005   Rating: 5.00/5    Votes: 2   Popularity: 1.51
Licence: The Code Project Open License (CPOL)      Bookmarked: 6   Downloaded: 84
Well I had a great day yesterday, and quite a surprising one, I had an issue with an idea I was working on, so naturally I turned to Josh Smith.And guess what I, yes me the mere mortal managed to teach Josh something about WPF&#8230;Ha Ha, check that.So here is what I taught Josh&#8230;..(still ca
Posted: 17 Jun 2009   Updated: 17 Jun 2009   Views: 10,018   Rating: 3.00/5    Votes: 1   Popularity: 0.00
Licence: The Code Project Open License (CPOL)      Bookmarked: 6   Downloaded: 0
For the last 2 months Jan/Feb 2008, I have won the C# article of the month at codeproject, and as such, I receive a lot of free software. Which I normally don&#8217;t ever look at. The reason for this is simple. I write articles to share with people, so these free bits of software really [...]
Posted: 17 Jun 2009   Updated: 17 Jun 2009   Views: 8,815   Rating: 0.0 / 5    Votes: 0   Popularity: 0.0
Licence: The Code Project Open License (CPOL)      Bookmarked: 8   Downloaded: 71
I have started looking at 3D again in WPF. I have in the past blogged about the Viewport2DVisual3D 3D WPF element. Well for what I am working on I didn&#8217;t need to be able to put 2D interactive elements on a 3D surface, but I did want the 3D object to able to respond to [...]
Posted: 17 Jun 2009   Updated: 17 Jun 2009   Views: 14,887   Rating: 5.00/5    Votes: 2   Popularity: 1.51
Licence: The Code Project Open License (CPOL)      Bookmarked: 3   Downloaded: 74
The other day I was working on something for a Codeproject article, where I needed to bind part of my UI to an underlying data object. I want to use all the good validation thing such as a Validation Style to use for my TextBox, and also the use of the new .NET 3.5 interface [...]
Posted: 17 Jun 2009   Updated: 17 Jun 2009   Views: 19,820   Rating: 1.00/5    Votes: 2   Popularity: 0.30
Licence: The Code Project Open License (CPOL)      Bookmarked: 4   Downloaded: 0
Now some time ago I wrote an article at Codeproject that was a simple contact keeper which used LINQ / XLINQ and one of its core requirements was an editable datagrid.The article was published at Codeproject and can be found right here.Those that use WPF will know that there is NO native control w
Posted: 17 Jun 2009   Updated: 17 Jun 2009   Views: 23,727   Rating: 4.25/5    Votes: 3   Popularity: 2.03
Licence: The Code Project Open License (CPOL)      Bookmarked: 10   Downloaded: 311
In this blog entry I will discuss what you need to do to successfully interop Winforms with a WPF application and vice versaIn order to evaluate these 2 different interop methods, 2 demo projects have been created which carry out the functionality shown below :.NET Winforms userControl within a .
Posted: 17 Jun 2009   Updated: 17 Jun 2009   Views: 7,614   Rating: 0.0 / 5    Votes: 0   Popularity: 0.0
Licence: The Code Project Open License (CPOL)      Bookmarked: 2   Downloaded: 0
As part of a beginners WPF series (Beginners WPF series) that I am writing at codeproject, I just start to write an article on DependancyProperties. As part of that, I started to write a bunch of demo projects to illustrate the joy of DependancyProperties to people. As a side effect, I had to think
Posted: 17 Jun 2009   Updated: 17 Jun 2009   Views: 9,820   Rating: 0.0 / 5    Votes: 0   Popularity: 0.0
Licence: The Code Project Open License (CPOL)      Bookmarked: 5   Downloaded: 0
From time to time when you are using XLINQ to query XML data, you may find that you are dealing with a very large XML file. Loading a very large XML file using the standard XLINQ Load() method may not be appropraite due to the size of the XML file. Instead some sort of streaming [...]
Posted: 17 Jun 2009   Updated: 17 Jun 2009   Views: 70,200   Rating: 5.00/5    Votes: 7   Popularity: 4.23
Licence: The Code Project Open License (CPOL)      Bookmarked: 14   Downloaded: 0
Today we had a requirement to do some pretty strange stuff in SQL which required us to call an encryption library in SQL server. This is something I had not done before, so I thought I would blog about it.There are several steps involved.1. Create the CLR Dll for the SQL function to use, and [...]
Posted: 18 Nov 2009   Updated: 18 Nov 2009   Views: 17,574   Rating: 4.56/5    Votes: 5   Popularity: 3.10
Licence: The Code Project Open License (CPOL)      Bookmarked: 6   Downloaded: 0
A while ago I wanted to use the new .NET 3.5 SP1 WebBrowser control is a small demo WPF app that I was using to display streamed YouTube videos. And guess what, I was way disappointed the supposedly new rad control, was a con and it was actually no better than using a WPF Frame [...]
Posted: 27 Nov 2009   Updated: 27 Nov 2009   Views: 7,005   Rating: 0.0 / 5    Votes: 0   Popularity: 0.0
Licence: The Code Project Open License (CPOL)      Bookmarked: 4   Downloaded: 0
I was at work the other day and one of my work collegues asked me how to create a Rating control (you know the ones with the stars). I talked him through how to do it, but whilst doing so I thought I might have a go at that if I get a spare hour [...]
Posted: 27 Nov 2009   Updated: 27 Nov 2009   Views: 8,091   Rating: 5.00/5    Votes: 2   Popularity: 1.51
Licence: The Code Project Open License (CPOL)      Bookmarked: 3   Downloaded: 0
The other day I was doing a new View for a WPF app that we are working on, that required a DataTemplate that consisted something like the following: <Expander x:Name="exp" Background="Transparent"
Posted: 27 Nov 2009   Updated: 27 Nov 2009   Views: 10,457   Rating: 5.00/5    Votes: 1   Popularity: 0.00
Licence: The Code Project Open License (CPOL)      Bookmarked: 5   Downloaded: 0
The other day I finished up a small demo app that I was writing over at www.codeproject.com which covers several of the new Windows7 features such as TaskBars/JumpLists.The finished article looks like this  The idea behind this demo app is actually very simple, I wanted to show ho
Posted: 3 Mar 2014   Updated: 3 Mar 2014   Views: 3,795   Rating: 0.0 / 5    Votes: 0   Popularity: 0.0
Licence: The Code Project Open License (CPOL)      Bookmarked: 0   Downloaded: 0
I have never really been to actively involved with the build part of setting up continuous deployment environment, as such I have not had too much exposure to MsBuild.exe, ok I have done a bit with Nant.exe before, but MsBuild is still pretty novel to me. Anyway I decided I needed a small demo conce
Posted: 3 Mar 2014   Updated: 3 Mar 2014   Views: 3,832   Rating: 2.00/5    Votes: 1   Popularity: 0.00
Licence: The Code Project Open License (CPOL)      Bookmarked: 2   Downloaded: 0
At work I am lucky enough to work with a few bright chaps (sadly some of them are a lot youger than me, which is making me question my existence , but on the other hand it is always good to learn new things). One of those new things for me happened the other day, [&#8230;]
Posted: 3 Mar 2014   Updated: 3 Mar 2014   Views: 4,041   Rating: 5.00/5    Votes: 1   Popularity: 0.00
Licence: The Code Project Open License (CPOL)      Bookmarked: 3   Downloaded: 0
The other days someone posted some code about how to make Async/Await easier to work with. What they went for was not correct, and looked more like RXs model of OnNext/OnError/OnCompleted. The reason it was wrong is that it did not support awaiting. As a rule any Asyn code you write WILL need synchr
Posted: 4 Mar 2014   Updated: 4 Mar 2014   Views: 3,758   Rating: 0.0 / 5    Votes: 0   Popularity: 0.0
Licence: The Code Project Open License (CPOL)      Bookmarked: 1   Downloaded: 0
WinRT : Simple Schedule Control
Posted: 4 Mar 2014   Updated: 4 Mar 2014   Views: 4,027   Rating: 4.33/5    Votes: 2   Popularity: 1.20
Licence: The Code Project Open License (CPOL)      Bookmarked: 4   Downloaded: 0
Reactive Command With Dynamic Predicates
Posted: 4 Mar 2014   Updated: 4 Mar 2014   Views: 3,313   Rating: 0.0 / 5    Votes: 0   Popularity: 0.0
Licence: The Code Project Open License (CPOL)      Bookmarked: 1   Downloaded: 0
Untitled 1 In the past I have used a few IOC containers such as Castle MEF Where I work now they are using Unity which is not something I have looked at in earnest before, so I decided to have a quick look at it, and post a small demo project. So lets have a [&#8230;]
Posted: 4 Mar 2014   Updated: 4 Mar 2014   Views: 4,388   Rating: 0.0 / 5    Votes: 0   Popularity: 0.0
Licence: The Code Project Open License (CPOL)      Bookmarked: 0   Downloaded: 0
In my spare time at the moment (not that I have much of it) I am sharing time between several things Angular.js WinRT Azure   Pretty much in that order. Although I have not actually written any blog posts or codeproject articles on WinRT / Metro yet, I assure you that I will be doing [&#8230;]
Posted: 4 Mar 2014   Updated: 4 Mar 2014   Views: 4,184   Rating: 0.0 / 5    Votes: 0   Popularity: 0.0
Licence: The Code Project Open License (CPOL)      Bookmarked: 1   Downloaded: 0
As some of you may know I am mainly into WPF/WCF and that sort of stuff, however I like to keep my toe in what is going on within the web world. A while ago (a year I think) I worked with a collegue who was trying to create a TPL like Task construct in [&#8230;]
Posted: 7 Mar 2014   Updated: 7 Mar 2014   Views: 4,531   Rating: 5.00/5    Votes: 1   Popularity: 0.00
Licence: The Code Project Open License (CPOL)      Bookmarked: 4   Downloaded: 0
So we continue our journey into more of the F# types. This time we will be looking at Record types.
Posted: 17 Apr 2014   Updated: 17 Apr 2014   Views: 4,158   Rating: 0.0 / 5    Votes: 0   Popularity: 0.0
Licence: The Code Project Open License (CPOL)      Bookmarked: 1   Downloaded: 0
In this post we will look at how to handle exceptions. We will be covering the following areas Using the standard F# helper functions Try With Try Finally Raising Exceptions Reraising Exceptions Custom Exceptions     FailWith Probably the easiest path into Exception handling in F# is by using the he
Posted: 24 Apr 2014   Updated: 24 Apr 2014   Views: 3,346   Rating: 0.0 / 5    Votes: 0   Popularity: 0.0
Licence: The Code Project Open License (CPOL)      Bookmarked: 1   Downloaded: 0
We are nearing the end of one of the main sections of this function series, but we have yet to look at one of the main elements you will see when using F#, which is signatures of functions. In order to understand function signatures we will be revisiting our own old friend the “FSI Window”. [&#8230;
Posted: 24 Apr 2014   Updated: 24 Apr 2014   Views: 4,154   Rating: 0.0 / 5    Votes: 0   Popularity: 0.0
Licence: The Code Project Open License (CPOL)      Bookmarked: 1   Downloaded: 0
So in the last bog, we wrapped up a part of this series, which was to do with the functional programming aspect of F#. We will now begin the “Imperative Programming” section. This will not be a huge section and will not involve that many posts, and hopefully will be more familiar to people that [&#8
Posted: 24 Apr 2014   Updated: 24 Apr 2014   Views: 3,527   Rating: 0.0 / 5    Votes: 0   Popularity: 0.0
Licence: The Code Project Open License (CPOL)      Bookmarked: 3   Downloaded: 0
As previously stated F# allows different styles of programming that is you can use of or all of the following: Functional Imperative OO In F# you have choices and you are free to mix and match these styles to suit your needs. In this article we will look at flow control statements, which although qu
Posted: 29 Apr 2014   Updated: 29 Apr 2014   Views: 3,776   Rating: 0.0 / 5    Votes: 0   Popularity: 0.0
Licence: The Code Project Open License (CPOL)      Bookmarked: 2   Downloaded: 0
In this article we continue the OO leg of our F# journey. So this time we will look at abstract classes / overriding methods and how to implement interfaces   Abstract Methods / Virtual Method F# like the rest of the .NET languages allow you to mark a method (function) as abstract. There is a [&#823
Posted: 1 May 2014   Updated: 1 May 2014   Views: 3,857   Rating: 0.0 / 5    Votes: 0   Popularity: 0.0
Licence: The Code Project Open License (CPOL)      Bookmarked: 2   Downloaded: 0
The other days someone posted some code about how to make Async/Await easier to work with. What they went for was not correct, and looked more like RXs model of OnNext/OnError/OnCompleted. The reason it was wrong is that it did not support awaiting. As a rule any Asyn code you write WILL need synchr
Posted: 1 May 2014   Updated: 1 May 2014   Views: 4,012   Rating: 5.00/5    Votes: 1   Popularity: 0.00
Licence: The Code Project Open License (CPOL)      Bookmarked: 7   Downloaded: 0
Over the past couple of months I have been quite. This is due to the fact that I have been attempting to learn a new language. Namely F#. Now I spend most of my time as a regular .NET developer. Ok F# is part of the .NET family, but its is way more functional than [&#8230;]
Posted: 1 May 2014   Updated: 1 May 2014   Views: 3,654   Rating: 0.0 / 5    Votes: 0   Popularity: 0.0
Licence: The Code Project Open License (CPOL)      Bookmarked: 2   Downloaded: 0
Now I had intended to write a 1/2 decent blog post on F# operators, but then I had a think about this, and too be honest I could not actually see too much merit in simply reiterating what was already freely available on MSDN where it lists ALL of the F# operators.   You can [&#8230;]
Posted: 1 May 2014   Updated: 1 May 2014   Views: 3,792   Rating: 0.0 / 5    Votes: 0   Popularity: 0.0
Licence: The Code Project Open License (CPOL)      Bookmarked: 1   Downloaded: 0
At work I am lucky enough to work with a few bright chaps (sadly some of them are a lot youger than me, which is making me question my existence :-( , but on the other hand it is always good to learn new things). One of those new things for me happened the other [&#8230;]
Posted: 1 May 2014   Updated: 1 May 2014   Views: 3,010   Rating: 0.0 / 5    Votes: 0   Popularity: 0.0
Licence: The Code Project Open License (CPOL)      Bookmarked: 1   Downloaded: 0
So our journey into F# continues. The next coupe of posts will be about F# types that may or may not have standard .NET equivalents. This post will be talking about tuples.   What Are Tuples A tuple is a grouping of unnamed but ordered values, possibly of different types.   Creating Tuples Tuples ar
Posted: 1 May 2014   Updated: 1 May 2014   Views: 3,236   Rating: 0.0 / 5    Votes: 0   Popularity: 0.0
Licence: The Code Project Open License (CPOL)      Bookmarked: 1   Downloaded: 0
  OK so our F# journey continues. We have looked at some of the basic building block types such as Records/Tuples, it is now time to look at Discriminated Unions. Discriminated unions provide support for values that can be one of a number of possible values. The possible values are known as “union c
Posted: 1 May 2014   Updated: 1 May 2014   Views: 3,201   Rating: 0.0 / 5    Votes: 0   Popularity: 0.0
Licence: The Code Project Open License (CPOL)      Bookmarked: 1   Downloaded: 0
In this article we continue the OO leg of our F# journey. So this time we will look at abstract classes / overriding methods and how to implement interfaces   Abstract Methods / Virtual Method F# like the rest of the .NET languages allow you to mark a method (function) as abstract. There is a [&#823
Posted: 1 May 2014   Updated: 1 May 2014   Views: 3,261   Rating: 0.0 / 5    Votes: 0   Popularity: 0.0
Licence: The Code Project Open License (CPOL)      Bookmarked: 1   Downloaded: 0
If C# there is a concept of null for reference types and Nullable class for value types (structs). For value type this can take one of the following 2 forms (for demo purposes I am using a int type here, but the type could be any value type) Nullable int?   These are both equivalent. [&#8230;]
Posted: 15 May 2014   Updated: 15 May 2014   Views: 3,196   Rating: 0.0 / 5    Votes: 0   Popularity: 0.0
Licence: The Code Project Open License (CPOL)      Bookmarked: 2   Downloaded: 0
Last time we looked at reactive programming, and this time we will look at a very cool feature of F# which is called asynchronous workflows. It is fair to say that the new Async-Await syntax bears more than a passing resemblance to F# async workflows. Async workflows offer a easy way to write asynch
Posted: 1 May 2014   Updated: 21 May 2014   Views: 4,675   Rating: 0.0 / 5    Votes: 0   Popularity: 0.0
Licence: The Code Project Open License (CPOL)      Bookmarked: 2   Downloaded: 0
So we continue our journey into more of the F# types. This time we will be looking at Record types.   How Do I Create A Record When you create a new F# record, it may remind you of anonymous objects in C#. Here is how you create them. I think they are quite similar [&#8230;]
Posted: 21 Aug 2014   Updated: 21 Aug 2014   Views: 1,451   Rating: 0.0 / 5    Votes: 0   Popularity: 0.0
Licence: The Code Project Open License (CPOL)      Bookmarked: 2   Downloaded: 0
Last time we introduced ZeroMq and also talked about the fact that there was a native C# port by way of the NetMq library, which as I  said we will be using from here on out. I also mentioned that the power of ZeroMq comes from a bunch of pre-canned sockets, which you can use [&#8230;]
Posted: 27 Aug 2014   Updated: 27 Aug 2014   Views: 2,481   Rating: 0.0 / 5    Votes: 0   Popularity: 0.0
Licence: The Code Project Open License (CPOL)      Bookmarked: 1   Downloaded: 0
Multiple sockets polling
Posted: 31 Aug 2014   Updated: 31 Aug 2014   Views: 569   Rating: 0.0 / 5    Votes: 0   Popularity: 0.0
Licence: The Code Project Open License (CPOL)      Bookmarked: 1   Downloaded: 0
Last time we looked at how to use the Poller to work with multiple sockets, and detect their readiness. This time we will continue to work with the familiar request/response model that we have been using thus far. We will however be beefing things up a bit, and shall examine several ways in which yo
No tips have been posted.
No reference articles have been posted.

Sacha Barber
Software Developer (Senior)
United Kingdom United Kingdom
I currently hold the following qualifications (amongst others, I also studied Music Technology and Electronics, for my sins)
 
- MSc (Passed with distinctions), in Information Technology for E-Commerce
- BSc Hons (1st class) in Computer Science & Artificial Intelligence
 
Both of these at Sussex University UK.
 
Award(s)

I am lucky enough to have won a few awards for Zany Crazy code articles over the years

  • Microsoft C# MVP 2014
  • Codeproject MVP 2014
  • Microsoft C# MVP 2013
  • Codeproject MVP 2013
  • Microsoft C# MVP 2012
  • Codeproject MVP 2012
  • Microsoft C# MVP 2011
  • Codeproject MVP 2011
  • Microsoft C# MVP 2010
  • Codeproject MVP 2010
  • Microsoft C# MVP 2009
  • Codeproject MVP 2009
  • Microsoft C# MVP 2008
  • Codeproject MVP 2008
  • And numerous codeproject awards which you can see over at my blog


Advertise | Privacy | Mobile
Web01 | 2.8.140827.1 | Last Updated 1 Sep 2014
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid