Compare commits
2 Commits
main
...
1a450af551
| Author | SHA1 | Date | |
|---|---|---|---|
| 1a450af551 | |||
| 52731f4b13 |
5
.gitignore
vendored
5
.gitignore
vendored
@@ -1,3 +1,2 @@
|
|||||||
*/bin
|
/bin
|
||||||
*/obj
|
/obj
|
||||||
.vs
|
|
||||||
|
|||||||
@@ -1,36 +0,0 @@
|
|||||||
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,18 +0,0 @@
|
|||||||
<Project Sdk="Microsoft.NET.Sdk.Web">
|
|
||||||
|
|
||||||
<PropertyGroup>
|
|
||||||
<OutputType>Exe</OutputType>
|
|
||||||
<TargetFramework>net9.0</TargetFramework>
|
|
||||||
<ImplicitUsings>enable</ImplicitUsings>
|
|
||||||
<Nullable>enable</Nullable>
|
|
||||||
</PropertyGroup>
|
|
||||||
|
|
||||||
<ItemGroup>
|
|
||||||
<ProjectReference Include="..\BrokerDogLib\BrokerDogLib.csproj" />
|
|
||||||
</ItemGroup>
|
|
||||||
|
|
||||||
<ItemGroup>
|
|
||||||
<PackageReference Include="Swashbuckle.AspNetCore" Version="9.0.4" />
|
|
||||||
</ItemGroup>
|
|
||||||
|
|
||||||
</Project>
|
|
||||||
@@ -1,12 +0,0 @@
|
|||||||
{
|
|
||||||
"profiles": {
|
|
||||||
"BrokerDogConsole": {
|
|
||||||
"commandName": "Project",
|
|
||||||
"launchBrowser": true,
|
|
||||||
"environmentVariables": {
|
|
||||||
"ASPNETCORE_ENVIRONMENT": "Development"
|
|
||||||
},
|
|
||||||
"applicationUrl": "https://localhost:57728;http://localhost:57729"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@@ -1,20 +0,0 @@
|
|||||||
namespace BrokerDogConsole
|
|
||||||
{
|
|
||||||
public class Program
|
|
||||||
{
|
|
||||||
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();
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@@ -1,14 +0,0 @@
|
|||||||
namespace BrokerDogLib;
|
|
||||||
|
|
||||||
public static class BrokerDogLib
|
|
||||||
{
|
|
||||||
public static string SayHello()
|
|
||||||
{
|
|
||||||
return "Hello";
|
|
||||||
}
|
|
||||||
|
|
||||||
public static string SayWorld()
|
|
||||||
{
|
|
||||||
return "World";
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@@ -1,9 +0,0 @@
|
|||||||
<Project Sdk="Microsoft.NET.Sdk">
|
|
||||||
|
|
||||||
<PropertyGroup>
|
|
||||||
<TargetFramework>net9.0</TargetFramework>
|
|
||||||
<ImplicitUsings>enable</ImplicitUsings>
|
|
||||||
<Nullable>enable</Nullable>
|
|
||||||
</PropertyGroup>
|
|
||||||
|
|
||||||
</Project>
|
|
||||||
@@ -1,11 +0,0 @@
|
|||||||
namespace BrokerDogTest;
|
|
||||||
|
|
||||||
[TestClass]
|
|
||||||
public sealed class BrokerDogTest
|
|
||||||
{
|
|
||||||
[TestMethod]
|
|
||||||
public void TestMethod()
|
|
||||||
{
|
|
||||||
Assert.IsTrue(true);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@@ -1,23 +0,0 @@
|
|||||||
<Project Sdk="Microsoft.NET.Sdk">
|
|
||||||
|
|
||||||
<PropertyGroup>
|
|
||||||
<TargetFramework>net9.0</TargetFramework>
|
|
||||||
<LangVersion>latest</LangVersion>
|
|
||||||
<ImplicitUsings>enable</ImplicitUsings>
|
|
||||||
<Nullable>enable</Nullable>
|
|
||||||
</PropertyGroup>
|
|
||||||
|
|
||||||
<ItemGroup>
|
|
||||||
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.12.0" />
|
|
||||||
<PackageReference Include="MSTest" Version="3.6.4" />
|
|
||||||
</ItemGroup>
|
|
||||||
|
|
||||||
<ItemGroup>
|
|
||||||
<ProjectReference Include="..\BrokerDogLib\BrokerDogLib.csproj" />
|
|
||||||
</ItemGroup>
|
|
||||||
|
|
||||||
<ItemGroup>
|
|
||||||
<Using Include="Microsoft.VisualStudio.TestTools.UnitTesting" />
|
|
||||||
</ItemGroup>
|
|
||||||
|
|
||||||
</Project>
|
|
||||||
@@ -1 +0,0 @@
|
|||||||
[assembly: Parallelize(Scope = ExecutionScope.MethodLevel)]
|
|
||||||
Reference in New Issue
Block a user