You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Enabled Odata HTTPClient in Program.cs builder.Services.AddODataClient().AddHttpClient(httpClient);
Calling Odata service In the Razor Component OnInitializedAsync Methos: (Odata Connected Service)
var container= ClientFactory.CreateClient<DefaultContainer>(serviceRoot);
var records = await container.Incidents.ExecuteAsync();
Below exception is thrown when navigating to the page:
blazor.webassembly.js:1 crit: Microsoft.AspNetCore.Components.WebAssembly.Rendering.WebAssemblyRenderer[100]
Unhandled exception rendering component: Type Microsoft.OData.Extensions.Client.HttpClientRequestMessage has invalid vtable method slot 12 with method none
System.TypeLoadException: Type Microsoft.OData.Extensions.Client.HttpClientRequestMessage has invalid vtable method slot 12 with method none
at Microsoft.OData.Extensions.Client.ODataClientBuilderExtensions.<>c__DisplayClass4_0.<AddHttpClient>b__0(DataServiceContext context)
at Microsoft.OData.Extensions.Client.DelegatingODataClientHandler.OnClientCreated(ClientCreatedArgs args)
at Microsoft.OData.Extensions.Client.DefaultODataClientFactory.OnClientCreated(ClientCreatedArgs args)
at Microsoft.OData.Extensions.Client.DefaultODataClientFactory.CreateClient[DefaultContainer](Uri serviceRoot, String name)
at Microsoft.OData.Extensions.Client.ODataClientFactoryExtensions.CreateClient[DefaultContainer](IODataClientFactory factory, Uri serviceRoot)
``
Odata Client Version 7.7.1
Orata Extension Version 1.0.2
The text was updated successfully, but these errors were encountered:
Enabled Odata HTTPClient in Program.cs
builder.Services.AddODataClient().AddHttpClient(httpClient);
Calling Odata service In the Razor Component OnInitializedAsync Methos: (Odata Connected Service)
Below exception is thrown when navigating to the page:
The text was updated successfully, but these errors were encountered: