The For Those About to Code: Worldwide Tour 2022 will land in Delhi, India on October 14th – 15th at the C# Corner Conference 2022! I’m so excited to come back to India so I can present the sessions below. I will also be in Mumbi and Jaipur. I can’t wait to hang out with my friends and followers from India. I’ve missed you all during the COVID-19 pandemic.
RÖCK YOÜR CÖDE: EVERYTHING THAT EVERY .NET DEVELOPER NEEDS TO KNOW ABOUT DISPOSABLE TYPES
Is your application or service running slow? Are they gobbling up too much memory? Do you have to reboot servers or services every once in a while, and you have no idea why? Well, I know exactly why! I have reviewed millions of lines of code from Microsoft .NET projects and hands down, the number one issue is not handing disposable types correctly.
Microsoft .NET has been around for 20 years and one thing that is very critical for every developer to know is exactly how memory management works in the runtime. If you don’t, you will cause performance issues but more serious is causing virtual memory leaks. The way that .NET was designed back in the late ’90s is that it does not have memory leaks in the true sense, but it can create virtual memory leaks.
In this session, I will show examples and metrics from a real-world in-production solution. If developers do not deal with these types when the code is first written, it will be very, very expensive and time-consuming to fix later down the road (if they even get fixed). The main topics covered in this session are properly disposing of objects, and how to properly implement the IDisposable interface for types that you create, and I will finish up by showing tools that can help you find these issues so you too can be a Code Shark!
This is part of my series titled “Improving Code Quality… One Developer at A Time”.
Röck Yoür Cöde: Code & App Performance for Microsoft .NET
The performance of code is always something that is very important. It’s even more important if your back-end apps are processing tens of thousands of requests per second which includes microservices. In this session, I will reveal the dos and don’ts when it comes to improving code performance when writing business software. Some code I will show can be up to 98% faster! Reducing the memory that your app uses is also very important and will be discussed in detail. All demos in this session work with .NET.
All performance results will be for .NET 6 & 7!
HERE IS WHAT ATTENDEES ARE SAYING ABOUT THIS SESSION
Bob R. – David gave an excellent presentation on code performance. He showed us how, why, and to what degree various coding methods improved the performance of an application. Lots of tips and tricks!
Will S. – David McCarter rocked us with .NET performance tips and tricks! And you all should follow it, like a roadie!
This is part of my “Improving Code Quality… One Developer at A Time” series.
- David’s books on Amazon: http://bit.ly/RockYourCodeBooks
- Donate to the Voice of Slum NGO in India: https://www.voiceofslum.org/
- Become a Sponsor for Dave’s Open Source Projects: https://github.com/sponsors/RealDotNetDave
- Buy Dave a cup of Coffee: https://www.buymeacoffee.com/dotnetdave
- Pick up swag from the Rockin’ the Code World store: https://bit.ly/RCWStore