如何ASP.NET与放大器之间的通信; C#应用程序 [英] How to communicate between ASP.NET & C# Application
问题描述
我在开发一个项目,需要交流的ASP.NET网站和一个C#应用程序之间的双向的过程。
I am in the process of developing a project that will require communication both ways between a ASP.NET website and a C# Application.
例如,如果我想点击一个ASP.NET网页上的按钮来检索某些事物的状态。
For example if I wanted to click a button on an ASP.NET webpage to retrieve the status of something.
我如何能实现它们之间的这种沟通?
How could I implement this communication between them?
请注意我从来没有使用过ASP.NET,因此,我的问题。
Please note I have never used ASP.NET before, hence my question.
推荐答案
您可以在这两个网站和应用程序中使用同一个数据库。如果你想要的东西,从应用程序传输到网站上,像一个文件,那么你将需要一个Web服务或WCF服务。但是,你的愿望似乎是由网站和应用程序共享的数据库。
You can use same database in both website and application. If you want to transfer something from application to website, like a file, then you will need a web service or WCF service. But your wish seems like a shared database by website and application.
这篇关于如何ASP.NET与放大器之间的通信; C#应用程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!