Skip to content

Instantly share code, notes, and snippets.

@vertonghenb
Created December 13, 2020 13:54
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save vertonghenb/b6ff2401217490afb1e44cd6e82e53c4 to your computer and use it in GitHub Desktop.
Save vertonghenb/b6ff2401217490afb1e44cd6e82e53c4 to your computer and use it in GitHub Desktop.
Parameterbug
C:\Users\bever>livesharp
LiveSharp: Found available port: 50539
info: Microsoft.AspNetCore.DataProtection.KeyManagement.XmlKeyManager[0]
User profile is available. Using 'C:\Users\bever\AppData\Local\ASP.NET\DataProtection-Keys' as key repository and Windows DPAPI to encrypt keys at rest.
LiveSharp: Initializing LiveHost at 50540
LiveSharp: Listening on port 50540 starting
LiveSharp: Listening on port 50540 started
Hosting environment: Production
Content root path: C:\Users\bever
Now listening on: https://127.0.0.1:50539
Application started. Press Ctrl+C to shut down.
Welcome to LiveSharp!
Documentation https://www.livesharp.net/help/
Live support https://gitter.im/LiveSharp/Lobby (@ionoy)
Server app releases https://github.com/OYIon/LiveSharp/releases
License purchasing https://www.livesharp.net/#licensing
Log files locations are %TEMP%\LiveSharp on Windows and $TMPDIR/LiveSharp on OSX
1) Make sure 'LiveSharp' package is installed in the main project (the one with Program.Main or App.Initialize)
Also install 'LiveSharp' into other projects that should be hot-reloadable
2) Run the application
If nothing appears here after application has started, check the debugging Output window for 'livesharp: ' messages
info: Microsoft.AspNetCore.Hosting.Diagnostics[1]
Request starting HTTP/2 OPTIONS https://localhost.livesharp.net:50539/livesharp/negotiate?negotiateVersion=1
info: Microsoft.AspNetCore.Cors.Infrastructure.CorsService[4]
CORS policy execution successful.
info: Microsoft.AspNetCore.Hosting.Diagnostics[2]
Request finished in 17.8174ms 204
info: Microsoft.AspNetCore.Hosting.Diagnostics[1]
Request starting HTTP/2 POST https://localhost.livesharp.net:50539/livesharp/negotiate?negotiateVersion=1 0
info: Microsoft.AspNetCore.Cors.Infrastructure.CorsService[4]
CORS policy execution successful.
info: Microsoft.AspNetCore.Routing.EndpointMiddleware[0]
Executing endpoint '/livesharp/negotiate'
info: Microsoft.AspNetCore.Routing.EndpointMiddleware[1]
Executed endpoint '/livesharp/negotiate'
info: Microsoft.AspNetCore.Hosting.Diagnostics[2]
Request finished in 6.573ms 200 application/json
info: Microsoft.AspNetCore.Hosting.Diagnostics[1]
Request starting HTTP/1.1 GET https://localhost.livesharp.net:50539/livesharp?id=fQMkPdsAGvwYyLETfJEzNg
info: Microsoft.AspNetCore.Cors.Infrastructure.CorsService[4]
CORS policy execution successful.
info: Microsoft.AspNetCore.Routing.EndpointMiddleware[0]
Executing endpoint '/livesharp'
LiveSharp: Starting dashboard process with arguments: /SolutionPath="C:\source\Append\Blazor.Tailwind\Blazor.Tailwind.sln" /ProjectName="Append.Blazor.Tailwind.Documentation" /ProjectDir="C:\source\Append\Blazor.Tailwind\source\Append.Blazor.Tailwind.Documentation" /NuGetPackagePath="C:\Users\bever\.nuget\packages\livesharp\1.6.38\build" /ServerVersion="1.6.7.0"
14:51:10.971: Transport type: LiveSharp.ServerClient.SocketTransport
14:51:10.973: Connecting to 127.0.0.1:50540
LiveSharp: client connected: 127.0.0.1:63353
14:51:10.977: Connected to 127.0.0.1:50540
14:51:10.983: Dashboard connected to the host
LiveSharp: Client joined group 7
LiveSharp: Client joined group 6
LiveSharp: Client joined group 5
14:51:12.040: Workspace loading finished in 1054ms
14:51:12.068: watcher created at C:\source\Append\Blazor.Tailwind\source\Append.Blazor.Tailwind.Documentation\
14:51:12.074: watcher created at C:\source\Append\Blazor.Tailwind\source\Append.Blazor.Tailwind\
14:51:12.077: Starting job: Dry run for Append.Blazor.Tailwind.Documentation
Hosting environment: Production
Content root path: C:\Users\bever\.nuget\packages\livesharp\1.6.38\build\Workspace
server: 1.6.7.0
nuget: 1.6.38
Now listening on: http://127.0.0.1:63352
Application started. Press Ctrl+C to shut down.
14:51:14.164: Ended job: Dry run for Append.Blazor.Tailwind.Documentation (2086)
14:51:24.003: Starting job: Handling Razor update: Shared\SurveyPrompt.razor
14:51:24.114: Updating obj\Debug\net5.0\Razor\Shared\SurveyPrompt.razor.g.cs
14:51:24.218: Ended job: Handling Razor update: Shared\SurveyPrompt.razor (214)
14:51:24.289: Received C# update
14:51:24.289: Received update for field SurveyPrompt.<Name>k__BackingField
14:51:24.290: Received update for method Append.Blazor.Tailwind.Documentation.Shared.SurveyPrompt.BuildRenderTree
14:51:24.290: Received update for method Append.Blazor.Tailwind.Documentation.Shared.SurveyPrompt.get_Name
14:51:24.291: Received update for method Append.Blazor.Tailwind.Documentation.Shared.SurveyPrompt.set_Name
14:51:24.330: Received assembly update
14:51:24.331: error: Handling assembly update failed
System.NullReferenceException: Object reference not set to an instance of an object.
at LiveSharp.Support.Blazor.BlazorAssemblyUpdateHandler.UpdateServiceCollection(AssemblyName updatedAssemblyName, Assembly updatedAssembly)
at LiveSharp.Support.Blazor.BlazorAssemblyUpdateHandler.HandleAssemblyUpdate(Assembly updatedAssembly, WeakReference latestComponentReference, ILiveSharpRuntime runtime, ILiveSharpLogger logger)
info: Microsoft.AspNetCore.Hosting.Diagnostics[1]
Request starting HTTP/2 OPTIONS https://localhost.livesharp.net:50539/livesharp/negotiate?negotiateVersion=1
info: Microsoft.AspNetCore.Cors.Infrastructure.CorsService[4]
CORS policy execution successful.
info: Microsoft.AspNetCore.Hosting.Diagnostics[2]
Request finished in 0.5268ms 204
info: Microsoft.AspNetCore.Hosting.Diagnostics[1]
Request starting HTTP/2 POST https://localhost.livesharp.net:50539/livesharp/negotiate?negotiateVersion=1 0
info: Microsoft.AspNetCore.Cors.Infrastructure.CorsService[4]
CORS policy execution successful.
info: Microsoft.AspNetCore.Routing.EndpointMiddleware[0]
Executing endpoint '/livesharp/negotiate'
info: Microsoft.AspNetCore.Routing.EndpointMiddleware[1]
Executed endpoint '/livesharp/negotiate'
info: Microsoft.AspNetCore.Hosting.Diagnostics[2]
Request finished in 0.5606ms 200 application/json
info: Microsoft.AspNetCore.Hosting.Diagnostics[1]
Request starting HTTP/1.1 GET https://localhost.livesharp.net:50539/livesharp?id=ADZvi2SjwxeFkpb4fKlZEw
info: Microsoft.AspNetCore.Cors.Infrastructure.CorsService[4]
CORS policy execution successful.
info: Microsoft.AspNetCore.Routing.EndpointMiddleware[0]
Executing endpoint '/livesharp'
14:51:34.239: LiveSharp reconnected
14:51:36.472: Starting job: Handling Razor update: Pages\Index.razor
14:51:36.524: Updating obj\Debug\net5.0\Razor\Pages\Index.razor.g.cs
14:51:36.537: Ended job: Handling Razor update: Pages\Index.razor (64)
14:51:36.559: Received C# update
14:51:36.559: Received update for method Append.Blazor.Tailwind.Documentation.Pages.Index.BuildRenderTree
14:51:36.560: Received update for method Append.Blazor.Tailwind.Documentation.Pages.Index.BuildRenderTree
14:51:36.573: Received C# update
14:51:36.574: Received update for method Append.Blazor.Tailwind.Documentation.Pages.Index.BuildRenderTree
14:51:36.574: Received update for method Append.Blazor.Tailwind.Documentation.Pages.Index.BuildRenderTree
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment