Net Dynamic Api Versions Save

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

0.7.0

1 year 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

RC1

1 year ago

New Release Candiate

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

0.6.0

1 year ago

0.1.2

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

0-0-8-alpha

2 years ago

Added Options

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

Fixed

  • Fixed app startup with missing connectingstring despite using InMemory

0.0.6-alpha

2 years ago

Added various config options and using InMemory Database Provider as default

0.04-alpha

2 years ago

Current Nuget release