How to integrate ONLYOFFICE Document Builder into your application on .Net (C#)
To integrate ONLYOFFICE Document Builder into your own application on .Net (C#) you need to download and install ONLYOFFICE Document Builder to your computer and use the .Net (C#) example for the integration. This guide will show you the sequence of actions to integrate ONLYOFFICE Document Builder successfully.
Step 1. Download and install ONLYOFFICE Document Builder
First, download ONLYOFFICE Document Builder and install it to your computer.
Step 2. Install the prerequisites
To run your website with the ONLYOFFICE Document Builder successfully, check if your system meets the necessary system requirements. It has got to have the following components installed:
Step 3. Download the .Net (C#) example code and build your application
Download the .Net (C#) or .Net (C# MVC) example from our site and unpack it somewhere to your computer.
Open the DocumentBuilder.sln solution file from the unpacked project folder using the Visual Studio application. Wait while the project loads.
Once the project is completely loaded, go to the Visual Studio top menu and choose Project -> Rebuild Solution. The project will be rebuilt, after that you can run it in your browser using the green triangle button with the browser name at the top panel.
Step 4. Running your website with the ONLYOFFICE Document Builder
If you want to run the example application using the Microsoft IIS service, you will need to follow the additional steps below.
If you want to experiment with the code changes, you can find the main application code in the \DocumentBuilder\Controllers\ control. The path to the ONLYOFFICE Document Builder executable can be changed in the web.config file in the following line:
<configuration> <appSettings> <add key="builder-path" value="C:\ONLYOFFICE\DocumentBuilder\docbuilder.exe" /> </appSettings> </configuration>
Set it to the actual path of the ONLYOFFICE Document Builder on your computer.
© Ascensio System SIA 2018. All rights reserved