Hi Team,
I'm trying to deploy both angular and asp-net core on single azure web service. Here is my project structure I have included the following source package(code) to my application 1. Account.pro module 2. LeptonTheme
Deployement steps to azure:
HttpApi.Host application is working perfectly fine, swagger api is working fine as i can autorise to login for swagger and i can call api's throught swagger. Login is also working with url: https://abptest-dev.azurewebsites.net/account/login
Angular application is not loading, attached the picture
Asp-net core configuration Details: Appsettings.json
"SelfUrl": "https://abptest-dev.azurewebsites.net",
"AngularUrl": "https://abptest-dev.azurewebsites.net",
"CorsOrigins": "https://*.abptest-dev.azurewebsites.net,http://abptest-dev.azurewebsites.net",
"RedirectAllowedUrls": "http://abptest-dev.azurewebsites.net,https://abptest-dev.azurewebsites.net"
},
"Redis": {
"Configuration": "127.0.0.1"
}
"AuthServer": {
"Authority": "https://abptest-dev.azurewebsites.net",
"RequireHttpsMetadata": "false",
"SwaggerClientId": "abptest_Swagger",
"SwaggerClientSecret": "1q2w3e*"
},
Angular configuration:
Environment.prod.ts
import { Environment } from '@abp/ng.core';
const baseUrl = 'http://abptest-dev.azurewebsites.net';
export const environment = {
production: true,
application: {
baseUrl,
name: 'abptest',
},
oAuthConfig: {
issuer: 'https://abptest-dev.azurewebsites.net',
redirectUri: baseUrl,
clientId: 'abptest_App',
responseType: 'code',
scope: 'offline_access openid profile role email phone abptest',
},
apis: {
default: {
url: '',
rootNamespace: 'abptest',
},
},
} as Environment;
Could you please let me know is model deployment will work or supportted by ABP. if yes What configuration is missing?