Hi,
just derive your class from either ITransiendDependency or ISingletonDependency according to your needs.
public class GeckoAuthenticate : DefaultExternalAuthenticationSource<Tenant, User>, ITransientDependency
We will add this to documentation as well, thanks for informing us.
Hi,
Can you try to log values of tokenId in Impersonate and ImpersonateSignIn to see if they are equal ? Can you also log the value of targetUrl in SaveImpersonationTokenAndGetTargetUrl method while impersonating ?
Hi,
Do you get it when building the project or at runtime ?
Hi,
HomeController's Index action does that. You can make a redirection to ApplicationController's Index action in there.
Hi,
Relations of User and Tenant are deleted for Database Per Tenant architecture. If you are using single database, you can add those relations.
Hi,
Abp removes all web api formatters expect Json formatter by default. You can override PostInitialize of your WebApi module and add a xml formatter.
Define a xml formatter like below,
public class CustomXmlFormatter : XmlMediaTypeFormatter
{
public ZeroXmlFormatter()
{
UseXmlSerializer = true;
}
}
public override void PostInitialize()
{
base.PostInitialize();
Configuration.Modules.AbpWebApi().HttpConfiguration.Formatters.Add(
new CustomXmlFormatter()
);
}
Hi,
You should inject 'ui.grid.resizeColumns' in app.js, it is not injected by default.
var appModule = angular.module("app", [ "ui.router", "ui.bootstrap", 'ui.utils', "ui.jq", 'ui.grid', 'ui.grid.pagination', 'ui.grid.resizeColumns' "oc.lazyLoad", "ngSanitize", 'angularFileUpload', 'daterangepicker', 'angularMoment', 'frapontillo.bootstrap-switch', 'abp' ]);
Please see <a class="postlink" href="http://ui-grid.info/docs/#/tutorial/204_column_resizing">http://ui-grid.info/docs/#/tutorial/204_column_resizing</a>
Hi,
Since you wanted to assign subscriptions to users not tenants, you dont need features and editions.
Of course you can do it without depending of aspnetzero infrastructure, but in that way you need to check subscriptions of user for necessary parts of your application.
Hi,
In your case, if there is a single tenant, you cannot use Features. Because Features are grouped in editions and editions cannot be assigned directly to users. You can assign editions to tenants.
You can define a permission in your case and check that permission for necessary parts of your web page.
In the future you might need some extra permisisons for subscribed users, so it's better to create a Role named "Subscribed" (or something like that :)) and group permissions in this role. Then assign this role to Subscribed users.
Have you added new entities (ChatMessage and Friendship) to your DbContext ? Because if they are in your dbContext, last added migration shouldn't delete those tables.