Commit Graph
272 Commits
Author SHA1 Message Date
amacocianandGitHub 4aa1150bba Extend and generalize data binding logic (#14)
Support for custom data binding attributes
2022-02-26 10:37:32 +01:00
amacocianandGitHub 85a90492c6 Add resources dictionary to routecontext (#13)
Add databinding from routecontext resources
v5.1.6
2022-02-08 09:55:56 +01:00
amacocianandGitHub ede1dcbf09 Fix exception propagation (#12) v5.1.5 2022-01-24 21:22:29 +01:00
amacocianandGitHub 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
amacocianandGitHub 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
amacocianandGitHub 3b0dd84f38 Fix message assembly when a request is truncated (#9) 2022-01-22 14:24:54 +01:00
amacocianandGitHub f8bf08d9ff Fix client reading loop for messages bigger than the buffer (#8) v5.1.1 2022-01-22 14:01:51 +01:00
amacocianandGitHub 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
amacocianandGitHub 35a45a395f Background services implementation (#6) v5.0 2022-01-17 15:51:28 +01:00
amacocianandGitHub 9bab9f2585 Introduce HttpRequestContext (#5) v4.8.0 2022-01-14 12:40:22 +02:00
amacocianandGitHub 358d3c6795 Fix codeql pipeline (#4) 2022-01-02 17:44:49 +02:00
amacocianandGitHub 2fef6cf1ac Introduce cancellation tokens
Introduce cancellation tokens for server
v4.7.0
2022-01-02 17:25:55 +02:00
amacocianandGitHub 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
amacocianandGitHub 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
amacocianandGitHub 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
amacocianandGitHub 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
amacocianandGitHub 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
Alexandru Macocian 3da1a38e06 Introduce CI & CD pipelines 2021-06-02 14:28:46 +02:00
Alexandru Macocian b015132527 Configurable return 500 on exception in http handlers.
Configurable websocket hearbeat.
Nit fixes.
2021-05-12 14:08:25 +02:00
Alexandru Macocian 2b198b5f63 Include license in nuget package. 2021-03-26 12:03:45 +01:00
Alexandru Macocian 3b21db8abd Expose IPAddress of the server. 2021-03-20 11:47:50 +01:00
Alexandru Macocian 3fbfe4ee2e Implement pong response to ping in websocketroutinghandler. 2021-03-15 16:00:27 +01:00
Alexandru Macocian 619992da80 Switched server resources to Slim.ServiceManager.
Changed HttpRoutingHandler to use the general Slim.ServiceManager.
Changed WebsocketRoutingHandler to a similar approach as HttpRoutingHandler.
Implemented IRunOnStartup interface for handlers.
2021-03-12 14:05:55 +01:00
Alexandru Macocian 39fda909a0 Fixed a bug during registration of server resources. 2021-03-10 15:45:36 +01:00
Alexandru Macocian 50669ad289 Major rework of HttpRoutes.
Implemented DI based routes.
Implemented converters for HttpRequest and HttpResponse.
Fixed e2e tests.
2021-03-09 15:19:54 +01:00
Alexandru Macocian 8ad0b27029 Reconnect policy for tcp client. 2021-03-02 17:14:35 +01:00
Alexandru Macocian 106f244500 Target .net5.0 2021-03-01 21:01:21 +01:00
Alexandru Macocian 748785014a Improved value retrieval from http request form.
Nit fixes.
Scheduler that fires separate threads for each request.
Removed https from e2e tests.
2021-03-01 20:59:16 +01:00
Alexandru Macocian 0b24bb7723 Extra logging for websocket handler
Fixes for websocket handler
Fix parsing of http response based on http specification document
2020-11-02 18:52:26 +01:00