Readme
The .NET bridge API is a wrapper for the .NET programming language. It uses an actual i-net Clear Reports server to carry out the actual report rendering. The bridge API starts a Java process running the product in the background. It will then operate as a bridge to this process.
System Requirements
The bridge API is able to run on any OS with .NET runtime and Java runtime installed. There is no limit to a 32 bit or 64 bit architecture. The .NET and the Java process don't need to use the same architecture.
Required Folder Structure for Visual Studio and Powershell
<project folder>\ # the root of your Visual Studio project
<any folder>\ # the location of this folder is not important, it must be a sub folder of the project or the root
inetsoftware.Reporting.dll # the reference must be added to the Visual Studio project
plugins\
processbridge.zip # base process bridge API
processbridge.reporting.zip # reporting specific bridge API
reporting.zip # reporting API
*.zip # any further feature you want to use
core\
inetcore.jar # basic platform API
*.jar # more optional features
lib\
**\*.jar # optional jar files like drivers and beans
runtime\ # optional Java runtime, if not available the Java VM of the system is used
bin\
java.exe # it looks for this file to find the optional Java runtime
*.* # all Java VM files
Visual Studio
If you want to test this API with Visual Studio or Rider then:
- Create a new project, for example a console application
- Add the files described in the folder structure below to the project
- Add a reference to the library inetsoftware.Reporting.dll
- Add a sample *.cs file to the project
- Build the project and run it. The samples\resources\ folder contains a sample RPT file
Powershell
If you're running any of the provided powershell script you might need to prepare your environment. Powershell scripts are disabled by default. Here is what you need to do:
# activate powershell scripting temporarily
powershell.exe -ExecutionPolicy Unrestricted
# go into previously created folder (please modify accordingly)
cd <project folder>\<any folder>
# execute script
& '<sdk>\Documentation and Samples\dotnet - Samples\PowerShell\RenderPdfFile.ps1'