Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't find the jquery.signalr.min.js #3156

Closed
Chrillemeter opened this issue Jul 23, 2014 · 7 comments
Closed

Can't find the jquery.signalr.min.js #3156

Chrillemeter opened this issue Jul 23, 2014 · 7 comments

Comments

@Chrillemeter
Copy link

I downloaded the files and tried to find the jquery.signalr.min.-js, but I can't find it.

@davidfowl
Copy link
Member

Downloaded what files? Are you using the nuget package?

@Chrillemeter
Copy link
Author

I saw this article, https://github.com/SignalR/SignalR/wiki/SignalR-JS-Client
In the example code there is an reference to a jquery.signalr.min.js file.

I downloaded the files (zip file) from here https://github.com/SignalR/SignalR

But I can't find the "jquery.signalr.min.js" file that is required for html and javascript clients.

@moozzyk
Copy link
Contributor

moozzyk commented Jul 24, 2014

Typically you use NuGet to install SignalR to your application. It will install the latest version of NuGet. Alternatively you can use tooling that is built-in but due to the slower shipping cadence of VS and VS Updates (vs. NuGet packages) the version of SignalR installed to your project by tools may be older. If you install SignalR using VS you can update packages to the latest version by running Update-Package Microsoft.AspNet.SignalR.Client command from the Package Manager Console (Tools -> NuGet Package Manager -> Package Manager Console) to update the client and Update-Package Microsoft.AspNet.SignalR to update the server. I would also recommend to use SignalR tutorials from here: http://www.asp.net/signalr/overview/signalr-20 (this is one you may want start with to have your first SignalR app using the javascript client up and running http://www.asp.net/signalr/overview/signalr-20/getting-started-with-signalr-20/tutorial-getting-started-with-signalr-20)

@Chrillemeter
Copy link
Author

I'm not a .NET developer. I'm using Sublime Text as IDE. I'm more of a HTML/CSS, Javascript and PHP developer. A friend asked me if I could create a test with html and javascript against his Azure Mobile Service that uses SignalR.

Thanks for your answer anyway :)

@moozzyk
Copy link
Contributor

moozzyk commented Jul 28, 2014

If you are not using Visual Studio you can install packages from the command prompt using nuget.exe. You can download it from the official NuGet website: http://www.nuget.org/nuget.exe. On Mac/Linux you would have to use Mono to run the tool. Once you get the nuget.exe run the following command:
NuGet.exe install Microsoft.AspNet.Signalr.JS and it will "install" your package to the current folder. "Install" in this case means that it will download the package and unpack its contents which will give you all the scripts you need. Then you will need to copy the scripts to your project and you should be good to go (note that SignalR js client currently depends on jQuery so you will have to copy .js file(s) from the jQuery scripts folder in addition to SignalR js client.

@DamianEdwards
Copy link
Member

You can also use bower to install the JS client (bower install signalr).

Or, download it from the CDN http://www.asp.net/ajaxlibrary/cdn.ashx#ASPNET_SignalR_Releases_on_the_CDN_17

@Thorium
Copy link

Thorium commented Jan 24, 2020

It seems that the available version of jquery.signalR.min.js in cdn is not recent one.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants