92 Commits

Author SHA1 Message Date
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
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
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
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
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
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
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
22ff3c1312 Fixed a bug with boolean default values. Bumped package version to 1.5.8. 2023-05-29 07:08:30 -07:00
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
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
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
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
16c1bb878c Added GetNamesValues function to javascript client generator output. Bumped package version to 1.5.3. 2023-04-20 08:50:28 -07:00
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
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
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
e2c5aba868 Added Javascript client generator. Fixed a few bugs. Improved client generator code. 2023-04-12 18:03:55 -07:00
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
b9e1f2ca7d Modified GetMimeType to return binary type if there is no extension. 2023-03-31 08:44:45 -07:00
cf477522c0 Bumped package version to 1.4.7. Added support for Stream requests and MemoryStream responses. 2023-03-31 08:21:32 -07:00
fe99ba9b9d Added RouteTypeName attribute that can be used to rename a type when generating client code. 2023-03-31 07:02:44 -07:00
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
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
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
f2db3bddbf Changed logo to new design. 2023-03-24 07:38:53 -07:00
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
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
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
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
7fd42ae81b Added Logo. 2023-03-15 10:29:07 -07:00
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
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
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
f4fe34e461 Added WithPreCompressedFile extension. Bumped package version to 1.3.5 2023-03-01 17:14:52 -08:00
bd4f5f63b6 Renamed fileName back to filePath 2023-03-01 16:33:41 -08:00
2b892dfd66 Added a new RouteFileCache and more response extensions. Bumped package version to 1.3.4. 2023-03-01 16:19:20 -08:00
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
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
22633ec94f Added missing json mime type. 2023-02-10 12:12:37 -08:00
f8b726634e Changed mime type for javascript. Bumped package version to 1.3.2. 2023-02-10 12:11:44 -08:00
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
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
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
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
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
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
a1f2f4a91c Fixed bug in client generation. Publishing nuget. 2023-02-06 12:15:39 -08:00
5a1efa90c7 Reverting. Actually this is better. 2023-02-06 11:38:36 -08:00
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
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