Professional OPC
Development Tools

logos

Online Forums

Technical support is provided through Support Forums below. Anybody can view them; you need to Register/Login to our site (see links in upper right corner) in order to Post questions. You do not have to be a licensed user of our product.

Please read Rules for forum posts before reporting your issue or asking a question. OPC Labs team is actively monitoring the forums, and replies as soon as possible. Various technical information can also be found in our Knowledge Base. For your convenience, we have also assembled a Frequently Asked Questions page.

Do not use the Contact page for technical issues.

MVC Application

More
18 Dec 2015 08:00 #3728 by support
Replied by support on topic MVC Application
Hello,
I will need more information to this - e.g. a sample project, or relevant pieces of code.

In general, the answer is that there should be no difference in QuickOPC behavior in the MVC application under IIS environment, and the subscription callbacks should fire as normal.

It should be noted, however, that (as far as the developer is concerned), the subscriptions are tied to the EasyXXClient instance they have been created on, and live until an explicit "unsubcscribe" is made, or the EasyXXClient instance is disposed of or finalized. In the context of typical Web applications, most code runs for the duration of the HTTP request/response processing for a page. Subscriptions should normally be long-lived, and it makes little sense to create/destroy them as part of page generation code. For them to make sense in the context of a Web application, you need some kind of global or at least long-lived EasyXXClient instance, on which the subscriptions can be made, and to which the event handlers can be tied (or callbacks handlers be specified). Do you have such long-lived instance in your code?

Best regards

Please Log in or Create an account to join the conversation.

More
18 Dec 2015 07:54 #3727 by support
MVC Application was created by support
Hello,

I'm developing an MVC 5 app on IIS 7 server. It seems that QuickOPC 5.34 doesn't fire the subscription callbacks in this environment. It works fine in normal desktop Visual Studio 2013 apps. Have you experienced that? How can i solve the problem?

Thanks

Please Log in or Create an account to join the conversation.

Moderators: support
Time to create page: 0.041 seconds