Skip to content

Commit 9e15860

Browse files
author
Bart Koelman
committed
Aligned various files with JADNC repo
1 parent 80151b8 commit 9e15860

File tree

8 files changed

+33
-268
lines changed

8 files changed

+33
-268
lines changed

JsonApiDotNetCore.MongoDb.sln

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
2-
Microsoft Visual Studio Solution File, Format Version 12.00
1+
Microsoft Visual Studio Solution File, Format Version 12.00
32
# Visual Studio Version 16
43
VisualStudioVersion = 16.0.30804.86
54
MinimumVisualStudioVersion = 15.0.26124.0

src/Examples/GettingStarted/Properties/launchSettings.json

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,7 @@
44
"windowsAuthentication": false,
55
"anonymousAuthentication": true,
66
"iisExpress": {
7-
"applicationUrl": "http://localhost:52498",
8-
"sslPort": 44343
7+
"applicationUrl": "http://localhost:24141"
98
}
109
},
1110
"profiles": {
@@ -21,7 +20,7 @@
2120
"commandName": "Project",
2221
"launchBrowser": false,
2322
"launchUrl": "api/books",
24-
"applicationUrl": "http://localhost:14141",
23+
"applicationUrl": "http://localhost:24141",
2524
"environmentVariables": {
2625
"ASPNETCORE_ENVIRONMENT": "Development"
2726
}

src/Examples/GettingStarted/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,4 +11,4 @@ For further documentation and implementation of a JsonApiDotnetCore Application
1111

1212
Repository: https://github.com/json-api-dotnet/JsonApiDotNetCore
1313

14-
Documentation: http://www.jsonapi.net
14+
Documentation: http://www.jsonapi.net

src/Examples/JsonApiDotNetCoreMongoDbExample/Properties/launchSettings.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"windowsAuthentication": false,
55
"anonymousAuthentication": true,
66
"iisExpress": {
7-
"applicationUrl": "http://localhost:14140",
7+
"applicationUrl": "http://localhost:24140",
88
"sslPort": 44340
99
}
1010
},
@@ -21,7 +21,7 @@
2121
"commandName": "Project",
2222
"launchBrowser": false,
2323
"launchUrl": "api/v1/todoItems",
24-
"applicationUrl": "https://localhost:44340;http://localhost:14140",
24+
"applicationUrl": "https://localhost:44340;http://localhost:24140",
2525
"environmentVariables": {
2626
"ASPNETCORE_ENVIRONMENT": "Development"
2727
}

src/Examples/JsonApiDotNetCoreMongoDbExample/Startups/EmptyStartup.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,12 @@ namespace JsonApiDotNetCoreMongoDbExample.Startups
1010
/// </summary>
1111
public abstract class EmptyStartup
1212
{
13+
// This method gets called by the runtime. Use this method to add services to the container.
1314
public virtual void ConfigureServices(IServiceCollection services)
1415
{
1516
}
1617

18+
// This method gets called by the runtime. Use this method to configure the HTTP request pipeline.
1719
public virtual void Configure(IApplicationBuilder app, IWebHostEnvironment environment)
1820
{
1921
}

src/JsonApiDotNetCore.MongoDb/.gitignore

Lines changed: 0 additions & 234 deletions
This file was deleted.

src/JsonApiDotNetCore.MongoDb/JsonApiDotNetCore.MongoDb.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77

88
<PropertyGroup>
99
<PackageTags>jsonapi;json:api;dotnet;core;MongoDB</PackageTags>
10-
<Description>Persistence layer implementation for use of MongoDB in applications using JsonApiDotNetCore.</Description>
10+
<Description>Persistence layer implementation for use of MongoDB in APIs using JsonApiDotNetCore.</Description>
1111
<PackageProjectUrl>https://github.com/json-api-dotnet/JsonApiDotNetCore.MongoDb</PackageProjectUrl>
1212
<PackageLicenseExpression>MIT</PackageLicenseExpression>
1313
<PackageRequireLicenseAcceptance>false</PackageRequireLicenseAcceptance>
Lines changed: 24 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -1,30 +1,29 @@
11
<Project Sdk="Microsoft.NET.Sdk">
2-
<PropertyGroup>
3-
<TargetFramework>$(NetCoreAppVersion)</TargetFramework>
4-
<IsPackable>false</IsPackable>
5-
</PropertyGroup>
2+
<PropertyGroup>
3+
<TargetFramework>$(NetCoreAppVersion)</TargetFramework>
4+
</PropertyGroup>
65

7-
<ItemGroup>
8-
<None Update="xunit.runner.json">
9-
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
10-
</None>
11-
</ItemGroup>
6+
<ItemGroup>
7+
<None Update="xunit.runner.json">
8+
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
9+
</None>
10+
</ItemGroup>
1211

13-
<ItemGroup>
14-
<ProjectReference Include="..\..\src\Examples\JsonApiDotNetCoreMongoDbExample\JsonApiDotNetCoreMongoDbExample.csproj" />
15-
</ItemGroup>
12+
<ItemGroup>
13+
<ProjectReference Include="..\..\src\Examples\JsonApiDotNetCoreMongoDbExample\JsonApiDotNetCoreMongoDbExample.csproj" />
14+
</ItemGroup>
1615

17-
<ItemGroup>
18-
<PackageReference Include="Bogus" Version="31.0.3" />
19-
<PackageReference Include="coverlet.collector" Version="$(CoverletVersion)" PrivateAssets="All" />
20-
<PackageReference Include="FluentAssertions" Version="$(FluentAssertionsVersion)" />
21-
<PackageReference Include="Microsoft.AspNetCore.Mvc.Testing" Version="3.1.9" />
22-
<PackageReference Include="Mongo2Go" Version="2.2.16" />
23-
<PackageReference Include="Moq" Version="$(MoqVersion)" />
24-
<PackageReference Include="xunit" Version="$(XUnitVersion)" />
25-
<PackageReference Include="xunit.runner.visualstudio" Version="$(XUnitVersion)">
26-
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
27-
<PrivateAssets>all</PrivateAssets>
28-
</PackageReference>
29-
</ItemGroup>
16+
<ItemGroup>
17+
<PackageReference Include="Bogus" Version="31.0.3" />
18+
<PackageReference Include="coverlet.collector" Version="$(CoverletVersion)" PrivateAssets="All" />
19+
<PackageReference Include="FluentAssertions" Version="$(FluentAssertionsVersion)" />
20+
<PackageReference Include="Microsoft.AspNetCore.Mvc.Testing" Version="3.1.9" />
21+
<PackageReference Include="Mongo2Go" Version="2.2.16" />
22+
<PackageReference Include="Moq" Version="$(MoqVersion)" />
23+
<PackageReference Include="xunit" Version="$(XUnitVersion)" />
24+
<PackageReference Include="xunit.runner.visualstudio" Version="$(XUnitVersion)">
25+
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
26+
<PrivateAssets>all</PrivateAssets>
27+
</PackageReference>
28+
</ItemGroup>
3029
</Project>

0 commit comments

Comments
 (0)