-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Only include resolved packages in the dependency graph
Also improve the integration tests
- Loading branch information
Showing
16 changed files
with
2,908 additions
and
30 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
9 changes: 9 additions & 0 deletions
9
samples/Microsoft.Identity.Client/Microsoft.Identity.Client.csproj
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
<Project Sdk="Microsoft.NET.Sdk"> | ||
|
||
<PropertyGroup> | ||
<TargetFramework>net8.0</TargetFramework> | ||
<DebugType>none</DebugType> | ||
<Version>4.56.0</Version> | ||
</PropertyGroup> | ||
|
||
</Project> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
namespace Microsoft.Identity.Client | ||
{ | ||
public class DeviceCodeResult | ||
{ | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
using Microsoft.Data.SqlClient; | ||
|
||
try | ||
{ | ||
var connectionString = args.Length > 0 && !args[^1].StartsWith("--") ? args[^1] : "Server=sqlprosample.database.windows.net;Database=sqlprosample;user=sqlproro;password=nh{Zd?*8ZU@Y}Bb#"; | ||
await using var dataSource = SqlClientFactory.Instance.CreateDataSource(connectionString); | ||
await using var command = dataSource.CreateCommand("Select @@version"); | ||
var result = await command.ExecuteScalarAsync(); | ||
|
||
Console.WriteLine($"✅ {result}"); | ||
return 0; | ||
} | ||
catch (Exception exception) | ||
{ | ||
Console.Error.WriteLine($"❌ {exception}"); | ||
return 1; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
<Project Sdk="Microsoft.NET.Sdk"> | ||
|
||
<PropertyGroup> | ||
<OutputType>Exe</OutputType> | ||
<TargetFramework>net8.0</TargetFramework> | ||
<DebugType>embedded</DebugType> | ||
<ImplicitUsings>true</ImplicitUsings> | ||
<Nullable>enable</Nullable> | ||
<UseCurrentRuntimeIdentifier>true</UseCurrentRuntimeIdentifier> | ||
<SatelliteResourceLanguages>en</SatelliteResourceLanguages> | ||
</PropertyGroup> | ||
|
||
<Import Project="../../src/Chisel/build/Chisel.props" /> | ||
<Import Project="../../src/Chisel/build/Chisel.targets" /> | ||
|
||
<ItemGroup> | ||
<PackageReference Include="Microsoft.Data.SqlClient" Version="5.2.0" /> | ||
</ItemGroup> | ||
|
||
<ItemGroup> | ||
<ChiselPackages Include="Azure.Identity" /> | ||
<ChiselPackages Include="Microsoft.IdentityModel.JsonWebTokens" /> | ||
<ChiselPackages Include="Microsoft.IdentityModel.Protocols.OpenIdConnect" /> | ||
</ItemGroup> | ||
|
||
<ItemGroup> | ||
<ProjectReference Include="..\Microsoft.Identity.Client\Microsoft.Identity.Client.csproj" /> | ||
</ItemGroup> | ||
|
||
<PropertyGroup> | ||
<ChiselGraphAlias>SqlClientSample.gv</ChiselGraphAlias> | ||
</PropertyGroup> | ||
|
||
</Project> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
83 changes: 83 additions & 0 deletions
83
tests/Chisel.Tests/ChiseledAppTests.RunTestApp.verified.gv
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,83 @@ | ||
# Generated by https://github.com/0xced/Chisel | ||
digraph | ||
{ | ||
rankdir=LR | ||
node [ fontname = "Segoe UI, sans-serif", shape = box, style = filled, color = aquamarine ] | ||
|
||
"Azure.Core/1.35.0" [ color = lightcoral ] | ||
"Azure.Identity/1.10.3" [ color = lightcoral ] | ||
"Microsoft.Bcl.AsyncInterfaces/1.1.1" [ color = lightcoral ] | ||
"Microsoft.Data.SqlClient.SNI.runtime/5.2.0" | ||
"Microsoft.Data.SqlClient/5.2.0" | ||
"Microsoft.Extensions.DependencyModel/8.0.0" | ||
"Microsoft.Identity.Client.Extensions.Msal/4.56.0" [ color = lightcoral ] | ||
"Microsoft.Identity.Client/4.56.0" | ||
"Microsoft.IdentityModel.Abstractions/6.35.0" | ||
"Microsoft.IdentityModel.JsonWebTokens/6.35.0" [ color = lightcoral ] | ||
"Microsoft.IdentityModel.Logging/6.35.0" [ color = lightcoral ] | ||
"Microsoft.IdentityModel.Protocols.OpenIdConnect/6.35.0" [ color = lightcoral ] | ||
"Microsoft.IdentityModel.Protocols/6.35.0" [ color = lightcoral ] | ||
"Microsoft.IdentityModel.Tokens/6.35.0" [ color = lightcoral ] | ||
"Microsoft.SqlServer.Server/1.0.0" | ||
"System.Configuration.ConfigurationManager/8.0.0" | ||
"System.Diagnostics.DiagnosticSource/6.0.1" [ color = lightcoral ] | ||
"System.Diagnostics.EventLog/8.0.0" | ||
"System.IdentityModel.Tokens.Jwt/6.35.0" [ color = lightcoral ] | ||
"System.IO.FileSystem.AccessControl/5.0.0" [ color = lightcoral ] | ||
"System.Memory.Data/1.0.2" [ color = lightcoral ] | ||
"System.Runtime.Caching/8.0.0" | ||
"System.Runtime.CompilerServices.Unsafe/6.0.0" [ color = lightcoral ] | ||
"System.Security.AccessControl/5.0.0" [ color = lightcoral ] | ||
"System.Security.Cryptography.Cng/4.5.0" [ color = lightcoral ] | ||
"System.Security.Cryptography.ProtectedData/8.0.0" | ||
"System.Security.Principal.Windows/5.0.0" [ color = lightcoral ] | ||
"System.Text.Encodings.Web/8.0.0" | ||
"System.Text.Json/8.0.0" | ||
|
||
"Azure.Core/1.35.0" -> "Microsoft.Bcl.AsyncInterfaces/1.1.1" | ||
"Azure.Core/1.35.0" -> "System.Diagnostics.DiagnosticSource/6.0.1" | ||
"Azure.Core/1.35.0" -> "System.Memory.Data/1.0.2" | ||
"Azure.Core/1.35.0" -> "System.Text.Encodings.Web/8.0.0" | ||
"Azure.Core/1.35.0" -> "System.Text.Json/8.0.0" | ||
"Azure.Identity/1.10.3" -> "Azure.Core/1.35.0" | ||
"Azure.Identity/1.10.3" -> "Microsoft.Identity.Client.Extensions.Msal/4.56.0" | ||
"Azure.Identity/1.10.3" -> "Microsoft.Identity.Client/4.56.0" | ||
"Azure.Identity/1.10.3" -> "System.Security.Cryptography.ProtectedData/8.0.0" | ||
"Azure.Identity/1.10.3" -> "System.Text.Json/8.0.0" | ||
"Microsoft.Data.SqlClient/5.2.0" -> "Azure.Identity/1.10.3" | ||
"Microsoft.Data.SqlClient/5.2.0" -> "Microsoft.Data.SqlClient.SNI.runtime/5.2.0" | ||
"Microsoft.Data.SqlClient/5.2.0" -> "Microsoft.Identity.Client/4.56.0" | ||
"Microsoft.Data.SqlClient/5.2.0" -> "Microsoft.IdentityModel.JsonWebTokens/6.35.0" | ||
"Microsoft.Data.SqlClient/5.2.0" -> "Microsoft.IdentityModel.Protocols.OpenIdConnect/6.35.0" | ||
"Microsoft.Data.SqlClient/5.2.0" -> "Microsoft.SqlServer.Server/1.0.0" | ||
"Microsoft.Data.SqlClient/5.2.0" -> "System.Configuration.ConfigurationManager/8.0.0" | ||
"Microsoft.Data.SqlClient/5.2.0" -> "System.Runtime.Caching/8.0.0" | ||
"Microsoft.Extensions.DependencyModel/8.0.0" -> "System.Text.Encodings.Web/8.0.0" | ||
"Microsoft.Extensions.DependencyModel/8.0.0" -> "System.Text.Json/8.0.0" | ||
"Microsoft.Identity.Client.Extensions.Msal/4.56.0" -> "Microsoft.Identity.Client/4.56.0" | ||
"Microsoft.Identity.Client.Extensions.Msal/4.56.0" -> "System.IO.FileSystem.AccessControl/5.0.0" | ||
"Microsoft.Identity.Client.Extensions.Msal/4.56.0" -> "System.Security.Cryptography.ProtectedData/8.0.0" | ||
"Microsoft.Identity.Client/4.56.0" -> "Microsoft.IdentityModel.Abstractions/6.35.0" | ||
"Microsoft.IdentityModel.JsonWebTokens/6.35.0" -> "Microsoft.IdentityModel.Tokens/6.35.0" | ||
"Microsoft.IdentityModel.JsonWebTokens/6.35.0" -> "System.Text.Encodings.Web/8.0.0" | ||
"Microsoft.IdentityModel.JsonWebTokens/6.35.0" -> "System.Text.Json/8.0.0" | ||
"Microsoft.IdentityModel.Logging/6.35.0" -> "Microsoft.IdentityModel.Abstractions/6.35.0" | ||
"Microsoft.IdentityModel.Protocols.OpenIdConnect/6.35.0" -> "Microsoft.IdentityModel.Protocols/6.35.0" | ||
"Microsoft.IdentityModel.Protocols.OpenIdConnect/6.35.0" -> "System.IdentityModel.Tokens.Jwt/6.35.0" | ||
"Microsoft.IdentityModel.Protocols/6.35.0" -> "Microsoft.IdentityModel.Logging/6.35.0" | ||
"Microsoft.IdentityModel.Protocols/6.35.0" -> "Microsoft.IdentityModel.Tokens/6.35.0" | ||
"Microsoft.IdentityModel.Tokens/6.35.0" -> "Microsoft.IdentityModel.Logging/6.35.0" | ||
"Microsoft.IdentityModel.Tokens/6.35.0" -> "System.Security.Cryptography.Cng/4.5.0" | ||
"System.Configuration.ConfigurationManager/8.0.0" -> "System.Diagnostics.EventLog/8.0.0" | ||
"System.Configuration.ConfigurationManager/8.0.0" -> "System.Security.Cryptography.ProtectedData/8.0.0" | ||
"System.Diagnostics.DiagnosticSource/6.0.1" -> "System.Runtime.CompilerServices.Unsafe/6.0.0" | ||
"System.IdentityModel.Tokens.Jwt/6.35.0" -> "Microsoft.IdentityModel.JsonWebTokens/6.35.0" | ||
"System.IdentityModel.Tokens.Jwt/6.35.0" -> "Microsoft.IdentityModel.Tokens/6.35.0" | ||
"System.IO.FileSystem.AccessControl/5.0.0" -> "System.Security.AccessControl/5.0.0" | ||
"System.IO.FileSystem.AccessControl/5.0.0" -> "System.Security.Principal.Windows/5.0.0" | ||
"System.Memory.Data/1.0.2" -> "System.Text.Encodings.Web/8.0.0" | ||
"System.Memory.Data/1.0.2" -> "System.Text.Json/8.0.0" | ||
"System.Runtime.Caching/8.0.0" -> "System.Configuration.ConfigurationManager/8.0.0" | ||
"System.Security.AccessControl/5.0.0" -> "System.Security.Principal.Windows/5.0.0" | ||
"System.Text.Json/8.0.0" -> "System.Text.Encodings.Web/8.0.0" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.