DTI.Common
1.0.3
dotnet add package DTI.Common --version 1.0.3
NuGet\Install-Package DTI.Common -Version 1.0.3
<PackageReference Include="DTI.Common" Version="1.0.3" />
<PackageVersion Include="DTI.Common" Version="1.0.3" />
<PackageReference Include="DTI.Common" />
paket add DTI.Common --version 1.0.3
#r "nuget: DTI.Common, 1.0.3"
#:package DTI.Common@1.0.3
#addin nuget:?package=DTI.Common&version=1.0.3
#tool nuget:?package=DTI.Common&version=1.0.3
-- SQL Server script to use Logging feature CREATE SCHEMA Logging GO CREATE TABLE Logging.ApplicationLog( ApplicationLogId bigint IDENTITY(1,1) PRIMARY KEY, LogGuid uniqueidentifier NOT NULL, DateTimeStamp datetime NOT NULL DEFAULT (GETDATE()), ApplicationName varchar(255) NOT NULL, LogMessage varchar(max) NULL ) GO CREATE INDEX ix_ApplicationLog_LogGuid ON Logging.ApplicationLog(LogGuid) GO CREATE INDEX ix_ApplicationLog_DateTimeStamp ON Logging.ApplicationLog(DateTimeStamp) GO CREATE PROCEDURE Logging.ApplicationLogInsert @ApplicationName varchar(255), @LogGuid uniqueidentifier, @LogMessage varchar(max) AS INSERT Logging.ApplicationLog (ApplicationName, LogGuid, LogMessage) VALUES (@ApplicationName, @LogGuid, @LogMessage) -- EXEC Logging.ApplicationLogInsert 'My Application','00000000-0000-0000-0000-000000000000','My Message' GO For Logging, Web.Config / App.Config should contain: <appSettings> <add key="Logger_ApplicationName" value="My.ApplicationName" /> </appSettings> <connectionStrings> <add name="Log" connectionString="yourConnectionStringHere" /> </connectionStrings>
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET Framework | net472 is compatible. net48 was computed. net481 was computed. |
-
- Dapper (>= 1.50.7)
- Newtonsoft.Json (>= 12.0.1)
- System.Configuration.ConfigurationManager (>= 4.5.0)
- System.Security.Principal.Windows (>= 4.5.0)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last Updated |
---|