JMCL.Core.IocContainer
1.0.1
See the version list below for details.
dotnet add package JMCL.Core.IocContainer --version 1.0.1
NuGet\Install-Package JMCL.Core.IocContainer -Version 1.0.1
<PackageReference Include="JMCL.Core.IocContainer" Version="1.0.1" />
<PackageVersion Include="JMCL.Core.IocContainer" Version="1.0.1" />
<PackageReference Include="JMCL.Core.IocContainer" />
paket add JMCL.Core.IocContainer --version 1.0.1
#r "nuget: JMCL.Core.IocContainer, 1.0.1"
#:package JMCL.Core.IocContainer@1.0.1
#addin nuget:?package=JMCL.Core.IocContainer&version=1.0.1
#tool nuget:?package=JMCL.Core.IocContainer&version=1.0.1
JMCL Power Platform Code Libraries
A modern, opinionated code framework for Power Platform and Dataverse solution development: a platform-agnostic process model, a sandbox-safe IoC container, a declarative plugin event registration model, and telemetry that reaches Application Insights from inside the plugin sandbox.
Lineage
This framework began as a fork of the Power Platform code libraries created by
Scott Colson, licensed under the MIT License. It has been renamed,
restructured and modernized: SDK-style projects, central package management,
dotnet pack in place of hand-authored nuspecs, and current dependencies.
The architectural ideas are Colson's. See NOTICE for the full attribution, the upstream repositories, and the commits forked from.
Not affiliated with or endorsed by Colson Code, LLC.
Status
All 18 runtime components have been forked, converted to SDK-style projects
and build cleanly: dotnet build succeeds with 0 errors, and 10 of the 18
multi-target net462 plus net10.0 while the remaining 8 Dataverse
components are net462 only. Roughly 350 files and 20,000 lines of
production source, excluding tests, generated proxies and build output.
Two things are still open before this is proven end to end, and both are tracked rather than blocking:
- No sample plugin has been registered and run in a live Dataverse
environment yet. Everything so far is verified by
dotnet buildanddotnet test; nothing has executed inside Dataverse. - Test coverage is minimal. Only
JMCL.Core.IocContainerhas tests (3 test methods). The other 17 components, includingDataverse.SdkandTelemetry, have none yet.
Not yet published anywhere. CI is configured to publish tagged releases to nuget.org (see Packaging), but no version has been tagged, so nothing is live there today.
Three components remain outside the 18 above: Dataverse.Testing (needs
re-platforming off its current test harness), and Dataverse.ProxyGenerator
and Dataverse.DevOps.PowerShell, both in scope and actively being ported
rather than deferred (see open PRs for status). Dataverse.ProxyGenerator's
authentication is being modernized from ADAL to MSAL as part of that port.
None of the 18 components above depend on any of the three.
Layout
src/ runtime libraries, one project per component
tests/ unit tests, one project per library
samples/ sample consumers used to verify packaging end to end
build/ shared MSBuild props, packaging scripts, signing key location
docs/adr/ architecture decision records
upstream/ reserved for vendor branch pins of the unmodified upstream;
not yet populated
Building
Requires the .NET SDK 10.0 or later. net462 compiles on macOS and Linux via the
Microsoft.NETFramework.ReferenceAssemblies package, which is wired into
Directory.Build.props.
dotnet restore
dotnet build
Testing
net462 tests can only be executed on Windows, since there is no .NET
Framework runtime elsewhere. On macOS or Linux, run the net10.0 leg:
dotnet test -f net10.0
CI runs both target frameworks on a Windows agent. See ADR 0002.
Packaging
For local development:
dotnet pack -c Release -o local-feed
local-feed is a folder feed registered in NuGet.config.
For releases: pushing a v* tag to main runs the publish job in
ci.yml, which packs and pushes every package to
nuget.org. Publishing uses nuget.org's trusted publishing (OIDC) rather than a
stored API key: the job exchanges a short-lived GitHub Actions token for a
one-hour nuget.org key, gated on a trusted publishing policy scoped to
JMCL.* and a GitHub Environment named nuget. That environment needs a
NUGET_USER variable (the nuget.org profile name to authenticate as)
configured, and nothing publishes until the trusted publishing policy also
exists on nuget.org. Versions come from the tag itself via MinVer — see
CONTRIBUTING.md.
Strong naming
Standalone Dataverse plugin assemblies must be strong named; assemblies inside a
plugin package need not be. Signing is wired up but inactive: drop a key at
build/JMCL.snk and Directory.Build.props enables it automatically. Keys are
gitignored and must not be committed.
License
MIT. See LICENSE.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net10.0 is compatible. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
| .NET Framework | net462 is compatible. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed. |
-
.NETFramework 4.6.2
- No dependencies.
-
net10.0
- No dependencies.
NuGet packages (6)
Showing the top 5 NuGet packages that depend on JMCL.Core.IocContainer:
| Package | Downloads |
|---|---|
|
JMCL.Core.ProcessModel
Platform-agnostic process execution context for business logic that must run identically in a Dataverse plug-in, an Azure Function, or a test harness. |
|
|
JMCL.Dataverse.Data
Fluent Dataverse query builder and entity proxies. |
|
|
JMCL.Dataverse.Sdk
Dataverse plug-in framework: typed event registration, execution context, enhanced organization service, environment variable settings. |
|
|
JMCL.Azure.Secrets
Secret retrieval for constrained hosts. |
|
|
JMCL.Dataverse.Search
Dataverse search helpers. |
GitHub repositories
This package is not used by any popular GitHub repositories.