C#,Asp.net,数据交换 [英] C#, Asp.net, Data Exchange

查看:84
本文介绍了C#,Asp.net,数据交换的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,

我有一个简单的问题,现在我没有找到关于该主题的任何答案,
有没有一种简单的方法可以从本地运行的c#发送序列化的c#对象
通过webservice或类似的东西应用到asp.net网页?我不想将对象存储在任何类型的ob数据库中,我想将数据直接发送到网页.也许根本不可能吗?
希望任何人都能帮助我.

亲切的问候
Manu

Hi everyone,

i have a simple question, right now i did not find any answer on that topic,
is there a simple way to send serialized c# objects from a local running c#
application to a asp.net webpage via webservice or something like that? I do not want to store my objects in any kind ob database, i want to send my data directly to the webpage. Maybe it is not possible at all?
Hope anyone can help me.

Kind regards
Manu

推荐答案

您可以使用JSON或仅以文本形式将数据发送到网页,但是C#代码无法在客户端上运行,因此可以在其中发送数据.服务器上的表单(C#序列化对象)浪费时间.
You can send the data to a webpage using JSON or just as text, but C# code does not run on the client, therefore sending the data in it''s form on the server ( a C# serialised object ) is a waste of time.


这篇关于C#,Asp.net,数据交换的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆