Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
30 changes: 30 additions & 0 deletions demo_environment.sln
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@

Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Version 17
VisualStudioVersion = 17.5.002.0
MinimumVisualStudioVersion = 10.0.40219.1
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "src", "src", "{7997AB51-897B-4ED9-8F60-9C5699E26A70}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "todo", "src\todo\todo.csproj", "{92F11F56-8493-40C0-BE0A-858A8D5D91D3}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Release|Any CPU = Release|Any CPU
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{92F11F56-8493-40C0-BE0A-858A8D5D91D3}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{92F11F56-8493-40C0-BE0A-858A8D5D91D3}.Debug|Any CPU.Build.0 = Debug|Any CPU
{92F11F56-8493-40C0-BE0A-858A8D5D91D3}.Release|Any CPU.ActiveCfg = Release|Any CPU
{92F11F56-8493-40C0-BE0A-858A8D5D91D3}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(NestedProjects) = preSolution
{92F11F56-8493-40C0-BE0A-858A8D5D91D3} = {7997AB51-897B-4ED9-8F60-9C5699E26A70}
EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution
SolutionGuid = {BD5CE52D-75EF-494E-9303-7280C45A18FD}
EndGlobalSection
EndGlobal
4 changes: 2 additions & 2 deletions src/todo/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# https://hub.docker.com/_/microsoft-dotnet
FROM mcr.microsoft.com/dotnet/sdk:3.1 AS build
FROM mcr.microsoft.com/dotnet/sdk:6.0 AS build

WORKDIR /source

Expand All @@ -12,7 +12,7 @@ COPY . .
RUN dotnet publish -c release -o /app --no-restore

# final stage/image
FROM mcr.microsoft.com/dotnet/aspnet:3.1
FROM mcr.microsoft.com/dotnet/aspnet:6.0

WORKDIR /app
COPY --from=build /app .
Expand Down
6 changes: 3 additions & 3 deletions src/todo/todo.csproj
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
<Project Sdk="Microsoft.NET.Sdk.Web">

<PropertyGroup>
<TargetFramework>netcoreapp3.1</TargetFramework>
<TargetFramework>net6.0</TargetFramework>
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Azure.Identity" Version="1.6.1" />
<PackageReference Include="Microsoft.Azure.Cosmos" Version="3.30.1" />
<PackageReference Include="Azure.Identity" Version="1.10.4" />
<PackageReference Include="Microsoft.Azure.Cosmos" Version="3.38.1" />
</ItemGroup>

<ItemGroup>
Expand Down