36 Commits

Author SHA1 Message Date
1475159f1c Added RouteName and Request/Response handling to the code generator. More work is needed. 2023-02-05 10:59:29 -08:00
74f8921f7a Improved the code generator. More to come. 2023-02-04 10:37:30 -08:00
6bb01464e7 Working on C# client code generation. 2023-02-04 08:26:09 -08:00
19ccdb9026 Working on a client code generation feature to help speed up using an api built with this library. 2023-02-03 13:33:28 -08:00
f8704e425b Route arguments are now automatically url decoded by the RouteMatcher. Added a unit test to cover this case. Bumped package version to 1.1.8 2023-02-02 16:14:32 -08:00
023654aba2 Cleaned up code and added new ResponseExtensions to help with bad requests. 2023-02-02 13:33:13 -08:00
c4f4704441 Removed release notes so it's not confusing. 2023-02-02 09:53:03 -08:00
cd6dd40fe2 Bumped package version to 1.1.6 and removed RouteListenerContext in favor of built in HttpListenerContext since it's already apart of .Net. Cleaned up code and build passes. 2023-02-02 09:51:34 -08:00
7dcc28d5e0 Upgrading to latest version of Newtonsoft.Json 2023-01-26 12:01:36 -08:00
9f8d6639c0 Improved package description. 2023-01-26 11:51:01 -08:00
9b849f5ec1 Simplified some class names and structure. New nuget version 1.1.4 2023-01-26 11:48:56 -08:00
6db21454c9 Added nuget package icon and bumped version to 1.1.3 2023-01-26 10:21:24 -08:00
b4414f4da2 Added new route exception event handler. Renamed events. Added better example code. Bumped nuget version to 1.1.2. 2023-01-26 10:08:56 -08:00
77f13ac7ae HttpListener now returns 404 if a route isn't found instead of bad request. Added WithRedirect and WithHtml extensions. Bumped nuget version to 1.1.1 2022-07-26 20:26:53 -07:00
56a17a3c66 Changed release notes for 1.1.0 2022-07-21 10:01:44 -07:00
3e190641a0 Upgraded project to DotNet 6, increased package version to 1.1.0 2022-07-21 09:56:23 -07:00
37356667d9 Cleaning up project structure and simplifying things. 2022-05-05 10:18:28 -07:00
98eaa87df6 Added code to see if the current thread is trying to abort and if so stops blocking. 2022-03-20 12:44:30 -07:00
6c64bbe4be Fixed bugs and added a few helper functions. 2022-03-16 00:24:39 -07:00
836aea0da7 Added more unit tests for the route matcher. Published 1.0.9 nuget package. 2022-03-03 18:55:45 -08:00
da8184f152 Added unit test project. Improved route matcher and fixed bugs. 2022-03-03 00:18:45 -08:00
16c42c1ef7 Added ReadToStream extension and bumped package version. 2022-03-02 00:53:30 -08:00
e4c9b95fa3 Added ReadAsBytes extension and bumped nuget version. 2022-03-02 00:44:24 -08:00
fcbaaf133c Fixing issues with the route preprocess and postprocess events. 2022-02-19 22:23:26 -08:00
bf254489b8 Fixed bug where root syntax wouldn't match in the RouteMatcher. Added WithHeader extension. Added preprocess and postprocess route events so we can control routes at a global level easier. 2022-02-19 21:46:44 -08:00
bf1b66e565 Added more cookie extensions and using set cookie now. 2022-02-06 22:50:22 -08:00
b7837f6639 Added WithCookie extension for response. 2022-02-06 22:33:55 -08:00
41bbabf1cb Added more examples. WithText and WithJson now specify Utf16 to support rich content. 2022-02-06 21:32:01 -08:00
ccad0dd66d Simplified project struct naming. Cleaned up code and added missing documentation. Routes now use a RouteContext to allow extensions and future modules. 2022-02-06 21:14:36 -08:00
87a9b961bd Upgraded rest.net csproj to new format. Configured nuget package creation. Included MIT license file. 2022-02-06 20:14:02 -08:00
4bb85aad28 Renaming everything to live under the MontoyaTech namespace. 2022-02-06 19:37:51 -08:00
fe7eb76a86 Removing build directories. 2022-02-06 19:26:11 -08:00
2112b37ab4 Removing .vs and migration backup. 2022-02-06 19:25:29 -08:00
5fa9e3307f Pushing up git ignore. 2022-02-06 19:24:23 -08:00
dd82897982 Pushing up initial version of Rest.Net. 2022-02-06 19:22:24 -08:00
7bac946ea3 Initial commit 2022-02-06 23:48:51 +00:00