Skip to content

Commit

Permalink
Update the package references to address vulnerability alerts (#24)
Browse files Browse the repository at this point in the history
  • Loading branch information
xiaomi7732 authored Oct 19, 2018
1 parent 9d67e0e commit 9838cc9
Show file tree
Hide file tree
Showing 7 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion examples/EnableServiceProfilerCLR2_1/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ WORKDIR /app
COPY . ./

# Adding a reference to hosting startup package
RUN dotnet add package Microsoft.ApplicationInsights.Profiler.AspNetCore -v 1.1.3-beta1
RUN dotnet add package Microsoft.ApplicationInsights.Profiler.AspNetCore -v 1.1.3-*

# Restore & publish the app
RUN dotnet publish -c Release -o out
Expand Down
2 changes: 1 addition & 1 deletion examples/EnableServiceProfilerCLR2_1/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ To enable Service Profiler, NuGet package needs to be installed and proper envir
```docker
...
# Adding a reference to hosting startup package
RUN dotnet add package Microsoft.ApplicationInsights.Profiler.AspNetCore -v 1.1.3-beta1
RUN dotnet add package Microsoft.ApplicationInsights.Profiler.AspNetCore -v 1.1.3-*
...
# Light up Application Insights for Kubernetes
ENV APPINSIGHTS_INSTRUMENTATIONKEY YOUR_APPLICATION_INSIGHTS_KEY
Expand Down
2 changes: 1 addition & 1 deletion examples/EnableServiceProfilerForContainerApp/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ WORKDIR /app
COPY . ./

# Adding a reference to hosting startup package
RUN dotnet add package Microsoft.ApplicationInsights.Profiler.AspNetCore -v 1.0.0-beta1
RUN dotnet add package Microsoft.ApplicationInsights.Profiler.AspNetCore -v 1.1.3-*

# Restore & publish the app
RUN dotnet publish -c Release -o out
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,11 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Microsoft.AspNetCore.All" Version="2.0.5" />
<PackageReference Include="Microsoft.AspNetCore.All" Version="2.0.*" />
</ItemGroup>

<ItemGroup>
<DotNetCliToolReference Include="Microsoft.VisualStudio.Web.CodeGeneration.Tools" Version="2.0.2" />
<DotNetCliToolReference Include="Microsoft.VisualStudio.Web.CodeGeneration.Tools" Version="2.0.*" />
</ItemGroup>

</Project>
2 changes: 1 addition & 1 deletion examples/EnableServiceProfilerForContainerApp/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ To enable Service Profiler, NuGet package needs to be installed and proper envir
```dockerfile
...
# Adding a reference to hosting startup package
RUN dotnet add package Microsoft.ApplicationInsights.Profiler.AspNetCore -v 1.0.0-beta1
RUN dotnet add package Microsoft.ApplicationInsights.Profiler.AspNetCore -v 1.1.3-*
...
# Light up Application Insights for Kubernetes
ENV APPINSIGHTS_INSTRUMENTATIONKEY YOUR_APPLICATION_INSIGHTS_KEY
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@

<ItemGroup>
<PackageReference Include="Microsoft.ApplicationInsights.AspNetCore" Version="2.1.1" />
<PackageReference Include="Microsoft.ApplicationInsights.Profiler.AspNetCore" Version="1.0.0-beta1" />
<PackageReference Include="Microsoft.AspNetCore.All" Version="2.0.6" />
<PackageReference Include="Microsoft.ApplicationInsights.Profiler.AspNetCore" Version="1.1.3-*" />
<PackageReference Include="Microsoft.AspNetCore.All" Version="2.0.*" />
</ItemGroup>

<ItemGroup>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

<ItemGroup>
<PackageReference Include="Microsoft.ApplicationInsights.AspNetCore" Version="2.1.1" />
<PackageReference Include="Microsoft.ApplicationInsights.Profiler.AspNetCore" Version="1.1.2-beta1" />
<PackageReference Include="Microsoft.ApplicationInsights.Profiler.AspNetCore" Version="1.1.3-*" />
<PackageReference Include="Microsoft.AspNetCore.App" />
</ItemGroup>

Expand Down

0 comments on commit 9838cc9

Please sign in to comment.