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)
*.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.
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.
You're welcome :)
Hi @devraj.np@gmail.com, does your problem can be related with https://support.abp.io/QA/Questions/1009/Invalid-redirecturi---RedirectAllowedUrls-on-Login-page?
If you have a tiered solution you need to use the Redis to share data between layers. (https://github.com/abpframework/abp/issues/5023#issuecomment-687854205)
You can see the pre-requirements for the application template by reading this document .