I want to use the ABP/Zero Class(.dll) on a webpages project, minus all the "great perks" of MVC, is that possible? and is there a special way to go about it?
Don't need to pick a war on apples versus oranges, and why all developers should confirm to "newer" technology. Just want to produce something simple, that utilizes all the same tools and components. (No, MVC is not "simpler", and neither is the ABP project --again, apples vs oranges).
Will it still function the same? Will i have to perform some salem ritual? Do i need sacrifice any virgins? Where can i still find virgins to perform sacrifice?
Just looking for yes or no answers here, followed by a short and to the point guide of all that i need to do. We've all heard the discussions on preferences that each developer has, and why they make their preferred decisions. Can anybody help me out here, or will i need to re-write the github repository for ABP in order for it to function without the MVC framework? (I thought all .NETs were supposed to communicate with each other, regardless of platform)
There's no direct or straight-forward explanation that really covers the difference, or what either of them really means.
I know entity refers to DB and the Tables and such. But what does edition mean?
There's Claim Permission Tenant All of that is kinda explained and covered. Claims is security, but a different layer of permissions, and tenants is also a separation between host and memberships. But where exactly is edition explained, and what does it do? What is it good for? How is it different from features? What if i wanted to add more designs and tools to the app, how do i restrict which host has access to which tools? Everything just gets thrown into the app, but i don't know where/how to access the on/off switch. I don't know where to look for what purpose, because none of these terms are thoroughly defined. I've been spending hours of research on the ABP framework. I've had samples in my care for months. Even went back to microsoft's msdn for info. I've paid for the tool, and now i feel frustrated, because documentation lacks a proper library for me to do the homework that i need, to succeed on my own.
In the database, whats the difference between the two tables? What purpose does UserAccount serve? Users table has all of the same fields and more
<cite>Chrisk: </cite> Hi There,
When you publish notifications userIds[] is UserIdentifier[]. UserIdentifier is a type you should use, it holds user id and tenant id. There is extension method on user type ToUserIdentifier() that you can use for convenience.
I searched the entire solution for the 1.0 version and there was no
ToUserIdentifier()
Is there a namespace or a file i should be looking for? i was able to fix one cs file... but the more i transfer, the more complex the solution becomes.
Also, the solution i used wasn't a conversion, but merely, i swapped out "user.id" with something that had the UserIdentifier type... like "userIds"
But another cs had "AbpSession.UserId" which i believe would carry the current user logged in, as a value. but the value is a "long?" type (nullable long). i used
Abp.UserIdentifier.Parse(AbpSession.UserId)
but i'm not certain if that was the correct solution...
<cite>ismcagdas: </cite> Hi, @Chrisk, thanks for your explanation.
We changed it to support DB per tenant architecture. In a single database only a userId was enough for distributing notifications but in a application with more than one database, we also need tenantId inforamtion. That is why userId is replaced with UserIdentifier.
Thank you for the explanation on why the format was switched around. But this sounds like single db vs multiple... does that mean that the entire 1.0 framework i'm using only supports one over the other? cause the two 0.8 and 1.0 has so many quirks in their differences, it's hard to believe they're not marketed as a separate entity.
Hi,
I'm very confused and very frustrated.
public async Task WelcomeToTheApplicationAsync(User user)
{
await _notificationPublisher.PublishAsync(
AppNotificationNames.WelcomeToTheApplication,
new MessageNotificationData(L("WelcomeToTheApplicationNotificationMessage")),
severity: NotificationSeverity.Success,
---------> userIds: new[] { user.Id } //ERROR
);
}
Arguement 4: cannot convert from 'long[]' to 'abp.useridentifier[]'
user.id doesnt fetch from User.cs but instead grabs from abp.domain.entities.entity<long>.id{get;set;} which is wierd, cause no matter how much i back track the code, i dont see where the request is made to access those lines. Even tho that isnt the issue, it's still just as confusing. I cant re-write anything, cause most of the code is tied into the assembly .dll, and wont allow me to make modifications, where i see fit.
All the solutions are tied to a github url that leads to a 404 (private) repository.
Google doesnt have any answers, and i cant perform any type of conversion, because abp.useridentifier[] isnt a type... There aren't any snippets to convert one type to the other, merely for that main issue above.
I like the idea of Boilerplate, and i did have it working at one point. But i have one 1.0 version, and another 0.8 version. I cant combine the two, and i cant add features the way i would like to have them. Speaking honestly, i only moved from WebPages to MVC because of ABP. Which was ONLY because it offered a really nice built-in webAPI feature, that i cant seem to emulate on my own. :/
I just have simple request to a solution to my dilemma. Otherwise, i'll just have to revert back to my previous tools and comfort-zone and forget all this hassle with "clean-code" >_>