Henry 5ffa0ddadd [c#/beetlex] change plaintext buffer size, optimize fortunes. (#6300) 4 years ago
..
src 5ffa0ddadd [c#/beetlex] change plaintext buffer size, optimize fortunes. (#6300) 4 years ago
README.md 623418289e Some QoL Stuff (#5604) 5 years ago
benchmark_config.json 510f09f224 Port mono tests to docker (#3448) 7 years ago
config.toml 0096f84ee9 Config for the new toolset (#6259) 4 years ago
nginx.conf 703433258e CSharp/* Remove TE dependencies (#3529) 7 years ago
run.sh 8d10136e89 remove $CPU_COUNT (#3474) 7 years ago
servicestack.dockerfile 0096f84ee9 Config for the new toolset (#6259) 4 years ago

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