Skip to content

Commit

Permalink
Testing check,
Browse files Browse the repository at this point in the history
  • Loading branch information
chullybun committed Jan 12, 2024
1 parent e748d31 commit 342b161
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
2 changes: 2 additions & 0 deletions tests/CoreEx.TestFunctionIso/CoreEx.TestFunctionIso.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,9 @@
</PropertyGroup>
<ItemGroup>
<FrameworkReference Include="Microsoft.AspNetCore.App" />
<PackageReference Include="Microsoft.ApplicationInsights.WorkerService" Version="2.22.0" />
<PackageReference Include="Microsoft.Azure.Functions.Worker" Version="1.20.1" />
<PackageReference Include="Microsoft.Azure.Functions.Worker.ApplicationInsights" Version="1.1.0" />
<PackageReference Include="Microsoft.Azure.Functions.Worker.Extensions.Http" Version="3.1.0" />
<PackageReference Include="Microsoft.Azure.Functions.Worker.Extensions.Http.AspNetCore" Version="1.2.0" />
<PackageReference Include="Microsoft.Azure.Functions.Worker.Extensions.ServiceBus" Version="5.15.0" />
Expand Down
9 changes: 8 additions & 1 deletion tests/CoreEx.TestFunctionIso/Program.cs
Original file line number Diff line number Diff line change
@@ -1,10 +1,17 @@
using CoreEx.Hosting;
using CoreEx.TestFunctionIso;
using Microsoft.Azure.Functions.Worker;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Hosting;

var host = new HostBuilder()
.ConfigureHostStartup<Startup>()
.ConfigureFunctionsWebApplication()
.ConfigureServices(services =>
{
services.AddApplicationInsightsTelemetryWorkerService();
services.ConfigureFunctionsApplicationInsights();
})
.Build();

host.Run();
host.Run();

0 comments on commit 342b161

Please sign in to comment.