A library that turns your model into a fully working API, define your model as markdown (soon), json or c#.
MIT License
Bot releases are hidden (Show)
Direct integration with RabbitMQ (Azure Service Bus should work but untested!)
dotnet add package TCDev.ApiGenerator.RabitMQ --prerelease
builder.Services.AddApiGeneratorServices()
.AddAssembly(Assembly.GetExecutingAssembly())
.AddDataContextSQL()
.AddOData()
.AddRabbitMQ()<--- Add This
.AddSwagger(true);
New Attribute "Event" to configure RMQ behaviour, see screenshot:
Direct integration with Redis (self-hosted or Azure)
Can be configured using a new attribute (JSON soon)
dotnet add package TCDev.ApiGenerator.Redis--prerelease
[Api("/minimal")]
[Cachable("minimal_{0}",60)] // Add Cachable attribute and set cachekey template and time
public class MinimalSample : IObjectBase<int>
builder.Services.AddApiGeneratorServices()
.AddAssembly(Assembly.GetExecutingAssembly())
.AddDataContextSQL()
.AddOData()
.AddRedisCache() <--- Add This
.AddRabbitMQ()
.AddSwagger(true);
Published by DeeJayTC over 2 years ago
Published by DeeJayTC over 2 years ago
Version 0.1.2 adds various new features, fixes to earlier versions and now allows to create an API straight from a JSON definition
Full Changelog: https://github.com/DeeJayTC/net-dynamic-api/compare/0.0.2...0.1.2
Published by DeeJayTC over 2 years ago
Added Options
Fixed
Published by DeeJayTC over 2 years ago
Added various config options and using InMemory Database Provider as default
Published by DeeJayTC over 2 years ago
Current Nuget release