Skip to content
| Marketplace
Sign in
Visual Studio>Templates>F# Windows App (Service)
F# Windows App (Service)

F# Windows App (Service)

Carl Nolan

|
4,171 installs
| (1) | Free
F# Windows Application for Windows Service
Download

This is a simple F# Windows Service Application template that defines project elements for the service and the installer:

This template provides several projects elements:

  • A MyService.fs and Program.fs source file providing the service elements
  • An Installer.fs source file enabling the service to be installed using the installutil tool
  • A command file for installing and un-installing the service

The MyService.fs source file provides the implementation of the service. The template code provides the structure for the OnStart and OnStop methods and shows how an EventLog can be created and referenced.

The generated code can be viewed in this blog posting:

http://blogs.msdn.com/b/carlnol/archive/2011/07/18/f-project-and-item-templates.aspx

http://blogs.msdn.com/b/mcsuksoldev/archive/2011/05/31/f-windows-application-template-for-windows-service.aspx

Version 1.1 now includes an AssemblyInfo.fs file.

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft