diff --git a/DigitalData.Core.API/Assets/icon.png b/DigitalData.Core.API/Assets/icon.png
new file mode 100644
index 0000000..feac09f
Binary files /dev/null and b/DigitalData.Core.API/Assets/icon.png differ
diff --git a/DigitalData.Core.API/ControllerExtensions.cs b/DigitalData.Core.API/ControllerExtensions.cs
index e64514f..7fc8eb2 100644
--- a/DigitalData.Core.API/ControllerExtensions.cs
+++ b/DigitalData.Core.API/ControllerExtensions.cs
@@ -33,15 +33,13 @@ namespace DigitalData.Core.API
/// Optional. A custom error message to include in the response.
/// /// Optional. A custom error message key to include in the response.
/// An ObjectResult representing an internal server error (status code 500).
- public static ObjectResult InnerServiceError(this ControllerBase controllerBase, Exception? ex = null, string? message = null, Enum? messageKey = null)
+ public static ObjectResult InnerServiceError(this ControllerBase controllerBase, Exception? ex = null, string? message = null)
{
var sb = new StringBuilder();
if (ex is not null)
sb.AppendLine(ex.Message);
if (message is not null)
sb.AppendLine(message);
- if (messageKey is not null)
- sb.AppendLine(messageKey.ToString());
return controllerBase.StatusCode(500, sb.Length > 0 ? sb.ToString() : null);
}
diff --git a/DigitalData.Core.API/DigitalData.Core.API.csproj b/DigitalData.Core.API/DigitalData.Core.API.csproj
index e88a1ae..e7432cf 100644
--- a/DigitalData.Core.API/DigitalData.Core.API.csproj
+++ b/DigitalData.Core.API/DigitalData.Core.API.csproj
@@ -2,9 +2,20 @@
net7.0
+ true
enable
enable
Library
+ This package provides a comprehensive set of API controllers and related utilities for the DigitalData.Core library. It includes generic CRUD controllers, localization extensions, middleware for security policies, and application model conventions.
+ DigitalData.Core.API
+ 1.0.0
+ Digital Data GmbH
+ Digital Data GmbH
+ DigitalData.Core.API
+ Copyright 2024
+ http://git.dd:3000/AppStd/WebCoreModules.git
+ digital data core api
+ Assets\icon.png
@@ -16,4 +27,12 @@
+
+
+ \
+ True
+ Always
+
+
+
diff --git a/DigitalData.Core.API/Properties/launchSettings.json b/DigitalData.Core.API/Properties/launchSettings.json
deleted file mode 100644
index 061501c..0000000
--- a/DigitalData.Core.API/Properties/launchSettings.json
+++ /dev/null
@@ -1,12 +0,0 @@
-{
- "profiles": {
- "DigitalData.Core.API": {
- "commandName": "Project",
- "launchBrowser": true,
- "environmentVariables": {
- "ASPNETCORE_ENVIRONMENT": "Development"
- },
- "applicationUrl": "https://localhost:59445;http://localhost:59446"
- }
- }
-}
\ No newline at end of file