MattMo
|
69a1d9c3a8
|
Improved RouteMatcher and added more unit tests to cover some edge cases. Cleaned up code. Bumped package version to 1.7.0
|
2023-07-09 11:14:33 -07:00 |
|
MattMo
|
8c44d56ab4
|
Added utf16 response extensions to help support some legacy code. Changed HttpListener to protected to help with overriding the default behavior of the RouteListener if needed. Bumped package version to 1.6.9
|
2023-07-05 08:04:56 -07:00 |
|
MattMo
|
4b05b1b6b9
|
Fixed an absolutely stupid bug. Bumped package version to 1.6.8
|
2023-06-29 10:00:59 -07:00 |
|
MattMo
|
7934f807ef
|
Improved file serving to support startPaths. Improved code and simplified a few things. Bumped package version to 1.6.7
|
2023-06-29 09:50:12 -07:00 |
|
MattMo
|
36872164c5
|
Improved SinglePage algorithm. Bumped package version to 1.6.6
|
2023-06-29 09:29:21 -07:00 |
|
MattMo
|
dc1abd516b
|
Added missing code to the ServeSinglePage. Bumped package version to 1.6.5
|
2023-06-29 08:37:45 -07:00 |
|
MattMo
|
4617f861fc
|
Added support for cases where the parent directory is included in the request path. Added unit tests to check this case. Bumped package version to 1.6.4
|
2023-06-29 08:21:54 -07:00 |
|
MattMo
|
46aab308fa
|
Merge pull request 'ServeFileExtension' (#2) from ServeFileExtension into master
Reviewed-on: #2
|
2023-06-29 01:39:07 +00:00 |
|
MattMo
|
c2f60ff19f
|
Bumped package version to 1.6.3. Added unit tests for serving files. Fixed issues and improved the security of the serve file extensions and the ability to compress files.
|
2023-06-28 18:37:46 -07:00 |
|
MattMo
|
d96c44e542
|
Working on code and tests for a serve file extension to make developing a small web server easier.
|
2023-06-28 17:41:31 -07:00 |
|
MattMo
|
8467251a17
|
Working on ServeMultiPage and ServeSinglePage to help make it easier to serve a website using this library.
|
2023-06-28 16:35:34 -07:00 |
|
MattMo
|
ac2f63229c
|
Fixed a minor bug with the GetValue Javascript generated function. Bumped package version to 1.6.2
|
2023-06-16 10:28:31 -07:00 |
|
MattMo
|
9367ba0ff5
|
Bumped package version to 1.6.1 and added helper GetValue function to Javascript and improved the documentation.
|
2023-06-16 10:17:21 -07:00 |
|
MattMo
|
52a6db9e1a
|
Added ReadAsForm to the RequestExtensions to help with reading form data. Bumped package verison to 1.6.0
|
2023-06-09 14:53:41 -07:00 |
|
MattMo
|
efd744974d
|
Bumped package version to 1.5.9, exposed a parameter in the init method to allow a custom message handler to be used with the client for C#.
|
2023-06-01 06:29:39 -07:00 |
|
MattMo
|
22ff3c1312
|
Fixed a bug with boolean default values. Bumped package version to 1.5.8.
|
2023-05-29 07:08:30 -07:00 |
|
MattMo
|
a630f0e334
|
Fixed a csharp client generator bug. The csharp client generator now outputs a constructor for types that allows setting property/fields. Bumped package version to 1.5.7
|
2023-05-29 06:47:52 -07:00 |
|
MattMo
|
755a2399e4
|
Bumped package version to 1.5.6 added a helper function to get the name from a enum value.
|
2023-05-22 08:59:56 -07:00 |
|
MattMo
|
5e814e81c6
|
Bumped package version to 1.5.5, added code to the CSharp client generator to generate a empty constructor and a constructor that can take an existing instance of a dto and automatically copy all the values.
|
2023-05-19 07:25:55 -07:00 |
|
MattMo
|
5048640a53
|
Bumped package version to 1.5.4, changed @method to use @function in client generator for javascript. Added blob support for requests.
|
2023-04-20 16:31:41 -07:00 |
|
MattMo
|
16c1bb878c
|
Added GetNamesValues function to javascript client generator output. Bumped package version to 1.5.3.
|
2023-04-20 08:50:28 -07:00 |
|
MattMo
|
54e1fbefec
|
Removed enum extends since it's not super helpful. Bumped package version to 1.5.2.
|
2023-04-14 06:44:30 -07:00 |
|
MattMo
|
bbd38496da
|
Bumped package version to 1.5.1, added GetNames/GetValues helper functions to Javascript Enum Type class.
|
2023-04-14 06:38:01 -07:00 |
|
MattMo
|
fe5fc73d14
|
Bumped package version to 1.5.0, changed Program.cs a little of the example. Improved the Javascript Client generator by exporting all types and changing enum to behave in a more useful way.
|
2023-04-13 15:00:24 -07:00 |
|
MattMo
|
e2c5aba868
|
Added Javascript client generator. Fixed a few bugs. Improved client generator code.
|
2023-04-12 18:03:55 -07:00 |
|
MattMo
|
6a7f6ce096
|
Modified ClientGenerator to support responses as a parameter input. Improved streams support. Bumped package version to 1.4.8
|
2023-03-31 09:19:22 -07:00 |
|
MattMo
|
b9e1f2ca7d
|
Modified GetMimeType to return binary type if there is no extension.
|
2023-03-31 08:44:45 -07:00 |
|
MattMo
|
cf477522c0
|
Bumped package version to 1.4.7. Added support for Stream requests and MemoryStream responses.
|
2023-03-31 08:21:32 -07:00 |
|
MattMo
|
fe99ba9b9d
|
Added RouteTypeName attribute that can be used to rename a type when generating client code.
|
2023-03-31 07:02:44 -07:00 |
|
MattMo
|
4bc388d86b
|
Bumped package version to 1.4.5 and modified ClientGenerator to include System.Net assembly as a DotNet type.
|
2023-03-30 10:36:51 -07:00 |
|
MattMo
|
71941f5dd0
|
Changed RouteListener to attempt to listen on all interfaces, if denied it falls back to local. Bumped package version to 1.4.4
|
2023-03-28 06:20:20 -07:00 |
|
MattMo
|
0c8467f942
|
Fixed an issue where built int Enums would be converted to int type for fields. Bumped package version to 1.4.3.
|
2023-03-24 08:21:12 -07:00 |
|
MattMo
|
f2db3bddbf
|
Changed logo to new design.
|
2023-03-24 07:38:53 -07:00 |
|
MattMo
|
ff7c356655
|
Improved route function generator to handle status codes better and check to see if json content was null or empty and return default. Bumped package version to 1.4.2
|
2023-03-24 07:33:35 -07:00 |
|
MattMo
|
1345e326a8
|
Added an attribute that can be used to included extra types in the client generation. Bumped package version to 1.4.1
|
2023-03-24 07:15:42 -07:00 |
|
MattMo
|
e8735d8764
|
Added support for sub types in the C# client code generator. Bumped package version to 1.4.0
|
2023-03-24 06:52:00 -07:00 |
|
MattMo
|
fafdb48d51
|
Bumped package version to 1.3.9 added support for Enum code generation and support for inherited types.
|
2023-03-23 08:23:08 -07:00 |
|
MattMo
|
7fd42ae81b
|
Added Logo.
|
2023-03-15 10:29:07 -07:00 |
|
MattMo
|
97fecdbe6f
|
Changed all response data extensions to no longer use chunking since we can specify the content length. Bumped package version to 1.3.8
|
2023-03-03 16:12:13 -08:00 |
|
MattMo
|
69e71bff0b
|
Cleaned up documentation. Response extension now sets the content length for a few extensions. Added WithNoBody response extension. Bumped package version to 1.3.7
|
2023-03-03 15:49:39 -08:00 |
|
MattMo
|
c0f029ce08
|
Bumped package version to 1.3.6. Added RouteFileCache.Cached function that doesn't return content.
|
2023-03-03 13:02:11 -08:00 |
|
MattMo
|
f4fe34e461
|
Added WithPreCompressedFile extension. Bumped package version to 1.3.5
|
2023-03-01 17:14:52 -08:00 |
|
MattMo
|
bd4f5f63b6
|
Renamed fileName back to filePath
|
2023-03-01 16:33:41 -08:00 |
|
MattMo
|
2b892dfd66
|
Added a new RouteFileCache and more response extensions. Bumped package version to 1.3.4.
|
2023-03-01 16:19:20 -08:00 |
|
MattMo
|
662bd03ddc
|
Changed Listener.Block to not use as much CPU usage, at least not visually in the task manager.
|
2023-03-01 12:22:23 -08:00 |
|
MattMo
|
f882a74c6d
|
Added compressed response extensions and added more to the example program. Bumped package version to 1.3.3
|
2023-02-24 12:05:57 -08:00 |
|
MattMo
|
22633ec94f
|
Added missing json mime type.
|
2023-02-10 12:12:37 -08:00 |
|
MattMo
|
f8b726634e
|
Changed mime type for javascript. Bumped package version to 1.3.2.
|
2023-02-10 12:11:44 -08:00 |
|
MattMo
|
55d75a7bb0
|
Improved WithFile extension to allow custom MimeTypes and added an auto mime type detection. Bumped package to 1.3.1
|
2023-02-09 12:53:03 -08:00 |
|
MattMo
|
0ee5e98768
|
Added a missing unit test and fixed another bug with the RouteMatcher. Bumped package version to 1.3.0
|
2023-02-08 15:23:43 -08:00 |
|
MattMo
|
85889973c8
|
Fixed some bugs within the RouteMatcher to better support wild card and catch all matching. Added unit tests. Bumped package version to 1.2.9
|
2023-02-08 15:14:17 -08:00 |
|
MattMo
|
12fe2da2a3
|
Fixed issue where client generator was actually removing routes from the original list. Improved documentation. Bumped package version to 1.2.8
|
2023-02-08 14:44:00 -08:00 |
|
MattMo
|
7ffa2d43ef
|
Improved the csharp client generator to check if the base url is null or whitespace and to remove trailing / characters. Fixed some bugs with different client names. Generator also now sets up cookie support.
|
2023-02-07 13:02:56 -08:00 |
|
MattMo
|
6ae73aaa7d
|
Changed response extensions to use utf-8 encoding instead of utf-16. Bumped package version to 1.2.6
|
2023-02-06 12:46:02 -08:00 |
|
MattMo
|
a1f2f4a91c
|
Fixed bug in client generation. Publishing nuget.
|
2023-02-06 12:15:39 -08:00 |
|
MattMo
|
5a1efa90c7
|
Reverting. Actually this is better.
|
2023-02-06 11:38:36 -08:00 |
|
MattMo
|
612a658b77
|
Changed static csharp generator to now rely on the client name so that it can be easily renamed.
|
2023-02-06 11:37:33 -08:00 |
|
MattMo
|
e4c3ee0673
|
Added static code generation option to the CSharp Client generator. Bumped package version to 1.2.4
|
2023-02-06 11:21:56 -08:00 |
|
MattMo
|
2076a1d02b
|
Broke up RestClientGenerator so that custom generators for other languages can be created or the C# one could be modified for custom use cases.
|
2023-02-06 10:46:38 -08:00 |
|
MattMo
|
ed1d10ba9d
|
Added Json flag to RouteRequest and RouteResponse to control whether or not the content is Json and needs to be handled. Updated example code. Renamed ClientCodeGenerator to RestClientGenerator. Bumped package version to 1.2.2.
|
2023-02-06 09:01:06 -08:00 |
|
MattMo
|
60768b1b3e
|
Added a hidden route attribute that can be used to exclude a given route from code generation. Bumped package version to 1.2.1
|
2023-02-05 13:27:10 -08:00 |
|
MattMo
|
5c2b2ea4ef
|
Bumped package version to 1.2.0. Added missing route method conversions to code generator.
|
2023-02-05 13:02:18 -08:00 |
|
MattMo
|
887cd687e0
|
Merge pull request 'Merging Code Generation Feature' (#1) from CodeGen into master
Reviewed-on: #1
|
2023-02-05 20:29:29 +00:00 |
|
MattMo
|
42c4682c89
|
Bumped package version to 1.1.9. Added documentation and cleaned up code. Going to merge into Master.
|
2023-02-05 12:28:37 -08:00 |
|
MattMo
|
1475159f1c
|
Added RouteName and Request/Response handling to the code generator. More work is needed.
|
2023-02-05 10:59:29 -08:00 |
|
MattMo
|
74f8921f7a
|
Improved the code generator. More to come.
|
2023-02-04 10:37:30 -08:00 |
|
MattMo
|
6bb01464e7
|
Working on C# client code generation.
|
2023-02-04 08:26:09 -08:00 |
|
MattMo
|
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 |
|
MattMo
|
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 |
|
MattMo
|
023654aba2
|
Cleaned up code and added new ResponseExtensions to help with bad requests.
|
2023-02-02 13:33:13 -08:00 |
|
MattMo
|
c4f4704441
|
Removed release notes so it's not confusing.
|
2023-02-02 09:53:03 -08:00 |
|
MattMo
|
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 |
|
MattMo
|
7dcc28d5e0
|
Upgrading to latest version of Newtonsoft.Json
|
2023-01-26 12:01:36 -08:00 |
|
MattMo
|
9f8d6639c0
|
Improved package description.
|
2023-01-26 11:51:01 -08:00 |
|
MattMo
|
9b849f5ec1
|
Simplified some class names and structure. New nuget version 1.1.4
|
2023-01-26 11:48:56 -08:00 |
|
MattMo
|
6db21454c9
|
Added nuget package icon and bumped version to 1.1.3
|
2023-01-26 10:21:24 -08:00 |
|
MattMo
|
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 |
|
MattMo
|
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 |
|
MattMo
|
56a17a3c66
|
Changed release notes for 1.1.0
|
2022-07-21 10:01:44 -07:00 |
|
MattMo
|
3e190641a0
|
Upgraded project to DotNet 6, increased package version to 1.1.0
|
2022-07-21 09:56:23 -07:00 |
|
MattMo
|
37356667d9
|
Cleaning up project structure and simplifying things.
|
2022-05-05 10:18:28 -07:00 |
|
MattMo
|
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 |
|
MattMo
|
6c64bbe4be
|
Fixed bugs and added a few helper functions.
|
2022-03-16 00:24:39 -07:00 |
|
MattMo
|
836aea0da7
|
Added more unit tests for the route matcher. Published 1.0.9 nuget package.
|
2022-03-03 18:55:45 -08:00 |
|
MattMo
|
da8184f152
|
Added unit test project. Improved route matcher and fixed bugs.
|
2022-03-03 00:18:45 -08:00 |
|
MattMo
|
16c42c1ef7
|
Added ReadToStream extension and bumped package version.
|
2022-03-02 00:53:30 -08:00 |
|
MattMo
|
e4c9b95fa3
|
Added ReadAsBytes extension and bumped nuget version.
|
2022-03-02 00:44:24 -08:00 |
|
MattMo
|
fcbaaf133c
|
Fixing issues with the route preprocess and postprocess events.
|
2022-02-19 22:23:26 -08:00 |
|
MattMo
|
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 |
|
MattMo
|
bf1b66e565
|
Added more cookie extensions and using set cookie now.
|
2022-02-06 22:50:22 -08:00 |
|
MattMo
|
b7837f6639
|
Added WithCookie extension for response.
|
2022-02-06 22:33:55 -08:00 |
|
MattMo
|
41bbabf1cb
|
Added more examples. WithText and WithJson now specify Utf16 to support rich content.
|
2022-02-06 21:32:01 -08:00 |
|
MattMo
|
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 |
|
MattMo
|
87a9b961bd
|
Upgraded rest.net csproj to new format. Configured nuget package creation. Included MIT license file.
|
2022-02-06 20:14:02 -08:00 |
|
MattMo
|
4bb85aad28
|
Renaming everything to live under the MontoyaTech namespace.
|
2022-02-06 19:37:51 -08:00 |
|
MattMo
|
fe7eb76a86
|
Removing build directories.
|
2022-02-06 19:26:11 -08:00 |
|
MattMo
|
2112b37ab4
|
Removing .vs and migration backup.
|
2022-02-06 19:25:29 -08:00 |
|
MattMo
|
5fa9e3307f
|
Pushing up git ignore.
|
2022-02-06 19:24:23 -08:00 |
|
MattMo
|
dd82897982
|
Pushing up initial version of Rest.Net.
|
2022-02-06 19:22:24 -08:00 |
|
MattMo
|
7bac946ea3
|
Initial commit
|
2022-02-06 23:48:51 +00:00 |
|