c# Programming Glossary: encourages
Is it possible to force an auto-property to use a readonly backing field? http://stackoverflow.com/questions/1050761/is-it-possible-to-force-an-auto-property-to-use-a-readonly-backing-field properties as it eliminates a lot of boilerplate code and encourages use of the property member rather than the backing field. However..
C# Excel automation causes Excel memory leak http://stackoverflow.com/questions/13483523/c-sharp-excel-automation-causes-excel-memory-leak variable do not chain call members even if Intellisense encourages it. Chained calling does some stuff in the background that prevents..
Cannot access non-static field http://stackoverflow.com/questions/1430787/cannot-access-non-static-field the very least the base constructor has run. This feature encourages sensible well ordered understandable maintainable and bug free..
Recommended ServiceStack API Structure http://stackoverflow.com/questions/15231537/recommended-servicestack-api-structure expose your services under any custom route. ServiceStack encourages a message based design so you should give each operation a distinct..
ServiceStack Request DTO design http://stackoverflow.com/questions/15927475/servicestack-request-dto-design ServiceStack's approach WCF vs ServiceStack API Design WCF encourages you to think of web services as normal C# method calls e.g public.. ServiceStack Message Based API Design Whilst ServiceStack encourages you to retain a Message based Design public class FindProducts..
Should I learn VB.NET or C#? [closed] http://stackoverflow.com/questions/1653895/should-i-learn-vb-net-or-c easier to get just look at StackOverflow . VB also still encourages some bad practices if you don ™t pay attention in particular..
How do I update the parent viewmodel when child viewmodel is updated http://stackoverflow.com/questions/18405470/how-do-i-update-the-parent-viewmodel-when-child-viewmodel-is-updated easily extensible any object can listen for changes and it encourages loose coupling of the ViewModel and Model objects You could..
Enum and property naming conflicts http://stackoverflow.com/questions/211567/enum-and-property-naming-conflicts is no conflict. In fact the .NET Framework style guide encourages you to do this e.g. if you have a class that has a single property..
What is the best way to do unit testing for ASP.NET 2.0 web pages? [closed] http://stackoverflow.com/questions/4363/what-is-the-best-way-to-do-unit-testing-for-asp-net-2-0-web-pages to go . Once you've selected a framework pattern that encourages testability you need to use a unit testing tool. NUnit is a..
Is ASP.NET MVC 3 ready for business applications http://stackoverflow.com/questions/6124598/is-asp-net-mvc-3-ready-for-business-applications reusable widgets binding JSON data for example. WebForms encourages the use of server side controls since they integrate nicely..
Why was IEnumerable<T> made covariant in C# 4? http://stackoverflow.com/questions/6732299/why-was-ienumerablet-made-covariant-in-c-sharp-4 that takes a sequence of Animals questions because LINQ encourages the use of sequence types. We knew that we wanted to add covariance..
If strings are immutable in .NET, then why does Substring take O(n) time? http://stackoverflow.com/questions/6742923/if-strings-are-immutable-in-net-then-why-does-substring-take-on-time in the first place. So using a persistent strategy that encourages reuse of most of the memory is also not a win all you've done..
|