Redigera

Dela via


Using custom assemblies with reports

In Reporting Services, you can write custom code for report item values, styles, and formatting. For example, you can use custom code to format currencies based on locale, flag certain values with special formatting, or apply other business rules that are in practice for your company. One way to include this code in your reports is to create a custom code assembly using the Microsoft .NET Framework that you can reference from within your report definition files. The server calls the functions in your custom assemblies when a report is run. Custom assemblies can be used to retrieve specialized functions that you plan to use in your reports.

In this section

Referencing Assemblies in an RDL File
Describes how to reference your custom assemblies in a report definition language file.

Deploying a Custom Assembly
Describes how to deploy a custom assembly to Report Designer and the report server.

Using Strong-Named Custom Assemblies
Describes how to use custom assemblies with strong names.

Asserting Permissions in Custom Assemblies
Describes how to deploy custom assemblies with limited and specific permissions and how to assert those permissions in code.

Accessing Custom Assemblies Through Expressions
Describes how to call custom assembly methods as report expressions in your report definitions.

Initializing Custom Assembly Objects
Describes how to initialize values for custom assembly objects called from a report.

How to: Debug Custom Assemblies
Describes how to debug your custom assembly code.