ASP.NET Web form application - Integrate office 365 to open/edit the the document

We have ASP.NET web form application. We want to implement a functionality to be able to open and edit the document in Office 365. WHen user click on a button, the document should open in office 365. Currently, the documents are stored on the shared drive. I know that I have to use WOPI and I will need Office online server. 1. Will it be possible to set the application's document storage location (shared drive) as WOPI server? 2. ByPass user authentication and authorization while opening the document. As user has access to the application, the button click event should open the document in office 365.

I am looking for your suggestions. If anyone has sample application, please provide it. Thanks in advance.