-
Notifications
You must be signed in to change notification settings - Fork 98
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
提供一个非 Controller/Action 的类库,宿主程序根据其方法签名提供 WebApi #9
Comments
@QJesus |
类库 dll 中不是 Controller/Action 代码,仅为普通方法,比如下面的 Class1.HelloWorld 方法。
编译 DemoPlugin.Class1 后打包上传到宿主程序,点击启用,宿主解析该 dll 的方法后自动提供和方法签名一致的 api。 宿主程序应该如何实现? |
可参考abp动态api代理 |
如果是一个类库 dll,里面有方法,方法就是需要提供的 api 接口。
框架如何实现,按照其方法签名自动提供 api 接口?
The text was updated successfully, but these errors were encountered: