Skip to content

Commit d782e13

Browse files
committed
Minor improvements
* Add .NET 4.6.1 target to BaGet.Controllers * Update the src readme * Improve formatting
1 parent 62d6fe9 commit d782e13

File tree

3 files changed

+16
-12
lines changed

3 files changed

+16
-12
lines changed

src/BaGet.Controllers/BaGet.Controllers.csproj

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22

33
<PropertyGroup>
4-
<TargetFramework>netstandard2.0</TargetFramework>
4+
<TargetFrameworks>netstandard2.0;net461</TargetFrameworks>
55
</PropertyGroup>
66

77
<ItemGroup>

src/BaGet/Extensions/IHostBuilderExtensions.cs

+6-7
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
using System;
1+
using System;
22
using Microsoft.Extensions.Configuration;
33
using Microsoft.Extensions.Hosting;
44
using Microsoft.Extensions.Logging;
@@ -23,18 +23,17 @@ public static IHostBuilder ConfigureBaGetConfiguration(this IHostBuilder builder
2323
config.AddCommandLine(args);
2424
}
2525
});
26-
2726
}
2827

2928
public static IHostBuilder ConfigureBaGetLogging(this IHostBuilder builder)
3029
{
3130
return builder
3231
.ConfigureLogging((context, logging) =>
33-
{
34-
logging.AddConfiguration(context.Configuration.GetSection("Logging"));
35-
logging.AddConsole();
36-
logging.AddDebug();
37-
});
32+
{
33+
logging.AddConfiguration(context.Configuration.GetSection("Logging"));
34+
logging.AddConsole();
35+
logging.AddDebug();
36+
});
3837
}
3938

4039
public static IHostBuilder ConfigureBaGetServices(this IHostBuilder builder)

src/readme.md

+9-4
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,13 @@
22

33
These folders contain the core components of BaGet:
44

5-
* `BaGet` - the app's entry point, API controllers, and CLI commands
6-
* `BaGet.Core` - the core logic and services
7-
* `BaGet.Protocol` - Libraries to interact with NuGet server APIs
8-
* `BaGet.UI` - BaGet's frontend
5+
* `BaGet` - the app's entry point and CLI commands
6+
* `BaGet.Controllers` - the API controllers
7+
* `BaGet.Core` - BaGet's core logic and services
8+
* `BaGet.Protocol` - Libraries to interact with NuGet servers' APIs
9+
* `BaGet.UI` - BaGet's React frontend
10+
11+
These folders contain cloud-specific components of BaGet:
12+
13+
* `BaGet.AWS` - the AWS implementation of BaGet
914
* `BaGet.Azure` - the Azure implementation of BaGet

0 commit comments

Comments
 (0)