KXB.Umbraco.UmbracoDictionaryExtension
1.0.4
See the version list below for details.
dotnet add package KXB.Umbraco.UmbracoDictionaryExtension --version 1.0.4
NuGet\Install-Package KXB.Umbraco.UmbracoDictionaryExtension -Version 1.0.4
<PackageReference Include="KXB.Umbraco.UmbracoDictionaryExtension" Version="1.0.4" />
paket add KXB.Umbraco.UmbracoDictionaryExtension --version 1.0.4
#r "nuget: KXB.Umbraco.UmbracoDictionaryExtension, 1.0.4"
// Install KXB.Umbraco.UmbracoDictionaryExtension as a Cake Addin #addin nuget:?package=KXB.Umbraco.UmbracoDictionaryExtension&version=1.0.4 // Install KXB.Umbraco.UmbracoDictionaryExtension as a Cake Tool #tool nuget:?package=KXB.Umbraco.UmbracoDictionaryExtension&version=1.0.4
Code first Umbraco dictionary utility which will generate dictionary items on the fly.
Using the new method `Umbraco.GetDictionaryValueImproved(string key, string fallback="")` you can create dictionary items code first by simply requesting them in your code. It's no longer necessary to manually create the dictionary items under Umbraco -> Settings.
"Folders" in the dictionary is created based on the name of the key, example:
The key "Foo_Bar_Key" will be placed in Dictionary -> "Foo" -> "Bar"
The method has 3 "creation modes":
* "key": This will initialize the dictionary item with the dictionary key stored in the dictionary (This is the default mode)
* "fallback": This will initialize the dictionary item with the fallback value stored in the dictionary
* "empty": This will initialize the dictionary item without a value
The creation mode can be set by modifying the app.config key: "KXB.Umbraco.UmbracoDictionaryExtension.CreationMode"
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET Framework | net452 is compatible. net46 was computed. net461 was computed. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed. |
-
- AutoMapper (>= 3.3.1)
- ClientDependency (>= 1.9.1)
- ClientDependency-Mvc5 (>= 1.8.0)
- Examine (>= 0.1.70)
- HtmlAgilityPack (>= 1.4.9)
- ImageProcessor.Web (>= 4.6.6)
- Markdown (>= 1.14.4)
- Microsoft.AspNet.Identity.Owin (>= 2.2.1)
- Microsoft.AspNet.Mvc (>= 5.2.3)
- Microsoft.AspNet.WebApi (>= 5.2.3)
- Microsoft.AspNet.WebApi.Client (>= 5.2.3)
- Microsoft.Owin.Host.SystemWeb (>= 3.0.1)
- Microsoft.Owin.Security (>= 3.0.1)
- Microsoft.Owin.Security.Cookies (>= 3.0.1)
- Microsoft.Owin.Security.OAuth (>= 3.0.1)
- MySql.Data (>= 6.9.9)
- Newtonsoft.Json (>= 6.0.8)
- semver (>= 1.1.2)
- UmbracoCms.Core (>= 7.0.0)
- UrlRewritingNet (>= 2.0.7)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
Automated creation of app.config key.