A front-controller style MVC framework for .NET
C# JavaScript CoffeeScript Ruby CSS HTML
Permalink
Failed to load latest commit information.
.paket Updating dependencies for upstream fixes in LQ Sep 23, 2016
javascript Diagnostics screens rendering again after update Sep 7, 2016
lib serenity compiles Mar 26, 2015
packaging/nuget Updating dependencies for upstream fixes in LQ Sep 23, 2016
src Updating dependencies for upstream fixes in LQ Sep 23, 2016
templates converted tests to Fixie and package resolution to Paket. Closes GH-930 Sep 3, 2015
.babelrc Diagnostics screens rendering again after update Sep 7, 2016
.bottle-alias rake full is passing with FT merged in! Jun 17, 2015
.editorconfig Diagnostics screens rendering again after update Sep 7, 2016
.gitignore DiagnosticsHarness working again Sep 5, 2016
.mailmap Very important change to fix "git shortlog -ns" output Sep 5, 2011
Gemfile updated the fuburake dependency to the correct 1.2 version May 2, 2014
NuGet.exe building nugets again in rake script. Closes GH-940 Sep 21, 2015
build.cmd Updated the readme. Closes GH-967 Sep 23, 2015
fubu finished importing fubu.exe. Closes GH-722 Apr 17, 2014
license.txt Update license.txt Feb 17, 2014
package.json Diagnostics screens rendering again after update Sep 7, 2016
paket.dependencies Updating dependencies for upstream fixes in LQ Sep 23, 2016
paket.exe Added missing logging method on FubuMVC.Marten Jul 20, 2016
paket.lock Updating dependencies for upstream fixes in LQ Sep 23, 2016
rakefile.rb first round of health check ST tests pass Jul 10, 2016
readme.markdown Updated the readme. Closes GH-967 Sep 23, 2015
webpack.config.js Diagnostics screens rendering again after update Sep 7, 2016

readme.markdown

Building FubuMVC

The FubuMVC codebase still uses Rake for build automation, but as of September 2015, you don't have to use Rake to develop with FubuMVC if you don't want to. You will need to have Node.js or Io.js and npm installed in order to build the client side assets for FubuMVC's diagnostics package before working with the C# code.

With Rake

Assuming you have Ruby 2.1+ installed on your computer, go to a command line and type...

  1. bundle install
  2. rake

Visual Studio.Net Only

There is a small command file called build.cmd that can be executed once to bring down nuget and npm dependencies and build the client side assets that FubuMVC needs for its embedded. diagnostics. Run this command at least once before opening Visual Studio.Net.

From there, open the solution file at src/FubuMVC.sln and go to town.

Working with Storyteller

  • rake open_st -- Opens the Storyteller test suite in the Storyteller client for interactive editing and execution
  • rake storyteller -- Runs all the Storyteller specifications

Working with Diagnostics

Open the diagnostics harness application to the browser with the command rake diagnostics. This command will start webpack in a new window against the client side attributes in the javascript folder in "watched" mode. This command also compiles and starts the DiagnosticsHarness application in a NOWIN server before opening a browser window to the newly launched application. The browser will auto-refresh whenever a new version of the webpack bundle.js file is saved. You will have to stop and restart the FubuMVC application to see any changes to the server side.