Compare commits
3 Commits
3f1b164c81
...
main
| Author | SHA1 | Date | |
|---|---|---|---|
| a1161d794d | |||
| 48ca53a6c3 | |||
| 34f405c61a |
36
BrokerDog.sln
Normal file
36
BrokerDog.sln
Normal file
@@ -0,0 +1,36 @@
|
|||||||
|
Microsoft Visual Studio Solution File, Format Version 12.00
|
||||||
|
# Visual Studio Version 17
|
||||||
|
VisualStudioVersion = 17.5.2.0
|
||||||
|
MinimumVisualStudioVersion = 10.0.40219.1
|
||||||
|
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "BrokerDogConsole", "BrokerDogConsole\BrokerDogConsole.csproj", "{32D007A5-E21C-C193-4BA2-5B8633FC6EDB}"
|
||||||
|
EndProject
|
||||||
|
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "BrokerDogLib", "BrokerDogLib\BrokerDogLib.csproj", "{54FD2CC5-E527-CE85-41E8-55EE07F0979B}"
|
||||||
|
EndProject
|
||||||
|
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "BrokerDogTest", "BrokerDogTest\BrokerDogTest.csproj", "{47734E39-FD90-02F6-ED8D-0DBECDC708DF}"
|
||||||
|
EndProject
|
||||||
|
Global
|
||||||
|
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
||||||
|
Debug|Any CPU = Debug|Any CPU
|
||||||
|
Release|Any CPU = Release|Any CPU
|
||||||
|
EndGlobalSection
|
||||||
|
GlobalSection(ProjectConfigurationPlatforms) = postSolution
|
||||||
|
{32D007A5-E21C-C193-4BA2-5B8633FC6EDB}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||||
|
{32D007A5-E21C-C193-4BA2-5B8633FC6EDB}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||||
|
{32D007A5-E21C-C193-4BA2-5B8633FC6EDB}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||||
|
{32D007A5-E21C-C193-4BA2-5B8633FC6EDB}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||||
|
{54FD2CC5-E527-CE85-41E8-55EE07F0979B}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||||
|
{54FD2CC5-E527-CE85-41E8-55EE07F0979B}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||||
|
{54FD2CC5-E527-CE85-41E8-55EE07F0979B}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||||
|
{54FD2CC5-E527-CE85-41E8-55EE07F0979B}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||||
|
{47734E39-FD90-02F6-ED8D-0DBECDC708DF}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||||
|
{47734E39-FD90-02F6-ED8D-0DBECDC708DF}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||||
|
{47734E39-FD90-02F6-ED8D-0DBECDC708DF}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||||
|
{47734E39-FD90-02F6-ED8D-0DBECDC708DF}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||||
|
EndGlobalSection
|
||||||
|
GlobalSection(SolutionProperties) = preSolution
|
||||||
|
HideSolutionNode = FALSE
|
||||||
|
EndGlobalSection
|
||||||
|
GlobalSection(ExtensibilityGlobals) = postSolution
|
||||||
|
SolutionGuid = {DF6DC818-7B7C-4C69-A86B-978D2A715012}
|
||||||
|
EndGlobalSection
|
||||||
|
EndGlobal
|
||||||
@@ -1,4 +1,4 @@
|
|||||||
<Project Sdk="Microsoft.NET.Sdk">
|
<Project Sdk="Microsoft.NET.Sdk.Web">
|
||||||
|
|
||||||
<PropertyGroup>
|
<PropertyGroup>
|
||||||
<OutputType>Exe</OutputType>
|
<OutputType>Exe</OutputType>
|
||||||
@@ -7,4 +7,12 @@
|
|||||||
<Nullable>enable</Nullable>
|
<Nullable>enable</Nullable>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
|
|
||||||
|
<ItemGroup>
|
||||||
|
<ProjectReference Include="..\BrokerDogLib\BrokerDogLib.csproj" />
|
||||||
|
</ItemGroup>
|
||||||
|
|
||||||
|
<ItemGroup>
|
||||||
|
<PackageReference Include="Swashbuckle.AspNetCore" Version="9.0.4" />
|
||||||
|
</ItemGroup>
|
||||||
|
|
||||||
</Project>
|
</Project>
|
||||||
|
|||||||
12
BrokerDogConsole/Properties/launchSettings.json
Normal file
12
BrokerDogConsole/Properties/launchSettings.json
Normal file
@@ -0,0 +1,12 @@
|
|||||||
|
{
|
||||||
|
"profiles": {
|
||||||
|
"BrokerDogConsole": {
|
||||||
|
"commandName": "Project",
|
||||||
|
"launchBrowser": true,
|
||||||
|
"environmentVariables": {
|
||||||
|
"ASPNETCORE_ENVIRONMENT": "Development"
|
||||||
|
},
|
||||||
|
"applicationUrl": "https://localhost:57728;http://localhost:57729"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -1,7 +1,20 @@
|
|||||||
public class Program
|
namespace BrokerDogConsole
|
||||||
{
|
{
|
||||||
public static void Main(string[] args)
|
public class Program
|
||||||
{
|
{
|
||||||
Console.WriteLine("Hello, World!");
|
public static void Main(string[] args)
|
||||||
|
{
|
||||||
|
var builder = WebApplication.CreateBuilder(args);
|
||||||
|
builder.WebHost.UseUrls("http://localhost:80");
|
||||||
|
builder.Services.AddControllers();
|
||||||
|
builder.Services.AddEndpointsApiExplorer();
|
||||||
|
builder.Services.AddSwaggerGen();
|
||||||
|
|
||||||
|
var app = builder.Build();
|
||||||
|
app.UseSwagger();
|
||||||
|
app.UseSwaggerUI();
|
||||||
|
app.MapControllers();
|
||||||
|
app.Run();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -12,6 +12,10 @@
|
|||||||
<PackageReference Include="MSTest" Version="3.6.4" />
|
<PackageReference Include="MSTest" Version="3.6.4" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
|
|
||||||
|
<ItemGroup>
|
||||||
|
<ProjectReference Include="..\BrokerDogLib\BrokerDogLib.csproj" />
|
||||||
|
</ItemGroup>
|
||||||
|
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<Using Include="Microsoft.VisualStudio.TestTools.UnitTesting" />
|
<Using Include="Microsoft.VisualStudio.TestTools.UnitTesting" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
|
|||||||
Reference in New Issue
Block a user