Skip to content
DataMiner DoJo

More results...

Generic selectors
Exact matches only
Search in title
Search in content
Post Type Selectors
Search in posts
Search in pages
Search in posts
Search in pages
Log in
Menu
  • Updates & Insights
  • Questions
  • Learning
    • E-learning Courses
    • Empower Replay: Limited Edition
    • Tutorials
    • Open Classroom Training
    • Certification
      • DataMiner Fundamentals
      • DataMiner Configurator
      • DataMiner Automation
      • Scripts & Connectors Developer: HTTP Basics
      • Scripts & Connectors Developer: SNMP Basics
      • Visual Overview – Level 1
      • Verify a certificate
    • Video Library
    • Books We Like
    • >> Go to DataMiner Docs
  • Expert Center
    • Solutions & Use Cases
      • Solutions
      • Use Case Library
    • Markets & Industries
      • Media production
      • Government & defense
      • Content distribution
      • Service providers
      • Partners
      • OSS/BSS
    • Agile
      • Agile Webspace
      • Everything Agile
        • The Agile Manifesto
        • Best Practices
        • Retro Recipes
      • Methodologies
        • The Scrum Framework
        • Kanban
        • Extreme Programming
      • Roles
        • The Product Owner
        • The Agile Coach
        • The Quality & UX Coach (QX)
    • DataMiner DevOps Professional Program
      • About the DevOps Program
      • DataMiner DevOps Support
  • Downloads
  • More
    • DataMiner Releases & Updates
    • Feature Suggestions
    • Climb the leaderboard!
    • Swag Shop
    • Contact
      • General Inquiries
    • Global Feedback Survey
  • PARTNERS
    • All Partners
    • Technology Partners
    • Strategic Partner Program
    • Deal Registration
  • >> Go to dataminer.services

How can I implement Signalr in a protocol solution?

Solved1.04K views11th July 2023Signalr
2
Julian Yepe [SLC] [DevOps Advocate]227 26th October 2022 0 Comments

I would like to know if it is possible to implement Microsofts Signalr library in a protocol solution. Signalr is a .NET library that allows for real-time updates from the server to the client and is made for ASP.NET (more information here). I am able to download the NuGet packages required, but I run into an issue where I am getting a ‘TargetInvocationException’ when running the code. I am not sure if this exception is happening because Signalr is meant for the ASP.NET framework or because there is a reference that I might not be aware of. Any help is appreciated. I have added a screenshot for reference.

Here is the exception:

System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. —> System.TypeLoadException: Method ‘DisposeAsync’ in type ‘Microsoft.AspNetCore.SignalR.Client.HubConnection’ from assembly ‘Microsoft.AspNetCore.SignalR.Client.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60’ does not have an implementation.
at QAction.Run(SLProtocol protocol)
— End of inner exception stack trace —
at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
at System.Reflection.MethodBase.Invoke(Object obj, Object[] parameters)
at CManagedScript.Run(CManagedScript* , Int32 iDmaId, Int32 iEid, Int32 trigger, Int32 iCookie, IUnknown* pILog, IUnknown* pProtocol, tagVARIANT* varParameters, tagVARIANT* varRowInfo, tagVARIANT* pvarReturn)

Marieke Goethals [SLC] [DevOps Catalyst] Selected answer as best 11th July 2023

2 Answers

  • Active
  • Voted
  • Newest
  • Oldest
2
Flavio Meneses [SLC] [DevOps Enabler]925 Posted 7th December 2022 1 Comment

Hi Julian,

Not sure whether you are having issues still. In any case, I’ve played with SignalR in the past and this was more or less the code used. Please note that this code was developed only to play around and that improvements are needed before putting anything into production.

DLL used:Microsoft.AspNet.SignalR.Client.dll

Kind regards,

Marieke Goethals [SLC] [DevOps Catalyst] Selected answer as best 11th July 2023
Flavio Meneses [SLC] [DevOps Enabler] commented 7th December 2022

Something that I just noticed is that we are using different libraries. Is it indeed the Core one that you need?

0
Marlies Vandenberghe [SLC] [DevOps Member]2.98K Posted 7th December 2022 0 Comments

Hi Julian,

which version are you using of the NuGet?

Internal testing pointed out that some versions gave exceptions, but no further investigation happened. If this implementation is important i would indeed chase this further with internal experts.

Marlies Vandenberghe [SLC] [DevOps Member] Answered question 7th December 2022
Please login to be able to comment or post an answer.

My DevOps rank

DevOps Members get more insights on their profile page.

My user earnings

0 Dojo credits

Spend your credits in our swag shop.

0 Reputation points

Boost your reputation, climb the leaderboard.

Promo banner DataMiner DevOps Professiona Program
DataMiner Integration Studio (DIS)
Empower Katas
Privacy Policy • Terms & Conditions • Contact

© 2025 Skyline Communications. All rights reserved.

DOJO Q&A widget

Can't find what you need?

? Explore the Q&A DataMiner Docs