Skip to content

Create an ASP.NET Core Web API application that uses the Office File API library as a server-side engine.

License

Notifications You must be signed in to change notification settings

DevExpress-Examples/office-file-api-in-web-api-app

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Office File API - Use DevExpress Office File API Libraries (at the backend) for your Web-API Applications

By following the steps outlined in this example, you’ll create an ASP.NET Core Web API application using DevExpress Office File API libraries. The application will include a series of endpoints designed to perform the following actions:

  • Convert Word and Excel files to available formats.
  • Split Word, Excel and PDF files.
  • Merge Word, Excel and PDF files.
  • Password-protect Word, Excel and PDF files.

The project contains a Dockerfile that specifies how to build the application in a Docker container.

Build the Docker Image

Obtain a DevExpress NuGet Feed URL and add your feed authorization key to the Dockerfile to specify the package source for the DevExpress.Document.Processor NuGet package.

Use the following commands to build and run the docker image:

docker build -t officefileapinwebapi .
docker run -d -p 8080:80 officefileapinwebapi

Note

You need to purchase a license to use the DevExpress Office File API in production code (DevExpress Office File API Subscription or DevExpress Universal Subscription)

Files to Review

More Examples

Does this example address your development requirements/objectives?

(you will be redirected to DevExpress.com to submit your response)

About

Create an ASP.NET Core Web API application that uses the Office File API library as a server-side engine.

Topics

Resources

License

Stars

Watchers

Forks