# reporting-web-register-types-for-object-data-source-wizard
**Repository Path**: dcsource/reporting-web-register-types-for-object-data-source-wizard
## Basic Information
- **Project Name**: reporting-web-register-types-for-object-data-source-wizard
- **Description**: No description available
- **Primary Language**: C#
- **License**: Not specified
- **Default Branch**: 20.2.3+
- **Homepage**: None
- **GVP Project**: No
## Statistics
- **Stars**: 0
- **Forks**: 0
- **Created**: 2025-03-05
- **Last Updated**: 2025-03-05
## Categories & Tags
**Categories**: Uncategorized
**Tags**: None
## README

[](https://supportcenter.devexpress.com/ticket/details/T830402)
[](https://docs.devexpress.com/GeneralInformation/403183)
[](#does-this-example-address-your-development-requirementsobjectives)
# Register Types for Object Data Source Wizard
This example performs the following steps to register object types for the [Object Data Source Wizard](https://docs.devexpress.com/XtraReports/401220), which allows users to create an [Object Data Source](https://docs.devexpress.com/XtraReports/119313):
- Declares the _DataSource_ and _DataSource2_ classes that should provide data to reports. The **DisplayName** attribute is applied to the _DataSource_ class to specify a custom display name for the **Report Wizard** and **Data Source Wizard**. The class's name and namespace are used for the _DataSource2_ class.
- Implements the [IObjectDataSourceWizardTypeProvider](https://docs.devexpress.com/CoreLibraries/DevExpress.DataAccess.Web.IObjectDataSourceWizardTypeProvider) interface to list data types.
- Implements the [IObjectDataSourceConstructorFilterService](https://docs.devexpress.com/CoreLibraries/DevExpress.DataAccess.Web.IObjectDataSourceConstructorFilterService) interface to list only specific data type constructors in the **Report Wizard** and **Data Source Wizard**.
- Implements the [IObjectDataSourceMemberFilterService](https://docs.devexpress.com/CoreLibraries/DevExpress.DataAccess.Web.IObjectDataSourceMemberFilterService) interface to list only specific data members in the **Report Wizard** and **Data Source Wizard**.
- The [RegisterObjectDataSourceWizardTypeProvider<T>()](https://docs.devexpress.com/XtraReports/DevExpress.XtraReports.Web.ReportDesigner.DefaultReportDesignerContainer.RegisterObjectDataSourceWizardTypeProvider--1), [RegisterObjectDataSourceConstructorFilterService<T>()](https://docs.devexpress.com/XtraReports/DevExpress.XtraReports.Web.ReportDesigner.DefaultReportDesignerContainer.RegisterObjectDataSourceConstructorFilterService--1) and [RegisterObjectDataSourceMemberFilterService<T>()](https://docs.devexpress.com/XtraReports/DevExpress.XtraReports.Web.ReportDesigner.DefaultReportDesignerContainer.RegisterObjectDataSourceMemberFilterService--1) methods are called at the application's startup to register the interface implementations.
## Files to look at
ASP.NET WebForms:
- [ObjectDataSource/SampleObjectTypes.cs](CS/Reporting-Register-Types-for-Object-Data-Source-Wizard/WebForms/WebForms/ObjectDataSource/SampleObjectTypes.cs)
- [Services/CustomObjectDataSourceWizardTypeProvider.cs](CS/Reporting-Register-Types-for-Object-Data-Source-Wizard/WebForms/WebForms/Services/CustomObjectDataSourceWizardTypeProvider.cs)
- [Global.asax.cs](CS/Reporting-Register-Types-for-Object-Data-Source-Wizard/WebForms/WebForms/Global.asax.cs)
ASP.NET MVC:
- [ObjectDataSource/SampleObjectTypes.cs](CS/Reporting-Register-Types-for-Object-Data-Source-Wizard/MVC/MVC/ObjectDataSource/SampleObjectTypes.cs)
- [Services/CustomObjectDataSourceWizardTypeProvider.cs](CS/Reporting-Register-Types-for-Object-Data-Source-Wizard/MVC/MVC/Services/CustomObjectDataSourceWizardTypeProvider.cs)
- [Global.asax.cs](CS/Reporting-Register-Types-for-Object-Data-Source-Wizard/MVC/MVC/Global.asax.cs)
ASP.NET Core:
- [ObjectDataSource/SampleObjectTypes.cs](CS/Reporting-Register-Types-for-Object-Data-Source-Wizard/ASPNetCore/ASPNetCore/ObjectDataSource/SampleObjectTypes.cs)
- [Services/CustomObjectDataSourceWizardTypeProvider.cs](CS/Reporting-Register-Types-for-Object-Data-Source-Wizard/ASPNetCore/ASPNetCore/Services/CustomObjectDataSourceWizardTypeProvider.cs)
- [Startup.cs](CS/Reporting-Register-Types-for-Object-Data-Source-Wizard/ASPNetCore/ASPNetCore/Startup.cs)
## Documentation
* [Register Types for Object Data Source Wizard (ASP.NET WebForms)](https://docs.devexpress.com/XtraReports/401228)
* [Register Types for Object Data Source Wizard (ASP.NET MVC)](https://docs.devexpress.com/XtraReports/401229)
* [Register Types for Object Data Source Wizard (ASP.NET Core)](https://docs.devexpress.com/XtraReports/401230)
## Does this example address your development requirements/objectives?
[
](https://www.devexpress.com/support/examples/survey.xml?utm_source=github&utm_campaign=reporting-web-register-types-for-object-data-source-wizard&~~~was_helpful=yes) [
](https://www.devexpress.com/support/examples/survey.xml?utm_source=github&utm_campaign=reporting-web-register-types-for-object-data-source-wizard&~~~was_helpful=no)
(you will be redirected to DevExpress.com to submit your response)