[API Proposal]: Can DispatchProxy support "Create<TProxy>(Type interfaceType) where TProxy : DispatchProxy"? #65761
Labels
api-suggestion
Early API idea and discussion, it is NOT ready for implementation
area-System.Reflection
untriaged
New issue has not been triaged by the area owner
Background and motivation
Our microservice framework is based on asp.net core and we have added the services as controllers into it. For the purposes of rpc operations we are using the interfaces as the rpc contracts between the microservices. The framework will register the interfaces into the ioc when the microservice is started. At this moment we can get the type of the interfaces. But the DispatchProxy support generic Create API only so we can only to reflect it and invoke the Create method.
API Proposal
API Usage
Alternative Designs
No response
Risks
No response
The text was updated successfully, but these errors were encountered: