net-dynamic-api

A library that turns your model into a fully working API, define your model as markdown (soon), json or c#.

MIT License

Stars
186
Committers
3

Bot releases are hidden (Show)

net-dynamic-api - 0.7.0 - Bugfixes + AMQP Latest Release

Published by DeeJayTC about 2 years ago

New features:

TCDev.APIGenerator.RabbitMQ

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:

image

TCDev.APIGenerator.Redis

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);
    

Bugfixes and Improvements

  • Can now set "ConnectionStringName" instead of just connection. If ConnectionStringName is set the APIGen is using the connection string in the named "ConnectionString" section of AppSettings. This helps to improve AzureKeyVault support.
  • Various smaller bugfixes
net-dynamic-api - 0.6.0 - Restructure and more

Published by DeeJayTC over 2 years ago

net-dynamic-api - 0.1.2 - Authentication & API from JSON

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

What's Changed

Full Changelog: https://github.com/DeeJayTC/net-dynamic-api/compare/0.0.2...0.1.2

net-dynamic-api - 0.0.8-alpha

Published by DeeJayTC over 2 years ago

Added Options

  • Enable/Disable OData
  • Set XMLComments file for swagger docs

Fixed

  • Fixed app startup with missing connectingstring despite using InMemory
net-dynamic-api - 0.0.6-alpha

Published by DeeJayTC over 2 years ago

Added various config options and using InMemory Database Provider as default

net-dynamic-api - 0.04-alpha

Published by DeeJayTC over 2 years ago

Current Nuget release

Related Projects