Base solution for your next web application
Starts in:
01 DAYS
01 HRS
01 MIN
01 SEC

Activities of "hitaspdotnet"

<cite>alper: </cite> You can use Table-Per-Hierarchy inheritance for AbpUser. Implement IHaveTest for both entities.

class Customer : AbpUser, IHaveTest {}
class Student : AbpUser, IHaveTest {}

<a class="postlink" href="https://weblogs.asp.net/manavi/inheritance-mapping-strategies-with-entity-framework-code-first-ctp5-part-1-table-per-hierarchy-tph">https://weblogs.asp.net/manavi/inherita ... rarchy-tph</a>

Thank you Mr. Alper for this reply and helpful article. What's IHaveTest and why I need to implement that?

Hi, Step 1. See [https://aspnetboilerplate.com/Pages/Documents/Zero/Language-Management#enabledblocalization])

Step 2. Enjoy the most professional .Net template

NOTE: Database localization feature is enabled by default in AspNetZero template. [https://github.com/aspnetzero/aspnet-zero-core/blob/dd37d3838d0975d97a2d5abb85ae40a57e4616b8/aspnet-core/src/MyCompanyName.AbpZeroTemplate.Web.Core/AbpZeroTemplateWebCoreModule.cs#L60])

Hi, I'm trying to build a multi-service program. If your service user's has different entity property and roles in each service:

  1. How can you manage authorizations with multiple tenants?
  2. How can you store their entity in DB out of AbpUsers?

Example: We have two services named Commerce and LMS(Learning Management System) , Users naming Customer for Commerce service and Student for LMS. So their have own properties like Shopping cart items, addresses for customers or Courses, Tests for students.

What is the best way to implement this scenario? :!: :?: :? Thank you for any kind of help. ;) :(

Hi, Is possible to split Identity service to separate project for using as microservice with Jwt , ApiGateway?

<cite>antonis: </cite> Hi, In order to do so I have to reference dlls from aspnetzero. I don't want to follow this approach because each microservice shouldn't be sharing code and referencing with another app and also my microservice is written in different language (java). Desirable behavior is to call aspnetzero core using Http and perform the task

Thanks

Hi, What's your messaging framework? In this case your micro-service need a boolean callback for userAuthorized or rejectedUser from Core app eventHandler. If your micro-service haven't data access so it's very simple. If haves so you need to receive tenantId as string then getting tenant with tenant repository before sending resource to authorize manager. Or create your own Identity Micro-service based on ABP framework authorization (NOT recommended for small/medium business).

OK!!!!!!! I found my wrong. I don't know why but MayProject.MyModule.Web default assembly named MyProject.MyModule in project properties and I using MyProject.MyModule.Web.Areas as root assembly in EmbededResource configuration. Thank you Mr J

Nothing!! That test directory response empty table! I don't have any idea why this happen

<cite>JCompagnon: </cite> Alright, that's really strange. Did you have any luck loading/navigating through the directory browser? It allows you to see what embedded resources are loaded, as well as giving an indication of their routes.

Thank you very much for your time. I don't know how to enable that. Can you help little bit.

@JCompagnon

I did all. Settings , features, menus, locale resource, controllers all added as well, but i don't know whats happens to my views :(

<cite>JCompagnon: </cite> Hello @csbeginner,

Have you marked the .cshtml files as embedded resources in your assembly?

I updated my previous post, can you check please?

Showing 41 to 50 of 65 entries