wcf icon indicating copy to clipboard operation
wcf copied to clipboard

Verbosity of generated code

Open Belorus opened this issue 4 years ago • 1 comments

Hi,

I noticed that before dotnet-svcutil we wrote classes by hand, and models contained ~10-15times less lines. All properties were auto-properties.

Eg, our hand-written model is 62 lines, and generated is 820.

What do you think, is it worth adding such mode that generates nice and human-friendly auto-properties instead of field+full property pairs?

Belorus avatar Nov 27 '21 19:11 Belorus

Hi @Belorus, thanks for your suggestion! Do you see a difference in lines of code generation between using Svcutil tool in .Net Framework platform and using dotnet-svcutil tool in .Net Core?

imcarolwang avatar Apr 13 '22 06:04 imcarolwang