Rock Your Code: Coding Standards for Microsoft.NET
Announcing the 6th edition of my coding standards book for Microsoft .NET! Newly updated for .NET Core 3.1 and .NET Framework 4.8.
This book is a compilation of common Microsoft .NET coding standards in use today. In the past, for languages like Visual Basic, Microsoft published coding standards in a single document that developers could follow or use as a basis to build our own standards. Microsoft has not provided this with .NET. They have provided some standards on their document web site, but you would have to dig through many web pages, and there are little, or no examples provided.
Therefore, the purpose of this book is to consolidate the standards on the site, enhance them with additional standards and take guidance from Microsoft code checking programs like Visual Studio Analyze, FXCop and StyleCop.
This 15th-anniversary edition covers an evolving set of standards that includes over 100 new pages! New chapters include class design, application design, rules for source control, third-party applications and Visual Studio extensions (to analyze code for issues) and more! I use this book every day and I hope you will too.
By purchasing this book, you will be eligible to download a FREE licensed copy of CodeRush from DevExpress.com, the only code refactoring tool that I use.
Rock Your Code: Defensive Programming for Microsoft.NET
This book brings writing better code to the next level. Do you enjoy receiving bug tickets from QA? I didn’t think you would, so this session will provide solid practices that I have been using for most of my programming career to check-in to source only rock-solid code. You will learn my #1 mantra, along with 13+ rules, that I use while writing code that allows me to write new code (features) and stay out of maintenance mode hell. Even though code examples in this session are in .NET, the concepts can be applied to any language.
Rock Your Code: Code Performance for Microsoft.NET
How fast your code executes is very important for your users and back-end server processes. This is even more important for the future as more and more users, use your app or services. Thinking about performance while you are first writing the code will save tons of time and money in the future!
There are many ways to write the same block of code, some more performant than others. Short of requiring your users to purchase faster machines with more memory and faster processors or the same for back-end servers, this book will show you the best practices when writing business apps, so your code can run as fast as possible and could lead to cost savings for your servers or cloud services.
This book discusses and shows common code performance guidelines for Microsoft .NET. Topics include general tips, string performance, reference type & structure performance, collection performance, internationalization & localization and how to analyze code for performance problems and more.
This new edition of the book includes data from over 3,400 benchmark tests and has brand new chapters on serialization for JSON and XML, collection performance under simulated workloads and how to speed up performance using the dotNetTips.com NuGet packages. This book is written for Microsoft .NET Core 3 and Microsoft .NET version 4.8 using Visual Studio 2019. All examples in this book are in C#.
100% of all profit from the paperback version of this book will be donated to the Voice of Slum orphanage in Delhi, India. https://www.voiceofslum.org/
Rock Your Code: Code Quality Workshop
Do your Microsoft .NET projects suffer from performance, memory or maintainability issues? Does the code suffer from inconsistent standards leading to longer development time to fix or add features? Are you afraid to publish your apps to customers or to back-end servers? Do you have beginner or intermediate developers that need to learn proper coding methodologies? Well, then this workshop is for your team to learn the best practices that I have been using for over 25 years! This workshop, that is full of hands-on learning, will help your team overcome these issues and much, much more.
Here are just some of the topics that will be taught during this workshop to bullet-proof your .NET Framework and .NET Core apps.
- How to implement the proper architecture in client, server and cloud apps.
- How to write consistent, maintainable code.
- Proper application setup.
- Writing better types by properly implementing object-oriented programming techniques.
- How to practice good defensive programming.
- How to improve code and memory performance.
- Proper exception handling and logging.
- How to analyze your code and apps for issues including memory and performance issues.
- How to develop apps faster and better using third-party products.
Here is what some have said about the content in this workshop.
- Joseph D. – I saw this presentation and was a little shell-shocked about all the things that the other courses (Pluralsight, MVA, Channel 9) failed to state.
- Dong C.: As a programmer spending all last a few weeks hunting for a memory leak problem and race conditions, this session hit the exact bad habits we have made into the C# code.
- Derick L.: The content was spot-on. It’s interesting how often the same issues crop up in our work as software developers. There are many common pitfalls, and the presentation covered a number of them well. I like how real code was used in the presentation. These are not arbitrary contrivances; they are real issues, that happen in the real world, and have a real impact. I think our jobs would be a lot easier if we all spent just a few extra minutes here and there thinking about the impact of our design choices.
- Bob R. – Excellent presentation on code performance. David showed us how, why, and to what degree various coding methods improved the performance of an application. Lots of tips and tricks!
This workshop can be taught anywhere in the world and with a length from 1 to 2 days in length and will require attendees to have a computer/ laptop.
Computer Requirement Specs
Computer or laptop with Visual Studio 2019 installed. Also, pre-install CodeIt.Right from Submain.com
Contact David McCarter at email@example.com to schedule.