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.
<PackageVersion Include="BaDaBoom" Version="1.1.0" />
                    
Directory.Packages.props
<PackageReference Include="BaDaBoom" />
                    
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 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.
#addin nuget:?package=BaDaBoom&version=1.1.0
                    
Install as a Cake Addin
#tool nuget:?package=BaDaBoom&version=1.1.0
                    
Install as a Cake Tool

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.  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. 
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 169 3/28/2024
1.0.0 238 12/21/2023
1.0.0-rc 155 12/12/2023
0.18.4 179 12/8/2023
0.18.3 154 12/4/2023
0.18.2 207 12/4/2023
0.18.1 195 11/8/2023
0.18.0 191 9/18/2023
0.17.15 246 7/3/2023
0.17.14 241 5/15/2023
0.17.13 246 4/13/2023
0.17.10 282 4/4/2023
0.17.9 317 3/9/2023
0.17.5 356 2/24/2023
0.17.4 319 2/23/2023
0.17.3 367 2/22/2023
0.17.2 306 2/20/2023
0.17.1 320 2/16/2023
0.17.0 427 2/13/2023
0.16.3 367 2/3/2023
0.16.2 381 1/27/2023
0.16.1 470 1/17/2023
0.16.0 402 1/13/2023
0.15.0 393 1/10/2023
0.14.0 696 1/3/2023
0.13.1 989 12/12/2022
0.13.0 379 12/12/2022
0.12.4 926 11/28/2022
0.12.3 798 11/25/2022
0.12.2 816 11/16/2022
0.12.1 1,779 10/12/2022
0.12.0 528 10/12/2022
0.11.6 568 10/10/2022
0.11.5 559 10/4/2022
0.11.4 613 9/16/2022
0.11.3 3,724 8/29/2022
0.11.2 1,848 8/22/2022
0.11.1 636 8/19/2022
0.11.0 657 7/26/2022
0.10.11 682 6/22/2022
0.10.10 706 6/7/2022
0.10.9 694 6/7/2022
0.10.8 683 5/30/2022
0.10.7 708 5/30/2022
0.10.6 715 5/23/2022
0.10.5 702 5/20/2022
0.10.3 735 5/17/2022
0.10.2 666 5/16/2022
0.10.1 699 5/10/2022
0.10.0 731 4/20/2022
0.9.3 753 4/14/2022
0.9.2 740 3/4/2022
0.9.1 783 2/7/2022
0.9.0 844 2/1/2022
0.8.2 793 1/18/2022
0.8.1 537 12/6/2021
0.8.0 536 12/6/2021
0.7.0 540 11/15/2021
0.6.0 509 10/27/2021
0.5.3 565 10/18/2021
0.5.2 528 10/15/2021
0.5.1 535 10/14/2021
0.5.0 463 10/13/2021
0.4.0 527 9/8/2021
0.3.0 496 9/2/2021
0.2.1 698 8/19/2021
0.2.0 633 8/13/2021