magic.lambda.pdf 15.5.0

There is a newer version of this package available.
See the version list below for details.
dotnet add package magic.lambda.pdf --version 15.5.0                
NuGet\Install-Package magic.lambda.pdf -Version 15.5.0                
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="magic.lambda.pdf" Version="15.5.0" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add magic.lambda.pdf --version 15.5.0                
#r "nuget: magic.lambda.pdf, 15.5.0"                
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install magic.lambda.pdf as a Cake Addin
#addin nuget:?package=magic.lambda.pdf&version=15.5.0

// Install magic.lambda.pdf as a Cake Tool
#tool nuget:?package=magic.lambda.pdf&version=15.5.0                

magic.lambda.config - Accessing your server's configuration from Hyperlambda

This project provides configuration settings slots for Magic. The project provides the following slots, allowing you to retrieve configuration settings from your "appsettings.json" configuration file, in addition to saving and loading your configuration file.

  • [config.get] - Returns a configuration value from your configuration file with the specified key
  • [config.section] - Returns the specified configuration section from your configuration file with the specified key
  • [config.load] - Loads your "appsettings.json" file and returns as a string
  • [config.save] - Saves your "appsettings.json" file, sanity checking it's valid JSON before persisting your file

How to use [config.get]

This slot allows you to retrieve configuration settings. To retrieve settings you can supply a "path" such as "foo:bar" to for instance an invocation to [config.get]. This will traverse into your "foo" config setting, find its "bar" key, and return the value of your "bar" key. Below is an example of usage.

config.get:"foo:bar"

Assuming your configuration file looks like the following.

{
   "foo": {
      "bar": 42
   }
}

... afterwards the value of your [config.get] node will be the following.

config.get:42

Notice - Due to implementation details of .Net and its IConfiguration specifically, values returned will always be strings, and you'll have to manually convert these to other types, using for instance the [convert] slot from magic.lambda. This might change in a future release though. You can also provide a default value that will be returned if no configuration value is found, such as the following illustrates.

.foo:foo
config.get:"magic:foo:non-existing-key"
   get-value:x:@.foo

Since the above "non-existing-key" doesn't exist in your configuration file, the above Hyperlambda will return the value "foo" being the result of the invocation to the [get-value] slot. This allows you to create default values your code resorts to if the specified configuration setting doesn't exist.

Project website for magic.lambda.config

The source code for this repository can be found at github.com/polterguy/magic.lambda.config, and you can provide feedback, provide bug reports, etc at the same place.

  • Build status
  • Quality Gate Status
  • Bugs
  • Code Smells
  • Coverage
  • Duplicated Lines (%)
  • Lines of Code
  • Maintainability Rating
  • Reliability Rating
  • Security Rating
  • Technical Debt
  • Vulnerabilities
Product Compatible and additional computed target framework versions.
.NET net5.0 was computed.  net5.0-windows was computed.  net6.0 was computed.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed. 
.NET Core netcoreapp3.0 was computed.  netcoreapp3.1 was computed. 
.NET Standard netstandard2.1 is compatible. 
MonoAndroid monoandroid was computed. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen tizen60 was computed. 
Xamarin.iOS xamarinios was computed. 
Xamarin.Mac xamarinmac was computed. 
Xamarin.TVOS xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (1)

Showing the top 1 NuGet packages that depend on magic.lambda.pdf:

Package Downloads
magic.library

Helper project for Magic to wire up everything easily by simply adding one package, and invoking two simple methods. When using Magic, this is (probably) the only package you should actually add, since this package pulls in everything else you'll need automatically, and wires up everything sanely by default. To use package go to https://polterguy.github.io

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
17.2.0 443 1/22/2024
17.1.7 187 1/12/2024
17.1.6 157 1/11/2024
17.1.5 159 1/5/2024
17.0.1 225 1/1/2024
17.0.0 355 12/14/2023
16.11.5 343 11/12/2023
16.9.0 337 10/9/2023
16.7.0 539 7/11/2023
16.4.1 342 7/2/2023
16.4.0 352 6/22/2023
16.3.1 321 6/7/2023
16.3.0 300 5/28/2023
16.1.9 588 4/30/2023
15.10.11 424 4/13/2023
15.9.1 540 3/27/2023
15.9.0 423 3/24/2023
15.8.2 433 3/20/2023
15.7.0 331 3/6/2023
15.5.0 249 3/2/2023