2 implementations of IWeatherForecastService
HostedBlazorWebassemblyApp.Client (1)
Data\HttpWeatherForecastService.cs (1)
14public class HttpWeatherForecastService : IWeatherForecastService
HostedBlazorWebassemblyApp.Server (1)
Data\WeatherForecastService.cs (1)
12public class WeatherForecastService : IWeatherForecastService
4 references to IWeatherForecastService
HostedBlazorWebassemblyApp.Client (1)
Program.cs (1)
25builder.Services.AddScoped<IWeatherForecastService, HttpWeatherForecastService>();
HostedBlazorWebassemblyApp.Server (3)
Controllers\WeatherForecastController.cs (2)
16private readonly IWeatherForecastService _forecastService; 19public WeatherForecastController(ILogger<WeatherForecastController> logger, IWeatherForecastService forecastService)
Startup.cs (1)
33services.AddSingleton<IWeatherForecastService, WeatherForecastService>();