ABP document is :
protected override void OnModelCreating(DbModelBuilder modelBuilder)
{
base.OnModelCreating(modelBuilder);
modelBuilder.Filter("PersonFilter", (IHasPerson entity, int personId) => entity.PersonId == personId, 0 );
}
but on zero PortalDbContext class , method OnModelCreating the parms type not DbModelBuilder, it is ModelBuilder. as follows:
protected override void OnModelCreating(ModelBuilder modelBuilder) { base.OnModelCreating(modelBuilder); ... }
How can I add cutom global data filter?
How to Integrate ZERO Publishing Sites with ADFS Services for Authentication?
My Site Url https://crmtest.***.com:9999
My ADFS URL https://crm-adfs-test.***.com/federationmetadata/2007-06/federationmetadata.xml
appsettings.Production.json "WsFederation": { "IsEnabled": "true", "MetaDataAddress": "https://crm-adfs-test..com/federationmetadata/2007-06/federationmetadata.xml", "Wtrealm": "https://crmtest..com:9999/" }
Finally it show me the error ~ ~ !
anyone could tell me where is the mistake?
<appSettings>
<add key="ExternalAuth.WsFederation.IsEnabled" value="false" />
<add key="ExternalAuth.WsFederation.MetaDataAddress" value="https://vyungbiz1auth.vyung.com:446/FederationMetadata/2007-06/FederationMetadata.xml" />
<add key="ExternalAuth.WsFederation.Wtrealm" value="http://localhost:62114/" />
</appSettings>
I have added the adfs related configuration in the mvc web.config, but I can't jump to the ADFS login page at runtime, or the original login page. What configuration do I need to do?