Skip to content

Commit

Permalink
fixed ASP.NET Core
Browse files Browse the repository at this point in the history
  • Loading branch information
Aaronontheweb committed Feb 4, 2019
1 parent dcb34db commit 4ae48ab
Show file tree
Hide file tree
Showing 9 changed files with 2,590 additions and 1,058 deletions.
1 change: 0 additions & 1 deletion src/WebCrawler.TrackerService/Actors/IO/CrawlMaster.cs
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,6 @@ private void PublishJobStatus()
{
foreach (var sub in Subscribers)
sub.Tell(RunningStatus);
Context.System.EventStream.Publish(1.0d);
}
}
}
2 changes: 1 addition & 1 deletion src/WebCrawler.Web/Views/Home/Index.cshtml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
$(function() {
// Reference the auto-generated proxy for the hub.
var chat = new signalR.HubConnection("/hubs/crawlHub");
var chat = new signalR.HubConnectionBuilder().withUrl("/hubs/crawlHub").build();
// Create a function that the hub can call back to display messages.
chat.on("writeStatus", function(message) {
stream.addMessage(message);
Expand Down
7 changes: 2 additions & 5 deletions src/WebCrawler.Web/WebCrawler.Web.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,8 @@
<PackageReference Include="Akka.Bootstrap.Docker" Version="$(AkkaBootstrapVersion)" />
<PackageReference Include="Akka.Cluster" Version="$(AkkaVersion)" />
<PackageReference Include="Akka.Cluster.HealthCheck" Version="$(AkkaHealthCheckVersion)" />
<PackageReference Include="Microsoft.AspNetCore.All" Version="2.0.6" />
<PackageReference Include="Microsoft.AspNetCore.Mvc" Version="2.0.3" />
<PackageReference Include="Microsoft.AspNetCore.Server.Kestrel" Version="2.0.2" />
<PackageReference Include="Microsoft.AspNetCore.SignalR" Version="1.0.4" />
<PackageReference Include="Microsoft.VisualStudio.Web.CodeGeneration.Design" Version="2.0.2" />
<PackageReference Include="Microsoft.AspNetCore.All" Version="2.0.9" />
<PackageReference Include="Microsoft.AspNetCore.SignalR" Version="1.1.0" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\WebCrawler.Shared\WebCrawler.Shared.csproj" />
Expand Down
11 changes: 0 additions & 11 deletions src/WebCrawler.Web/package-lock.json

This file was deleted.

12 changes: 12 additions & 0 deletions src/WebCrawler.Web/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{
"name": "WebCrawler.Web",
"version": "1.0.0",
"description": "",
"main": "index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},
"keywords": [],
"author": "",
"license": "ISC"
}
3,596 changes: 2,556 additions & 1,040 deletions src/WebCrawler.Web/wwwroot/lib/signalr/signalr.js

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions src/WebCrawler.Web/wwwroot/lib/signalr/signalr.js.map

Large diffs are not rendered by default.

17 changes: 17 additions & 0 deletions src/WebCrawler.Web/wwwroot/lib/signalr/signalr.min.js

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions src/WebCrawler.Web/wwwroot/lib/signalr/signalr.min.js.map

Large diffs are not rendered by default.

0 comments on commit 4ae48ab

Please sign in to comment.