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
Related
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.
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 ?
I downloaded opserver that I saw at SQLPass. I can't seem to do anything with it. I tried opening it with VS 2008, VS 2010 and keep getting incompatible errors. What version of VS should I be using? I am a newbie so am in real unfamiliar territory. What do I do after I download it? Are there step by step instructions anywhere?
Opserver targets ASP.NET 4.5 for concurrency features, which I believe requires 2012 or better.
The official Opserver documentation assumes that you know how to build and publish and ASP.NET MVC 4 application. Typically the challenge in building MVC is getting the right dependencies/config setup on IIS the first time. Very easy to update after that. There are many blog posts and good answers on this site on that general subject.
If you want directions specific to Opserver, currently you are limited to third party blog posts such as the following:
Patrick Hyatt: Setting Up StackExchange's Opserver (very useful for the config files)
Danny Sorensen: Using Opserver Will It Build? (my own experience so far)
If this is not familiar territory, I recommend the following:
Use Visual Studio 2012 or 2013 on a machine with ASP.NET 4.5
Only enable the Opserver security file. Modify it for your IP address, or use "alladmin" to start.
Build it. If it doesn't work, use StackOverflow to solve your issue. You're having trouble with ASP.NET MVC 4, not Opserver at this point.
Now enable one additional config file at a time and build it again until you are done. Note, that you will not need to enable all of the config files unless your setup matches that of StackOverflow. Most of the config files are intended to be optional and left disabled.
You should be good with 2010, but you need to have ASP.NET MVC installed before opening the solution and building.
Has anybody here seen working sample/source code of Marionette and asp.net mvc? I've found one asp.net mvc sample project under project sections of Marionettejs but that is outdated and doesn't work either. So can somebody tell me precisely where I can get one.
Have you seen this?
https://github.com/priley86/marionette-mvc4-bootstrap-template
I know it's an old question, but better late then never :)
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.