284 Commits

Author SHA1 Message Date
amacocian 355c24d582 Unclog threadpool (#27) 2023-11-26 03:22:50 +01:00
amacocian 46af9b97cd Replace Moq with NSubstitute (#26) 2023-08-09 14:25:10 +00:00
amacocian d9eadea1b5 Update OAuth2 dependencies (#24)
* Update OAuth2 dependencies

* Update oauth2 package
2022-10-07 12:57:54 +02:00
amacocian 439b3f160d Separate startup from initialization (#23)
Procedures to be run on initialization
Fix concurrency issues with listeners
2022-10-07 10:39:37 +00:00
amacocian c753165ec8 Update OAuth2 dependencies (#22) 2022-10-07 09:24:32 +00:00
amacocian c21c6e2a11 Integrate ServiceCollection from Microsoft.Extensions.DependencyInjection (#21) 2022-10-07 11:07:20 +02:00
amacocian 0fe9f9957c Setup OAuth2 support (#20)
* Setup OAuth2 support

* Setup tests project

* Setup OAuth2 unit tests in CI pipeline

* Setup authorizeattribute tests

* Test

* Setup tests for AuthorizeAttribute

* Setup OAuth2 support
Unit Tests coverage

* Add OAuth2 project to release
2022-09-02 16:13:08 +02:00
amacocian b759869ed6 Update dependencies (#19) 2022-05-12 18:53:24 +02:00
amacocian ffb1d51b81 Update Slim package (#18) 2022-05-05 08:37:46 +02:00
amacocian ba91158730 Fix bug in cookie parsing (#17) 2022-05-04 09:30:34 +02:00
amacocian 1b438c8bd4 Introduce async extensions for RouteFilters (#16)
Rework filter logic to reuse filter objects on the scope of a request
2022-05-04 08:22:32 +02:00
amacocian 035fecc1e3 Pass ScopedServiceManager to RouteContext (#15) 2022-05-02 14:23:56 +02:00
amacocian 4aa1150bba Extend and generalize data binding logic (#14)
Support for custom data binding attributes
2022-02-26 10:37:32 +01:00
amacocian 85a90492c6 Add resources dictionary to routecontext (#13)
Add databinding from routecontext resources
v5.1.6
2022-02-08 09:55:56 +01:00
amacocian ede1dcbf09 Fix exception propagation (#12) v5.1.5 2022-01-24 21:22:29 +01:00
amacocian 9dad57ace0 Adjust filters to catch model binding exceptions (#11)
* Adjust filters to catch model binding exceptions

* Throw binding exceptions when failing to bind
v5.1.4
2022-01-24 20:45:03 +01:00
amacocian 9ff5114d31 Improvements to HttpRouteBase (#10)
Implement reusable responses
v5.1.3
2022-01-23 12:02:31 +01:00
amacocian 8587da7b5c Update version v5.1.2 2022-01-22 14:30:58 +01:00
amacocian 3b0dd84f38 Fix message assembly when a request is truncated (#9) 2022-01-22 14:24:54 +01:00
amacocian f8bf08d9ff Fix client reading loop for messages bigger than the buffer (#8) v5.1.1 2022-01-22 14:01:51 +01:00
amacocian 9d7a4ff75c Introduce cancellation tokens for HttpRoutes (#7)
Return 404 on NotFound
RouteFilters now can handle exceptions
v5.1
2022-01-18 14:31:59 +01:00
amacocian 35a45a395f Background services implementation (#6) v5.0 2022-01-17 15:51:28 +01:00
amacocian 9bab9f2585 Introduce HttpRequestContext (#5) v4.8.0 2022-01-14 12:40:22 +02:00
amacocian 358d3c6795 Fix codeql pipeline (#4) 2022-01-02 17:44:49 +02:00
amacocian 2fef6cf1ac Introduce cancellation tokens
Introduce cancellation tokens for server
v4.7.0
2022-01-02 17:25:55 +02:00
amacocian 3a712c1a1c Remove MSBuild from codeql pipeline 2022-01-02 17:23:34 +02:00
amacocian 0392441b5a Upgrade test project to .net 6 2022-01-02 17:21:29 +02:00
amacocian 4ce62de35a Update codeql-analysis.yml
Install net 6.0 before build
2022-01-02 17:19:43 +02:00
amacocian f8cc21e7db Introduce cancellation tokens for server
Update pipelines to .net6
Deprecate netcoreapp2.1 build
2022-01-02 17:14:01 +02:00
amacocian 1b5f8395cc Create codeql-analysis.yml 2021-12-27 17:46:43 +02:00
amacocian a13174558b Unit tests for TcpSocketListener 2021-12-27 17:44:09 +02:00
Alexandru Macocian 969c0b3410 Introduce route filters for HttpRoutingModules v4.6.0 2021-10-19 13:42:48 +02:00
Alexandru Macocian 13681f8c1e Improve httproutinghandler error handling v4.5.1 2021-10-09 21:14:10 +02:00
amacocian 62b0364b8f Merge pull request #2 from AlexMacocian/alexmacocian/update-version
Update version with bugfix for 500 response code
v4.5
2021-10-05 17:51:16 +02:00
Alexandru Macocian 52e045f3bc Update version with bugfix for 500 response code 2021-10-05 17:23:14 +02:00
Alexandru Macocian f2b93fa566 Fixed HttpRoutingHandler returning 500 when an exception happens during module creation 2021-10-05 16:25:18 +02:00
Alexandru Macocian 14e96ab206 Introduce scope DIs to routing handlers v4.4.0 2021-10-02 08:18:53 +02:00
Alexandru Macocian 8eb0fe06c0 Setup for multiple listener types v4.3.0 2021-10-01 17:25:32 +02:00
Alexandru Macocian 032edb81d6 Integrate Microsoft.Logging.Abstractions v4.2.0 2021-10-01 14:56:38 +02:00
Alexandru Macocian 0b7c349a63 Improvements to stream reading routine v4.1.2 2021-09-30 18:42:18 +02:00
Alexandru Macocian 21c793d708 Update dependencies v4.1.1 2021-09-30 14:20:06 +02:00
Alexandru Macocian 5664b09ea8 Performance improvements v4.1 2021-09-29 15:52:44 +02:00
Alexandru Macocian 867fa12a6c Support for interpolated URLs
Implemented use of TypeConverters for requests and responses
v4.0
2021-09-29 00:41:36 +02:00
amacocian dbc648992e Merge pull request #1 from AlexMacocian/alexmacocian/cicd-pipelines
Introduce CI & CD pipelines
2021-06-02 15:36:27 +02:00
Alexandru Macocian 1a70065d49 Disable CD pipeline for PRs 2021-06-02 15:33:48 +02:00
Alexandru Macocian 848a56859f Disable all related server tests for CI 2021-06-02 15:28:07 +02:00
Alexandru Macocian dfe85bca09 Disable problematic tests 2021-06-02 15:17:53 +02:00
Alexandru Macocian bb9ea4773f Enable verbosity in unit tests 2021-06-02 14:58:40 +02:00
Alexandru Macocian 2ca324be10 Fix name 2021-06-02 14:34:14 +02:00
Alexandru Macocian d44deb3124 Change UTs target framework to .net5.0 2021-06-02 14:33:04 +02:00