BaDaBoom 1.1.0

dotnet add package BaDaBoom --version 1.1.0                
NuGet\Install-Package BaDaBoom -Version 1.1.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="BaDaBoom" Version="1.1.0" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add BaDaBoom --version 1.1.0                
#r "nuget: BaDaBoom, 1.1.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.
// Install BaDaBoom as a Cake Addin
#addin nuget:?package=BaDaBoom&version=1.1.0

// Install BaDaBoom as a Cake Tool
#tool nuget:?package=BaDaBoom&version=1.1.0                

BaDaBoom - RAD Framework

Opinionated CRUD Framework providing an application-development quick-start

Using BaDaBoom in a new Project

  1. Create an empty repository ⇒ <repositoryUrl>
  2. Scaffold a new WEB API solution ⇒ e.g. "MyApi"
  3. Run dotnet new gitignore
  4. Run git remote add <repositoryUrl>
  5. Create the following Solution folders:
    • "1. Web"
    • "2. Business"
    • "3. Data"
    • "4. Entities"
  6. Rename the scaffolded project to "MyApi.Web" and place it in the "1. Web" folder
  7. Create new class-library project "MyApi.Business" in the "2. Business" folder
  8. Create new class-library project "MyApi.Data" in the "3. Data" folder
  9. Create new class-library project "MyApi.Enties" in the "4. Entities" folder
  10. Run Install-Package BaDaBoom -ProjectName <solutionName>.Enties
  11. Add project references from "Web" to "Business", "Business" to "Data" and "Data" to "Entities".
  12. Rename the scaffolded classes in the class library projects to match their projectname (e.g. "MyApiData.cs") and make them public and static
  13. Add a new class "MyApiDbContext" to the "MyApi.Data" project and have that class extend "BaDaBoomDbContext"
  14. Add builder.Services.AddBaDaBoom<SevenSeasDbContext>(options => options); as the first service to add in your "Program.cs" located in the "Web" project.
  15. Add app.UseBaDaBoom<SevenSeasDbContext>(app.Environment); as the first call when configuring the HTTP request pipeline in your "Program.cs" and add app.UseBaDaBoomMedia(<mediaUploadPath>); after the call to app.MapControllers
  16. Change the call to builder.Services.AddControllers(); to builder.Services.AddControllers(options => { options.Conventions.Add(new RouteTokenTransformerConvention(new SlugifyParameterTransformer())); });.
  17. Configure the options for BaDaBoom.
  18. In the "Data" project, add package "Microsoft.EntityFrameworkCore.Design" and create an "IDesignTimeDbContextFactory" for your DbContext.
  19. Run dotnet ef migrations add Initial in your "Data" project.
  20. Run the application, you should now see the Swagger interface, with endpoints for default BaDaBoom entities.
  21. Git commit and push your changes

Database migrations

run dotnet ef migrations add "SampleMigration" --project BaDaBoomDev.Infrastructure --startup-project BaDaBoomDev --output-dir Persistence\Migrations to add a new migration.

Product Compatible and additional computed target framework versions.
.NET net8.0 is compatible.  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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (2)

Showing the top 2 NuGet packages that depend on BaDaBoom:

Package Downloads
BaDaBoomShop

Webshop back-end framework based on the IAM stack

BaDaBoom.Auth

JWT Authentication for the IAM RAD framework

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
1.1.0 144 3/28/2024
1.0.0 220 12/21/2023
1.0.0-rc 144 12/12/2023
0.18.4 161 12/8/2023
0.18.3 144 12/4/2023
0.18.2 194 12/4/2023
0.18.1 186 11/8/2023
0.18.0 176 9/18/2023
0.17.15 226 7/3/2023
0.17.14 217 5/15/2023
0.17.13 223 4/13/2023
0.17.10 259 4/4/2023
0.17.9 295 3/9/2023
0.17.5 333 2/24/2023
0.17.4 295 2/23/2023
0.17.3 346 2/22/2023
0.17.2 283 2/20/2023
0.17.1 296 2/16/2023
0.17.0 405 2/13/2023
0.16.3 342 2/3/2023
0.16.2 356 1/27/2023
0.16.1 446 1/17/2023
0.16.0 376 1/13/2023
0.15.0 362 1/10/2023
0.14.0 670 1/3/2023
0.13.1 964 12/12/2022
0.13.0 354 12/12/2022
0.12.4 900 11/28/2022
0.12.3 774 11/25/2022
0.12.2 793 11/16/2022
0.12.1 1,752 10/12/2022
0.12.0 503 10/12/2022
0.11.6 542 10/10/2022
0.11.5 532 10/4/2022
0.11.4 580 9/16/2022
0.11.3 3,693 8/29/2022
0.11.2 1,822 8/22/2022
0.11.1 600 8/19/2022
0.11.0 627 7/26/2022
0.10.11 648 6/22/2022
0.10.10 672 6/7/2022
0.10.9 658 6/7/2022
0.10.8 648 5/30/2022
0.10.7 674 5/30/2022
0.10.6 678 5/23/2022
0.10.5 670 5/20/2022
0.10.3 704 5/17/2022
0.10.2 633 5/16/2022
0.10.1 667 5/10/2022
0.10.0 692 4/20/2022
0.9.3 715 4/14/2022
0.9.2 701 3/4/2022
0.9.1 739 2/7/2022
0.9.0 800 2/1/2022
0.8.2 751 1/18/2022
0.8.1 496 12/6/2021
0.8.0 488 12/6/2021
0.7.0 498 11/15/2021
0.6.0 467 10/27/2021
0.5.3 522 10/18/2021
0.5.2 488 10/15/2021
0.5.1 494 10/14/2021
0.5.0 423 10/13/2021
0.4.0 488 9/8/2021
0.3.0 457 9/2/2021
0.2.1 655 8/19/2021
0.2.0 593 8/13/2021