codeprogression / heroku-buildpack-mono

Buildpack deployed on top of Mono and XSP - for OWIN HTTP Listener applications

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Mono Heroku Buildpack

This is a Heroku buildpack for Mono that will run ASP.NET and Katana/OWIN applications.

It uses nginx as the web server and runs on Mono 3.2.8.

Usage

Additional details and guides:

Example usage:

$ heroku create --buildpack http://github.com/friism/heroku-buildpack-mono.git
$ git push heroku master

The buildpack will detect your app as ASP.NET if it has the file global.asax in the root or at one directory depth or as .NET if it has a .sln file.

TODO

  • Store buildoutput in $CACHE_DIR and do incremental builds (also won't cause NuGet packages to be re-downloaded)
  • Less simplistic nginx setup, see nginx buildpack
  • Factor repeated code into functions like PHP buildpack
  • Consider inserting environment variables and connectionstrings into Web.config
  • Remove original source code before slug is tarred up
  • Slim down Mono runtime to reduce slug size and build time
  • Avoid copying Mono runtime to build /app and ${BUILD_DIR} during build
  • Web.Release.config
  • Get bundling and minification to work (likely to be Win/Linux path issues)
  • Figure out whether there's hope for EntityFramework (and reliance on System.Data.Entity and other)
  • Get default Visual Studio templates working (you just have to fix casing problems
  • More Mono/XSP versions and ability to select version, like Python buildpack
  • Get Katana hosting working with System.Web Host
  • Visual Basic!

Compiling Binaries

About

Buildpack deployed on top of Mono and XSP - for OWIN HTTP Listener applications


Languages

Language:Shell 100.0%