Click here to Skip to main content
15,901,505 members

Welcome to the Lounge

   

For discussing anything related to a software developer's life but is not for programming questions. Got a programming question?

The Lounge is rated Safe For Work. If you're about to post something inappropriate for a shared office environment, then don't post it. No ads, no abuse, and no programming questions. Trolling, (political, climate, religious or whatever) will result in your account being removed.

 
GeneralRe: An AI experience via Copilot - #2 Pin
raddevus8-May-24 11:35
mvaraddevus8-May-24 11:35 
GeneralRe: An AI experience via Copilot - #2 Pin
charlieg8-May-24 11:47
charlieg8-May-24 11:47 
GeneralRe: An AI experience via Copilot - #2 Pin
raddevus8-May-24 11:50
mvaraddevus8-May-24 11:50 
GeneralRe: An AI experience via Copilot - #2 Pin
charlieg8-May-24 11:57
charlieg8-May-24 11:57 
GeneralRe: An AI experience via Copilot - #2 Pin
charlieg8-May-24 11:53
charlieg8-May-24 11:53 
GeneralRe: An AI experience via Copilot - #2 Pin
Jeremy Falcon8-May-24 13:10
professionalJeremy Falcon8-May-24 13:10 
GeneralRe: An AI experience via Copilot - #2 Pin
Amarnath S8-May-24 16:57
professionalAmarnath S8-May-24 16:57 
GeneralYAPM: Yet Another Package Mgr Pin
raddevus8-May-24 10:16
mvaraddevus8-May-24 10:16 
I needed to update my skills with SignalR (real-time updates in your browser) so I can update my articles here on CP.

I just ran through the (very good) Microsoft tutorial: Get started with ASP.NET Core SignalR | Microsoft Learn[^]

It shows you how to use .NET Core (7.x/8.x) to build a SignalR app and that's all good.

But, one of the steps tells you to install the SignalR packages and points you to do the following:

Quote:

In the integrated terminal, run the following commands to install LibMan after uninstalling any previous version, if one exists.

.NET CLI

Copy
dotnet tool uninstall -g Microsoft.Web.LibraryManager.Cli
dotnet tool install -g Microsoft.Web.LibraryManager.Cli


Before I can even think, I can hear myself screaming inside my skull!! Roll eyes | :rolleyes: Yet another package manager!!! Dead | X|

I did not install that tool on my machine.
Instead I went to nuget (already a part of my .NET core system) and got the path to install SignalR:
dotnet add package Microsoft.AspNet.SignalR --version 2.4.3


After that, you have to follow these odd steps to copy the SignalR JS code to your project:

Downloading file https://unpkg.com/@microsoft/signalr@latest/dist/browser/signalr.js...
wwwroot/js/signalr/dist/browser/signalr.js written to disk
Installed library "@microsoft/signalr@latest" to "wwwroot/js/signalr"

I went ahead and traversed to the URL https://unpkg.com/@microsoft/signalr@latest/dist/browser/signalr.js[^] and saved the file in the appropriate location.

I like manual stuff. I don't need no stinkin' new package manager!! Cool | :cool:

Yes, the sample code from the project worked even though I did those steps "manually".

Can you believe there is a new package manager thing?
Oy!

How about :
* Homebrew
* Chocalatey
* NPM
* Yarn


or anyone of these[^]

It's too much!! Laugh | :laugh:
JokeRe: YAPM: Yet Another Package Mgr Pin
Jeremy Falcon8-May-24 13:01
professionalJeremy Falcon8-May-24 13:01 
GeneralRe: YAPM: Yet Another Package Mgr Pin
dandy729-May-24 7:08
dandy729-May-24 7:08 
GeneralRe: YAPM: Yet Another Package Mgr Pin
raddevus9-May-24 9:46
mvaraddevus9-May-24 9:46 
GeneralISO FYI parent / child NOT in glossary ( of terms) Pin
Salvatore Terress8-May-24 7:21
Salvatore Terress8-May-24 7:21 
GeneralRe: ISO FYI parent / child NOT in glossary ( of terms) Pin
MarkTJohnson8-May-24 7:22
professionalMarkTJohnson8-May-24 7:22 
GeneralRe: ISO FYI parent / child NOT in glossary ( of terms) Pin
Maximilien8-May-24 7:37
Maximilien8-May-24 7:37 
GeneralRe: ISO FYI parent / child NOT in glossary ( of terms) Pin
Daniel Pfeffer8-May-24 7:46
professionalDaniel Pfeffer8-May-24 7:46 
GeneralRe: ISO FYI parent / child NOT in glossary ( of terms) Pin
jeron18-May-24 9:13
jeron18-May-24 9:13 
GeneralRe: ISO FYI parent / child NOT in glossary ( of terms) Pin
Jeremy Falcon8-May-24 8:43
professionalJeremy Falcon8-May-24 8:43 
GeneralRe: ISO FYI parent / child NOT in glossary ( of terms) Pin
kmoorevs8-May-24 9:47
kmoorevs8-May-24 9:47 
GeneralRe: ISO FYI parent / child NOT in glossary ( of terms) Pin
Jeremy Falcon8-May-24 12:53
professionalJeremy Falcon8-May-24 12:53 
GeneralRe: ISO FYI parent / child NOT in glossary ( of terms) Pin
raddevus8-May-24 11:38
mvaraddevus8-May-24 11:38 
GeneralRe: ISO FYI parent / child NOT in glossary ( of terms) Pin
Jeremy Falcon8-May-24 12:53
professionalJeremy Falcon8-May-24 12:53 
GeneralRe: ISO FYI parent / child NOT in glossary ( of terms) Pin
JudyL_MD8-May-24 9:44
JudyL_MD8-May-24 9:44 
GeneralRe: ISO FYI parent / child NOT in glossary ( of terms) Pin
Salvatore Terress8-May-24 16:59
Salvatore Terress8-May-24 16:59 
GeneralRe: ISO FYI parent / child NOT in glossary ( of terms) Pin
jeron19-May-24 4:09
jeron19-May-24 4:09 
GeneralRe: ISO FYI parent / child NOT in glossary ( of terms) Pin
GKP19929-May-24 19:16
professionalGKP19929-May-24 19:16 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.