Starts in:
0 DAY
9 HRS
24 MIN
45 SEC
Starts in:
0 D
9 H
24 M
45 S

Activities of "EngincanV"

Hi @improwise, I've created an app-pro template with Blazor Server as UI and EF-Core as the database provider (in v4.4.4). Then, I could successfully generate CRUD pages for my Book entity.

  • Can you check your both application version and suite version is same and in v4.4.4?

For some strange reason, we notice that the error messages seem to be truncated.

Yes, I reproduced this problem using VS 2022. But there is not any problem, when using dotnet run command or using other IDE such as Rider. There could be a problem in VS 2022, we will investigate this, thanks.

Hi @mc86, I will check and write you back asap.

Hi @mc86, after creating the new microservice did you follow the documentation?

After applyng the steps in the documentation you should be able to generate CRUD pages for your microservice.

Hi @LawrenceKwan, *.EntityFrameworkCore.DbMigrations project is removed from the solution. From v4.4.4 DbContexts are unified in the *.EntityFrameworkCore project. (See the related issue)

  • If you wonder why the *.EntityFrameworkCore.DbMigrations project is removed and DbContexts are unified you can read this article.

My Angular and API are are hosted in the same node in the IIS - so do i have to keep the angular url empty ? I tried removing the key it doesn't work.

No, they both need to be the same then.

Did you change your appsettings.json when migrating the database (in DbMigrator project)?

{
  "ConnectionStrings": {
    "Default": "Server=localhost;Database=MyApp;Trusted_Connection=True"
  },
  "IdentityServer": {
    "Clients": {
      //...
      "MyProjectName_App": {
        "ClientId": "MyProjectName_App",
        "RootUrl": "http://116.90.234.198:8080" //change root url
      },
      //...
    }
  }
}

Hi @mc86, as @berkansasmaz mentioned product service does not support code generation with Suite in versions 4.*.*. But you can create a new microservice and then generate CRUD pages for it.

Answer

I've just created a MVC Tiered application in v4.4.3 and it loaded fast as in below image. Can be your Redis cache or your RAM/disk usage is full?

  • Do you face this problem only on Cms -> Menus page?
Answer

Hi @LawrenceKwan, do you use the Redis? It can be really helpful to downgrade the response time.

Does the error still same?

Btw, you should specify the SelfUrl as your HttpApi.Host url not Angular project url.

Hi, did you add the url http://116.90.234.198:8080 into the RedirectAllowedUrls section of your package.json file? (in HttpApi.Host project)

{
  "App": {
    "SelfUrl": "https://localhost:44326",
    "AngularUrl": "http://localhost:4200",
    "CorsOrigins": "https://*.MyProjectName.com,http://localhost:4200,http://116.90.234.198:8080",
    "RedirectAllowedUrls": "http://localhost:4200,https://localhost:44307,http://116.90.234.198:8080"
  },
  //...
}

Also add this url to CorsOrigins section.

Showing 611 to 620 of 724 entries
Made with ❤️ on ABP v9.1.0-preview. Updated on November 20, 2024, 13:06