
नीति-संचालित, स्तरित अलगाव और रोकथाम
Audience: MXC consumers
Demonstrates a persisted IsolationSession container:
Unlike a transient container, the provisioned container has an identity and can execute multiple workloads before it is stopped and deprovisioned. This sample runs one workload to keep the lifecycle and cleanup responsibilities clear.
This sample is Windows-only and requires IsolationSession support. Cleanup is attempted even when start or execution fails, and cleanup failures are reported.
From this sample's corresponding language directory:
# Rust
cargo run
# .NET
dotnet run -p:MxcWithIsolationSession=true
# Node
npm --prefix ../../../sdk/node install
npm --prefix ../../../sdk/node run build
npm install
npm start