mmpatel009
mmpatel009

Reputation: 941

Read / Write Office 365 document in asp.net

I am new to use office 365, I want read office 365 document content using asp.net (C#), is there any api provide by office 365 for reading office 365 document.

Thanks in advance.

Upvotes: 2

Views: 3134

Answers (3)

Naqash Ahmed
Naqash Ahmed

Reputation: 13

If you are referring to any document stored in SharePoint site then you can easily use it via SharePoint Online Client otherwise there are also some libraries in NuGET packages for Office 365 which enables support for Office 365 document reading or other stuff

Upvotes: 0

Nico
Nico

Reputation: 13840

What do you men by "office 365 document"?
Office 365 can store any type of documents, from Office (Word, Excel) to binary files.

First, you need to access your file. If they are stored in SharePoint / Skydrive then you'll need both ClientContext and SharePointOnlineCredentials.
Then you'll need to add/remove/modify your file. If it's Office file then Matthew is correct, Open XML SDK is the way to go.

Upvotes: 0

Matthew Watson
Matthew Watson

Reputation: 109762

You should be able to use the Open XML SDK version 2.5 for this.

There's more information here.

You can use the SDK to open and parse ".docx" documents, which I think is what you need for Office 365.

Upvotes: 1

Related Questions