config file is static on the server, why does framework passes cookie via custom header, see code below. Can it be removed?
private static getApplicationConfig(appRootUrl: string, callback: () => void) { let type = 'GET'; let url = appRootUrl + 'assets/' + environment.appConfig; let customHeaders = [ { name: 'Abp.TenantId', value: abp.multiTenancy.getTenantIdCookie() + '' }];
I am looking for the way to get the current entity change set in my domain service before it gets submitted to the database.
I can see I can do this: var changeSet = _entityHistoryHelper.CreateEntityChangeSet(ChangeTracker.Entries().ToList());
BUT ChangeTracker is part of DbContext. How do I get current dbcontext in domain service?
Thanks for insight, as I need list of changes before the submitted to the database.
Anyone knows if there is built in way to compare two objects with asp.net zero.
i know i can use reflection and do some manual checks, i was wondering if the feautre already in framework. those objects are not database entities. I know about enity history service from framework.
Thanks.
Anyone knows how to use hashbytes within asp.net zero to get hash of the specific database record? Thank you.
I tried to inlcude https://valor-software.com/ngx-bootstrap/#/alerts#alert-component But no matter where I put in module definitions, angular failes to find in runtime. Simple html below fails in dashboard. <alert type="success"> <strong>Well done!</strong> You successfully read this important alert message. </alert>
Any idea?
Did one used a profiler with asp.net zero app?
I am thinking of this one: https://miniprofiler.com/dotnet/HowTo/ProfileEFCore
Do you have any other suggestions?
Thanks.
Is there a standard, the current xml file containts sentences for string names. Like this;
<text name="User profile">User profile</text>
<text name="Your user profile information (first name, last name, etc.)">Your user profile information (first name, last name, etc.)</text>
<text name="Your email address">Your email address</text>
<text name="Your phone number">Your phone number</text>
<text name="Your postal address">Your postal address</text>
<text name="AllFunctionalityYouHaveInTheApplication">All functionality you have in the application</text>
<text name="Default (all) API">Default (all) API</text>
<text name="Offline Access">Offline Access</text>
<text name="Access to your applications and resources, even when you are offline">Access to your applications and resources, even when you are offline</text>
I just tried to use IE 11 with demo site and it fails to load. Any plans to support IE? Try yourself http://test-16902.demo.aspnetzero.com/ failed to load javascripts.
For example, Identity.DuplicateEmail says Email '{0}' is already taken. We want to say something different.
Thanks.
We have a white list of IP addresses, all other should be blocked.
Is there one place we can check against that list on ALL API calls to web service?
Thanks.