Very strange thing is happening. I can save the mail settings in the Host application, no problems. When I click on "send test mail" I get the message "Test e-mail sent succesfully"... but the mail never arrives.
even stranger, when I edit the mail settings with values that should never work (wrong user, pw, or smtp host), I still get the message "Test e-mail sent succesfully"... On the localhost smtp server (mailEnable) I cant see any mails coming from ABP.
any suggestions?
note: only when debugging. In a live environment, it works like a charm
hmm, not working atm.
when debugging this:
using (_unitOfWorkManager.Current.SetTenantId(2))
{
var liveStreams = _liveStreamRepository
.GetAll()
.OrderByDescending(a => a.CreationTime)
.ToList();
return new ListResultOutput<LiveStreamListDto>(liveStreams.MapTo<List<LiveStreamListDto>>());
}
I get this error:
The transaction manager has disabled its support for remote/network transactions. (Exception from HRESULT: 0x8004D024)
never mind, found it:
<a class="postlink" href="http://www.aspnetboilerplate.com/Pages/Documents/Multi-Tenancy">http://www.aspnetboilerplate.com/Pages/ ... ti-Tenancy</a>
Hi,
I created a separate tenant with a database. Now I want to query records from that separate db into the frontend, while not logged in. Is there a way to add the tenantId to the custom repositories? Or how can this be done?
I want to be able to add the tenantid and it should automatically get the records from the relevant db.
perfect, thx
how can I get my new custom entity table to be created in every database? When using Add-Migration and Update-Database, it will only create it in the host database.
never mind, found how to do it... Created a new Dto which combines two existing Dto, mapped to the respective entity
HI,
I'm trying to follow the aspnetzero structure.
One of the things I'm struggeling with now is how to map 2 Dto objects to one viewmodel. It's pretty easy with just one, but cant seem to do it with 2. Searching on Google did not provide me with a good solution, and I would like to know if something is built into aspnetzero to do this?
So basicly, I have a View in the presentation layer, and I need UserProfile information and info from a custom Dto I created. Information of both those objects should come together in a single ViewModel.
never mind, you need an active connection to the database... :oops: :roll: