Click here to Skip to main content
15,887,135 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I use asp.net mvc development a web system.
I am having some problems.Customer ask me to show a word in html. But i have no idea. My webServer OS is Windows Server 2019 and it not install MS office.
Do you have any ideas? thank you very much.

What I have tried:

I searched some dll(Aspose.Words.dll,Spire.Doc.dll) that can conver a word to pdf.but they are not free.
Posted
Updated 6-Jul-22 5:22am

Hi, using a tool like Aspose is actually worth the costs. There are other ways, for example, using Word via interop, but this would require you to install Word on the server machine or have a separate machine with Word and a service frontend. Word is a client application however and not meant for serverside, though it can be mostly suppressed you can have dialogs for example that require user interaction, so this is not advised. Libraries like Aspose allow you to work with Word files without requiring client applications like Word. We are using Aspose ourselves, but there are other tools as well. I came across this article as well C# Docx to HTML to Docx[^]. Might work for you! HTH, cheers.
 
Share this answer
 
thank you .Convert docx To html can be show in web. and reference that rticle。 thank you very much.
:D my english is poor. thank you :)
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900