Hi,
I am using AspNet Zero version 3.0.0 and I would like to give users the option to switch database for testing in our organization. I have enabled LDAP so cannot enable Multi Tenancy. I was able to change the connection string dynamically by creating a custom ConnectionStringResolver and by extending AbpSession to store the current database selection of the user. But when one user changes the database it is changed for all users in the organization. I would like to change the database separately for each user based on their preference. If I would create a user setting I would have to use Ado.net to check the setting because of different databases.
Is there any other way to change the connection string dynamically for a user?
When Enabling LDAP, Multitenancy is disabled, their By now to go to root domain, and is not able to enable Chat. How to enable Chat in LDAP enabled Host.
Hi, I just restarted my project in ABP, Previously when I do a delete on ISoftDelete enabled entity, It set isDelete flag and other things and will not show on normal get. But Now when i call delete it throught error as
private readonly ISASRepositoryBase<Detail> _detailRepository;
public async Task SoftDeleteDetailAsync(int id)
{
await _detailRepository.DeleteAsync(id);
}
In Normal WebAPi project we do Formatters.JsonFormatter.SerializerSettings inside public static void Register(HttpConfiguration config)
. But in AspNetZero Dynamic WebApi how do I do formating.
Basically I am looking to do Newtonsoft.Json.Converters.StringEnumConverter
.
HI, After a long time, I planned to start again the project, and for that first I downloaded the latest from "https://aspnetzero.com/download". And started development process, in between I stuck on multi context issue and while implementing that I came across "DefaultDbContextAttribute", which I did not found on the dll. Eventually I saw that all of the packages are pointes to "0.9.1.0" and the "DefaultDbContextAttribute" is in the latest.
Do we need to keep, updating using command, or do we download the all them from the link with the same company and project name and update using GitHub.? please explain.
Hi, Am writing an application where I tried to keep my code/function as a separate module so that I don't touch your base code downloaded. .
Thanks to the great framework and great documentation, support and knowledge base. Till now every things working fine.
Using [http://aspnetzero.com/Documents/Extending-Existing-Entities]), I have created additional fields to user element. Now my next step is to alter the user registration page like below. .
I know that i can alter the page from the donloaded code. But how can i redirect the call to my own project of dll file.
My main aim is to achieve upgradation process easy. As per my plan, when ever a new code is release my you. I can simply download that and plug my code reference, without thinking what are the pages i needed to be changes as a part of upgration.
I am sending you a link of my source code in you email (with this ticket number).
Please help
Hi Using your great tutorial <a class="postlink" href="https://github.com/aspnetboilerplate/sample-blog-module">https://github.com/aspnetboilerplate/sample-blog-module</a>, I build my own module, and my menu "Odyssey" shows above the default "Dashboard".
How can I push my menu "Odyssey" just as 2nd one, i.e between **Dashboard**and Administration
How to place a datepicker (without time) on a create model popup?
I have a LDAP enabled (their by no multi-tenant enabled) portal out of aspnetzero with a url live.portal.com pointing to a db "LivePortalDB". Ho can i configure a test site where it point to the same source code, with a diffrent url like "test.portal.com" where by it is pointed to a diffrent db in back end. So that i can play with live susyem with dummy data, with out tamparing live database.
I have to create a self referencing tree like category, subcategory entity which is similar to OrganizationUnit.
public class Category
{
[Key]
public int Id { get; set; }
[StringLength(40)]
public string Name { get; set; }
public int? ParentId { get; set; }
[JsonIgnore]
public virtual ICollection<Category> Children { get; set; }
[JsonIgnore]
public virtual Category Parent { get; set; }
}