Hi,
You don't need to add these codes.
Here are my steps:
abp add-package Volo.Chat.Application command in the *.AdministrationService.Application folderabp add-package Volo.Chat.Application.Contracts command in the *.AdministrationService.Application.Contracts folderabp add-package Volo.Chat.Domain command in the *.AdministrationService.Domain folderabp add-package Volo.Chat.Domain.Shared command in the *.AdministrationService.Domain.Shared folderabp add-package Volo.Chat.EntityFrameworkCore command in the *.AdministrationService.EntityFrameworkCore folderabp add-package Volo.Chat.HttpApi command in the *.AdministrationService.HttpApi folderabp add-package Volo.Chat.HttpApi.Client command in the *.AdministrationService.HttpApi.Client folderabp add-package Volo.Chat.HttpApi.Client command in the *.AdministrationService.HttpApi.Client folderbuilder.ConfigureChat(); to the OnModelCreating method of AdministrationServiceDbContext classAdministrationServiceDbContext implement the IChatDbContext interfaceAdministrationServiceEntityFrameworkCoreModule and add options.ReplaceDbContext<IChatDbContext>();dotnet ef ... command to add migrations & update database.<PackageReference Include="Volo.Chat.Blazor.Server" Version="6.0.1" /> to csproj file.<PackageReference Include="Volo.Chat.SignalR" Version="6.0.1" /> to csproj file.[DependsOn(typeof(ChatSignalRModule), typeof(ChatBlazorServerModule))] to the *BlazorModule{
"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
dotnet publish to publish Blazor projectngrok to expose your localhost to the public network.DbMigrator's and HttpApi.Host's appsettings.json file.HttpApi.Host projectPS: 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.
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.