Sharepoint 2013 - 通过JSONHandlerFactory阻止的webDAV访问JSON [英] Sharepoint 2013 - Access JSON over webDAV blocked by JSONHandlerFactory
问题描述
web.config有一个拦截json文件的处理程序JSONHandlerFactory
我想使用webDAV界面移动文件(包括json文件)(windows explorer / Powershell)
$
当我删除处理程序时,json文件可以正常工作,但我不确定删除它后我打破了什么。
有没有人知道Sharepoint如何使用这个处理程序以及删除它时会破坏哪些功能?
The web.config has a handler that intercepts json files at JSONHandlerFactory
I want to move files around (including json files) using the webDAV interface (windows explorer / Powershell)
The json files work when I remove the handler but I'm not sure what I broke by removing it.
Does anyone know how Sharepoint uses this handler and what features break when removing it?
推荐答案
JSONHandlerFactory是一个处理客户端ASP.NET Web服务请求的处理程序,数据以JSON格式交换。
JSONHandlerFactory is a handler which will deal with client requests for ASP.NET Web services and data is exchanged in JSON format.
此句柄将阻止从客户端访问/操作.Json文件,因此删除此处理程序将能够移动json文件。
This handle will prevent to access/manipulate .Json file from Client side, so remove this handler will be able to move json files.
请检查此处理程序的类似博客:
Please check the similiar blog of this handler:
为JSO服务来自SharePoint Layouts文件夹的N个文件
这里有一个类似的线程供您参考:
And here is a similiar thread for your reference:
那个
处理程序的目的是什么-sharepoint 2010 webconfig< system.webServer>< handlers>< add name =" JSONHandlerFactory
关于删除此处理程序后哪个功能中断,没有正式文档要指定,我想你可以在移动json文件后在web.config中读取这一行。
About what feature breaks after removing this handler, there is no official document to specify, I think you could readd this line in web.config after moving json file.
谢谢
最好的问候
这篇关于Sharepoint 2013 - 通过JSONHandlerFactory阻止的webDAV访问JSON的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!