Join Reynald Adolphe for an in-depth discussion in this video Web and DB best practice resources, part of C# Best Practices for Developers.
- [Instructor] So we've covered quite a bit of material in respect to best practices. However we really barely scratched the surface. There's a lot of information to cover and it can be overwhelming. But one of the things that I wanted to do is to point out the importance of having some resources at your tips that you occasionally reference in order to keep you on the edge knowing the latest practices that are going on and that are relevant, and also to encourage you to come up with your own because eventually someone came up with the practices that are already out there, so there's no reason why you can't do the same yourself as you get better with it, with experience.
So I want to go ahead and show you a few sites that I jotted that I thought were relevant during my career and wanted to share them with you. One of them is C# Corner and I was looking at this article here in respect to ASP.NET Web Application performance and as it relates to best practices and I found it pretty intriguing but I did want to point out this site because this is one that I've referenced many times throughout my career and it's one that I highly recommend.
If you ever start doing some work with some databases and you do some research on the internet, there's a good chance you may come across the SQL Authority. This guy here has written many many blogs in respect to SQL and he really knows his stuff and this right here is some of the best practices that he put down in his own opinion on the topic of SQL so I wanted to share this page especially if you do a lot of work with SQL.
Stack Overflow. I can't emphasize the importance of not only using this as a resource if you ever get stuck trying to figure out issues, but also to get good at using the interface and knowing how to ask appropriate questions that will get responses so I've been using this over ten years. I don't use it as much these days but when I was just starting out, it was definitely a life saver and it saved me many many hours and I sometimes feel guilty that I don't contribute as much to this website with answers as I've gotten answers from it.
One other website that I'd like to point out and this is actually from a podcast is .NET Rocks. These two guys here really love .NET and they've had some really good shows on their podcast and I've learned a lot in respect to .NET technology, best practices, and also a lot more information that I would not have gotten just from articles because it's a lot easier to read podcasts while driving to work. And last but not least, good old Microsoft's website.
Definitely don't forget to bookmark this. There's a lot of areas where they refer to coding conventions and best practices, so I definitely did not want to leave that out but in the end, these are just some of my favorite sites to use as resource and I highly recommend that you have a few of your own that you use if you don't already do that and also consider writing some best practices of your own and sharing them.
- Naming and handling classes
- Running a unit test
- Using constructors
- Naming and handling methods, fields, and properties
- Using properties correctly
- Managing objects efficiently
- Common design patterns as best practices