Malcolm Evershed b6e27cc06d Improve setup robustness of Windows tests 12 anni fa
..
lib 8265795f2e Made recommended changes by @MalcolmEvershed and updated dependencies 12 anni fa
src f340060bdf Removing forgotten tag from previous merge conflict 12 anni fa
.gitignore 1c58cf2bfd Updated gitignore file 12 anni fa
README.md 652ae067af Added MongoDB database provider to servicestack 12 anni fa
__init__.py b0cfcb2607 Added the .NET ServiceStack framework 12 anni fa
benchmark_config 56cde5a068 PR451: updated benchmark_config to new format/resolved conflict 12 anni fa
nginx.conf b0cfcb2607 Added the .NET ServiceStack framework 12 anni fa
setup_iis.ps1 b6e27cc06d Improve setup robustness of Windows tests 12 anni fa
setup_iis.py b6e27cc06d Improve setup robustness of Windows tests 12 anni fa
setup_nginx.py afebf70b6b Updated rails-ruby gemfile gem passenger to found version, fixed servicestack setup_nginx.py to correctly kill mono processes created on exit 12 anni fa
setup_self.ps1 b6e27cc06d Improve setup robustness of Windows tests 12 anni fa
setup_self.py b6e27cc06d Improve setup robustness of Windows tests 12 anni fa
setup_xsp.py ca66146d0b Updated rails-stripped gemfile with additional gems, both tests run. Fixed the OSError with servicestack-xsp-*, but all 3 tests get cannot to host errors still. 12 anni fa
source_code 66e46ee08e codeLineCount Create source_code file for each framework. Modify count_sloc to use gather_frameworks instead of a large list 12 anni fa

README.md

ServiceStack on Mono and Windows

Tests

JSON Response

  • http://localhost:8080/json

Plain Text Response

  • http://localhost:8080/plaintext

Database Responses

Microsoft SQL Server using ORMLite

  • http://localhost:8080/sqlserver/db
  • http://localhost:8080/sqlserver/queries/10
  • http://localhost:8080/sqlserver/fortunes
  • http://localhost:8080/sqlserver/updates/25

MySQL using ORMLite

  • http://localhost:8080/mysql/db
  • http://localhost:8080/mysql/queries/10
  • http://localhost:8080/mysql/fortunes
  • http://localhost:8080/mysql/updates/25

PostgreSQL using ORMLite

  • http://localhost:8080/postgresql/db
  • http://localhost:8080/postgresql/queries/10
  • http://localhost:8080/postgresql/fortunes
  • http://localhost:8080/postgresql/updates/25

MongoDB

  • http://localhost:8080/mongodb/db
  • http://localhost:8080/mongodb/queries/10
  • http://localhost:8080/mongodb/fortunes
  • http://localhost:8080/mongodb/updates/25

Mono Installation

sudo apt-get install build-essential autoconf automake libtool zlib1g-dev git

git clone git://github.com/mono/mono
cd mono
git checkout mono-3.0.10
./autogen.sh --prefix=/usr/local
make get-monolite-latest
make EXTERNAL_MCS=${PWD}/mcs/class/lib/monolite/basic.exe
sudo make install

cd ..

git clone git://github.com/mono/xsp
cd xsp
git checkout 3.0
./autogen.sh --prefix=/usr/local
make
sudo make install

Versions

Language

  • C# 5.0

Platforms

  • .NET Framework 4.5 (Windows)
  • Mono 3.0.X (Linux)

Web Servers

  • Self Hosting using HTTPListener (Windows/Linux)
  • IIS 8 (Windows) - includes Swagger
  • nginx 1.4.0 & XSP FastCGI (Linux)

Web Stack

Database Providers

Caching Providers

Developer Tools

  • Visual Studio 2012