Develop Custom Namespaces

Namespaces are the mechanism that Microsoft Provisioning Framework (MPF) uses to associate Providers and Namespaces and Procedures and Requests with the framework so that they are recognized by Get Started with Microsoft Provisioning System SDK.

If you develop custom providers using the approach described in Get Started with Microsoft Provisioning System SDK, you will automatically generate a namespace file called ProjectName.xml.

You can also write custom namespaces simply to group related procedure calls.

The workflow for writing a custom namespace is:

  1. Define the set of procedures to be exposed in the namespace, using namespace schema. Include any necessary Error Handling code.

  2. Write the procedure(s) and define the Provisioning Schema, if any, for data received or returned.

  3. Registering Namespaces in MPF in the configuration database.

  4. Testing Namespaces by running the ProvTest.exe utility.

When writing namespaces, keep in mind the following points:

  • Extended characters are not supported.

  • The provider's Prog ID must be referenced as the namespace's providerSource attribute.

See also

Tasks

Get Started with Microsoft Provisioning System SDK
Provisioning Schema

Concepts

Providers and Namespaces