-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
30 lines (29 loc) · 1.44 KB
/
.env.example
File metadata and controls
30 lines (29 loc) · 1.44 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# =============================================================================
# BAUER GROUP Shared Platform - Environment Configuration
# =============================================================================
# Copy this file to .env and fill in the actual values.
# The .env file is ignored by git and should never be committed.
# =============================================================================
# -----------------------------------------------------------------------------
# Stimulsoft Reports License Key
# -----------------------------------------------------------------------------
# Required for using the reporting functionality (CommonReport class).
# Must be applied once at application startup before creating any CommonReport.
#
# Usage Example (Application Startup):
#
# // Option 1: From Environment Variable
# var licenseKey = Environment.GetEnvironmentVariable("STIMULSOFT_LICENSE_KEY");
# CommonReport.ApplyLicense(licenseKey!);
#
# // Option 2: From IConfiguration (appsettings.json)
# var licenseKey = configuration["Stimulsoft:LicenseKey"];
# CommonReport.ApplyLicense(licenseKey!);
#
# // Option 3: From .env file using DotNetEnv
# DotNetEnv.Env.Load();
# var licenseKey = Environment.GetEnvironmentVariable("STIMULSOFT_LICENSE_KEY");
# CommonReport.ApplyLicense(licenseKey!);
#
# -----------------------------------------------------------------------------
STIMULSOFT_LICENSE_KEY=your-license-key-here