Developing Custom Providers
Microsoft® Provisioning Framework (MPF) supports development of custom providers in Visual C++, Visual Basic, and other platforms. Development in Visual C++ and Visual Basic is supported by MPF SDK.
The workflow for developing custom providers is as follows:
- Identify and set up the development platform and MPF SDK. The platform you choose will depend on the required functionality and performance goals. For more information, see Installing MPF SDK.
- Build the provider, using Visual C++, Visual Basic, or another platform. The MPF SDK contains wizards for Microsoft® Visual C++® and Microsoft® Visual Basic® that generate skeleton provider objects and procedures.
- Use regsvr32.exe to register the provider on every computer that has a provisioning engine.
- Develop a custom namespace for the provider. Remember to reference the provider's Prog ID as the namespace's providerSource attribute.
Note Before developing a custom provider, confirm whether you really need one, and if so, to what extent you may be able to leverage standard MPF providers and namespaces. For example, suppose you want to add a row in a SQL table, then send a SOAP request to a service such as Microsoft® Hotmail®. You could support this situation by developing a custom namespace with a procedure that calls ExecSQL and SoapRequest.
Identifying the MPF Process ID, sample Visual Basic and Visual C++ providers in MPF SDK
Top of Page
© 1999-2002 Microsoft Corporation. All rights reserved.