MASES.EntityFrameworkCore.KNet.Templates 2.1.0

dotnet new install MASES.EntityFrameworkCore.KNet.Templates::2.1.0
This package contains a .NET Template Package you can call from the shell/command line.

title: Templates usage of KEFCore _description: Describes how to use templates of Entity Framework Core provider for Apache Kafka

KEFCore: Template Usage Guide

For more information related to .NET templates look at https://docs.microsoft.com/en-us/dotnet/core/tools/dotnet-new-sdk-templates.

Installation

To install the templates executes the following command within a command shell:

dotnet new --install MASES.EntityFrameworkCore.KNet.Templates

The command installs the latest version and on success will list all templates added to the list of available templates. There is single template:

  1. kefcoreApp: a project to create a console application using Entity Framework Core provider for Apache Kafka
  2. kefcoreAppWithEvents: a project to create a console application using Entity Framework Core provider for Apache Kafka which reports events when the back-end send back modifications

Simple usage

To use one of the available templates run the following command:

dotnet new kefcoreApp

the previous command will create a .NET project for an executable. The user shall modify the code to set-up, at least the Apache Kafka broker address, and then execute it against an Apache Kafka server.

The kefcoreApp template create the topics and fill them, then execute queries on previously data loaded.

The kefcoreAppWithEvents template create the topics and fill them, then execute queries on previously data loaded. While the data are received from the back-end the event handler is triggered so the user can take an action, current behavior is to report something in the console.

  • net6.0

    • No dependencies.
  • net7.0

    • No dependencies.
  • net8.0

    • No dependencies.

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.1.0 617 3/1/2024
2.0.2 620 2/12/2024
2.0.1 535 1/27/2024
2.0.0 265 1/21/2024
1.1.0 1,645 11/25/2023
1.0.0 1,119 10/22/2023