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" />
<PackageReference Include="BaDaBoom" />
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
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#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.
#:package BaDaBoom@1.1.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=BaDaBoom&version=1.1.0
#tool nuget:?package=BaDaBoom&version=1.1.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
BaDaBoom - RAD Framework
Opinionated CRUD Framework providing an application-development quick-start
Using BaDaBoom in a new Project
- Create an empty repository ⇒ <repositoryUrl>
- Scaffold a new WEB API solution ⇒ e.g. "MyApi"
- Run
dotnet new gitignore - Run
git remote add <repositoryUrl> - Create the following Solution folders:
- "1. Web"
- "2. Business"
- "3. Data"
- "4. Entities"
- Rename the scaffolded project to "MyApi.Web" and place it in the "1. Web" folder
- Create new class-library project "MyApi.Business" in the "2. Business" folder
- Create new class-library project "MyApi.Data" in the "3. Data" folder
- Create new class-library project "MyApi.Enties" in the "4. Entities" folder
- Run
Install-Package BaDaBoom -ProjectName <solutionName>.Enties - Add project references from "Web" to "Business", "Business" to "Data" and "Data" to "Entities".
- Rename the scaffolded classes in the class library projects to match their projectname (e.g. "MyApiData.cs") and make them public and static
- Add a new class "MyApiDbContext" to the "MyApi.Data" project and have that class extend "BaDaBoomDbContext"
- Add
builder.Services.AddBaDaBoom<SevenSeasDbContext>(options => options);as the first service to add in your "Program.cs" located in the "Web" project. - Add
app.UseBaDaBoom<SevenSeasDbContext>(app.Environment);as the first call when configuring the HTTP request pipeline in your "Program.cs" and addapp.UseBaDaBoomMedia(<mediaUploadPath>);after the call toapp.MapControllers - Change the call to
builder.Services.AddControllers();tobuilder.Services.AddControllers(options => { options.Conventions.Add(new RouteTokenTransformerConvention(new SlugifyParameterTransformer())); });. - Configure the options for BaDaBoom.
- In the "Data" project, add package "Microsoft.EntityFrameworkCore.Design" and create an "IDesignTimeDbContextFactory" for your DbContext.
- Run
dotnet ef migrations add Initialin your "Data" project. - Run the application, you should now see the Swagger interface, with endpoints for default BaDaBoom entities.
- 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 | Versions 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.
-
net8.0
- AutoMapper (>= 13.0.1)
- Cronos (>= 0.8.4)
- FluentValidation.DependencyInjectionExtensions (>= 11.9.0)
- GhostScript.NetCore (>= 1.0.1)
- Imageflow.AllPlatforms (>= 0.13.1)
- Imageflow.Server (>= 0.8.3)
- Imageflow.Server.HybridCache (>= 0.8.3)
- LinqKit.Microsoft.EntityFrameworkCore (>= 8.1.5)
- MailKit (>= 4.4.0)
- MediatR (>= 12.2.0)
- Microsoft.AspNetCore.Authentication.JwtBearer (>= 8.0.3)
- Microsoft.AspNetCore.Authorization (>= 8.0.3)
- Microsoft.AspNetCore.Identity.EntityFrameworkCore (>= 8.0.3)
- Microsoft.EntityFrameworkCore.Proxies (>= 8.0.3)
- Microsoft.EntityFrameworkCore.SqlServer (>= 8.0.3)
- Microsoft.Extensions.DependencyInjection.Abstractions (>= 8.0.1)
- MimeKit (>= 4.4.0)
- System.Drawing.Common (>= 8.0.3)
- System.IdentityModel.Tokens.Jwt (>= 7.5.0)
- System.Linq.Dynamic.Core (>= 1.3.7)
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 | 250 | 3/28/2024 |
| 1.0.0 | 294 | 12/21/2023 |
| 1.0.0-rc | 184 | 12/12/2023 |
| 0.18.4 | 234 | 12/8/2023 |
| 0.18.3 | 184 | 12/4/2023 |
| 0.18.2 | 266 | 12/4/2023 |
| 0.18.1 | 245 | 11/8/2023 |
| 0.18.0 | 243 | 9/18/2023 |
| 0.17.15 | 297 | 7/3/2023 |
| 0.17.14 | 321 | 5/15/2023 |
| 0.17.13 | 298 | 4/13/2023 |
| 0.17.10 | 366 | 4/4/2023 |
| 0.17.9 | 381 | 3/9/2023 |
| 0.17.5 | 416 | 2/24/2023 |
| 0.17.4 | 383 | 2/23/2023 |
| 0.17.3 | 425 | 2/22/2023 |
| 0.17.2 | 380 | 2/20/2023 |
| 0.17.1 | 383 | 2/16/2023 |
| 0.17.0 | 487 | 2/13/2023 |
| 0.16.3 | 433 | 2/3/2023 |
| 0.16.2 | 438 | 1/27/2023 |
| 0.16.1 | 550 | 1/17/2023 |
| 0.16.0 | 480 | 1/13/2023 |
| 0.15.0 | 455 | 1/10/2023 |
| 0.14.0 | 820 | 1/3/2023 |
| 0.13.1 | 1,178 | 12/12/2022 |
| 0.13.0 | 440 | 12/12/2022 |
| 0.12.4 | 1,090 | 11/28/2022 |
| 0.12.3 | 930 | 11/25/2022 |
| 0.12.2 | 917 | 11/16/2022 |
| 0.12.1 | 2,021 | 10/12/2022 |
| 0.12.0 | 592 | 10/12/2022 |
| 0.11.6 | 645 | 10/10/2022 |
| 0.11.5 | 614 | 10/4/2022 |
| 0.11.4 | 676 | 9/16/2022 |
| 0.11.3 | 4,099 | 8/29/2022 |
| 0.11.2 | 2,035 | 8/22/2022 |
| 0.11.1 | 713 | 8/19/2022 |
| 0.11.0 | 748 | 7/26/2022 |
| 0.10.11 | 757 | 6/22/2022 |
| 0.10.10 | 777 | 6/7/2022 |
| 0.10.9 | 771 | 6/7/2022 |
| 0.10.8 | 755 | 5/30/2022 |
| 0.10.7 | 797 | 5/30/2022 |
| 0.10.6 | 792 | 5/23/2022 |
| 0.10.5 | 797 | 5/20/2022 |
| 0.10.3 | 829 | 5/17/2022 |
| 0.10.2 | 732 | 5/16/2022 |
| 0.10.1 | 780 | 5/10/2022 |
| 0.10.0 | 833 | 4/20/2022 |
| 0.9.3 | 826 | 4/14/2022 |
| 0.9.2 | 809 | 3/4/2022 |
| 0.9.1 | 872 | 2/7/2022 |
| 0.9.0 | 929 | 2/1/2022 |
| 0.8.2 | 876 | 1/18/2022 |
| 0.8.1 | 629 | 12/6/2021 |
| 0.8.0 | 603 | 12/6/2021 |
| 0.7.0 | 619 | 11/15/2021 |
| 0.6.0 | 581 | 10/27/2021 |
| 0.5.3 | 625 | 10/18/2021 |
| 0.5.2 | 606 | 10/15/2021 |
| 0.5.1 | 609 | 10/14/2021 |
| 0.5.0 | 542 | 10/13/2021 |
| 0.4.0 | 598 | 9/8/2021 |
| 0.3.0 | 569 | 9/2/2021 |
| 0.2.1 | 801 | 8/19/2021 |
| 0.2.0 | 723 | 8/13/2021 |