admin管理员组文章数量:1352869
I would like to create a gRPC server without importing nuget packages.
Rather than import the packages, I would like to obtain and directly reference the necessary DLLs in my solution.
I am using the Greeter example server/client code at: .0&tabs=visual-studio
In the tutorial, you start by:
"-In the Create a new project dialog, search for gRPC
. Select ASP.NET Core gRPC Service and select Next."
This automatically includes the Grpc.AspNetCore package and the Microsoft.AspNetCore.App and Microsoft.NetCore.App frameworks:
Since I am unable to use packages, I cannot use this project template, because of the automatic imports.
I have tried starting from a .NET 8 console app and adding the requisite DLL references individually, but I must be missing something, as the generated code is not being created from the greeter.proto file when I compile the project.
I'm guessing that there is a dependency somewhere that I am missing, or maybe a bad configuration.
Is this possible, or am I trying to do something that simply cannot work?
本文标签: Create a GRPC server in C without importing packagesStack Overflow
版权声明:本文标题:Create a GRPC server in C# without importing packages - Stack Overflow 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1743918775a2561695.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论