![]() |
VOOZH | about |
dotnet add package BAUERGROUP.Shared.Core --version 3.0.8
NuGet\Install-Package BAUERGROUP.Shared.Core -Version 3.0.8
<PackageReference Include="BAUERGROUP.Shared.Core" Version="3.0.8" />
<PackageVersion Include="BAUERGROUP.Shared.Core" Version="3.0.8" />Directory.Packages.props
<PackageReference Include="BAUERGROUP.Shared.Core" />Project file
paket add BAUERGROUP.Shared.Core --version 3.0.8
#r "nuget: BAUERGROUP.Shared.Core, 3.0.8"
#:package BAUERGROUP.Shared.Core@3.0.8
#addin nuget:?package=BAUERGROUP.Shared.Core&version=3.0.8Install as a Cake Addin
#tool nuget:?package=BAUERGROUP.Shared.Core&version=3.0.8Install as a Cake Tool
👁 .NET 10
👁 .NET 8
👁 .NET Standard 2.0
👁 NuGet
A 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 Libraries form 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), resilience patterns (Polly) |
BAUERGROUP.Shared.Data |
net10.0, net8.0, netstandard2.0 | Data persistence: SQLite key-value storage, LiteDB, in-memory database (NMemory) |
BAUERGROUP.Shared.API |
net10.0, net8.0, netstandard2.0 | Generic REST API client (RestSharp) with JSON serialization |
BAUERGROUP.Shared.Cloud |
net10.0, net8.0 | Cloud services: Cloudinary, RemoveBG, Fixer.io currency exchange |
BAUERGROUP.Shared.Desktop |
net10.0-windows, net8.0-windows | WPF/WinForms utilities, behaviors, reactive extensions |
BAUERGROUP.Shared.Desktop.Browser |
net10.0-windows, net8.0-windows | Embedded Chromium browser (CefSharp) and WebView2 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.Cloud
Install-Package BAUERGROUP.Shared.Desktop
Install-Package BAUERGROUP.Shared.Desktop.Browser
Install-Package BAUERGROUP.Shared.Desktop.Reporting
dotnet add package BAUERGROUP.Shared.Core
using BAUERGROUP.Shared.Core.Logging;
// Configure logging (settings are applied through the Configuration property)
BGLogger.Configuration.ApplicationName = "MyApplication";
BGLogger.Configuration.LogDirectory = @"C:\Logs";
// Enable Sentry error tracking (optional)
BGLogger.Configuration.SentryDsn = "https://your-sentry-dsn@sentry.io/project";
BGLogger.Configuration.SentryEnvironment = "production";
BGLogger.Configuration.ErrorTracking = true;
// Enable additional targets as needed
BGLogger.Configuration.Console = true;
BGLogger.Configuration.File = true; // Enabled by default
// Use the logger
BGLogger.Info("Application started");
BGLogger.Error(exception, "An error occurred");
// Enable automatic unhandled exception reporting
BGLogger.UnhandledExceptionReporting(true);
using BAUERGROUP.Shared.Data.EmbeddedDatabase;
// Create a thread-safe, persistent key-value dictionary backed by SQLite
using var storage = new ConcurrentPersistentDictionary<string, MyData>(
dataStorageDirectory: @"C:\Data",
databaseName: "MyDatabase",
tableName: "MyTable"
);
// Store and retrieve data
storage.Create("key1", new MyData { Name = "Example" });
var data = storage.Read("key1");
bool exists = storage.Exists("key1");
storage.Delete("key1");
// Read all entries
var allData = storage.Read();
var allWithKeys = storage.ReadWithKeys();
using BAUERGROUP.Shared.Desktop.Browser;
// Show embedded Chrome browser window (non-blocking)
WPFToolboxBrowser.ChromeEmbeddedWebbrowserWindow(
title: "Web View",
url: "https://example.com",
owner: this,
wait: false
);
// Show browser and wait for it to close (modal dialog)
WPFToolboxBrowser.ChromeEmbeddedWebbrowserWindow(
title: "Web View",
url: "https://example.com",
owner: this,
wait: true
);
// Take a screenshot of a website
await WPFToolboxBrowser.MakeWebsiteScreenshot(
"https://example.com",
"screenshot.png"
);
Desktop, Desktop.Browser, Desktop.Reporting)BAUERGROUP.Shared.Desktop.ReportingBAUERGROUP.Shared/
├── src/
│ ├── BAUERGROUP.Shared.Core/ # Core utilities & logging
│ ├── BAUERGROUP.Shared.Data/ # Data persistence layer
│ ├── BAUERGROUP.Shared.API/ # Generic REST API client
│ ├── 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.Test/ # Unit tests
├── assets/ # Application icons
├── docs/
│ ├── BUILD.md # Build documentation
│ ├── DEPENDENCY-LICENSES.md # License analysis
│ ├── DOCUMENTATION-PLATFORM-SPEC.md # Platform specification
│ ├── INSTALLATION.md # Installation guide
│ └── VERSIONING.md # Version management
├── CHANGELOG.md # Version history
├── Directory.Build.props # Shared build configuration
├── Directory.Packages.props # Central package management
└── BAUERGROUP.Shared.slnx # Solution file
# Clone the repository
git clone https://github.com/bauer-group/LIB-Shared-NET.git
cd LIB-Shared-NET
# Restore dependencies
dotnet restore
# Build solution
dotnet build
# Run tests
dotnet test
dotnet pack --configuration Release
Packages will be output to bin/Release/*.nupkg
The library uses NLog for logging. Configuration is done programmatically via BGLogger.Configuration:
// Available logging targets (can be enabled/disabled at runtime)
BGLogger.Configuration.File = true; // File logging (default: enabled)
BGLogger.Configuration.Console = true; // Console output
BGLogger.Configuration.ConsoleColored = true; // Colored console output
BGLogger.Configuration.Network = true; // UDP network logging
BGLogger.Configuration.NLogViewer = true; // NLog Viewer (Log4J XML format)
BGLogger.Configuration.Memory = true; // In-memory log storage
BGLogger.Configuration.Debugger = true; // VS Debugger output
BGLogger.Configuration.Eventlog = true; // Windows Event Log (.NET only)
BGLogger.Configuration.ErrorTracking = true; // Sentry integration
Sentry error tracking is integrated via the official Sentry.NLog package:
// Configure Sentry (must set DSN before enabling ErrorTracking)
BGLogger.Configuration.SentryDsn = "https://...@sentry.io/...";
BGLogger.Configuration.SentryEnvironment = "production";
BGLogger.Configuration.SentryMinimumEventLevel = NLog.LogLevel.Error;
BGLogger.Configuration.SentryMinimumBreadcrumbLevel = NLog.LogLevel.Debug;
BGLogger.Configuration.ErrorTracking = true;
Features:
This project uses various open-source packages. See 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 file for details.
Note: Some dependencies (Stimulsoft) require separate commercial licenses. See for details.
BAUER GROUP - Building Better Software Together
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net5.0 net5.0 was computed. net5.0-windows net5.0-windows was computed. net6.0 net6.0 was computed. net6.0-android net6.0-android was computed. net6.0-ios net6.0-ios was computed. net6.0-maccatalyst net6.0-maccatalyst was computed. net6.0-macos net6.0-macos was computed. net6.0-tvos net6.0-tvos was computed. net6.0-windows net6.0-windows was computed. net7.0 net7.0 was computed. net7.0-android net7.0-android was computed. net7.0-ios net7.0-ios was computed. net7.0-maccatalyst net7.0-maccatalyst was computed. net7.0-macos net7.0-macos was computed. net7.0-tvos net7.0-tvos was computed. net7.0-windows net7.0-windows was computed. net8.0 net8.0 is compatible. net8.0-android net8.0-android was computed. net8.0-browser net8.0-browser was computed. net8.0-ios net8.0-ios was computed. net8.0-maccatalyst net8.0-maccatalyst was computed. net8.0-macos net8.0-macos was computed. net8.0-tvos net8.0-tvos was computed. net8.0-windows net8.0-windows was computed. net9.0 net9.0 was computed. net9.0-android net9.0-android was computed. net9.0-browser net9.0-browser was computed. net9.0-ios net9.0-ios was computed. net9.0-maccatalyst net9.0-maccatalyst was computed. net9.0-macos net9.0-macos was computed. net9.0-tvos net9.0-tvos was computed. net9.0-windows net9.0-windows was computed. net10.0 net10.0 is compatible. net10.0-android net10.0-android was computed. net10.0-browser net10.0-browser was computed. net10.0-ios net10.0-ios was computed. net10.0-maccatalyst net10.0-maccatalyst was computed. net10.0-macos net10.0-macos was computed. net10.0-tvos net10.0-tvos was computed. net10.0-windows net10.0-windows was computed. |
| .NET Core | netcoreapp2.0 netcoreapp2.0 was computed. netcoreapp2.1 netcoreapp2.1 was computed. netcoreapp2.2 netcoreapp2.2 was computed. netcoreapp3.0 netcoreapp3.0 was computed. netcoreapp3.1 netcoreapp3.1 was computed. |
| .NET Standard | netstandard2.0 netstandard2.0 is compatible. netstandard2.1 netstandard2.1 was computed. |
| .NET Framework | net461 net461 was computed. net462 net462 was computed. net463 net463 was computed. net47 net47 was computed. net471 net471 was computed. net472 net472 was computed. net48 net48 was computed. net481 net481 was computed. |
| MonoAndroid | monoandroid monoandroid was computed. |
| MonoMac | monomac monomac was computed. |
| MonoTouch | monotouch monotouch was computed. |
| Tizen | tizen40 tizen40 was computed. tizen60 tizen60 was computed. |
| Xamarin.iOS | xamarinios xamarinios was computed. |
| Xamarin.Mac | xamarinmac xamarinmac was computed. |
| Xamarin.TVOS | xamarintvos xamarintvos was computed. |
| Xamarin.WatchOS | xamarinwatchos xamarinwatchos was computed. |
Showing the top 5 NuGet packages that depend on BAUERGROUP.Shared.Core:
| Package | Downloads |
|---|---|
|
BAUERGROUP.Shared.API
HTTP client infrastructure with resilient REST API consumption, automatic retry policies, and efficient file download capabilities. |
|
|
BAUERGROUP.Shared.Data
Data persistence layer supporting SQLite, LiteDB, and in-memory storage with integrated caching infrastructure. |
|
|
BAUERGROUP.Shared.Desktop
Windows Presentation Foundation (WPF) infrastructure including UI helpers, dialog management, Windows services integration, and printing support. |
|
|
BAUERGROUP.Shared.Business.Models.Shipping
Shipping domain POCO models for the BAUER GROUP Shared Business framework: parcels, addresses, customs, carrier products/services, shipping documents and status. Multi-targeted for net10.0, net8.0 and netstandard2.0. |
|
|
BAUERGROUP.Shared.Business.Models.CRM
CRM domain POCO models for the BAUER GROUP Shared Business framework: accounts and contacts, leads and opportunities, activities, service cases and marketing campaigns. A subsidiary system of the ERP model — it reuses the ERP party/address/money/attachment/link types as shared base classes. Multi-targeted for net10.0, net8.0 and netstandard2.0. |
This package is not used by any popular GitHub repositories.