Walkthrough not working
See original GitHub issueJust tried the walkthrough and when I run the service there is an error at app.Run() of the Program.cs file. Interesting thing is there is no authentication settings in the project. I just copied everything per the instructions.
Visual Studio version: 17.3.0 Preview 3.0 C# .NET 6.0 CoreWCF.Http Version=1.1.0 CoreWCF.Primitives Version=1.1.0
Message:
System.InvalidOperationException: 'Unable to resolve service for type 'Microsoft.AspNetCore.Authentication.IAuthenticationSchemeProvider' while attempting to activate 'Microsoft.AspNetCore.Authentication.AuthenticationMiddleware'.'
Stack trace:
System.InvalidOperationException
HResult=0x80131509
Message=Unable to resolve service for type 'Microsoft.AspNetCore.Authentication.IAuthenticationSchemeProvider' while attempting to activate 'Microsoft.AspNetCore.Authentication.AuthenticationMiddleware'.
Source=Microsoft.AspNetCore.Http.Abstractions
StackTrace:
at Microsoft.Extensions.Internal.ActivatorUtilities.ConstructorMatcher.CreateInstance(IServiceProvider provider)
at Microsoft.Extensions.Internal.ActivatorUtilities.CreateInstance(IServiceProvider provider, Type instanceType, Object[] parameters)
at Microsoft.AspNetCore.Builder.UseMiddlewareExtensions.<>c__DisplayClass5_0.<UseMiddleware>b__0(RequestDelegate next)
at Microsoft.AspNetCore.Builder.ApplicationBuilder.Build()
at Microsoft.AspNetCore.Builder.MapWhenExtensions.MapWhen(IApplicationBuilder app, Func`2 predicate, Action`1 configuration)
at CoreWCF.Channels.ServiceModelHttpMiddleware.BuildBranch()
at CoreWCF.Channels.ServiceModelHttpMiddleware.EnsureBranchBuilt()
at CoreWCF.Channels.CommunicationObject.OnOpened()
--- End of stack trace from previous location ---
at CoreWCF.Configuration.WrappingIServer.<StartAsync>d__9`1.MoveNext()
at Microsoft.AspNetCore.Hosting.GenericWebHostService.<StartAsync>d__37.MoveNext()
at Microsoft.Extensions.Hosting.Internal.Host.<StartAsync>d__12.MoveNext()
at Microsoft.Extensions.Hosting.HostingAbstractionsHostExtensions.<RunAsync>d__4.MoveNext()
at Microsoft.Extensions.Hosting.HostingAbstractionsHostExtensions.<RunAsync>d__4.MoveNext()
at Microsoft.Extensions.Hosting.HostingAbstractionsHostExtensions.Run(IHost host)
at Microsoft.AspNetCore.Builder.WebApplication.Run(String url)
at Program.<Main>$(String[] args) in C:\Users\Brian\source\repos\Voogu_WF\Voogu_WF_Server\Program.cs:line 29
https://github.com/CoreWCF/CoreWCF/blob/main/Documentation/Walkthrough.md
Issue Analytics
- State:
- Created a year ago
- Comments:5 (1 by maintainers)
Top Results From Across the Web
Camera walkthrough mode not working properly in max9 (?)
Hi, I got this annoying problem like this : sometimes after using 3dsmax9 for a while, when entering walkthrough mode, the hotkey assigned ......
Read more >Keyboard Short Commands for Walkthrough not working ...
Solved: Hi Max 2017. Suddenly today, the Q, W. E and C keys that are used to control the camera in walkthrough mode...
Read more >Realtime Landscaping Architect 2020 not work ...
2 and the "Realtime Walkthrough" feature stopped working. I launch Realtime Landscaping Architect 2020, click View -> "Realtime Walkthrough" -> ...
Read more >Top 11 Final Walkthrough Problems That Can Delay A ...
Eleven final walkthrough problems you need to know about before closing. Review this checklist to have a stress-free walkthrough.
Read more >Guide not working with Apple TV 4k : r/slingtv
Anyone having issues with the guide not working with the newest Apple TV device? I can only change channels from the Home Screen....
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I commented out .AddServiceEndpoint<EchoService, IEchoService>(new WSHttpBinding(SecurityMode.Transport), “/EchoService/WSHttp”); in Program.cs and got it to build.
For me, the issue is with Binding. I was using
new BasicHttpBinding(BasicHttpSecurityMode.TransportCredentialOnly)
. After I remove(BasicHttpSecurityMode.TransportCredentialOnly)
, the exception is gone.I think somehow with the latest update, the bindings are messed up.