Skip to content

avolutions/baf-core

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

83 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Avolutions BAF Core

NuGet Version NuGet Downloads

Core library for the Avolutions Business Application Framework (BAF).

Installation

Install via NuGet:

dotnet add package Avolutions.Baf.Core

Quick Start

In your Program.cs, add BAF to the service collection and middleware pipeline.

using Avolutions.Baf.Core.Modules.Extensions;
using Microsoft.EntityFrameworkCore;

var builder = WebApplication.CreateBuilder(args);

// Register EF Core DbContext
builder.Services.AddDbContext<ApplicationDbContext>(options =>
    options.UseNpgsql(builder.Configuration.GetConnectionString("DefaultConnection")));

// Register BAF Core with your DbContext
builder.Services.AddBafCore<ApplicationDbContext>();

var app = builder.Build();

// Initialize BAF Core
app.UseBafCore();

app.Run();

About

Core library for the Avolutions Business Application Framework (BAF).

Resources

License

Stars

Watchers

Forks

Languages