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

Activities of "hitaspdotnet"

<cite>alper: </cite> Actually you don't need to implement IHaveTest. I misunderstood your Tests for students. Ignore it.

My English is bad, very bad, I know :D Sir Thank you again

<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])

<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?

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

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

Hello. Yes I did. For all files

Showing 31 to 40 of 49 entries