File tree 16 files changed +56
-56
lines changed
GitSearch2.Repository.SqlServer
GitSearch2.Repository.Sqlite
GitSearch2.Repository.SqlServer.Tests
GitSearch2.Repository.Tests
16 files changed +56
-56
lines changed Original file line number Diff line number Diff line change @@ -6,8 +6,7 @@ tab_width = 4
6
6
trim_trailing_whitespace = true
7
7
insert_final_newline = true
8
8
max_line_length = off
9
- guidelines = 80
10
- charset = utf-8
9
+ guidelines = 80
11
10
12
11
# C# specific settings:
13
12
# https://docs.microsoft.com/en-us/visualstudio/ide/editorconfig-code-style-settings-reference
@@ -50,6 +49,8 @@ dotnet_style_prefer_conditional_expression_over_return = true:
50
49
dotnet_style_coalesce_expression = true :suggestion # default
51
50
dotnet_style_null_propagation = true :suggestion # default
52
51
52
+ dotnet_diagnostic.IDE0090.severity = none # Use new(...)
53
+
53
54
csharp_style_var_for_built_in_types = false :suggestion
54
55
csharp_style_var_when_type_is_apparent = false :none
55
56
csharp_style_var_elsewhere = false :suggestion
Original file line number Diff line number Diff line change 1
1
<Project >
2
2
<PropertyGroup >
3
- <LangVersion >9 .0</LangVersion >
3
+ <LangVersion >10 .0</LangVersion >
4
4
<Nullable >disable</Nullable >
5
5
</PropertyGroup >
6
6
<PropertyGroup >
Original file line number Diff line number Diff line change 4
4
Provides a full-text search of the commits contained in the LMS repo.
5
5
6
6
### Requirements
7
- * [ .Net Core 5 .0] ( https://dotnet.microsoft.com/download/dotnet/5 .0 )
7
+ * [ .Net Core 6 .0] ( https://dotnet.microsoft.com/download/dotnet/6 .0 )
8
8
* [ Blazor] ( https://docs.microsoft.com/en-us/aspnet/core/blazor/get-started?view=aspnetcore-3.1&tabs=visual-studio )
9
- * [ Visual Studio 16.8 Preview 4 or later] ( https://visualstudio.microsoft.com/vs/preview/ )
9
+ * [ Visual Studio 2022 Preview 3 or later] ( https://visualstudio.microsoft.com/vs/preview/ )
10
10
11
11
If you plan on locally hosting the server, you will need the IIS hosting bundle
12
- * [ IIS Hosting Bundle] ( https://dotnet.microsoft.com/download/dotnet/thank-you/runtime-aspnetcore-5.0.0-rc.2- windows-hosting -bundle-installer )
12
+ * [ IIS Hosting Bundle] ( https://dotnet.microsoft.com/permalink/dotnetcore-current- windows-runtime -bundle-installer )
13
13
14
14
### Optional
15
15
* SqlServer with Full-Text Search installed
Original file line number Diff line number Diff line change 1
1
<Project Sdk =" Microsoft.NET.Sdk.BlazorWebAssembly" >
2
2
3
3
<PropertyGroup >
4
- <TargetFramework >net5 .0</TargetFramework >
4
+ <TargetFramework >net6 .0</TargetFramework >
5
5
</PropertyGroup >
6
6
7
7
<PropertyGroup >
8
8
<DisableFastUpToDateCheck >true</DisableFastUpToDateCheck >
9
9
</PropertyGroup >
10
-
10
+
11
11
<ItemGroup >
12
- <PackageReference Include =" Microsoft.AspNetCore.Components.WebAssembly" Version =" 5.0.1" />
13
- <PackageReference Include =" Microsoft.AspNetCore.Components.WebAssembly.DevServer" Version =" 5.0.1" PrivateAssets =" all" />
14
- <PackageReference Include =" Microsoft.AspNetCore.Blazor.HttpClient" Version =" 3.2.0-preview3.20168.3" />
12
+ <PackageReference Include =" Microsoft.AspNetCore.Components.WebAssembly" Version =" 6.0.0-preview.7.21378.6" />
13
+ <PackageReference Include =" Microsoft.AspNetCore.Components.WebAssembly.DevServer" Version =" 6.0.0-preview.7.21378.6" PrivateAssets =" all" />
15
14
<PackageReference Include =" Microsoft.AspNetCore.WebUtilities" Version =" 2.2.0" />
16
15
</ItemGroup >
17
16
Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ public static async Task Main( string[] args ) {
16
16
builder . Services . AddSingleton < IGitQueryService , GitQueryService > ( ) ;
17
17
18
18
builder . RootComponents . Add < App > ( "app" ) ;
19
- builder . Services . AddSingleton (
19
+ builder . Services . AddSingleton ( sp =>
20
20
new HttpClient {
21
21
BaseAddress = new Uri ( builder . HostEnvironment . BaseAddress )
22
22
}
Original file line number Diff line number Diff line change 2
2
3
3
<PropertyGroup >
4
4
<OutputType >Exe</OutputType >
5
- <TargetFramework >net5 .0</TargetFramework >
5
+ <TargetFramework >net6 .0</TargetFramework >
6
6
</PropertyGroup >
7
7
8
8
<ItemGroup >
9
9
<PackageReference Include =" CommandLineParser" Version =" 2.8.0" />
10
10
<PackageReference Include =" LibGit2Sharp" Version =" 0.26.2" />
11
- <PackageReference Include =" Microsoft.Extensions.DependencyInjection" Version =" 5 .0.1 " />
11
+ <PackageReference Include =" Microsoft.Extensions.DependencyInjection" Version =" 6 .0.0-preview.7.21377.19 " />
12
12
</ItemGroup >
13
13
14
14
<ItemGroup >
Original file line number Diff line number Diff line change 1
1
<Project Sdk =" Microsoft.NET.Sdk" >
2
2
3
3
<PropertyGroup >
4
- <TargetFramework >net5 .0</TargetFramework >
4
+ <TargetFramework >net6 .0</TargetFramework >
5
5
</PropertyGroup >
6
6
7
7
<ItemGroup >
8
- <PackageReference Include =" Microsoft.Extensions.Configuration.Abstractions" Version =" 5 .0.0" />
9
- <PackageReference Include =" Microsoft.Extensions.Options.ConfigurationExtensions" Version =" 5 .0.0" />
8
+ <PackageReference Include =" Microsoft.Extensions.Configuration.Abstractions" Version =" 6 .0.0-preview.7.21377.19 " />
9
+ <PackageReference Include =" Microsoft.Extensions.Options.ConfigurationExtensions" Version =" 6 .0.0-preview.7.21377.19 " />
10
10
<PackageReference Include =" System.Data.SqlClient" Version =" 4.8.2" />
11
11
</ItemGroup >
12
12
Original file line number Diff line number Diff line change 1
1
<Project Sdk =" Microsoft.NET.Sdk" >
2
2
3
3
<PropertyGroup >
4
- <TargetFramework >net5 .0</TargetFramework >
4
+ <TargetFramework >net6 .0</TargetFramework >
5
5
</PropertyGroup >
6
6
7
7
<ItemGroup >
8
- <PackageReference Include =" Microsoft.Data.Sqlite" Version =" 5 .0.1 " />
9
- <PackageReference Include =" Microsoft.Extensions.Configuration.Abstractions" Version =" 5 .0.0" />
10
- <PackageReference Include =" Microsoft.Extensions.Options" Version =" 5 .0.0" />
11
- <PackageReference Include =" Microsoft.Extensions.Options.ConfigurationExtensions" Version =" 5 .0.0" />
8
+ <PackageReference Include =" Microsoft.Data.Sqlite" Version =" 6 .0.0-preview.7.21378.4 " />
9
+ <PackageReference Include =" Microsoft.Extensions.Configuration.Abstractions" Version =" 6 .0.0-preview.7.21377.19 " />
10
+ <PackageReference Include =" Microsoft.Extensions.Options" Version =" 6 .0.0-preview.7.21377.19 " />
11
+ <PackageReference Include =" Microsoft.Extensions.Options.ConfigurationExtensions" Version =" 6 .0.0-preview.7.21377.19 " />
12
12
</ItemGroup >
13
13
14
14
<ItemGroup >
Original file line number Diff line number Diff line change 1
1
<Project Sdk =" Microsoft.NET.Sdk" >
2
2
3
3
<PropertyGroup >
4
- <TargetFramework >net5 .0</TargetFramework >
4
+ <TargetFramework >net6 .0</TargetFramework >
5
5
</PropertyGroup >
6
6
7
7
<ItemGroup >
8
- <PackageReference Include =" Microsoft.Extensions.DependencyInjection.Abstractions" Version =" 5 .0.0" />
8
+ <PackageReference Include =" Microsoft.Extensions.DependencyInjection.Abstractions" Version =" 6 .0.0-preview.7.21377.19 " />
9
9
</ItemGroup >
10
10
11
11
<ItemGroup >
Original file line number Diff line number Diff line change 1
1
<Project Sdk =" Microsoft.NET.Sdk.Web" >
2
2
3
3
<PropertyGroup >
4
- <TargetFramework >net5 .0</TargetFramework >
4
+ <TargetFramework >net6 .0</TargetFramework >
5
5
</PropertyGroup >
6
6
7
7
<ItemGroup >
8
- <PackageReference Include =" Microsoft.AspNetCore.Components.WebAssembly.Server" Version =" 5 .0.1 " />
9
- <PackageReference Include =" Serilog.AspNetCore" Version =" 3. 4.1-dev-00188 " />
8
+ <PackageReference Include =" Microsoft.AspNetCore.Components.WebAssembly.Server" Version =" 6 .0.0-preview.7.21378.6 " />
9
+ <PackageReference Include =" Serilog.AspNetCore" Version =" 4.1.0 " />
10
10
<PackageReference Include =" Serilog.Extensions.Logging.File" Version =" 2.0.0" />
11
11
</ItemGroup >
12
12
Original file line number Diff line number Diff line change 1
1
<Project Sdk =" Microsoft.NET.Sdk" >
2
2
3
3
<PropertyGroup >
4
- <TargetFramework >net5 .0</TargetFramework >
4
+ <TargetFramework >net6 .0</TargetFramework >
5
5
</PropertyGroup >
6
6
7
7
<ItemGroup >
8
- <PackageReference Include =" Microsoft.Extensions.DependencyInjection.Abstractions" Version =" 5 .0.0" />
8
+ <PackageReference Include =" Microsoft.Extensions.DependencyInjection.Abstractions" Version =" 6 .0.0-preview.7.21377.19 " />
9
9
</ItemGroup >
10
10
11
11
</Project >
Original file line number Diff line number Diff line change 1
1
<Project Sdk =" Microsoft.NET.Sdk" >
2
2
3
3
<PropertyGroup >
4
- <TargetFramework >net5 .0</TargetFramework >
4
+ <TargetFramework >net6 .0</TargetFramework >
5
5
<IsPackable >false</IsPackable >
6
6
</PropertyGroup >
7
7
8
8
<ItemGroup >
9
- <PackageReference Include =" Moq" Version =" 4.15.2 " />
10
- <PackageReference Include =" nunit" Version =" 3.12.0 " />
11
- <PackageReference Include =" NUnit3TestAdapter" Version =" 4.0.0-beta.1 " >
9
+ <PackageReference Include =" Moq" Version =" 4.16.1 " />
10
+ <PackageReference Include =" nunit" Version =" 3.13.2 " />
11
+ <PackageReference Include =" NUnit3TestAdapter" Version =" 4.0.0" >
12
12
<PrivateAssets >all</PrivateAssets >
13
13
<IncludeAssets >runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets >
14
14
</PackageReference >
15
- <PackageReference Include =" Microsoft.NET.Test.Sdk" Version =" 16.9.0-preview-20201123-03 " />
15
+ <PackageReference Include =" Microsoft.NET.Test.Sdk" Version =" 16.11.0 " />
16
16
</ItemGroup >
17
17
18
18
<ItemGroup >
Original file line number Diff line number Diff line change 1
1
<Project Sdk =" Microsoft.NET.Sdk" >
2
2
3
3
<PropertyGroup >
4
- <TargetFramework >net5 .0</TargetFramework >
4
+ <TargetFramework >net6 .0</TargetFramework >
5
5
<IsPackable >false</IsPackable >
6
6
</PropertyGroup >
7
7
8
8
<ItemGroup >
9
- <PackageReference Include =" Microsoft.Extensions.Configuration.Abstractions" Version =" 5 .0.0" />
10
- <PackageReference Include =" Microsoft.Extensions.DependencyInjection.Abstractions" Version =" 5 .0.0" />
11
- <PackageReference Include =" Moq" Version =" 4.15.2 " />
12
- <PackageReference Include =" nunit" Version =" 3.12.0 " />
13
- <PackageReference Include =" NUnit3TestAdapter" Version =" 4.0.0-beta.1 " >
9
+ <PackageReference Include =" Microsoft.Extensions.Configuration.Abstractions" Version =" 6 .0.0-preview.7.21377.19 " />
10
+ <PackageReference Include =" Microsoft.Extensions.DependencyInjection.Abstractions" Version =" 6 .0.0-preview.7.21377.19 " />
11
+ <PackageReference Include =" Moq" Version =" 4.16.1 " />
12
+ <PackageReference Include =" nunit" Version =" 3.13.2 " />
13
+ <PackageReference Include =" NUnit3TestAdapter" Version =" 4.0.0" >
14
14
<PrivateAssets >all</PrivateAssets >
15
15
<IncludeAssets >runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets >
16
16
</PackageReference >
17
- <PackageReference Include =" Microsoft.NET.Test.Sdk" Version =" 16.9.0-preview-20201123-03 " />
17
+ <PackageReference Include =" Microsoft.NET.Test.Sdk" Version =" 16.11.0 " />
18
18
</ItemGroup >
19
19
20
20
<ItemGroup >
Original file line number Diff line number Diff line change 1
1
<Project Sdk =" Microsoft.NET.Sdk" >
2
2
3
3
<PropertyGroup >
4
- <TargetFramework >net5 .0</TargetFramework >
4
+ <TargetFramework >net6 .0</TargetFramework >
5
5
<IsPackable >false</IsPackable >
6
6
</PropertyGroup >
7
7
8
8
<ItemGroup >
9
- <PackageReference Include =" Microsoft.Extensions.DependencyInjection.Abstractions" Version =" 5 .0.0" />
10
- <PackageReference Include =" Moq" Version =" 4.15.2 " />
11
- <PackageReference Include =" nunit" Version =" 3.12.0 " />
12
- <PackageReference Include =" NUnit3TestAdapter" Version =" 4.0.0-beta.1 " >
9
+ <PackageReference Include =" Microsoft.Extensions.DependencyInjection.Abstractions" Version =" 6 .0.0-preview.7.21377.19 " />
10
+ <PackageReference Include =" Moq" Version =" 4.16.1 " />
11
+ <PackageReference Include =" nunit" Version =" 3.13.2 " />
12
+ <PackageReference Include =" NUnit3TestAdapter" Version =" 4.0.0" >
13
13
<PrivateAssets >all</PrivateAssets >
14
14
<IncludeAssets >runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets >
15
15
</PackageReference >
16
- <PackageReference Include =" Microsoft.NET.Test.Sdk" Version =" 16.9.0-preview-20201123-03 " />
16
+ <PackageReference Include =" Microsoft.NET.Test.Sdk" Version =" 16.11.0 " />
17
17
</ItemGroup >
18
18
19
19
<ItemGroup >
Original file line number Diff line number Diff line change 1
1
<Project Sdk =" Microsoft.NET.Sdk" >
2
2
3
3
<PropertyGroup >
4
- <TargetFramework >net5 .0</TargetFramework >
4
+ <TargetFramework >net6 .0</TargetFramework >
5
5
<IsPackable >false</IsPackable >
6
6
</PropertyGroup >
7
7
8
8
<ItemGroup >
9
- <PackageReference Include =" Moq" Version =" 4.15.2 " />
10
- <PackageReference Include =" nunit" Version =" 3.12.0 " />
11
- <PackageReference Include =" NUnit3TestAdapter" Version =" 4.0.0-beta.1 " >
9
+ <PackageReference Include =" Moq" Version =" 4.16.1 " />
10
+ <PackageReference Include =" nunit" Version =" 3.13.2 " />
11
+ <PackageReference Include =" NUnit3TestAdapter" Version =" 4.0.0" >
12
12
<PrivateAssets >all</PrivateAssets >
13
13
<IncludeAssets >runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets >
14
14
</PackageReference >
15
- <PackageReference Include =" Microsoft.NET.Test.Sdk" Version =" 16.9.0-preview-20201123-03 " />
15
+ <PackageReference Include =" Microsoft.NET.Test.Sdk" Version =" 16.11.0 " />
16
16
</ItemGroup >
17
17
18
18
<ItemGroup >
Original file line number Diff line number Diff line change 1
1
<Project Sdk =" Microsoft.NET.Sdk" >
2
2
3
3
<PropertyGroup >
4
- <TargetFramework >net5 .0</TargetFramework >
4
+ <TargetFramework >net6 .0</TargetFramework >
5
5
<IsPackable >false</IsPackable >
6
6
</PropertyGroup >
7
7
8
8
<ItemGroup >
9
- <PackageReference Include =" nunit" Version =" 3.12.0 " />
10
- <PackageReference Include =" NUnit3TestAdapter" Version =" 4.0.0-beta.1 " >
9
+ <PackageReference Include =" nunit" Version =" 3.13.2 " />
10
+ <PackageReference Include =" NUnit3TestAdapter" Version =" 4.0.0" >
11
11
<PrivateAssets >all</PrivateAssets >
12
12
<IncludeAssets >runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets >
13
13
</PackageReference >
14
- <PackageReference Include =" Microsoft.NET.Test.Sdk" Version =" 16.9.0-preview-20201123-03 " />
14
+ <PackageReference Include =" Microsoft.NET.Test.Sdk" Version =" 16.11.0 " />
15
15
</ItemGroup >
16
16
17
17
<ItemGroup >
You can’t perform that action at this time.
0 commit comments