Question: I have SingnalR (OWIN self-hosted) server hub working with .net client. Now i'm preparing to write web client. I see that hub scripts are served <http://localhost:10102/signalr/hubs> but cannot see Scripts/jquery-*.min.js and Scripts/jquery.signalR-*.min.js.

I assume those scripts are not served from server hub (but by default included by nuget to solution) - am i right or missing something? 
Is there a way to reference those scripts directly form server (not to copy and host them on javascript client side)?

Answer: 
**General:**

<https://learn.microsoft.com/en-us/aspnet/signalr/overview/guide-to-the-api/hubs-api-guide-javascript-client>:

> 
> A JavaScript client requires references to jQuery and the SignalR core
>  JavaScript file. The jQuery version must be 1.6.4 or major later
>  versions, such as 1.7.2, 1.8.2, or 1.9.1. If you decide to use the
>  generated proxy, you also need a reference to the SignalR generated
>  proxy JavaScript file. The following example shows what the references
>  might look like in an HTML page that uses the generated proxy.
> 
> 
> 

You have only to add the following scripts to your index.html (take care about the versions):

```
<script src="Scripts/jquery-1.10.2.min.js"></script>
<script src="Scripts/jquery.signalR-2.1.0.min.js"></script>
<script src="signalr/hubs"></script>

```

**Serve these files from server:**

1. Create directory in server project where you place these JS Files
2. Configure your server that he serves theses files. For that add `app.UseFileServer();` to you `Configure(...)` method in Startup class. (See details about service files: <https://learn.microsoft.com/en-us/aspnet/core/fundamentals/static-files>)
3. Add the required scripts in client. There is an example (change adresses and script file to your files and you server adress:

`<script type="text/javascript" src="http://localhost:10310/scripts/signalr-clientES5-1.0.0-alpha2-final.js></script>`
Actually, you don't need to have scripts to implement SygnalR service (backend part). To make a connection between client index.html and your service, you need to have some kind of client lib that works with SygnalR to establish a connection.