<commit_before># LiteApi

## MVC-style inspired .NET Core WEB API with JSON only support

[![Build status](https://ci.appveyor.com/api/projects/status/5crmsp0tfgduwcvo?svg=true)](https://ci.appveyor.com/project/ProjectMona/liteapi) [![Coverage Status](https://coveralls.io/repos/github/stanac/LiteApi/badge.svg?branch=master)](https://coveralls.io/github/stanac/LiteApi?branch=master)

LiteApi is .net core middleware inspired by MVC-style Controller/Action principles.
It's still in beta and currently initial tests are showing that it can handle about 50%-90%
more requests per second than MVC6 (asp.net core). Check [intro post](http://stanacev.com/2016/09/06/liteapi-alternative-web-api-net-core-middleware-intro/) and [performance comparison post](http://stanacev.com/2016/09/08/liteapi-performance-comparison/).

LiteApi is still in prerelease phase, to install it use nuget, or add it to project.json file manually:

```
Install-Package LiteApi -Pre
```

Super simple example of a controller:

``` cs
public class TestController : LiteController
{<commit_msg>commit test<commit_after># LiteApi

## MVC-style inspired .NET Core WEB API with JSON only support

[![Build status](https://ci.appveyor.com/api/projects/status/5crmsp0tfgduwcvo?svg=true)](https://ci.appveyor.com/project/ProjectMona/liteapi) [![Coverage Status](https://coveralls.io/repos/github/stanac/LiteApi/badge.svg?branch=master)](https://coveralls.io/github/stanac/LiteApi?branch=master)

LiteApi is .net core middleware inspired by MVC-style Controller/Action principles.
It's still in beta and currently initial tests are showing that it can handle about 50%-90%
more requests per second than MVC6 (asp.net core). Check [intro post](http://stanacev.com/2016/09/06/liteapi-alternative-web-api-net-core-middleware-intro/) and [performance comparison post](http://stanacev.com/2016/09/08/liteapi-performance-comparison/).

LiteApi is still in prerelease phase, to install it use nuget, or add it to project.json file manually:

```
Install-Package LiteApi -Pre
```

Super simple example of a controller: 

``` cs
public class TestController : LiteController
{
{'fraction_non_alphanumeric': 0.12388549976536838, 'fraction_numerical': 0.021586109807602064, 'mean_word_length': 5.252199413489736, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 8, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1579692', 'n_tokens_mistral': 719, 'n_tokens_neox': 657, 'n_words': 179}