restructure
This commit is contained in:
110
QuickDish.sln
110
QuickDish.sln
@ -3,53 +3,97 @@ Microsoft Visual Studio Solution File, Format Version 12.00
|
||||
# Visual Studio Version 17
|
||||
VisualStudioVersion = 17.0.31903.59
|
||||
MinimumVisualStudioVersion = 10.0.40219.1
|
||||
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "src", "src", "{BEDF4556-0366-45BC-B0F3-9FF4EB11B9CB}"
|
||||
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "src", "src", "{827E0CD3-B72D-47B6-A68D-7590B98EB39B}"
|
||||
EndProject
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "QuickDish.Domain", "src\QuickDish.Domain\QuickDish.Domain.csproj", "{63C229FA-5E13-457A-868E-25B0C9C58AA6}"
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "QuickDish.Core", "src\QuickDish.Core\QuickDish.Core.csproj", "{5172647D-5B13-42BB-A416-75C959BAFFA5}"
|
||||
EndProject
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "QuickDish.Application", "src\QuickDish.Application\QuickDish.Application.csproj", "{A53CDB6D-8EAD-4C1D-A175-A64C90CF4B6B}"
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "QuickDish.DataAccess", "src\QuickDish.DataAccess\QuickDish.DataAccess.csproj", "{946E5234-8F12-4A33-A5F3-E470E664201B}"
|
||||
EndProject
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "QuickDish.Infrastructure", "src\QuickDish.Infrastructure\QuickDish.Infrastructure.csproj", "{86A26505-418B-49A8-99B6-52DE52C1B2F4}"
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "QuickDish.BLL", "src\QuickDish.BLL\QuickDish.BLL.csproj", "{D3AD1315-4F57-495E-A866-81358666C649}"
|
||||
EndProject
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "QuickDish.Api", "src\QuickDish.Api\QuickDish.Api.csproj", "{21F9F0FA-71DD-42ED-AAB4-88AF11F8B6AB}"
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "QuickDish.Api", "src\QuickDish.Api\QuickDish.Api.csproj", "{6A10F280-8396-444B-AD0E-EF4A20323AED}"
|
||||
EndProject
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "QuickDish.Client", "src\QuickDish.Client\QuickDish.Client.csproj", "{AAEC702A-326A-40B8-9E02-04767A66D084}"
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "QuickDish.Client", "src\QuickDish.Client\QuickDish.Client.csproj", "{4F796B85-0487-4DE0-A086-EEDE32ECD3B3}"
|
||||
EndProject
|
||||
Global
|
||||
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
||||
Debug|Any CPU = Debug|Any CPU
|
||||
Debug|x64 = Debug|x64
|
||||
Debug|x86 = Debug|x86
|
||||
Release|Any CPU = Release|Any CPU
|
||||
Release|x64 = Release|x64
|
||||
Release|x86 = Release|x86
|
||||
EndGlobalSection
|
||||
GlobalSection(ProjectConfigurationPlatforms) = postSolution
|
||||
{5172647D-5B13-42BB-A416-75C959BAFFA5}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{5172647D-5B13-42BB-A416-75C959BAFFA5}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{5172647D-5B13-42BB-A416-75C959BAFFA5}.Debug|x64.ActiveCfg = Debug|Any CPU
|
||||
{5172647D-5B13-42BB-A416-75C959BAFFA5}.Debug|x64.Build.0 = Debug|Any CPU
|
||||
{5172647D-5B13-42BB-A416-75C959BAFFA5}.Debug|x86.ActiveCfg = Debug|Any CPU
|
||||
{5172647D-5B13-42BB-A416-75C959BAFFA5}.Debug|x86.Build.0 = Debug|Any CPU
|
||||
{5172647D-5B13-42BB-A416-75C959BAFFA5}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{5172647D-5B13-42BB-A416-75C959BAFFA5}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
{5172647D-5B13-42BB-A416-75C959BAFFA5}.Release|x64.ActiveCfg = Release|Any CPU
|
||||
{5172647D-5B13-42BB-A416-75C959BAFFA5}.Release|x64.Build.0 = Release|Any CPU
|
||||
{5172647D-5B13-42BB-A416-75C959BAFFA5}.Release|x86.ActiveCfg = Release|Any CPU
|
||||
{5172647D-5B13-42BB-A416-75C959BAFFA5}.Release|x86.Build.0 = Release|Any CPU
|
||||
{946E5234-8F12-4A33-A5F3-E470E664201B}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{946E5234-8F12-4A33-A5F3-E470E664201B}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{946E5234-8F12-4A33-A5F3-E470E664201B}.Debug|x64.ActiveCfg = Debug|Any CPU
|
||||
{946E5234-8F12-4A33-A5F3-E470E664201B}.Debug|x64.Build.0 = Debug|Any CPU
|
||||
{946E5234-8F12-4A33-A5F3-E470E664201B}.Debug|x86.ActiveCfg = Debug|Any CPU
|
||||
{946E5234-8F12-4A33-A5F3-E470E664201B}.Debug|x86.Build.0 = Debug|Any CPU
|
||||
{946E5234-8F12-4A33-A5F3-E470E664201B}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{946E5234-8F12-4A33-A5F3-E470E664201B}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
{946E5234-8F12-4A33-A5F3-E470E664201B}.Release|x64.ActiveCfg = Release|Any CPU
|
||||
{946E5234-8F12-4A33-A5F3-E470E664201B}.Release|x64.Build.0 = Release|Any CPU
|
||||
{946E5234-8F12-4A33-A5F3-E470E664201B}.Release|x86.ActiveCfg = Release|Any CPU
|
||||
{946E5234-8F12-4A33-A5F3-E470E664201B}.Release|x86.Build.0 = Release|Any CPU
|
||||
{D3AD1315-4F57-495E-A866-81358666C649}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{D3AD1315-4F57-495E-A866-81358666C649}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{D3AD1315-4F57-495E-A866-81358666C649}.Debug|x64.ActiveCfg = Debug|Any CPU
|
||||
{D3AD1315-4F57-495E-A866-81358666C649}.Debug|x64.Build.0 = Debug|Any CPU
|
||||
{D3AD1315-4F57-495E-A866-81358666C649}.Debug|x86.ActiveCfg = Debug|Any CPU
|
||||
{D3AD1315-4F57-495E-A866-81358666C649}.Debug|x86.Build.0 = Debug|Any CPU
|
||||
{D3AD1315-4F57-495E-A866-81358666C649}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{D3AD1315-4F57-495E-A866-81358666C649}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
{D3AD1315-4F57-495E-A866-81358666C649}.Release|x64.ActiveCfg = Release|Any CPU
|
||||
{D3AD1315-4F57-495E-A866-81358666C649}.Release|x64.Build.0 = Release|Any CPU
|
||||
{D3AD1315-4F57-495E-A866-81358666C649}.Release|x86.ActiveCfg = Release|Any CPU
|
||||
{D3AD1315-4F57-495E-A866-81358666C649}.Release|x86.Build.0 = Release|Any CPU
|
||||
{6A10F280-8396-444B-AD0E-EF4A20323AED}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{6A10F280-8396-444B-AD0E-EF4A20323AED}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{6A10F280-8396-444B-AD0E-EF4A20323AED}.Debug|x64.ActiveCfg = Debug|Any CPU
|
||||
{6A10F280-8396-444B-AD0E-EF4A20323AED}.Debug|x64.Build.0 = Debug|Any CPU
|
||||
{6A10F280-8396-444B-AD0E-EF4A20323AED}.Debug|x86.ActiveCfg = Debug|Any CPU
|
||||
{6A10F280-8396-444B-AD0E-EF4A20323AED}.Debug|x86.Build.0 = Debug|Any CPU
|
||||
{6A10F280-8396-444B-AD0E-EF4A20323AED}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{6A10F280-8396-444B-AD0E-EF4A20323AED}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
{6A10F280-8396-444B-AD0E-EF4A20323AED}.Release|x64.ActiveCfg = Release|Any CPU
|
||||
{6A10F280-8396-444B-AD0E-EF4A20323AED}.Release|x64.Build.0 = Release|Any CPU
|
||||
{6A10F280-8396-444B-AD0E-EF4A20323AED}.Release|x86.ActiveCfg = Release|Any CPU
|
||||
{6A10F280-8396-444B-AD0E-EF4A20323AED}.Release|x86.Build.0 = Release|Any CPU
|
||||
{4F796B85-0487-4DE0-A086-EEDE32ECD3B3}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{4F796B85-0487-4DE0-A086-EEDE32ECD3B3}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{4F796B85-0487-4DE0-A086-EEDE32ECD3B3}.Debug|x64.ActiveCfg = Debug|Any CPU
|
||||
{4F796B85-0487-4DE0-A086-EEDE32ECD3B3}.Debug|x64.Build.0 = Debug|Any CPU
|
||||
{4F796B85-0487-4DE0-A086-EEDE32ECD3B3}.Debug|x86.ActiveCfg = Debug|Any CPU
|
||||
{4F796B85-0487-4DE0-A086-EEDE32ECD3B3}.Debug|x86.Build.0 = Debug|Any CPU
|
||||
{4F796B85-0487-4DE0-A086-EEDE32ECD3B3}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{4F796B85-0487-4DE0-A086-EEDE32ECD3B3}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
{4F796B85-0487-4DE0-A086-EEDE32ECD3B3}.Release|x64.ActiveCfg = Release|Any CPU
|
||||
{4F796B85-0487-4DE0-A086-EEDE32ECD3B3}.Release|x64.Build.0 = Release|Any CPU
|
||||
{4F796B85-0487-4DE0-A086-EEDE32ECD3B3}.Release|x86.ActiveCfg = Release|Any CPU
|
||||
{4F796B85-0487-4DE0-A086-EEDE32ECD3B3}.Release|x86.Build.0 = Release|Any CPU
|
||||
EndGlobalSection
|
||||
GlobalSection(SolutionProperties) = preSolution
|
||||
HideSolutionNode = FALSE
|
||||
EndGlobalSection
|
||||
GlobalSection(ProjectConfigurationPlatforms) = postSolution
|
||||
{63C229FA-5E13-457A-868E-25B0C9C58AA6}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{63C229FA-5E13-457A-868E-25B0C9C58AA6}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{63C229FA-5E13-457A-868E-25B0C9C58AA6}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{63C229FA-5E13-457A-868E-25B0C9C58AA6}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
{A53CDB6D-8EAD-4C1D-A175-A64C90CF4B6B}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{A53CDB6D-8EAD-4C1D-A175-A64C90CF4B6B}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{A53CDB6D-8EAD-4C1D-A175-A64C90CF4B6B}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{A53CDB6D-8EAD-4C1D-A175-A64C90CF4B6B}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
{86A26505-418B-49A8-99B6-52DE52C1B2F4}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{86A26505-418B-49A8-99B6-52DE52C1B2F4}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{86A26505-418B-49A8-99B6-52DE52C1B2F4}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{86A26505-418B-49A8-99B6-52DE52C1B2F4}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
{21F9F0FA-71DD-42ED-AAB4-88AF11F8B6AB}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{21F9F0FA-71DD-42ED-AAB4-88AF11F8B6AB}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{21F9F0FA-71DD-42ED-AAB4-88AF11F8B6AB}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{21F9F0FA-71DD-42ED-AAB4-88AF11F8B6AB}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
{AAEC702A-326A-40B8-9E02-04767A66D084}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{AAEC702A-326A-40B8-9E02-04767A66D084}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{AAEC702A-326A-40B8-9E02-04767A66D084}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{AAEC702A-326A-40B8-9E02-04767A66D084}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
EndGlobalSection
|
||||
GlobalSection(NestedProjects) = preSolution
|
||||
{63C229FA-5E13-457A-868E-25B0C9C58AA6} = {BEDF4556-0366-45BC-B0F3-9FF4EB11B9CB}
|
||||
{A53CDB6D-8EAD-4C1D-A175-A64C90CF4B6B} = {BEDF4556-0366-45BC-B0F3-9FF4EB11B9CB}
|
||||
{86A26505-418B-49A8-99B6-52DE52C1B2F4} = {BEDF4556-0366-45BC-B0F3-9FF4EB11B9CB}
|
||||
{21F9F0FA-71DD-42ED-AAB4-88AF11F8B6AB} = {BEDF4556-0366-45BC-B0F3-9FF4EB11B9CB}
|
||||
{AAEC702A-326A-40B8-9E02-04767A66D084} = {BEDF4556-0366-45BC-B0F3-9FF4EB11B9CB}
|
||||
{5172647D-5B13-42BB-A416-75C959BAFFA5} = {827E0CD3-B72D-47B6-A68D-7590B98EB39B}
|
||||
{946E5234-8F12-4A33-A5F3-E470E664201B} = {827E0CD3-B72D-47B6-A68D-7590B98EB39B}
|
||||
{D3AD1315-4F57-495E-A866-81358666C649} = {827E0CD3-B72D-47B6-A68D-7590B98EB39B}
|
||||
{6A10F280-8396-444B-AD0E-EF4A20323AED} = {827E0CD3-B72D-47B6-A68D-7590B98EB39B}
|
||||
{4F796B85-0487-4DE0-A086-EEDE32ECD3B3} = {827E0CD3-B72D-47B6-A68D-7590B98EB39B}
|
||||
EndGlobalSection
|
||||
EndGlobal
|
||||
|
@ -3,17 +3,15 @@ var builder = WebApplication.CreateBuilder(args);
|
||||
// Add services to the container.
|
||||
|
||||
builder.Services.AddControllers();
|
||||
// Learn more about configuring Swagger/OpenAPI at https://aka.ms/aspnetcore/swashbuckle
|
||||
builder.Services.AddEndpointsApiExplorer();
|
||||
builder.Services.AddSwaggerGen();
|
||||
// Learn more about configuring OpenAPI at https://aka.ms/aspnet/openapi
|
||||
builder.Services.AddOpenApi();
|
||||
|
||||
var app = builder.Build();
|
||||
|
||||
// Configure the HTTP request pipeline.
|
||||
if (app.Environment.IsDevelopment())
|
||||
{
|
||||
app.UseSwagger();
|
||||
app.UseSwaggerUI();
|
||||
app.MapOpenApi();
|
||||
}
|
||||
|
||||
app.UseHttpsRedirection();
|
||||
|
@ -1,20 +1,11 @@
|
||||
{
|
||||
"$schema": "http://json.schemastore.org/launchsettings.json",
|
||||
"iisSettings": {
|
||||
"windowsAuthentication": false,
|
||||
"anonymousAuthentication": true,
|
||||
"iisExpress": {
|
||||
"applicationUrl": "http://localhost:54692",
|
||||
"sslPort": 44361
|
||||
}
|
||||
},
|
||||
"$schema": "https://json.schemastore.org/launchsettings.json",
|
||||
"profiles": {
|
||||
"http": {
|
||||
"commandName": "Project",
|
||||
"dotnetRunMessages": true,
|
||||
"launchBrowser": true,
|
||||
"launchUrl": "swagger",
|
||||
"applicationUrl": "http://localhost:5235",
|
||||
"launchBrowser": false,
|
||||
"applicationUrl": "http://localhost:5280",
|
||||
"environmentVariables": {
|
||||
"ASPNETCORE_ENVIRONMENT": "Development"
|
||||
}
|
||||
@ -22,17 +13,8 @@
|
||||
"https": {
|
||||
"commandName": "Project",
|
||||
"dotnetRunMessages": true,
|
||||
"launchBrowser": true,
|
||||
"launchUrl": "swagger",
|
||||
"applicationUrl": "https://localhost:7164;http://localhost:5235",
|
||||
"environmentVariables": {
|
||||
"ASPNETCORE_ENVIRONMENT": "Development"
|
||||
}
|
||||
},
|
||||
"IIS Express": {
|
||||
"commandName": "IISExpress",
|
||||
"launchBrowser": true,
|
||||
"launchUrl": "swagger",
|
||||
"launchBrowser": false,
|
||||
"applicationUrl": "https://localhost:7275;http://localhost:5280",
|
||||
"environmentVariables": {
|
||||
"ASPNETCORE_ENVIRONMENT": "Development"
|
||||
}
|
||||
|
@ -1,18 +1,17 @@
|
||||
<Project Sdk="Microsoft.NET.Sdk.Web">
|
||||
|
||||
<PropertyGroup>
|
||||
<TargetFramework>net8.0</TargetFramework>
|
||||
<TargetFramework>net9.0</TargetFramework>
|
||||
<Nullable>enable</Nullable>
|
||||
<ImplicitUsings>enable</ImplicitUsings>
|
||||
</PropertyGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<PackageReference Include="Swashbuckle.AspNetCore" Version="6.6.2" />
|
||||
<PackageReference Include="Microsoft.AspNetCore.OpenApi" Version="9.0.4" />
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<ProjectReference Include="..\QuickDish.Application\QuickDish.Application.csproj" />
|
||||
<ProjectReference Include="..\QuickDish.Infrastructure\QuickDish.Infrastructure.csproj" />
|
||||
<ProjectReference Include="..\QuickDish.BLL\QuickDish.BLL.csproj" />
|
||||
</ItemGroup>
|
||||
|
||||
</Project>
|
||||
|
@ -1,4 +1,4 @@
|
||||
@QuickDish.Api_HostAddress = http://localhost:5235
|
||||
@QuickDish.Api_HostAddress = http://localhost:5280
|
||||
|
||||
GET {{QuickDish.Api_HostAddress}}/weatherforecast/
|
||||
Accept: application/json
|
||||
|
@ -1,6 +0,0 @@
|
||||
namespace QuickDish.Application;
|
||||
|
||||
public class Class1
|
||||
{
|
||||
|
||||
}
|
6
src/QuickDish.BLL/Class1.cs
Normal file
6
src/QuickDish.BLL/Class1.cs
Normal file
@ -0,0 +1,6 @@
|
||||
namespace QuickDish.BLL;
|
||||
|
||||
public class Class1
|
||||
{
|
||||
|
||||
}
|
@ -1,11 +1,11 @@
|
||||
<Project Sdk="Microsoft.NET.Sdk">
|
||||
|
||||
<ItemGroup>
|
||||
<ProjectReference Include="..\QuickDish.Application\QuickDish.Application.csproj" />
|
||||
<ProjectReference Include="..\QuickDish.DataAccess\QuickDish.DataAccess.csproj" />
|
||||
</ItemGroup>
|
||||
|
||||
<PropertyGroup>
|
||||
<TargetFramework>net8.0</TargetFramework>
|
||||
<TargetFramework>net9.0</TargetFramework>
|
||||
<ImplicitUsings>enable</ImplicitUsings>
|
||||
<Nullable>enable</Nullable>
|
||||
</PropertyGroup>
|
@ -5,7 +5,10 @@ public partial class App : Application
|
||||
public App()
|
||||
{
|
||||
InitializeComponent();
|
||||
}
|
||||
|
||||
MainPage = new AppShell();
|
||||
protected override Window CreateWindow(IActivationState? activationState)
|
||||
{
|
||||
return new Window(new AppShell());
|
||||
}
|
||||
}
|
@ -4,7 +4,7 @@
|
||||
xmlns="http://schemas.microsoft.com/dotnet/2021/maui"
|
||||
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
|
||||
xmlns:local="clr-namespace:QuickDish.Client"
|
||||
Shell.FlyoutBehavior="Disabled"
|
||||
Shell.FlyoutBehavior="Flyout"
|
||||
Title="QuickDish.Client">
|
||||
|
||||
<ShellContent
|
||||
|
@ -11,7 +11,7 @@
|
||||
Source="dotnet_bot.png"
|
||||
HeightRequest="185"
|
||||
Aspect="AspectFit"
|
||||
SemanticProperties.Description="dot net bot in a race car number eight" />
|
||||
SemanticProperties.Description="dot net bot in a hovercraft number nine" />
|
||||
|
||||
<Label
|
||||
Text="Hello, World!"
|
||||
|
@ -1,5 +1,5 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<manifest package="maui-application-id-placeholder" version="0.0.0" api-version="8" xmlns="http://tizen.org/ns/packages">
|
||||
<manifest package="maui-application-id-placeholder" version="0.0.0" api-version="9" xmlns="http://tizen.org/ns/packages">
|
||||
<profile name="common" />
|
||||
<ui-application appid="maui-application-id-placeholder" exec="QuickDish.Client.dll" multiple="false" nodisplay="false" taskmanage="true" type="dotnet" launch_mode="single">
|
||||
<label>maui-application-title-placeholder</label>
|
||||
|
@ -8,7 +8,7 @@
|
||||
|
||||
<Identity Name="maui-package-name-placeholder" Publisher="CN=User Name" Version="0.0.0.0" />
|
||||
|
||||
<mp:PhoneIdentity PhoneProductId="CDA04EFF-6E81-4D58-84FD-75B014FC7125" PhonePublisherId="00000000-0000-0000-0000-000000000000"/>
|
||||
<mp:PhoneIdentity PhoneProductId="15A51895-3B19-487D-A63F-1414325A1307" PhonePublisherId="00000000-0000-0000-0000-000000000000"/>
|
||||
|
||||
<Properties>
|
||||
<DisplayName>$placeholder$</DisplayName>
|
||||
|
@ -1,7 +1,7 @@
|
||||
{
|
||||
"profiles": {
|
||||
"Windows Machine": {
|
||||
"commandName": "MsixPackage",
|
||||
"commandName": "Project",
|
||||
"nativeDebugging": false
|
||||
}
|
||||
}
|
||||
|
@ -1,10 +1,10 @@
|
||||
<Project Sdk="Microsoft.NET.Sdk">
|
||||
|
||||
<PropertyGroup>
|
||||
<TargetFrameworks>net8.0-android;net8.0-ios;net8.0-maccatalyst</TargetFrameworks>
|
||||
<TargetFrameworks Condition="$([MSBuild]::IsOSPlatform('windows'))">$(TargetFrameworks);net8.0-windows10.0.19041.0</TargetFrameworks>
|
||||
<TargetFrameworks>net9.0-android;net9.0-ios;net9.0-maccatalyst</TargetFrameworks>
|
||||
<TargetFrameworks Condition="$([MSBuild]::IsOSPlatform('windows'))">$(TargetFrameworks);net9.0-windows10.0.19041.0</TargetFrameworks>
|
||||
<!-- Uncomment to also build the tizen app. You will need to install tizen by following this: https://github.com/Samsung/Tizen.NET -->
|
||||
<!-- <TargetFrameworks>$(TargetFrameworks);net8.0-tizen</TargetFrameworks> -->
|
||||
<!-- <TargetFrameworks>$(TargetFrameworks);net9.0-tizen</TargetFrameworks> -->
|
||||
|
||||
<!-- Note for MacCatalyst:
|
||||
The default runtime is maccatalyst-x64, except in Release config, in which case the default is maccatalyst-x64;maccatalyst-arm64.
|
||||
@ -30,8 +30,11 @@
|
||||
<ApplicationDisplayVersion>1.0</ApplicationDisplayVersion>
|
||||
<ApplicationVersion>1</ApplicationVersion>
|
||||
|
||||
<SupportedOSPlatformVersion Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'ios'">11.0</SupportedOSPlatformVersion>
|
||||
<SupportedOSPlatformVersion Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'maccatalyst'">13.1</SupportedOSPlatformVersion>
|
||||
<!-- To develop, package, and publish an app to the Microsoft Store, see: https://aka.ms/MauiTemplateUnpackaged -->
|
||||
<WindowsPackageType>None</WindowsPackageType>
|
||||
|
||||
<SupportedOSPlatformVersion Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'ios'">15.0</SupportedOSPlatformVersion>
|
||||
<SupportedOSPlatformVersion Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'maccatalyst'">15.0</SupportedOSPlatformVersion>
|
||||
<SupportedOSPlatformVersion Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'android'">21.0</SupportedOSPlatformVersion>
|
||||
<SupportedOSPlatformVersion Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'windows'">10.0.17763.0</SupportedOSPlatformVersion>
|
||||
<TargetPlatformMinVersion Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'windows'">10.0.17763.0</TargetPlatformMinVersion>
|
||||
@ -58,8 +61,11 @@
|
||||
|
||||
<ItemGroup>
|
||||
<PackageReference Include="Microsoft.Maui.Controls" Version="$(MauiVersion)" />
|
||||
<PackageReference Include="Microsoft.Maui.Controls.Compatibility" Version="$(MauiVersion)" />
|
||||
<PackageReference Include="Microsoft.Extensions.Logging.Debug" Version="8.0.1" />
|
||||
<PackageReference Include="Microsoft.Extensions.Logging.Debug" Version="9.0.0" />
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<ProjectReference Include="..\QuickDish.Core\QuickDish.Core.csproj" />
|
||||
</ItemGroup>
|
||||
|
||||
</Project>
|
||||
|
7920
src/QuickDish.Client/Resources/Fonts/FluentUI.cs
Normal file
7920
src/QuickDish.Client/Resources/Fonts/FluentUI.cs
Normal file
File diff suppressed because it is too large
Load Diff
Binary file not shown.
Binary file not shown.
Binary file not shown.
Before Width: | Height: | Size: 68 KiB After Width: | Height: | Size: 91 KiB |
@ -208,7 +208,7 @@
|
||||
<Setter Property="TitleColor" Value="{AppThemeBinding Light={StaticResource Gray900}, Dark={StaticResource Gray200}}" />
|
||||
<Setter Property="BackgroundColor" Value="Transparent" />
|
||||
<Setter Property="FontFamily" Value="OpenSansRegular"/>
|
||||
<Setter Property="FontSize" Value="14"/>
|
||||
<Setter Property="FontSize" Value="14" />
|
||||
<Setter Property="MinimumHeightRequest" Value="44"/>
|
||||
<Setter Property="MinimumWidthRequest" Value="44"/>
|
||||
<Setter Property="VisualStateManager.VisualStateGroups">
|
||||
@ -393,6 +393,30 @@
|
||||
</Setter>
|
||||
</Style>
|
||||
|
||||
<!--
|
||||
<Style TargetType="TitleBar">
|
||||
<Setter Property="MinimumHeightRequest" Value="32"/>
|
||||
<Setter Property="VisualStateManager.VisualStateGroups">
|
||||
<VisualStateGroupList>
|
||||
<VisualStateGroup x:Name="TitleActiveStates">
|
||||
<VisualState x:Name="TitleBarTitleActive">
|
||||
<VisualState.Setters>
|
||||
<Setter Property="BackgroundColor" Value="Transparent" />
|
||||
<Setter Property="ForegroundColor" Value="{AppThemeBinding Light={StaticResource Black}, Dark={StaticResource White}}" />
|
||||
</VisualState.Setters>
|
||||
</VisualState>
|
||||
<VisualState x:Name="TitleBarTitleInactive">
|
||||
<VisualState.Setters>
|
||||
<Setter Property="BackgroundColor" Value="{AppThemeBinding Light={StaticResource White}, Dark={StaticResource Black}}" />
|
||||
<Setter Property="ForegroundColor" Value="{AppThemeBinding Light={StaticResource Gray400}, Dark={StaticResource Gray500}}" />
|
||||
</VisualState.Setters>
|
||||
</VisualState>
|
||||
</VisualStateGroup>
|
||||
</VisualStateGroupList>
|
||||
</Setter>
|
||||
</Style>
|
||||
-->
|
||||
|
||||
<Style TargetType="Page" ApplyToDerivedTypes="True">
|
||||
<Setter Property="Padding" Value="0"/>
|
||||
<Setter Property="BackgroundColor" Value="{AppThemeBinding Light={StaticResource White}, Dark={StaticResource OffBlack}}" />
|
||||
|
@ -1,7 +1,7 @@
|
||||
<Project Sdk="Microsoft.NET.Sdk">
|
||||
|
||||
<PropertyGroup>
|
||||
<TargetFramework>net8.0</TargetFramework>
|
||||
<TargetFramework>net9.0</TargetFramework>
|
||||
<ImplicitUsings>enable</ImplicitUsings>
|
||||
<Nullable>enable</Nullable>
|
||||
</PropertyGroup>
|
38
src/QuickDish.Core/Recipe.cs
Normal file
38
src/QuickDish.Core/Recipe.cs
Normal file
@ -0,0 +1,38 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace QuickDish.Core;
|
||||
|
||||
/// <summary>
|
||||
/// The base recipe class which holds basic tags defining the recipe, a title, a short description and an image and pdf url for the actualy recipe.
|
||||
/// </summary>
|
||||
internal class Recipe
|
||||
{
|
||||
public string Title { get; set; }
|
||||
public string Description { get; set; }
|
||||
public string[] Tags { get; set; }
|
||||
|
||||
public string ImageUrl { get; set; }
|
||||
public string RecipeUrl { get; set; }
|
||||
|
||||
public Recipe(string title, string description, string[] tags, string imageUrl, string recipeUrl)
|
||||
{
|
||||
if (string.IsNullOrWhiteSpace(title))
|
||||
throw new ArgumentException("Title can't be empty", nameof(title));
|
||||
if (string.IsNullOrWhiteSpace(description))
|
||||
throw new ArgumentException("Description can't be empty", nameof(description));
|
||||
if (string.IsNullOrWhiteSpace(recipeUrl))
|
||||
throw new ArgumentException("The Url to the Recipe can't be empty", nameof(recipeUrl));
|
||||
if (string.IsNullOrWhiteSpace(imageUrl))
|
||||
throw new ArgumentException("The Url to the Image of the Recipe can't be empty", nameof(imageUrl));
|
||||
|
||||
Title = title;
|
||||
Description = description;
|
||||
Tags = tags;
|
||||
ImageUrl = imageUrl;
|
||||
RecipeUrl = recipeUrl;
|
||||
}
|
||||
}
|
15
src/QuickDish.Core/User.cs
Normal file
15
src/QuickDish.Core/User.cs
Normal file
@ -0,0 +1,15 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace QuickDish.Core;
|
||||
|
||||
internal class User
|
||||
{
|
||||
public int Id { get; set; }
|
||||
public string Username { get; set; }
|
||||
public string PasswordHash { get; set; }
|
||||
|
||||
}
|
6
src/QuickDish.DataAccess/Class1.cs
Normal file
6
src/QuickDish.DataAccess/Class1.cs
Normal file
@ -0,0 +1,6 @@
|
||||
namespace QuickDish.DataAccess;
|
||||
|
||||
public class Class1
|
||||
{
|
||||
|
||||
}
|
@ -1,11 +1,11 @@
|
||||
<Project Sdk="Microsoft.NET.Sdk">
|
||||
|
||||
<ItemGroup>
|
||||
<ProjectReference Include="..\QuickDish.Domain\QuickDish.Domain.csproj" />
|
||||
<ProjectReference Include="..\QuickDish.Core\QuickDish.Core.csproj" />
|
||||
</ItemGroup>
|
||||
|
||||
<PropertyGroup>
|
||||
<TargetFramework>net8.0</TargetFramework>
|
||||
<TargetFramework>net9.0</TargetFramework>
|
||||
<ImplicitUsings>enable</ImplicitUsings>
|
||||
<Nullable>enable</Nullable>
|
||||
</PropertyGroup>
|
@ -1,6 +0,0 @@
|
||||
namespace QuickDish.Domain;
|
||||
|
||||
public class Class1
|
||||
{
|
||||
|
||||
}
|
@ -1,6 +0,0 @@
|
||||
namespace QuickDish.Infrastructure;
|
||||
|
||||
public class Class1
|
||||
{
|
||||
|
||||
}
|
Reference in New Issue
Block a user