Skip to content
This repository has been archived by the owner on Mar 10, 2024. It is now read-only.

Moving Models folder from Server to Shared Project #5

Closed
jawaidakhter opened this issue Jun 11, 2019 · 1 comment
Closed

Moving Models folder from Server to Shared Project #5

jawaidakhter opened this issue Jun 11, 2019 · 1 comment

Comments

@jawaidakhter
Copy link

When I move models folder from server to shared project with proper references, I am not able to compile solution. Is this possible use shared project classes for Identity User and other entities.

@stavroskasidis
Copy link
Owner

I don't think you can move the Identity stuff in the shared project (nor should you) because they are part of the asp core framework, but the shared and blazor projects are .Net Standard.

Even if you could reference them, I don't think you want info about your DB leaking to the client.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants