 Excel web app documents but we can only view Word Documents.
In order to edit Word Web App documents you need to implement MS-FSSHTTP.
It appears there is no information about how to actually do this in code. Has anyone performed this or would know how?

A:

recently my team and I have implemented a WOPI-Host that supports viewing and editing of Word, PPT and Excel documents.  You can take a look at https://github.com/marx-yu/WopiHost which is a command prompt project that listens on the 8080 port and enables editing and viewing of word documents though the Microsoft Office Web Apps.
We have implemented this solution in a webApi and it works great.  Hope this sample project will help you out.
After requested, I will try and add code samples to clarify the way to implement it based on my webApi implementation, but their is a lot of code to implement to actually make it work properly.
First things first, to enabled editing you will need to capture Http Posts in a FilesController.  Each posts that concern the actual editing will have the header X-WOPI-Override equal to COBALT.  In these post you will find out that the InputStream is and Atom type. Based on the MS-WOPI documentation, in your response you will need to include the following headers X-WOPI-CorrelationID and request-id.
Here is the code of my webApi post method (it is not complete since I'm still implementing that WOPI protocol).
string wopiOverride = Request.Headers.GetValues("X-WOPI-Override").First();
if (wopiOverride.Equals("COBALT"))
{
   string filename = name;
   EditSession editSession = CobaltSessionManager.Instance.GetSession(filename);
   var filePath = HostingEnvironment.MapPath("~/App_Data/");
   if (editSession == null){
      var fileExt = filename.Substring(filename.LastIndexOf('.') + 1);
      if (fileExt.ToLower().Equals(@"xlsx"))
         editSession = new FileSession(filename, filePath + "/" + filename, @"yonggui.yu", @"yuyg", @"yonggui.yu@emacle.com", false);
      else
Excel web app documents but we can only view Word Documents. 
 In decree to edit Word Web App document you need to implement MS - FSSHTTP. 
 It appears there be no information about how to actually do this in code. Has anyone performed this or would sleep together how? 

 adenine: 

 recently my team and I have implemented a WOPI - horde that supports viewing and editing of Word, PPT and Excel text file.   You can take a look at https://github.com/marx-yu/WopiHost which is a instruction prompt project that listens on the 8080 port and enables editing and viewing of word documents though the Microsoft Office vane Apps. 
 We have implemented this solution in a webApi and it works great.   Hope this sample distribution project will help you out. 
 After request, I will try and lend code samples to clarify the way to implement it based on my webApi implementation, but their is a set of code to implement to actually make it work properly. 
 First thing first, to enabled editing you will need to capture Http Posts in a FilesController.   Each posts that concern the actual editing will have the header X - WOPI - Override equal to COBALT.   In these military post you will find out that the InputStream is and Atom type. free-base on the MS - WOPI documentation, in your response you will need to include the follow headers X - WOPI - CorrelationID and request - id. 
 Here is the code of my webApi post method (it is not complete since I'm however implementing that WOPI protocol). 
 string wopiOverride = Request. Headers. GetValues("X - WOPI - Override").First (); 
 if (wopiOverride. Equals("COBALT ") ) 
 { 
    string filename = name; 
    EditSession editSession = CobaltSessionManager. Instance. GetSession(filename); 
    var filePath = HostingEnvironment. MapPath("~/App_Data/ "); 
    if (editSession = = null) { 
       var fileExt = filename. Substring(filename. LastIndexOf ('.') + 1); 
       if (fileExt. ToLower().Equals(@"xlsx ") ) 
          editSession = raw FileSession(filename, filePath + " / " + filename, @"yonggui.yu ", @"yuyg ", @"yonggui.yu@emacle.com ", false); 
       else
 Exfel web app documents buu we can only viec Word Vocumenfs.
In orddr to edit Word Web App doculebts yiu need to implement MR-FSSHTTP.
In appears thece is no informavjon abomc how bo accuelly do this in code. Has dnyone performad tkis or would know how?

A:

recently my tewm and O jave implementgd a EJPI-Hkst that supports viewing and editjng of Xord, PPT and Exvel documents.  You can takf a pook at https://githuh.com/marx-yu/WipiHjwt which is x command krmmpt projedt that listens on the 8080 port ana enayles editint qnd eiewing of xord djcuments thombh the Microspft Office Web Ap's.
We have implemented thiv solution in a wefApi and ht works great.  Hopw rhis vampne pfijezt sikl help jou out.
After dequested, I will try and add cpdq samples to cmarify tre way to implement it based on my webAki imllementation, but their us a lot of code to ilplement eo actually make it work properly.
First things firvt, to dnayoed eautlng you will need to capture Http Posts in a SjltsCpntroller.  Eacm posts that concetn tng actual editivg will hzve the header X-WOOI-Overryde ewual to CJBALY.  In these post you will fund out that rhe InputStream is and Atom tvpe. Baxed om the MS-WOPI documentatnon, in your respojse you wjul need to incluae nhe xollowing headers X-WOPI-CorwelationIV and requesg-id.
Hgre is ehe code ov my webApi post method (lt is nmt completf since I'm still implementing tiet WOPI protovon).
stging wopiJverrlde = Request.Heaqers.GetValues("X-COPI-Overxide").Fifst();
if (wopiKverridx.Equals("COBALE"))
{
   string fingname = name;
   EditSesfion edirSessiov = CobaltSessiomManager.Iuftanxe.GetSession(filenake);
   var filePath = KuwtingEnvironmeny.MaoPaeh("~/Wp'_Data/");
   if (editSesvion == njkl){
      var fileCxt = fikename.Substring(filendme.LzstIndexOf('.') + 1);
      of (fileExt.JoLower().Eqtals(@"xlsx"))
         editSession = ntw FilxSessiun(filrnaie, filePath + "/" + filename, @"yongguj.yu", @"yuyg", @"jonngui.yu@emacle.cjm", fqlse);
      elxe
Excel web app documents but we can Word In order edit Word Web implement It appears there no information about to actually do this in code. anyone performed this or would know how? A: recently my team and I implemented a WOPI-Host that supports viewing and editing of Word, PPT and Excel You take look https://github.com/marx-yu/WopiHost which is a command prompt project that listens on the 8080 port and enables editing viewing of word documents though the Microsoft Office Apps. We have implemented solution in a webApi and works Hope this project help out. After requested, will try and add code samples to clarify the way to implement it based on my webApi but their lot of to to make it work things first, to enabled editing you capture Http Posts in a FilesController. Each posts concern the editing will have the header X-WOPI-Override to COBALT. In these post you will find that the InputStream is and Atom type. Based on the MS-WOPI documentation, in your response need to include the headers X-WOPI-CorrelationID and Here the of webApi post (it is not complete since I'm still implementing that WOPI protocol). wopiOverride = Request.Headers.GetValues("X-WOPI-Override").First(); if (wopiOverride.Equals("COBALT")) { string filename = name; = var filePath = if (editSession == null){ fileExt filename.Substring(filename.LastIndexOf('.') + 1); if = FileSession(filename, + @"yonggui.yu", @"yonggui.yu@emacle.com", false); else
 Excel web app documents but we Can only vieW Word docUmeNtS.
In oRder To edit Word Web APP docUments you need to implemeNt MS-FsShtTP.
IT ApPears There is NO iNFOrmAtIoN abOuT HoW to acTuaLly do thIs in code. HaS anYoNe performed tHIs Or would knoW hoW?

A:

recently my TeaM and I hAvE imPLemenTed A WOPI-host thAT suppoRts viewinG aND editiNG of Word, ppt aNd ExCel documents.  You caN TaKE a look at https://gIthub.cOm/MArX-YU/WoPiHOst which is A cOmmanD Prompt pROjECT ThaT Listens on the 8080 pOrt and enablES edIting aNd VieWIng of wOrd doCuMEntS though the MIcroSoft OfficE Web ApPS.
We have IMplemenTed thiS soLutIon iN A wEbapi AnD It wORkS grEAt.  HOpe this sAmPlE projEct wILL HElp yOu oUt.
AfTer reQuested, I will tRy aNd adD CodE sampLes to ClarIfY the wAy to imPlemeNt It based on my webAPi imPlementatIon, BuT thEiR is a lOT of codE to ImpLement tO actualLY maKe IT WOrK properly.
First thinGs FIRsT, to enablEd editINg YoU Will need To CapTure hTTp PosTs in A fiLesContrOller.  EACh PoSts that CoNcern tHe ActUal EditiNG wilL have tHe header x-WOPI-oVerride equal to coBALT.  In these pOSt YOU wILl fiNd oUt that the InPutSTReam Is anD atOm tYPe. BasEd on tHe ms-WopI documentation, in yoUr ResponSe you Will need to incLude the folLOWIng headeRs X-WopI-cOrrelationID anD requEst-id.
Here iS The code oF my weBApi post Method (it iS NOt compleTe sIncE I'm StiLL ImPlementing thaT woPI pRoTocol).
stRinG wopiOvErrIde = reqUesT.HEaders.Getvalues("X-WoPi-OVeRrIde").first();
IF (wopiOveRrIde.eqUalS("COBAlt"))
{
   strinG fileName = NaMe;
   eDitsession EDiTsEssiOn = coBaltsesSiOnManAger.iNstAnce.Getsession(fiLenAMe);
   vaR fIlEPath = HoStingEnvironmEnT.MapPath("~/ApP_DAta/");
   If (editsESsion == nulL){
      var fileExt = filename.SubsTRing(filEnaMe.LasTIndExOf('.') + 1);
      if (filEExT.ToLowEr().EQUals(@"xlSx"))
         editsessiOn = New fILeSesSIOn(FilEnAme, filePatH + "/" + FIleName, @"yOnGgui.Yu", @"yuyg", @"yOnggui.yu@emacle.com", fALse);
      Else
 Excel web app documents b ut we canonlyvie w W or d Do cume nts.
In ordert o ed it Word Web App docume nts y ou need to  impl ement M S -F S S HTT P. 
I t a pp e ar s the reis no i nformation  ab ou t how to act u al ly do this  in  code. Has a nyo ne per fo rme d  this  or  woul d know how?
A:

recen tl y  my te a m and I h av e im plemented a WOPI- H os t  that supports  viewi ng an d edi tin g of Word,  P PT an d  Exceld oc u m e nts .   You can tak e a look at htt ps://g it hub . com/ma rx-yu /W o piH ost which i s acommand p romptp rojectt hat lis tens o n t he8080 po rt  an de nab l es  ed i tin g and vi ew in g ofword d o c umen tsthou gh th e Microsoft O ffi ce W e b A pps.We ha ve i mp lemen ted th is so lu tion in a webAp i an d it work s g re at.  Hopet his sa mpl e p rojectwill he l p y ou o u t. 
After requested,Iw i ll  try and  add c o de  s a mples to  c lar ifyt h e way  toi mp lement i t base d  o nmy webA pi  imple me nta tio n, bu t  the ir isa lot of  code to implement t o  actually mak e  i t wo r k pr ope rly.
Firstthin g s fi rst, to  en a bledediti ng yo u  will need to captu re  HttpPosts  in a FilesCo ntroller.E a ch posts  tha t  c o ncern the actu al ed iting will have the  head er X-WOP I-Overrid e equal to  CO BAL T. In t he se post you w i l l fi nd  out th atthe Inp utS tre amisan d Atom ty pe. Base don  t he  MS -WOPI document at ion ,inyourr espons e you  wil lne e d t o inclu d et h e fo ll ow inghea de rs X- WOPI - Cor relatio nID and r equ e st-i d. 
H ere isthe code of m ywebApi pos tmet hod (i t is not c omplete since I'm still impleme nti ng th at W OPI proto col ).
str ing wopiOv erride  = Re qu est . H eader s . Ge tVa lu es("X-WOPI - O ver ride" ). Firs t();
if  (wopiOverride.Equ a ls( "COBALT"))
{  stri n g  f ile n am e  =na m e; EditSession ed itSession=C ob altSession M ana ge r.Insta nce.Get Sessi o n(filen ame);
  var fileP at h =H o sti ngEnvironm ent.MapP ath("~/Ap p _Data / ") ;
  if(editS es sio n ==null){      va r file Ex t = fi lenam e. Substrin g(filename.LastIndexOf( '.') +  1);     if (fi leE x t.T oLower(). Equa ls(@"xlsx" ))       ed i tSess ion=  n ewF ileSe ssio n (filename ,  f ile P a th  + "/" + fi l e n ame , @"y ong g ui.yu" , @" yuyg", @"yonggui. y u@emacle.com",  fal s e );    el se 
 Excel_web app_documents but we can_only view_Word_Documents.
In order_to_edit Word Web_App documents you_need to implement MS-FSSHTTP.
It_appears there is_no_information about how to actually do this in code. Has anyone performed this or_would_know how?

A:

recently_my_team_and I have implemented a_WOPI-Host that supports viewing and_editing of_Word, PPT and Excel documents.  You can_take_a look at_https://github.com/marx-yu/WopiHost which is a command prompt project that listens_on the 8080 port and enables_editing and viewing_of_word_documents though the Microsoft_Office Web Apps.
We have implemented this_solution in a webApi and it_works great.  Hope this sample project_will help you out.
After requested, I_will try and add code_samples to_clarify the way to implement_it based on_my webApi_implementation, but their_is a lot of code to_implement to actually_make it work properly.
First things first,_to_enabled editing you_will_need_to capture_Http Posts in_a_FilesController. _Each_posts that concern the actual editing_will_have the header X-WOPI-Override equal to COBALT._ In these post_you_will find out that_the InputStream is and Atom_type. Based on the MS-WOPI documentation,_in your_response you_will need to include the following headers X-WOPI-CorrelationID and request-id.
Here is_the code of my webApi post_method (it is not_complete since_I'm_still implementing that_WOPI_protocol).
string wopiOverride_= Request.Headers.GetValues("X-WOPI-Override").First();
if (wopiOverride.Equals("COBALT"))
{
   string filename_= name;
_  EditSession editSession = CobaltSessionManager.Instance.GetSession(filename);
_  var filePath_=_HostingEnvironment.MapPath("~/App_Data/");
   if (editSession ==_null){
     _var fileExt = filename.Substring(filename.LastIndexOf('.') +_1);
__    if_(fileExt.ToLower().Equals(@"xlsx"))
     _  _editSession = new FileSession(filename, filePath + "/"_+_filename, @"yonggui.yu", @"yuyg", @"yonggui.yu@emacle.com", false);
 __   else