MENU

Fun & Interesting

.NET Project Setup From Scratch Using These 6 Best Practices

Milan Jovanović 47,686 3 months ago
Video Not Working? Fix It Now

Get the source code for this video for FREE → https://the-dotnet-weekly.kit.com/setup Want to master Clean Architecture? Go here: https://bit.ly/3PupkOJ Want to unlock Modular Monoliths? Go here: https://bit.ly/3SXlzSt Get the source code here: https://www.patreon.com/milanjovanovic Want to build a rock-solid .NET project that won't give you headaches later? This video shows you how to set up your project the right way from day one. We'll cover everything from basic setup to some really cool tools - like using .editorconfig to keep your code clean, managing all your packages in one place, and catching bugs early with code analysis. You'll also learn how to package your app with Docker, orchestrate it using Docker Compose or the shiny new .NET Aspire, and automate your builds with GitHub Actions. Perfect for anyone who wants to level up their .NET game and build projects like a pro. My editorconfig: https://gist.github.com/m-jovanovic/417b7d0a641d7dd7d1972550fba298db Editorconfig sample: https://github.com/dotnet/runtime/blob/main/.editorconfig Central Package Management in .NET - Simplify NuGet Dependencies https://www.milanjovanovic.tech/blog/central-package-management-in-net-simplify-nuget-dependencies Improving Code Quality in C# With Static Code Analysis https://www.milanjovanovic.tech/blog/improving-code-quality-in-csharp-with-static-code-analysis Check out my courses: https://www.milanjovanovic.tech/courses Read my Blog here: https://www.milanjovanovic.tech/blog Join my weekly .NET newsletter: https://www.milanjovanovic.tech Chapters 0:00 Creating the project 1:07 Code style - .editorconfig 2:48 Build configuration 4:20 Central package management 7:04 Code quality - static code analysis 10:42 Containerization 12:25 Orchestration - Docker Compose 13:18 Orchestration - Aspire 15:02 CI/CD pipeline - GitHub Actions

Comment