├── .gitignore ├── ArdalisRating.Tests ├── ArdalisRating.Tests.csproj └── RatingEngineRate.cs ├── ArdalisRating.sln ├── ArdalisRating ├── ArdalisRating.csproj ├── Policy.cs ├── PolicyType.cs ├── Program.cs ├── RatingEngine.cs ├── policy.json └── samplePolicies.json.txt ├── LICENSE └── README.md /.gitignore: -------------------------------------------------------------------------------- 1 | ## Ignore Visual Studio temporary files, build results, and 2 | ## files generated by popular Visual Studio add-ons. 3 | ## 4 | ## Get latest from https://github.com/github/gitignore/blob/master/VisualStudio.gitignore 5 | 6 | # User-specific files 7 | *.suo 8 | *.user 9 | *.userosscache 10 | *.sln.docstates 11 | 12 | # User-specific files (MonoDevelop/Xamarin Studio) 13 | *.userprefs 14 | 15 | # Build results 16 | [Dd]ebug/ 17 | [Dd]ebugPublic/ 18 | [Rr]elease/ 19 | [Rr]eleases/ 20 | x64/ 21 | x86/ 22 | bld/ 23 | [Bb]in/ 24 | [Oo]bj/ 25 | [Ll]og/ 26 | 27 | # Visual Studio 2015/2017 cache/options directory 28 | .vs/ 29 | # Uncomment if you have tasks that create the project's static files in wwwroot 30 | #wwwroot/ 31 | 32 | # Visual Studio 2017 auto generated files 33 | Generated\ Files/ 34 | 35 | # MSTest test Results 36 | [Tt]est[Rr]esult*/ 37 | [Bb]uild[Ll]og.* 38 | 39 | # NUNIT 40 | *.VisualState.xml 41 | TestResult.xml 42 | 43 | # Build Results of an ATL Project 44 | [Dd]ebugPS/ 45 | [Rr]eleasePS/ 46 | dlldata.c 47 | 48 | # Benchmark Results 49 | BenchmarkDotNet.Artifacts/ 50 | 51 | # .NET Core 52 | project.lock.json 53 | project.fragment.lock.json 54 | artifacts/ 55 | **/Properties/launchSettings.json 56 | 57 | # StyleCop 58 | StyleCopReport.xml 59 | 60 | # Files built by Visual Studio 61 | *_i.c 62 | *_p.c 63 | *_i.h 64 | *.ilk 65 | *.meta 66 | *.obj 67 | *.iobj 68 | *.pch 69 | *.pdb 70 | *.ipdb 71 | *.pgc 72 | *.pgd 73 | *.rsp 74 | *.sbr 75 | *.tlb 76 | *.tli 77 | *.tlh 78 | *.tmp 79 | *.tmp_proj 80 | *.log 81 | *.vspscc 82 | *.vssscc 83 | .builds 84 | *.pidb 85 | *.svclog 86 | *.scc 87 | 88 | # Chutzpah Test files 89 | _Chutzpah* 90 | 91 | # Visual C++ cache files 92 | ipch/ 93 | *.aps 94 | *.ncb 95 | *.opendb 96 | *.opensdf 97 | *.sdf 98 | *.cachefile 99 | *.VC.db 100 | *.VC.VC.opendb 101 | 102 | # Visual Studio profiler 103 | *.psess 104 | *.vsp 105 | *.vspx 106 | *.sap 107 | 108 | # Visual Studio Trace Files 109 | *.e2e 110 | 111 | # TFS 2012 Local Workspace 112 | $tf/ 113 | 114 | # Guidance Automation Toolkit 115 | *.gpState 116 | 117 | # ReSharper is a .NET coding add-in 118 | _ReSharper*/ 119 | *.[Rr]e[Ss]harper 120 | *.DotSettings.user 121 | 122 | # JustCode is a .NET coding add-in 123 | .JustCode 124 | 125 | # TeamCity is a build add-in 126 | _TeamCity* 127 | 128 | # DotCover is a Code Coverage Tool 129 | *.dotCover 130 | 131 | # AxoCover is a Code Coverage Tool 132 | .axoCover/* 133 | !.axoCover/settings.json 134 | 135 | # Visual Studio code coverage results 136 | *.coverage 137 | *.coveragexml 138 | 139 | # NCrunch 140 | _NCrunch_* 141 | .*crunch*.local.xml 142 | nCrunchTemp_* 143 | 144 | # MightyMoose 145 | *.mm.* 146 | AutoTest.Net/ 147 | 148 | # Web workbench (sass) 149 | .sass-cache/ 150 | 151 | # Installshield output folder 152 | [Ee]xpress/ 153 | 154 | # DocProject is a documentation generator add-in 155 | DocProject/buildhelp/ 156 | DocProject/Help/*.HxT 157 | DocProject/Help/*.HxC 158 | DocProject/Help/*.hhc 159 | DocProject/Help/*.hhk 160 | DocProject/Help/*.hhp 161 | DocProject/Help/Html2 162 | DocProject/Help/html 163 | 164 | # Click-Once directory 165 | publish/ 166 | 167 | # Publish Web Output 168 | *.[Pp]ublish.xml 169 | *.azurePubxml 170 | # Note: Comment the next line if you want to checkin your web deploy settings, 171 | # but database connection strings (with potential passwords) will be unencrypted 172 | *.pubxml 173 | *.publishproj 174 | 175 | # Microsoft Azure Web App publish settings. Comment the next line if you want to 176 | # checkin your Azure Web App publish settings, but sensitive information contained 177 | # in these scripts will be unencrypted 178 | PublishScripts/ 179 | 180 | # NuGet Packages 181 | *.nupkg 182 | # The packages folder can be ignored because of Package Restore 183 | **/[Pp]ackages/* 184 | # except build/, which is used as an MSBuild target. 185 | !**/[Pp]ackages/build/ 186 | # Uncomment if necessary however generally it will be regenerated when needed 187 | #!**/[Pp]ackages/repositories.config 188 | # NuGet v3's project.json files produces more ignorable files 189 | *.nuget.props 190 | *.nuget.targets 191 | 192 | # Microsoft Azure Build Output 193 | csx/ 194 | *.build.csdef 195 | 196 | # Microsoft Azure Emulator 197 | ecf/ 198 | rcf/ 199 | 200 | # Windows Store app package directories and files 201 | AppPackages/ 202 | BundleArtifacts/ 203 | Package.StoreAssociation.xml 204 | _pkginfo.txt 205 | *.appx 206 | 207 | # Visual Studio cache files 208 | # files ending in .cache can be ignored 209 | *.[Cc]ache 210 | # but keep track of directories ending in .cache 211 | !*.[Cc]ache/ 212 | 213 | # Others 214 | ClientBin/ 215 | ~$* 216 | *~ 217 | *.dbmdl 218 | *.dbproj.schemaview 219 | *.jfm 220 | *.pfx 221 | *.publishsettings 222 | orleans.codegen.cs 223 | 224 | # Including strong name files can present a security risk 225 | # (https://github.com/github/gitignore/pull/2483#issue-259490424) 226 | #*.snk 227 | 228 | # Since there are multiple workflows, uncomment next line to ignore bower_components 229 | # (https://github.com/github/gitignore/pull/1529#issuecomment-104372622) 230 | #bower_components/ 231 | 232 | # RIA/Silverlight projects 233 | Generated_Code/ 234 | 235 | # Backup & report files from converting an old project file 236 | # to a newer Visual Studio version. Backup files are not needed, 237 | # because we have git ;-) 238 | _UpgradeReport_Files/ 239 | Backup*/ 240 | UpgradeLog*.XML 241 | UpgradeLog*.htm 242 | ServiceFabricBackup/ 243 | *.rptproj.bak 244 | 245 | # SQL Server files 246 | *.mdf 247 | *.ldf 248 | *.ndf 249 | 250 | # Business Intelligence projects 251 | *.rdl.data 252 | *.bim.layout 253 | *.bim_*.settings 254 | *.rptproj.rsuser 255 | 256 | # Microsoft Fakes 257 | FakesAssemblies/ 258 | 259 | # GhostDoc plugin setting file 260 | *.GhostDoc.xml 261 | 262 | # Node.js Tools for Visual Studio 263 | .ntvs_analysis.dat 264 | node_modules/ 265 | 266 | # Visual Studio 6 build log 267 | *.plg 268 | 269 | # Visual Studio 6 workspace options file 270 | *.opt 271 | 272 | # Visual Studio 6 auto-generated workspace file (contains which files were open etc.) 273 | *.vbw 274 | 275 | # Visual Studio LightSwitch build output 276 | **/*.HTMLClient/GeneratedArtifacts 277 | **/*.DesktopClient/GeneratedArtifacts 278 | **/*.DesktopClient/ModelManifest.xml 279 | **/*.Server/GeneratedArtifacts 280 | **/*.Server/ModelManifest.xml 281 | _Pvt_Extensions 282 | 283 | # Paket dependency manager 284 | .paket/paket.exe 285 | paket-files/ 286 | 287 | # FAKE - F# Make 288 | .fake/ 289 | 290 | # JetBrains Rider 291 | .idea/ 292 | *.sln.iml 293 | 294 | # CodeRush 295 | .cr/ 296 | 297 | # Python Tools for Visual Studio (PTVS) 298 | __pycache__/ 299 | *.pyc 300 | 301 | # Cake - Uncomment if you are using it 302 | # tools/** 303 | # !tools/packages.config 304 | 305 | # Tabs Studio 306 | *.tss 307 | 308 | # Telerik's JustMock configuration file 309 | *.jmconfig 310 | 311 | # BizTalk build output 312 | *.btp.cs 313 | *.btm.cs 314 | *.odx.cs 315 | *.xsd.cs 316 | 317 | # OpenCover UI analysis results 318 | OpenCover/ 319 | 320 | # Azure Stream Analytics local run output 321 | ASALocalRun/ 322 | 323 | # MSBuild Binary and Structured Log 324 | *.binlog 325 | 326 | # NVidia Nsight GPU debugger configuration file 327 | *.nvuser 328 | 329 | # MFractors (Xamarin productivity tool) working folder 330 | .mfractor/ 331 | -------------------------------------------------------------------------------- /ArdalisRating.Tests/ArdalisRating.Tests.csproj: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | net6.0 5 | 6 | false 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | -------------------------------------------------------------------------------- /ArdalisRating.Tests/RatingEngineRate.cs: -------------------------------------------------------------------------------- 1 | using Newtonsoft.Json; 2 | using System; 3 | using System.IO; 4 | using Xunit; 5 | 6 | namespace ArdalisRating.Tests 7 | { 8 | public class RatingEngineRate 9 | { 10 | [Fact] 11 | public void ReturnsRatingOf10000For200000LandPolicy() 12 | { 13 | var policy = new Policy 14 | { 15 | Type = PolicyType.Land, 16 | BondAmount = 200000, 17 | Valuation = 200000 18 | }; 19 | string json = JsonConvert.SerializeObject(policy); 20 | File.WriteAllText("policy.json", json); 21 | 22 | var engine = new RatingEngine(); 23 | engine.Rate(); 24 | var result = engine.Rating; 25 | 26 | Assert.Equal(10000, result); 27 | } 28 | 29 | [Fact] 30 | public void ReturnsRatingOf0For200000BondOn260000LandPolicy() 31 | { 32 | var policy = new Policy 33 | { 34 | Type = PolicyType.Land, 35 | BondAmount = 200000, 36 | Valuation = 260000 37 | }; 38 | string json = JsonConvert.SerializeObject(policy); 39 | File.WriteAllText("policy.json", json); 40 | 41 | var engine = new RatingEngine(); 42 | engine.Rate(); 43 | var result = engine.Rating; 44 | 45 | Assert.Equal(0, result); 46 | } 47 | } 48 | } 49 | -------------------------------------------------------------------------------- /ArdalisRating.sln: -------------------------------------------------------------------------------- 1 |  2 | Microsoft Visual Studio Solution File, Format Version 12.00 3 | # Visual Studio Version 16 4 | VisualStudioVersion = 16.0.28527.54 5 | MinimumVisualStudioVersion = 10.0.40219.1 6 | Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "ArdalisRating", "ArdalisRating\ArdalisRating.csproj", "{38C59C20-D21E-4ED2-86E9-908067167EDE}" 7 | EndProject 8 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ArdalisRating.Tests", "ArdalisRating.Tests\ArdalisRating.Tests.csproj", "{DE47402F-D430-4B74-8014-4BD74B872E0E}" 9 | EndProject 10 | Global 11 | GlobalSection(SolutionConfigurationPlatforms) = preSolution 12 | Debug|Any CPU = Debug|Any CPU 13 | Release|Any CPU = Release|Any CPU 14 | EndGlobalSection 15 | GlobalSection(ProjectConfigurationPlatforms) = postSolution 16 | {38C59C20-D21E-4ED2-86E9-908067167EDE}.Debug|Any CPU.ActiveCfg = Debug|Any CPU 17 | {38C59C20-D21E-4ED2-86E9-908067167EDE}.Debug|Any CPU.Build.0 = Debug|Any CPU 18 | {38C59C20-D21E-4ED2-86E9-908067167EDE}.Release|Any CPU.ActiveCfg = Release|Any CPU 19 | {38C59C20-D21E-4ED2-86E9-908067167EDE}.Release|Any CPU.Build.0 = Release|Any CPU 20 | {DE47402F-D430-4B74-8014-4BD74B872E0E}.Debug|Any CPU.ActiveCfg = Debug|Any CPU 21 | {DE47402F-D430-4B74-8014-4BD74B872E0E}.Debug|Any CPU.Build.0 = Debug|Any CPU 22 | {DE47402F-D430-4B74-8014-4BD74B872E0E}.Release|Any CPU.ActiveCfg = Release|Any CPU 23 | {DE47402F-D430-4B74-8014-4BD74B872E0E}.Release|Any CPU.Build.0 = Release|Any CPU 24 | EndGlobalSection 25 | GlobalSection(SolutionProperties) = preSolution 26 | HideSolutionNode = FALSE 27 | EndGlobalSection 28 | GlobalSection(ExtensibilityGlobals) = postSolution 29 | SolutionGuid = {9E156253-E7B9-42C0-8623-F24345277414} 30 | EndGlobalSection 31 | EndGlobal 32 | -------------------------------------------------------------------------------- /ArdalisRating/ArdalisRating.csproj: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Exe 5 | net6.0 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | Always 15 | 16 | 17 | Always 18 | 19 | 20 | 21 | 22 | -------------------------------------------------------------------------------- /ArdalisRating/Policy.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | 3 | namespace ArdalisRating 4 | { 5 | 6 | public class Policy 7 | { 8 | public PolicyType Type { get; set; } 9 | #region Life Insurance 10 | public string FullName { get; set; } 11 | public DateTime DateOfBirth { get; set; } 12 | public bool IsSmoker { get; set; } 13 | public decimal Amount { get; set; } 14 | #endregion 15 | 16 | #region Land 17 | public string Address { get; set; } 18 | public decimal Size { get; set; } 19 | public decimal Valuation { get; set; } 20 | public decimal BondAmount { get; set; } 21 | #endregion 22 | 23 | #region Auto 24 | public string Make { get; set; } 25 | public string Model { get; set; } 26 | public int Year { get; set; } 27 | public int Miles { get; set; } 28 | public decimal Deductible { get; set; } 29 | #endregion 30 | 31 | } 32 | } 33 | -------------------------------------------------------------------------------- /ArdalisRating/PolicyType.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | 3 | namespace ArdalisRating 4 | { 5 | 6 | public enum PolicyType 7 | { 8 | Life = 0, 9 | Land = 1, 10 | Auto = 2 11 | } 12 | } 13 | -------------------------------------------------------------------------------- /ArdalisRating/Program.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | 3 | namespace ArdalisRating 4 | { 5 | class Program 6 | { 7 | static void Main(string[] args) 8 | { 9 | Console.WriteLine("Ardalis Insurance Rating System Starting..."); 10 | 11 | var engine = new RatingEngine(); 12 | engine.Rate(); 13 | 14 | if (engine.Rating > 0) 15 | { 16 | Console.WriteLine($"Rating: {engine.Rating}"); 17 | } 18 | else 19 | { 20 | Console.WriteLine("No rating produced."); 21 | } 22 | 23 | } 24 | } 25 | } 26 | -------------------------------------------------------------------------------- /ArdalisRating/RatingEngine.cs: -------------------------------------------------------------------------------- 1 | using Newtonsoft.Json; 2 | using Newtonsoft.Json.Converters; 3 | using System; 4 | using System.IO; 5 | 6 | namespace ArdalisRating 7 | { 8 | /// 9 | /// The RatingEngine reads the policy application details from a file and produces a numeric 10 | /// rating value based on the details. 11 | /// 12 | public class RatingEngine 13 | { 14 | public decimal Rating { get; set; } 15 | public void Rate() 16 | { 17 | Console.WriteLine("Starting rate."); 18 | 19 | Console.WriteLine("Loading policy."); 20 | 21 | // load policy - open file policy.json 22 | string policyJson = File.ReadAllText("policy.json"); 23 | 24 | var policy = JsonConvert.DeserializeObject(policyJson, 25 | new StringEnumConverter()); 26 | 27 | switch (policy.Type) 28 | { 29 | case PolicyType.Auto: 30 | Console.WriteLine("Rating AUTO policy..."); 31 | Console.WriteLine("Validating policy."); 32 | if (String.IsNullOrEmpty(policy.Make)) 33 | { 34 | Console.WriteLine("Auto policy must specify Make"); 35 | return; 36 | } 37 | if (policy.Make == "BMW") 38 | { 39 | if (policy.Deductible < 500) 40 | { 41 | Rating = 1000m; 42 | } 43 | Rating = 900m; 44 | } 45 | break; 46 | 47 | case PolicyType.Land: 48 | Console.WriteLine("Rating LAND policy..."); 49 | Console.WriteLine("Validating policy."); 50 | if (policy.BondAmount == 0 || policy.Valuation == 0) 51 | { 52 | Console.WriteLine("Land policy must specify Bond Amount and Valuation."); 53 | return; 54 | } 55 | if (policy.BondAmount < 0.8m * policy.Valuation) 56 | { 57 | Console.WriteLine("Insufficient bond amount."); 58 | return; 59 | } 60 | Rating = policy.BondAmount * 0.05m; 61 | break; 62 | 63 | case PolicyType.Life: 64 | Console.WriteLine("Rating LIFE policy..."); 65 | Console.WriteLine("Validating policy."); 66 | if (policy.DateOfBirth == DateTime.MinValue) 67 | { 68 | Console.WriteLine("Life policy must include Date of Birth."); 69 | return; 70 | } 71 | if (policy.DateOfBirth < DateTime.Today.AddYears(-100)) 72 | { 73 | Console.WriteLine("Centenarians are not eligible for coverage."); 74 | return; 75 | } 76 | if (policy.Amount == 0) 77 | { 78 | Console.WriteLine("Life policy must include an Amount."); 79 | return; 80 | } 81 | int age = DateTime.Today.Year - policy.DateOfBirth.Year; 82 | if (policy.DateOfBirth.Month == DateTime.Today.Month && 83 | DateTime.Today.Day < policy.DateOfBirth.Day || 84 | DateTime.Today.Month < policy.DateOfBirth.Month) 85 | { 86 | age--; 87 | } 88 | decimal baseRate = policy.Amount * age / 200; 89 | if (policy.IsSmoker) 90 | { 91 | Rating = baseRate * 2; 92 | break; 93 | } 94 | Rating = baseRate; 95 | break; 96 | 97 | default: 98 | Console.WriteLine("Unknown policy type"); 99 | break; 100 | } 101 | 102 | Console.WriteLine("Rating completed."); 103 | } 104 | } 105 | } 106 | -------------------------------------------------------------------------------- /ArdalisRating/policy.json: -------------------------------------------------------------------------------- 1 | { 2 | "type": "Land", 3 | "bondAmount": "1000000", 4 | "valuation": "1100000" 5 | } 6 | -------------------------------------------------------------------------------- /ArdalisRating/samplePolicies.json.txt: -------------------------------------------------------------------------------- 1 | /* Valid Auto Policy */ 2 | { 3 | "type": "Auto", 4 | "make": "BMW" 5 | } 6 | 7 | /* No Make */ 8 | { 9 | "type": "Auto" 10 | } 11 | 12 | /* 13 | LAND Samples 14 | */ 15 | 16 | /* Valid Land Policy */ 17 | { 18 | "type": "Land", 19 | "bondAmount": "1000000", 20 | "valuation": "1100000" 21 | } 22 | 23 | 24 | /* No Bond Amount or Valuation */ 25 | { 26 | "type": "Land" 27 | } 28 | 29 | 30 | 31 | /* 32 | LIFE Samples 33 | */ 34 | 35 | /* Valid Life Policy */ 36 | { 37 | "type": "Life", 38 | "dateOfBirth": "1970-05-10", 39 | "amount": "1000000" 40 | } 41 | 42 | /* No Date of Birth */ 43 | { 44 | "type": "Life", 45 | "amount": "1000000" 46 | } 47 | 48 | /* No Amount */ 49 | { 50 | "type": "Life", 51 | "dateOfBirth": "1970-05-10" 52 | } 53 | 54 | /* Centenarian */ 55 | { 56 | "type": "Life", 57 | "dateOfBirth": "1918-05-10", 58 | "amount": "10000000" 59 | } 60 | 61 | 62 | 63 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) 2019 Steve Smith 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. 22 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # SOLID Principles for C# Developers 2 | 3 | A sample application used to demonstrate SOLID principles for the Pluralsight course, [SOLID Principles for C# Developers](https://app.pluralsight.com/library/courses/csharp-solid-principles). 4 | 5 | ## Give a Star! :star: 6 | If you like this project please give it a star. Thanks! 7 | 8 | ## Usage Instructions 9 | 10 | The `master` branch shows the *initial* code used in the course. It's the starting point. If you want to follow along, you can Fork this repository or download a ZIP with the code. There are separate tags (and branches for that matter) for each of the 5 principles that you can review or download as well. Here are links you can use to jump to these tagged versions in your browser: 11 | 12 | - [SRP Start](https://github.com/ardalis/SolidSample/tree/SRP-START) *This should be basically the same as master but with an older README* 13 | - [OCP Start](https://github.com/ardalis/SolidSample/tree/OCP-START) 14 | - [LSP Start](https://github.com/ardalis/SolidSample/tree/LSP-START) 15 | - [ISP Start](https://github.com/ardalis/SolidSample/tree/ISP-START) 16 | - [DIP Start](https://github.com/ardalis/SolidSample/tree/DIP-START) 17 | - [FINAL VERSION](https://github.com/ardalis/SolidSample/tree/current) 18 | 19 | The sample code was written using [Visual Studio 2019](https://visualstudio.com/). You can download the free Community edition which should work fine with this code. Alternately, you can use Visual Studio Code or another editor you prefer. 20 | 21 | ## Reporting Bugs and Asking Questions 22 | 23 | Please use [Issues](https://github.com/ardalis/SolidSample/issues) to report actual bugs in the code. If you have questions, please ask them in the [course discussion forum](https://app.pluralsight.com/library/courses/csharp-solid-principles/discussion) or on twitter (mention [@ardalis](https://twitter.com/ardalis)). 24 | 25 | ## Podcast and Other Resources 26 | 27 | If you found this course helpful here are some other resources you may like: 28 | 29 | - [Weekly Dev Tips Podcast](https://www.weeklydevtips.com/) (see also [YouTube Channel](https://www.youtube.com/channel/UC1OeiOnqUZHVinzRK5MuHsA)) 30 | - [Clean Architecture Solution Template](https://github.com/ardalis/CleanArchitecture) 31 | - [Live Coding Streams](https://twitch.tv/ardalis) 32 | - [Group Mentoring with Ardalis](https://devbetter.com) 33 | - [Clean Code](https://amzn.to/2FNjh2y) on Amazon 34 | 35 | --------------------------------------------------------------------------------