Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

more seperation layer #41

Open
infofromca opened this issue Apr 21, 2024 · 5 comments
Open

more seperation layer #41

infofromca opened this issue Apr 21, 2024 · 5 comments

Comments

@infofromca
Copy link

infofromca commented Apr 21, 2024

Is your feature request related to a problem? Please describe.
too couple

Describe the solution you'd like
for example, comment out [ProjectReference Include="..\SwashbucklerDiary.Repository\SwashbucklerDiary.Repository.csproj" /], and put into new project
in SwashbucklerDiary.Maui project
Describe alternatives you've considered
make SwashbucklerDiary.Maui as nuget

Additional context
the same priciple in also other projects maybe

@Yu-Core
Copy link
Owner

Yu-Core commented Apr 21, 2024

Sorry, my English is not good
Do you mean to move the content of SwashbucklerDiary.Repository to SwashbucklerDiary.Maui
SwashbucklerDiary.WebAssembly also needs to reference SwashbucklerDiary.Repository
SwashbucklerDiary.WebAssembly is a Blazor WebAssembly project

@infofromca
Copy link
Author

infofromca commented Sep 23, 2024

1--分层, 比如:
SwashbucklerDiary.Maui.Core
SwashbucklerDiary.WebAssembly.Core
SwashbucklerDiary.Rcl
2-- 成为: nuget
3--目的: 其它projects 使用。 因为有很多很好的codes.

能与 #44 结合考虑就更好。

@infofromca
Copy link
Author

infofromca commented Sep 23, 2024

Do you mean to move the content of SwashbucklerDiary.Repository to SwashbucklerDiary.Maui
no, 去除SwashbucklerDiary.Repository的依靠 在 新加SwashbucklerDiary.Maui.Core。 SwashbucklerDiary.Maui.Core 可在其它项目使用

@Yu-Core
Copy link
Owner

Yu-Core commented Sep 23, 2024

明白你的意思了,把项目一些公用的东西抽离出来做成nuget包(或者是模板?),抽离出来的话有点困难,需要一些时间

@infofromca
Copy link
Author

我可帮忙, 新的 Project 的版 可 否 为 MIT, OR BSD-3

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

No branches or pull requests

2 participants