【问题标题】:What's the difference between posting from a html-form and using the webclient class?从 html 表单发布和使用 webclient 类有什么区别?
【发布时间】:2011-06-06 13:54:23
【问题描述】:

当我使用 firebug 进行检查时,我注意到在使用常规 html 表单发布时,它会将 contenttype 设置为 application/x-www-form-urlencoded,但在使用 Webclient 类时却没有。当我使用 silverlight 应用程序中的 webclient 类时,我必须从 输入流并进行相应的转换。

如何使用 webclient 类将项目添加到 Request.Form 属性?有可能吗?

【问题讨论】:

    标签: .net silverlight webclient http-post


    【解决方案1】:
    猜你喜欢
    • 1970-01-01
    • 2018-08-21
    • 2018-04-21
    • 1970-01-01
    • 2019-11-19
    • 1970-01-01
    • 1970-01-01
    • 2011-01-05
    • 1970-01-01
    相关资源
    最近更新 更多