The C# .NET Core sample provided in this section uses the Muhimbi PDF Converter Services to import PDF Forms Data into a PDF template.
For background details about importing PDF Forms Data using C#, see this Blog post.
Additional sample code to convert, merge, watermark, secure and OCR files can be found here.
Any questions? Drop us a line, we love to help.
For an overview of the prerequisites, including software to install as well as how to download this sample code, see the overview page for all .NET Core sample code.
If the Muhimbi PDF Converter Services is installed on the same machine that is running this sample code, it can be executed straight away by running the run.sh
(for Linux) or the run.bat
script file.
❗Don't forget to make the various .sh files executable using chmod +x *.sh
❗
If the Conversion Service is installed on a remote machine then
- Modify the
Program.cs
source file so theSERVICE_URL
constant points to the Muhimbi PDF Converter Services - Execute the
run.sh
(for Linux) or therun.bat
(for Windows) script
If you ever wish to regenerate the web service proxy classes, e.g. to change the namespace then:
- Edit the
GenerateWSProxies.sh
(for Linux) or theGenerateWSProxies.bat
(for Windows) script and changelocalhost
to the name or ip-address of the server running the Muhimbi Conversion Service. - Execute the
GenerateWSProxies.sh
(for Linux) or theGenerateWSProxies.bat
(for Windows) script to generate proxy classes for the web service.
Any questions? Drop us a line, we love to help.