GT.API.Core 2.4.0

dotnet add package GT.API.Core --version 2.4.0
                    
NuGet\Install-Package GT.API.Core -Version 2.4.0
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="GT.API.Core" Version="2.4.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="GT.API.Core" Version="2.4.0" />
                    
Directory.Packages.props
<PackageReference Include="GT.API.Core" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add GT.API.Core --version 2.4.0
                    
#r "nuget: GT.API.Core, 2.4.0"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package GT.API.Core@2.4.0
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=GT.API.Core&version=2.4.0
                    
Install as a Cake Addin
#tool nuget:?package=GT.API.Core&version=2.4.0
                    
Install as a Cake Tool

GT.API.Core

DI

Autofac modules for registrations.

Filters

filters for permissions and transforamtion exception in response to standard Ok response with error object.

Framework

Here are base objects to standardize response objects and helpers to process request data.

Logging

AppLogging based on Serilog. Aplication IGTLogger interface realized by AppLogging.

Model

Basic request and response objects. In this time just LoginRequest and LoginResponse.

WebUsers

Part for access permissions from module in GT.Members

Release notes

VERSION 1.1.3

martinb 16.10.2017 15:06
  • changed PermissionFilterAtribute - possible add more permissions delimited by ' ', ',', '.', ':'

VERSION 1.2.0

tgalik 24.10.2017 09:39
  • added base controller ApiControllerBase for simplifications work. Moved from GT.API.Jumaz # API Core

VERSION 1.3.4

tgalik 24.10.2017 09:39
  • added base controller ApiDataControllerBase for simplifications work with simple entity. Usable for simple lists without reference objects and similar, where editations we simple. for example list of manufacturers, list of languages, ... Is not recommended for using in advance construction

VERSION 1.3.5

tgalik 02.11.2017 13:23
  • includes in case empty result return null. Now return empty list.

VERSION 2.1.1

mgluch 06.12.2017 15:50

added functions:

  • methods ClearInvalidTokens in object ModuleWebUsers to remove tokens
    • ako parameter vstupuje funkcia na základe kt. je možné určit či môže vymazať uživateľa zo session
  • created new object UserManager for send request to GT.API.Members to create new user, for permissions refreshing return Id base email. *new method for extend Autofac for registratins tasks GT.Core.Scheduler.Interfaces.ITask
    • public class TokenCleanerTask : ITask 
      {
          // Implementations
      }
      
      public IServiceProvider ConfigureServices(IServiceCollection services)
      {
          var builder = new ContainerBuilder();
          builder.RegisterTask<TokenCleanerTask>();
      }
      
    • Created middleware UseScheduler to register tasks
      • public void Configure(IApplicationBuilder app) 
        {
            // ApplicationContainer is IContainer z Autofac
            app.UseScheduler(ApplicationContainer, TimeSpan.FromMinutes(2));
        } 
        
      
      
      

VERSION 2.2.1

tgalik 15.12.2017 11:02
  • Added Id reuslt
  • Added validationExceptionFilter
  • Added solution file v sln folder

VERSION 2.3.0

tgalik 07.02.2018 09:00
  • Translation to english
  • WebGlobalUserMoved to Gt.Members

VERSION 2.3.3

tgalik 08.02.2018 13:30
  • Inceased version of GT.Core

VERSION 2.4.0

tgalik 08.02.2018 13:56
  • Changed ApiDataControllerBase - _service property from EntiryService to IEntityService
Product Compatible and additional computed target framework versions.
.NET net5.0 was computed.  net5.0-windows was computed.  net6.0 was computed.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed.  net9.0 was computed.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 was computed.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
.NET Core netcoreapp1.0 was computed.  netcoreapp1.1 was computed.  netcoreapp2.0 was computed.  netcoreapp2.1 was computed.  netcoreapp2.2 was computed.  netcoreapp3.0 was computed.  netcoreapp3.1 was computed. 
.NET Standard netstandard1.6 is compatible.  netstandard2.0 was computed.  netstandard2.1 was computed. 
.NET Framework net461 was computed.  net462 was computed.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 was computed.  net481 was computed. 
MonoAndroid monoandroid was computed. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen tizen30 was computed.  tizen40 was computed.  tizen60 was computed. 
Xamarin.iOS xamarinios was computed. 
Xamarin.Mac xamarinmac was computed. 
Xamarin.TVOS xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
2.4.0 1,666 3/29/2018