RLittlesII / talks

Repository to hold all the demo code
MIT License
10 stars 2 forks source link

Blazor reactive code not compiling #1

Open saiprabhur opened 5 months ago

saiprabhur commented 5 months ago

functional-programming/reactiveui/on-dotnet

the code in above path not able to compile.. i am getting error Data project not available .

        services
            .AddTransient<IDuckDuckGoService, DuckDuckGoService>()
            .AddTransient<SearchViewModel>()
            .AddTransient<CardViewModel>()
            .AddSingleton(provider => new HubConnectionBuilder().WithUrl("http://localhost:7071/api").Build())
            .AddSingleton(typeof(IHubClient<>), typeof(SignalRHubClient<>))
            .UseMicrosoftDependencyResolver();

IHubclient and SignalrHublciient missing

RLittlesII commented 3 months ago

Look at the CSProject file. Seems I added a nuget dependency from the local project. Should be able to comment it out given I don't think it's acutally part of the demo.

image