Activities of "liangshiwei"

Hi,

You don't need to add these codes.

Here are my steps:

  • Add chat packages to the service. for example: add chat packages to the AdministrationService.
    • Run abp add-package Volo.Chat.Application command in the *.AdministrationService.Application folder
    • Run abp add-package Volo.Chat.Application.Contracts command in the *.AdministrationService.Application.Contracts folder
    • Run abp add-package Volo.Chat.Domain command in the *.AdministrationService.Domain folder
    • Run abp add-package Volo.Chat.Domain.Shared command in the *.AdministrationService.Domain.Shared folder
    • Run abp add-package Volo.Chat.EntityFrameworkCore command in the *.AdministrationService.EntityFrameworkCore folder
    • Run abp add-package Volo.Chat.HttpApi command in the *.AdministrationService.HttpApi folder
    • Run abp add-package Volo.Chat.HttpApi.Client command in the *.AdministrationService.HttpApi.Client folder
    • Run abp add-package Volo.Chat.HttpApi.Client command in the *.AdministrationService.HttpApi.Client folder
    • Configure database tables
      • Add builder.ConfigureChat(); to the OnModelCreating method of AdministrationServiceDbContext class
      • Make AdministrationServiceDbContext implement the IChatDbContext interface
      • Open AdministrationServiceEntityFrameworkCoreModule and add options.ReplaceDbContext<IChatDbContext>();
      • Use dotnet ef ... command to add migrations & update database.
    • Configure Blazor project
      • Add <PackageReference Include="Volo.Chat.Blazor.Server" Version="6.0.1" /> to csproj file.
      • Add <PackageReference Include="Volo.Chat.SignalR" Version="6.0.1" /> to csproj file.
      • Add [DependsOn(typeof(ChatSignalRModule), typeof(ChatBlazorServerModule))] to the *BlazorModule
      • Configure gateway
        {
            "ServiceKey": "Chat Service",
            "DownstreamPathTemplate": "/api/chat/{everything}",
            "DownstreamScheme": "https",
            "DownstreamHostAndPorts": [
              {
                "Host": "localhost",
                "Port": 44367 //Make sure the port same with your Administration Service
              }
            ],
            "UpstreamPathTemplate": "/api/chat/{everything}",
            "UpstreamHttpMethod": [ "Put", "Delete", "Get", "Post" ]
          },
        

Run the project

Now, it should be working for you:

Hi,

It is available in version 7.0

Hi,

You can send an email to: info@abp.io

1

2

3

  • Use dotnet publish to publish Blazor project
  • Use local IIS server to create a website
  • Use ngrok to expose your localhost to the public network.
  • Update DbMigrator's and HttpApi.Host's appsettings.json file.
  • Create database and run the HttpApi.Host project

PS: You can find a webconfig in the root folder, please use it for IIS.

@Sturla

What's your email, I will share the project with you.

I create a new project with version 6.0.1 and could not reproduce the problem.

Hi,

Could you share the full steps to reproduce it? as you know, we need to reproduce it first and then find a solution

Hi,

You need to put the https://unpkg.com/survey-jquery/survey.jquery.min.js" reference after <!--/ABP:Scripts--> and remove https://cdnjs.cloudflare.com/ajax/libs/jquery/3.5.1/jquery.min.js.

It looks like this:

Remove context.Add("./js/survey.js"); from JavaScriptLibraryBlazorBundleContributor and run the abp bundle command.

The last thing is you try using $("#surveyContainer") element, but there is no element with id surveyContainer on your page.

Hi,

Can you provide a simple project that can reproduce the problem with me? thanks. shiwei.liang@volosoft.com

https://github.com/abpframework/abp/pull/13772#issuecomment-1321023913

Seems this is not a problem with ABP.

Showing 4611 to 4620 of 6693 entries
Boost Your Development
ABP Live Training
Packages
See Trainings
Mastering ABP Framework Book
The Official Guide
Mastering
ABP Framework
Learn More
Mastering ABP Framework Book
Made with ❤️ on ABP v10.1.0-preview. Updated on November 07, 2025, 08:20