Hello,
There is a good best practice to flow for applying new database migration to Production DataBase ?
For the moment i juste change the connection string and i run update-database in the package manage consol
but i think that's not a good practice.
Thank you in advance.
Hello,
I have this problem while building Angular APP :
2018-02-28T19:22:48.5089544Z ##[command]D:\a\1\s\angular\node_modules.bin\ng.cmd build --prod 2018-02-28T19:23:03.1006710Z Node#moveTo was deprecated. Use Container#append.
Any Idea Please ?
Thank you
Hello,
The public web site still use bower , any idea steps how to migrate to Yarn ?
Thank you in advance.
Hello,
I want to host the app in Azure , can anyone tell me the best Azure Plan to choose ?
Thank you in advance.
Hi,
I try to modify the public website to create a landing page for my product , by discovering the code i found that there is a possibility to make the public web site dynamic => every tenant can have a landing page (i already develop this in the angular asp.net core version : #4601@daf523c7-0c04-41dd-86ad-a887f001f172 but it's not a good option for me )
So to do this i need to identify the current tenant by the URl (TenantResolver) and get the related data for the tenant to show in his landing Page : call the AppService by jquery to get Data or just call a method directly from the public website controller ?
Is that possible ?
Thank you in advance.
Hello,
I need to deploy the app from VSTS to Azure App Services , after the migration to v5.1.0 i have this problem in Nuget Restore Steps :
The nuget command failed with exit code(1) and error(Error parsing solution file at D:\a\1\s\aspnet-core\MyProject.Web.sln: Exception has been thrown by the target of an invocation. Error parsing the nested project section in solution file. A project with the GUID "{A2213374-BB48-48FD-BBD4-81E6A961D866}" is listed as being nested under project "{AFAA0841-BD93-466F-B8F4-FB4EEC86F1FC}", but does not exist in the solution. D:\a\1\s\aspnet-core\MyProject.Web.sln) Packages failed to restore
Any Idea Please ?
Hello,
I want to give for every tenant possibility to have a public website so I need to implement a new Angular Module : WebSiteModule.
The idea is
if the url : {TENANCYNAME}.domaine.com redirect to WebSiteModule
if the url : {TENANCYNAME}.secure.domaine.com redirect to AccountModule / AppModule
Exemple :
Admin web app : <a class="postlink" href="https://simed.secure.simplybook.me/">https://simed.secure.simplybook.me/</a>
Public web site : <a class="postlink" href="https://simed.simplybook.me/v2/">https://simed.simplybook.me/v2/</a>
I spent some hours to make the redirection in the RootModule or the AppPreBootstrap , adding a new settings in
"remoteServiceBaseUrl": "api.domain.com", "appBaseUrl": "{TENANCY_NAME}-secure.domain.com", "tenantWebSiteUrl":"{TENANCY_NAME}.domain.com"
Any advice please ?
Thank in you in advance.
Hello,
is the Calendar module will be in the V5.1 ?
any idea about the release date ?
Thank you.
Hello,
I have an error when i want to send a notification :
ERROR 2018-01-22 18:58:10,334 [20 ] Mvc.ExceptionHandling.AbpExceptionFilter - Can not set TenantId to 0 for IMustHaveTenant entities!
Abp.AbpException: Can not set TenantId to 0 for IMustHaveTenant entities!
ࡁbp.EntityFrameworkCore.AbpDbContext.CheckAndSetMustHaveTenantIdProperty(Object entityAsObj)
ࡁbp.EntityFrameworkCore.AbpDbContext.ApplyAbpConceptsForAddedEntity(EntityEntry entry, Nullable`1 userId, EntityChangeReport changeReport)
ࡁbp.EntityFrameworkCore.AbpDbContext.ApplyAbpConcepts(EntityEntry entry, Nullable`1 userId, EntityChangeReport changeReport)
ࡁbp.EntityFrameworkCore.AbpDbContext.ApplyAbpConcepts()
public async Task SubscriptionAddedToMemberAsync(Member member, User user)
{
var notificationData = new LocalizableMessageNotificationData(
new LocalizableString(
"NewMemberSubscriptionAddedNotificationMessage",
MyAppConsts.LocalizationSourceName
)
);
notificationData["memberName"] = member.FirstName;
notificationData["userName"] = user.FullName;
await _notificationPublisher.PublishAsync(
AppNotificationNames.NewMemberSubscriptionAdded,
notificationData,
severity: NotificationSeverity.Warn,
excludedUserIds: new[] { user.ToUserIdentifier() });
}
But not On :
public async Task MemberDeletedAsync(Member member, User user)
{
var notificationData = new LocalizableMessageNotificationData(
new LocalizableString(
"MemberDeletedNotificationMessage",
MyAppConsts.LocalizationSourceName
)
);
notificationData["memberName"] = $"{member.FirstName} {member.LastName}";
notificationData["userName"] = user.FullName;
await _notificationPublisher.PublishAsync(
AppNotificationNames.MemberDeleted,
notificationData,
severity: NotificationSeverity.Warn,
excludedUserIds: new[] { user.ToUserIdentifier() });
}
Those methods are called from AppServices
Any Idea please !!
Hello,
i have this problem in Azure :
The page at 'https://angular.azurewebsites.net/' was loaded over HTTPS, but requested an insecure XMLHttpRequest endpoint 'http:/api.azurewebsites.net/AbpUserConfiguration/GetAll'. This request has been blocked; the content must be served over HTTPS.
How can i send an https request from the Angular APP ?
Thanks