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

分离出asp.netcore,项目名字修改 #7

Merged
merged 9 commits into from
Jun 6, 2024

Conversation

imxcstar
Copy link
Contributor

@imxcstar imxcstar commented Jun 6, 2024

目的:因为有可能不依赖asp.net core来使用Gradio.Net,比如在blazor hybrid上使用,所以需要把asp.net core分离出来
修改了如下部分
1、从Gradio.Net项目分离出aspnetcore相关的依赖和文件,Gradio.Net项目部分代码改成了public公开,独立出 Gradio.Net.AspNetCore 项目,然后引用Gradio.Net
2、修改了demo项目的名字和做成独立库,为了方便不同环境测试

</PropertyGroup>

<ItemGroup>
<EmbeddedResource Include="../templates/**" />
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Gradio的核心就是已编译好的组件,为什么要把它剥离出去?

如果增加winform端,还要重写一套控件,这个工作量太大了, 不推荐.

我的想法是,可以剥离出asp.net core, 但是核心使用同一套组件, 到时只是在winform端实现一个简单http server即可

@feiyun0112 feiyun0112 merged commit 561aa87 into feiyun0112:main Jun 6, 2024
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

Successfully merging this pull request may close these issues.

2 participants