If you want to use a designer to create your GUI, then a common pattern is

  • have multiple projects in the solution, one C# and one F#
  • C# project is a WinForms/WPF application that contains the UI, uses designer
  • F# project is a library that contains the business logic
  • C# project has a project reference to F# project

(Feel free to replace "C#" with "VB.Net" in the above.)

By on 5/15/2009 10:30 AM ()

You can even replace F# with C# above and it still makse sense thinking of SoC (seperation of concern).

So just look at F# as a way to enforce good design rules ;)

By on 5/17/2009 9:32 PM ()
IntelliFactory Offices Copyright (c) 2011-2012 IntelliFactory. All rights reserved.
Home | Products | Consulting | Trainings | Blogs | Jobs | Contact Us | Terms of Use | Privacy Policy | Cookie Policy
Built with WebSharper