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.
Thank you it's working
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,
Thank you , i think for the moment i'm not gonna spent time on this , i will just add a new path like :
tenantname.domaine.com/ => WebSite
tenantname.domaine.com/app => AppModule
tenantname.domaine.com/account=> AccountModule.
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 the same issue.
Hello,
Thank you @aaron :D
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 !!
Hi,
Thank you ^^