Is Signal-R supported by NET MAUI? - asp.net-core

I've used Signal-R in a Blazor Server app, but I don't see a way to implement it in NET MAUI. Apparently this environment doesn't support Signal-R yet but I might be wrong.
If it is, I would appreciate it if you could describe to me how to declare an IHubContext as a service in MauiProgram.cs. Thanks in advance.

I haven't tried it myself (will do later this year), but according to this project: https://github.com/matt-goldman/maui-chat it should be supported.

Related

Elmah for .NET Core - manually logging

I've got an app that has elmah embedded in it for error logging. That app runs .net framework 4.x and uses a sql server backend. It is hosted up in azure.
I am porting the app the .net core and to connect to the same database. I've been googling, but can't find a way to manually enter an error into elmah under asp .net core. I need to store more information than just errors. I'm sure that the problem is with my searching on how to do this, so if someone could help a dumb soul and say how to do it, I would appreciate it.
TIA,
Wally
Have you tried HttpContext.RiseError(new InvalidOperationException("Test")); as mentioned in the https://github.com/ElmahCore/ElmahCore/#rise-exception ?

Using AspNetCore.SignalR with net462

Apologies if this is a stupid question, I've been looking into this for hours and have gotten myself really confused by the different framework versions and by the current state of SignalR.
I've got an asp.net core 1.1 web application (.NET Framework) currently targetting net462, and I wish to add websocket functionality to this using SignalR. I've tried adding the MyGet feed (https://dotnet.myget.org/F/aspnetcore-master/api/v3/index.json) but can't add Microsoft.AspNetCore.SignalR, even though this seems to be the recommended course of action. I wondered if this was because of an incompatibility between SignalR and net462, but SignalR targets netstandard1.3 which as far as I can tell should be compatible with net462.
Can anyone point me in the right direction?
I made two silly mistakes here, posting just in case it helps anyone else:
The correct feed url was: https://dotnet.myget.org/F/aspnetcore-ci-dev/api/v3/index.json
I didn't notice there was a 'Package source' dropdown

WL 6.1 mobilewebapp version in application-descriptor.xml

I see from the documentation that the version attribute for the mobilewebapp environment has been removed? Why is this? Is there any way to add this? This was very useful for us!
Using WL 6.1.0.01.20140418-0637.
I don't quite understand how it was "useful" to you, because this property never had any actual meaning for the Mobile Web and/or Desktop we browser environments to begin with. It only caused confusion, hence it is now removed.
There is no way to add it back by the developer.
If you think it is useful to you for some reason, you can submit a feature request: http://www.ibm.com/developerworks/mobile/worklight/connect.html

Why is not SignalR.Redis available on NuGet?

first of all this is my first question and I want to follow rules, but if I made a mistake, I am apologize :) My problem is that I want scale-out my website, which using SignalR and I wanted to download SignalR.Redis from NuGet. But it says that there is nothing like this but I found some tutorials witch talking about support for Redis in form of mentioned package on NuGet. I looking on internet for the reason of missing package, but I didnĀ“t find any information about that. Or am I doing something wrong? Can you help me, please?
SignalR Redis is not currently available. The beta for 1.1 will be coming out soon which will have the Redis scaleout package.

How to implement Configuration Service 5.0 of the StockTrader 5.0 sample application?

We have a collection of WCF Rest WebServices. Those WebServices are having configuration strings that are now hard coded as constants. We want to be able to change those configuration strings at runtime. A colleague of mine pointed me at the Configuration Service of the StockTrader sample application.
I installed the sample application and looked at working of the application. The Configuration Service is just a little part of the sample application. The documentation of the sample application contains a tutorial for the 'Visual Studio Configuration Service template', wich I followed. After that I found the 'Config Service Technical Guide' in the documentation folder of the sample application, wich contains a sort of action plan on page 12. The actionplan is just a summary what has to be implemented to use Configuration Service, not how it has to be implemented. Above the action plan the reader is referred to the 'Guide to Implementing the Configuration Service 5.0 for .NET Applications and Services'. Only thing after googling: The guide is nowhere to be found..
With the combination of the little actionplan in the technical guide, the comments in the code of the VS Template and the technical guide, I made a start to extract the Configuration Service and try to implement it in a new solution to test it. Now I am stuck with the implementation of the ConfigurationActionsBase. The implementation of the ConfigurationActionsBase persists the changes of the configuration to the database.
Does anyone know where the missing guide is(mentioned in the story
above)?
Does anyone know how to extract the configuration of magic
strings out of the StockTrader sample application?
Does anyone know an alternative solution for our scenario?
With Kind Regards,