Skip to content

Commit

Permalink
minor fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
zijianhuang committed Jun 10, 2024
1 parent 76f5867 commit 35916f5
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
4 changes: 2 additions & 2 deletions DemoGodAssemblyWeb/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ WebApiClientGen presumes that application developers use opt-in approaches for c
1. Publish some service data models to clients, but without API functions.
1. Publish custom data models used in Web API functions plus some data models not used in Web API functions directly.

However, typical scaffolding codes of Visual Studio for Web projects as well as other host projects like WinForms, WPF, Xamarin and MAUI are typically contained in a "god assembly". Many so called enterprise applications or ASP.NET Web API projects have been evolving from such god assembly from initial scaffolding codes, becoming a bigger and bigger god assembly.
Typical scaffolding codes of Visual Studio for Web projects as well as other host projects like WinForms, WPF, Xamarin and MAUI are typically contained in a "god assembly", a single application project. Many so called enterprise applications or ASP.NET Web API projects have been evolving from such god assembly from the initial scaffolding codes, becoming a bigger and bigger god assembly.

Having a god assembly is not wrong, since it is just a fact or an inconvenient truth in the software development industries, thus WebApiClientGen prvides some reluctant support to god ASP.NET Core Web API assembly.
Having a god assembly is not wrong, since it is just a fact or an inconvenient truth in the software development industries, thus WebApiClientGen provides some reluctant support to god ASP.NET Core Web API assembly.

Having a god class is not wrong, however nasty consequences have been well documented in various software engineering text books.

Expand Down
3 changes: 2 additions & 1 deletion HeroesDemo/startDev.ps1
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
#Run prod build with dotnet hosting
dotnet-serve -d C:/VSProjects/OpenSource/webapiclientgen/ngdist/dev -p 5200
cd $PSScriptRoot
dotnet-serve -d ../ngdist/dev -p 5200
3 changes: 2 additions & 1 deletion HeroesDemo/startProd.ps1
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
#Run prod build with dotnet hosting
dotnet-serve -d C:/VSProjects/OpenSource/webapiclientgen/ngdist/prod -p 5200
cd $PSScriptRoot
dotnet-serve -d ../ngdist/prod -p 5200

0 comments on commit 35916f5

Please sign in to comment.