Hello everyone.

The Mixed Reality Forums here are no longer being used or maintained.

There are a few other places we would like to direct you to for support, both from Microsoft and from the community.

The first way we want to connect with you is our mixed reality developer program, which you can sign up for at https://aka.ms/IWantMR.

For technical questions, please use Stack Overflow, and tag your questions using either hololens or windows-mixed-reality.

If you want to join in discussions, please do so in the HoloDevelopers Slack, which you can join by going to https://aka.ms/holodevelopers, or in our Microsoft Tech Communities forums at https://techcommunity.microsoft.com/t5/mixed-reality/ct-p/MicrosoftMixedReality.

And always feel free to hit us up on Twitter @MxdRealityDev.

Hello guys, has anyone had any success in using SignalR with Hololens? Ive tried to use an older ver

The actual error is because of the Newtonsoft.Json dll that the versionof SignalR is using. Error: UnityException: Failed to run serialization weaver with command "Temp\StagingArea\Data\Managed\Newtonsoft.Json.dll"

Best Answer

Answers

  • BotGreetBotGreet
    edited August 2016

    Yes, but I added the Signal R from nugets in the UWP project. I didn't try to add the .dlls directly in Unity as a plugin. Used #define NETFX_CORE to prevent any errors running in the Unity editor...

    Was able to get it to work. Be sure you have checked VIsual Studio project in the Build to Windows settings.

  • No luck, anyone else no how to get this to work?

  • I use this on an android device, dont know if its running on hololens, but why not....

    https://assetstore.unity3d.com/en/#!/content/10872

  • @mhoward said:
    @EssertGmbH , yes I used it too and it works flawlessly, great asset!

    Does this also work for windows store application? (sorry about the zombie reply)

  • Want to run a .net framework 4.x or 3.x client against a asp.net core 2.0 signalr service. possible?

    for now my client is a .net framework 4.x or 3.x console app. eventually it will be a DLL i drop into unity3d plugins directory.

    Then i can call my methods like so MyNet4ClientClass.MakeSignalrCoreCall(data).

    Is this possible? Can .NET 3.x or 4.x talk to asp.net core 2.0 signalr service?

    I tried to add the nuget package for Microsoft.AspNetCore.SignalR 1.0.0-alpha2-final but....

    "Could not install package 'Microsoft.AspNetCore.SignalR 1.0.0-alpha2-final'. You are trying to install this package into a project that targets '.NETFramework,Version=v4.5', but the package does not contain any assembly references or content files that are compatible with that framework. For more information, contact the package author. 0 "

    i thought this post was hopeful https://www.rizamarhaban.com/2016/09/13/asp-net-core-signalr-for-windows-10-uwp-app/

    in the post the guy talks to signalr code 2.0 from a UWP app the client UWP app uses "Microsoft.AspNet.SignalR.Client": "2.2.1" from nuget

    and service which uses Microsoft.AspNetCore.SignalR.Server: 0.2.0-alpha1-22118 obtained from https://dotnet.myget.org/F/aspnetcore-ci-dev/api/v3/index.json repository

    this works its seems because these older SignalR.Server packages still exposes themselves the old signalr way. you can see from the url it exposes at /signalr/hubs

    but the new new signalr core changed its protocol sometime so now incompatible.

    how can i talk to the new new signalr core from .net framework 4.x or 3.x client ?

  • Want to run a .net framework 4.x or 3.x client against a asp.net core 2.0 signalr service. possible?

    for now my client is a .net framework 4.x or 3.x console app. eventually it will be a DLL i drop into unity3d plugins directory.

    Then i can call my methods like so MyNet4ClientClass.MakeSignalrCoreCall(data).

    Is this possible? Can .NET 3.x or 4.x talk to asp.net core 2.0 signalr service?

    I tried to add the nuget package for Microsoft.AspNetCore.SignalR 1.0.0-alpha2-final but....

    "Could not install package 'Microsoft.AspNetCore.SignalR 1.0.0-alpha2-final'. You are trying to install this package into a project that targets '.NETFramework,Version=v4.5', but the package does not contain any assembly references or content files that are compatible with that framework. For more information, contact the package author. 0 "

    i thought this post was hopeful https://www.rizamarhaban.com/2016/09/13/asp-net-core-signalr-for-windows-10-uwp-app/

    in the post the guy talks to signalr code 2.0 from a UWP app the client UWP app uses "Microsoft.AspNet.SignalR.Client": "2.2.1" from nuget

    and service which uses Microsoft.AspNetCore.SignalR.Server: 0.2.0-alpha1-22118 obtained from https://dotnet.myget.org/F/aspnetcore-ci-dev/api/v3/index.json repository

    this works its seems because these older SignalR.Server packages still exposes themselves the old signalr way. you can see from the url it exposes at /signalr/hubs

    but the new new signalr core changed its protocol sometime so now incompatible.

    how can i talk to the new new signalr core from .net framework 4.x or 3.x client ?

Sign In or Register to comment.