Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
19 commits
Select commit Hold shift + click to select a range
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
Prev Previous commit
Next Next commit
Add Sample01_CreateCommunity to demonstrate community creation in Vir…
…tual Enclaves
  • Loading branch information
jchavaherrera committed Aug 22, 2025
commit 18cccf337bccadf0db0e015ee2debf5b2b2c8869
Original file line number Diff line number Diff line change
@@ -1,18 +1,12 @@
<Project Sdk="Microsoft.NET.Sdk">
<Import Project="$(MSBuildThisFileDirectory)..\..\..\..\Directory.Build.props" />

<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>net8.0</TargetFramework>
<ImplicitUsings>disable</ImplicitUsings>
<Nullable>enable</Nullable>
<StartupObject>Azure.ResourceManager.VirtualEnclaves.Samples.Sample01_CreateCommunity</StartupObject>
</PropertyGroup>

<ItemGroup>
<ProjectReference Include="..\src\Azure.ResourceManager.VirtualEnclaves.csproj" />
</ItemGroup>

<ItemGroup>
<PackageReference Include="Azure.Identity" />
</ItemGroup>
</Project>
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@

namespace Azure.ResourceManager.VirtualEnclaves.Samples
{
public class Program
public class Sample01_CreateCommunity
{
public static async Task Main(string[] args)
{
Expand Down Expand Up @@ -56,7 +56,7 @@ public static async Task Main(string[] args)
};

// Create the community
string communityName = "jorgechav-community";
string communityName = "jorgechav-community2";
Console.WriteLine($"Creating community {communityName}...");

var communities = resourceGroup.Value.GetCommunityResources();
Expand Down
Loading