This repository has been archived on 2023-10-28. You can view files and clone it, but cannot push or open issues or pull requests.
pwt-0x01-ng/pwt-0x01-ng.csproj
surtur df9f0b36c4
All checks were successful
continuous-integration/drone/push Build is passing
merge: bring in feature-netcore-scaffolding-pain
commit 34664fc9f3876605001b4c5294d3350a136f2997
Author: surtur <a_mirre@utb.cz>
Date:   Thu Dec 31 01:18:05 2020 +0100

    chore: edit the scaffolded views to use our layout

commit 6816006c09b5a3d79c489e3c27d7081b83e6195e
Author: surtur <a_mirre@utb.cz>
Date:   Thu Dec 31 01:14:17 2020 +0100

    chore: update Makefile "run" target+added targets

    * pgdba - start a dev db container in background
    * pgdbz - stop the dev db image
    * docker run db img args are configured via variables as seen fit
    * run is now more of a "watch run"

commit f1d87345ac2d7d9ce854a6c8bb37731ff0f8805c
Author: surtur <a_mirre@utb.cz>
Date:   Thu Dec 31 01:12:41 2020 +0100

    chore: add {OrderItem,Order} links to navbar

commit c214cf4fe6625ad312275432a8883a01e37f9cf0
Author: surtur <a_mirre@utb.cz>
Date:   Wed Dec 30 13:37:34 2020 +0100

    chore: add netcore-scaffolded controllers+views

    * Templates folder of the vs.web.codegenerators pkg (v3.1.4) had to be
      temporarily copied to the project directory for the scaffolding to
      work; unnecessary template folders had to be removed prior to running
      scaffold command
    * restored pkgs and clean built, then scaffolded using (var set for
      trace output of the command):
      make restore clean build; codegen_trace=1 dotnet-aspnet-codegenerator controller -p "." -actions --force -name OrdersController -dc pwt_0x01_ng.Models.Database.DBContext -async -m pwt_0x01_ng.Models.Order -namespace pwt_0x01_ng.Areas.Admin.Controllers -outDir Areas/Admin/Controllers --no-build
      make restore clean build; codegen_trace=1 dotnet-aspnet-codegenerator controller -p "." -actions --force -name OrderItemController -dc pwt_0x01_ng.Models.Database.DBContext -async -m pwt_0x01_ng.Models.OrderItem -namespace pwt_0x01_ng.Areas.Admin.Controllers -outDir Areas/Admin/Controllers --no-build
2020-12-31 02:01:45 +01:00

36 lines
1.4 KiB
XML

<Project Sdk="Microsoft.NET.Sdk.Web">
<PropertyGroup>
<TargetFramework>netcoreapp3.1</TargetFramework>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
<OutputPath>bin\Debug</OutputPath>
</PropertyGroup>
<PropertyGroup Condition=" '$(RunConfiguration)' == 'Default' ">
<StartAction>Project</StartAction>
<LaunchBrowser>false</LaunchBrowser>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Microsoft.EntityFrameworkCore" Version="3.1.10" />
<PackageReference Include="Microsoft.EntityFrameworkCore.Design" Version="3.1.10" />
<PackageReference Include="Microsoft.VisualStudio.Web.CodeGeneration.Design" Version="3.1.4" />
<PackageReference Include="Microsoft.EntityFrameworkCore.SqlServer" Version="3.1.10" />
<PackageReference Include="Npgsql.EntityFrameworkCore.PostgreSQL" Version="3.1.4" />
<PackageReference Include="Microsoft.AspNetCore.Mvc.Razor.RuntimeCompilation" Version="3.1.10" />
</ItemGroup>
<ItemGroup>
<Folder Include="Areas\Admin\Data" />
<Folder Include="Areas\Admin\Models" />
<Folder Include="Areas\Admin\Views" />
<Folder Include="Migrations\pgsql" />
<Folder Include="Models\Database" />
<Folder Include="Models\Database\Conf" />
<Folder Include="wwwroot\images\carousels" />
<Folder Include="wwwroot\images\products" />
</ItemGroup>
</Project>