After discussing with Loic, we got the solution. Looks like MVC is handling requests that WebSharper should be handling. Reordering the UseMvc()/UseWebsharper() method calls in Startup.Configure() fixed the issue. So instead of

1
2
3
4
5
app 
    .UseMvcWithDefaultRoute()
    .UseAuthentication()
    .UseWebSharper()
    |> ignore

Use:

1
2
3
4
5
app 
    .UseAuthentication()
    .UseWebSharper()
    .UseMvcWithDefaultRoute()
    |> ignore
By on 7/13/2019 1:24 PM ()
IntelliFactory Offices Copyright (c) 2011-2012 IntelliFactory. All rights reserved.
Home | Products | Consulting | Trainings | Blogs | Jobs | Contact Us | Terms of Use | Privacy Policy | Cookie Policy
Built with WebSharper