Web Application written in asp.net core(Web API)
(Please note: Have not used service fabric 'ASP.net core stateless' for UI development)
Stateless service fabric is written for backend logic
Common Class library project is refereed in both web application as well as in stateless service which hold Method Interface.
Using 'Microsoft.ServiceFabric.Services.Remoting.Client' for remote calling:
var serviceUri = new Uri(@"fabric:/FeedbackPortal/EntityService");
var service = ServiceProxy.Create(entityServiceUri);
But I am getting an exception when I am trying to consume Stateless Service Fabric in web application at second line:
**System.MissingMethodException** occurred
HResult=0x80131513
Message=Method not found: 'System.Reflection.Emit.ModuleBuilder System.Reflection.Emit.AssemblyBuilder.DefineDynamicModule(System.String, System.String, Boolean)'.
Source=<Cannot evaluate the exception source>
I am new to service fabric. Any help is highly appreciated.
User contributions licensed under CC BY-SA 3.0