Cloud service SDK integrations including Cloudinary media management, Remove.bg background removal, and Fixer.io currency exchange rates.
$ dotnet add package BAUERGROUP.Shared.CloudA comprehensive multi-target .NET shared library platform providing essential building blocks for enterprise applications within the BAUER GROUP ecosystem. Supports .NET 10, .NET 8, and .NET Standard 2.0 for maximum compatibility.
The BAUER GROUP Shared Platform is a modular, multi-project solution designed to accelerate development across the organization. It provides battle-tested implementations for common enterprise requirements including logging, data persistence, API integrations, cloud services, and desktop UI components.
| Package | Target Frameworks | Description |
|---|---|---|
BAUERGROUP.Shared.Core | net10.0, net8.0, netstandard2.0 | Core utilities, extensions, logging (NLog + Sentry), error tracking |
BAUERGROUP.Shared.Data | net10.0, net8.0, netstandard2.0 | Data persistence: SQLite, LiteDB, in-memory database, caching |
BAUERGROUP.Shared.API | net10.0, net8.0, netstandard2.0 | Generic API integrations |
BAUERGROUP.Shared.API.Shipping | net10.0, net8.0, netstandard2.0 | Shipping providers: DHL, DPD, GLS, Deutsche Post, UPS |
BAUERGROUP.Shared.Cloud | net10.0, net8.0 | Cloud services: Cloudinary media management |
BAUERGROUP.Shared.Desktop | net10.0-windows, net8.0-windows | WPF/WinForms utilities, behaviors, converters |
BAUERGROUP.Shared.Desktop.Browser | net10.0-windows, net8.0-windows | Embedded Chromium browser (CefSharp) for WPF |
BAUERGROUP.Shared.Desktop.Reporting | net10.0-windows, net8.0-windows | Stimulsoft Reports integration* |
*Requires separate Stimulsoft license
# Core package (required)
Install-Package BAUERGROUP.Shared.Core
# Optional packages
Install-Package BAUERGROUP.Shared.Data
Install-Package BAUERGROUP.Shared.API
Install-Package BAUERGROUP.Shared.API.Shipping
Install-Package BAUERGROUP.Shared.Cloud
Install-Package BAUERGROUP.Shared.Desktop
Install-Package BAUERGROUP.Shared.Desktop.Browser
Install-Package BAUERGROUP.Shared.Desktop.Reportingdotnet add package BAUERGROUP.Shared.Coreusing BAUERGROUP.Shared.Core.Logging;
// Configure logging
var config = new BGLoggerConfiguration
{
ApplicationName = "MyApplication",
LogDirectory = @"C:\Logs",
SentryDsn = "https://your-sentry-dsn@sentry.io/project",
SentryEnvironment = "production"
};
BGLogger.Configure(config);
BGLogger.Reload();
// Use the logger
BGLogger.Info("Application started");
BGLogger.Error(exception, "An error occurred");using BAUERGROUP.Shared.Data.Connection;
// Open encrypted SQLite database
var connection = SQLiteConnectionFactory.CreateConnection(
"mydata.db",
"encryption-key"
);
// Use with your preferred ORM or raw SQLusing BAUERGROUP.Shared.Desktop.Browser;
// Show embedded Chrome browser window
WPFToolboxBrowser.ChromeEmbeddedWebbrowserWindow(
title: "Web View",
url: "https://example.com",
owner: this
);Desktop, Desktop.Browser, Desktop.Reporting)BAUERGROUP.Shared.Desktop.ReportingBAUERGROUP.Shared.Plattform/
├── src/
│ ├── BAUERGROUP.Shared.Core/ # Core utilities & logging
│ ├── BAUERGROUP.Shared.Data/ # Data persistence layer
│ ├── BAUERGROUP.Shared.API/ # Generic API integrations
│ ├── BAUERGROUP.Shared.Cloud/ # Cloud service integrations
│ ├── BAUERGROUP.Shared.Desktop/ # WPF/WinForms utilities
│ ├── BAUERGROUP.Shared.Desktop.Browser/ # Embedded browser
│ └── BAUERGROUP.Shared.Desktop.Reporting/ # Reporting components
├── tests/
│ └── BAUERGROUP.Shared.Tests/ # Unit tests
├── assets/
│ └── icons/ # Shared icons
├── docs/
│ ├── BUILD.md # Build documentation
│ ├── CHANGELOG.md # Version history
│ ├── DEPENDENCY-LICENSES.md # License analysis
│ └── INSTALLATION.md # Installation guide
├── Directory.Build.props # Shared build configuration
├── Directory.Packages.props # Central package management
└── BAUERGROUP.Shared.Plattform.sln # Solution file
# Clone the repository
git clone https://github.com/bauergroup/BAUERGROUP.Shared.Plattform.git
cd BAUERGROUP.Shared.Plattform
# Restore dependencies
dotnet restore
# Build solution
dotnet build
# Run tests
dotnet testdotnet pack --configuration ReleasePackages will be output to bin/Release/*.nupkg
The library uses NLog for logging. Configuration can be done programmatically via BGLoggerConfiguration or through nlog.config.
Two Sentry integration options are available:
Official Sentry.NLog (Recommended for BGLogger)
BGErrorTracking (Standalone)
This project uses various open-source packages. See DEPENDENCY-LICENSES.md for a complete license analysis.
| Package | License | Notes |
|---|---|---|
| NLog | BSD 3-Clause | Logging framework |
| CefSharp | BSD 3-Clause | Chromium browser |
| Sentry | MIT | Error tracking |
| Stimulsoft | Proprietary | Requires separate license |
Contributions are welcome! Please follow these guidelines:
git checkout -b feature/amazing-feature)git commit -m 'Add amazing feature')git push origin feature/amazing-feature)For questions or issues:
This project is licensed under the MIT License - see the LICENSE file for details.
Note: Some dependencies (Stimulsoft) require separate commercial licenses. See DEPENDENCY-LICENSES.md for details.
BAUER GROUP - Building Better Software Together