Web API中的事件侦听器 [英] Event listener in Web API

查看:135
本文介绍了Web API中的事件侦听器的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个使用3方dll进行通信的Windows项目。这个3方dll也发送事件,这些事件是通过事件和事件在Windows项目中捕获的。代表。


注意:3方dll触发的事件是UDP数据包。


我需要将此项目转换为asp.net Web API。我在我的web api中添加了这些dll,我能够通过dll发送请求和接收响应进行通信。现在,我必须在web api中收到来自这些dll的事件。


有什么我可以尝试使它成为可能。




解决方案

Hi Ravs200218,


欢迎来到MSDN论坛。


此论坛正在讨论Visual Studio WPF / SL Designer,Visual Studio Guidance Automation Toolkit,开发人员文档和帮助系统和Visual Studio
编辑。


根据您的描述,您的问题与Web API有关,我建议您将新线程重新发布到以下foru m为专业答案。


https://forums.asp.net /  


感谢您的理解。


问候,


Judyzh


I have a windows project which is using 3 party dlls to communicate. this 3 party dlls are also sending events which is been captured inside the windows project via events& delegates.

Note: the events fired by the 3 party dlls are the UDP packets.

I need to convert this project to asp.net Web API. I have added those dlls in my web api and I am able to communicate to send request and receive response via the dll's. Now, I have to receive the events from those dlls in web api.

Is there anything I can try to make it possible.


解决方案

Hi Ravs200218,

Welcome to the MSDN forum.

This forum is discussing Visual Studio WPF/SL Designer, Visual Studio Guidance Automation Toolkit, Developer Documentation and Help System, and Visual Studio Editor.

According to your description, your issue is related to Web API, I suggest you repost a new thread to the following forum for a professional answer.

https://forums.asp.net/ 

Thanks for your understanding.

Regards,

Judyzh


这篇关于Web API中的事件侦听器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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