Skip to content

Commit

Permalink
-
Browse files Browse the repository at this point in the history
  • Loading branch information
SHAliakbari committed Feb 22, 2024
1 parent 1d149fb commit f87cab1
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 13 deletions.
6 changes: 6 additions & 0 deletions Examples/WebApp/Program.cs
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
using WebApp;

var builder = WebApplication.CreateBuilder(args);

// Add services to the container.
Expand All @@ -7,6 +9,10 @@
builder.Services.AddEndpointsApiExplorer();
builder.Services.AddSwaggerGen();


builder.Services.AddHostedService<GeoLayers>();
builder.Services.AddSingleton<GeoLayers>();

var app = builder.Build();

// Configure the HTTP request pipeline.
Expand Down
13 changes: 0 additions & 13 deletions Examples/WebApp/WeatherForecast.cs

This file was deleted.

0 comments on commit f87cab1

Please sign in to comment.