Open Closed

How to use chat module in blazor project? #842


0
tqm created

Check the docs before asking a question: https://docs.abp.io/en/commercial/latest/ Check the samples, to see the basic tasks: https://docs.abp.io/en/commercial/latest/samples/index The exact solution to your question may have been answered before, please use the search on the homepage.

  • ABP Framework version: v4.1.2

  • UI type: Angular / Blazor

  • DB provider: EF Core

  • Identity Server Seperated (Blazor): no

  • Exception message and stack trace:

  • I refer to the signal client written in the Microsoft document, compile and publish it to the IIS environment, and get the following error:

  • Steps to reproduce the issue:

  • The client code is as follows:


4 Answer(s)
  • 0
    maliming created
    Support Team

    hi

    405 Method not Allowed

    https://mozartec.com/asp-net-core-error-405-methods-not-allowed-for-put-and-delete-requests-when-hosted-on-iis/

  • 0
    tqm created

    Thank you for your reply, but that method didn't solve my problem https://docs.abp.io/en/commercial/latest/modules/chat , which explains how to use chat module in angular UI template project. I need to use it in blazor UI template project, but it is not implemented in balzor UI template project at present. When can it be implemented?

  • 0
    tqm created

    Other functions in the project use get, post and other methods, which are normal。 In my blazor project, there are 404 and 405 errors only when the signalr is connected http://xx.xx.xx.xx : 44307 / signal hubs / chat / negotiate? Negotiate version = 1, I wonder if there is any special configuration here? Can you give me a balzor project using signalr or chat module example?

  • 0
    tqm created

    The problem has been solved, thank you