@maliming sorry, I can't tell for sure. If the process of impersonation involves a logout ... I just can't tell.
But heres another Log.txt that involves the following:
Log.txt: 20200303-Log.txt
Microsoft will continue to support Basic Auth for SMTP in Exchange Online: End of support for Basic Authentication access to Exchange Online API’s for Office 365 customers But, for our company the problem still exists since we are Microsoft partner and therefor obligated to turn off Basic Auth for our services by the end of february 2020.
Microsoft is working on OAuth for IMAP in Exchange Online: IMAP auth in Office 365 using OAuth2
Abp.MailKit: DefaultMailKitSmtpBuilder
This might be useful as well:
My own question on SO: How do I connect to Exchange Online using OAuth 2.0 in MailKit?
I see, thanks @demirmusa!
I thought I could use the deleting event handler in order to avoid a foreign-key constraint when deleting entity of type A. But it doesn't work like that. I guess, I'll better be using a custom event handler instead of the deleting event handler.
I stumbled across this issue for another time just the day before yesterday. Again, I just cleaned and rebuilt the solution a couple of times and also had to restart Visual Studio / reopen the solution. Actually, I have no idea what causes this problem but I think you just have to be patient with the cleaning and rebuilding : /
Thanks to TenantManager
domain service I can add the following to my test-class constructor:
var tenantManager = Resolve<TenantManager>();
tenantManager.SetFeatureValue(GetCurrentTenant().Id, "FeatureName", "Value");
So, this actually seems to be the solution to my problem : )
~~But I don't know if this change will be persisted for longer than just for the test run. And I can't figure out where this information is stored ... Any ideas?~~
Edit Changes won't be persisted for longer than for the run of the test itself. So, this is the way to go : )
The Code for my app-services and tests really isn't anything special - just some simple gets, creates, edits and deletes - and as I wrote before: this stuff is working as expected as soon as I enable the according feature the permission depends on by default (defaultValue: true
). Before, my tests failed just because the DefaultTenant didn't have these features assigned and therefore didn't have the necessary permissions.
What I would like to know is, how do I assign a certain feature to a tenant in my tests (something similar to LoginAsDefaultTenantAdmin()
)? I guess, right now there is no simple way to do this. But maybe you guys have some ideas on how to do this? Also, I think it would be a good addition for ASPNETZERO as a product.
It works!
I just cleaned and rebuilt (not just build; that didn't do anything it seems) the solution (multiple times), regenerated services-proxies and all is fine now.
I also implemented a simple change to Startup.cs
by @maliming (not sure if this is important to the problem):
Adjust the Authorization middleware order.
I have the same problem. @kpmg's answer did not solve the problem for me.
Thank you @ismcagdas!
Feature request can be found here: feature request: implement refresh tokens in Angular client
I was able to solve it myself - anyway, thank you @maliming!
Styles for pricing pages can be found in src\assets\metronic\themes\default\css\pages\general\pricing\pricing-*.css
. Just copy its content to select-edition.component.less
(replacing all kt-pricing-1
styles).
Note: CSS class names have changed from m-pricing-table-*
to kt-pricing-*
(so, no table
anymore).