c# Programming Glossary: flexibility
Refactoring code to avoid anti-pattern http://stackoverflow.com/questions/11224170/refactoring-code-to-avoid-anti-pattern
C# - Correct Way to Load Assembly, Find Class and Call Run() Method http://stackoverflow.com/questions/1137781/c-sharp-correct-way-to-load-assembly-find-class-and-call-run-method have different security settings. If you want even more flexibility and power for dynamic loading and unloading of assemblies you..
Interface or abstract class? http://stackoverflow.com/questions/1165332/interface-or-abstract-class can't go wrong with this approach. Interfaces give you the flexibility to change implementation. Abstract classes give you boilerplate..
Best Practices of Test Driven Development Using C# and RhinoMocks [closed] http://stackoverflow.com/questions/124210/best-practices-of-test-driven-development-using-c-sharp-and-rhinomocks different reason. Interfaces provide a great deal of flexibility to the software developer beyond just support for various mock..
XML serialization of interface property http://stackoverflow.com/questions/1333864/xml-serialization-of-interface-property you can interact directly with the xml structure adding flexibility versioning Cons you may end up having to re implement the wheel..
What is the best scripting language to embed in a C# desktop application? [closed] http://stackoverflow.com/questions/137933/what-is-the-best-scripting-language-to-embed-in-a-c-sharp-desktop-application a complex rich desktop application and need to offer flexibility in reporting formats so we thought we would just expose our..
C# cleanest way to write retry logic? http://stackoverflow.com/questions/1563191/c-sharp-cleanest-way-to-write-retry-logic and the retry timeout out as parameters for a bit more flexibility public static class Retry public static void Do Action action..
How to create “embedded” SQL 2008 database file if it doesn't exist? http://stackoverflow.com/questions/1715691/how-to-create-embedded-sql-2008-database-file-if-it-doesnt-exist DDL we encode ours into C# because it provides more flexibility but you could equally run DDL scripts in sequence . Does it..
.NET Enumeration allows comma in the last field http://stackoverflow.com/questions/2147333/net-enumeration-allows-comma-in-the-last-field at the end of an array initializer. This syntax provides flexibility in adding or deleting members from such a list and simplifies..
What requirement was the tuple designed to solve? http://stackoverflow.com/questions/3089706/what-requirement-was-the-tuple-designed-to-solve which support tuple types natively provide a great deal of flexibility to their users they are an extremely useful set of data types...
Why is it considered bad to expose List<T>? http://stackoverflow.com/questions/387937/why-is-it-considered-bad-to-expose-listt their own custom implementers of IList T . For even more flexibility consider exposing some collections to IEnumerable T when appropriate...
Enterprise Library Unity vs Other IoC Containers http://stackoverflow.com/questions/411660/enterprise-library-unity-vs-other-ioc-containers the best support for C# 3.0 language features and the most flexibility in initialization. Note Chris Brandsma turned his original answer..
Dependency Injection vs Service Location http://stackoverflow.com/questions/4985455/dependency-injection-vs-service-location scope ie. in a static variable . This allows some flexibility but is not perfect. A better solution would be to inject an..
Recommend a C# Task Scheduling Library [closed] http://stackoverflow.com/questions/507247/recommend-a-c-sharp-task-scheduling-library that will let me schedule tasks with a fair amount of flexibility. Specifically I should be able to schedule things to run every..
Dictionary<T> of List<T> and ListViews in ASP.NET http://stackoverflow.com/questions/583689/dictionaryt-of-listt-and-listviews-in-asp-net typed access to its child controls. This gets you the flexibility of the ItemDataBound event without all the the casting and FindControl..
Injecting dependencies into ASP.NET MVC 3 action filters. What's wrong with this approach? http://stackoverflow.com/questions/7192543/injecting-dependencies-into-asp-net-mvc-3-action-filters-whats-wrong-with-this use a Service Locator question It mostly just reduces the flexibility of your dependency injection. For example what if you were injecting..
servicestack REST API and CORS http://stackoverflow.com/questions/8211930/servicestack-rest-api-and-cors hello world callback cb This is another example of the flexibility and productivity wins of using ServiceStack where you're literally.. ServiceStack where you're literally given friction free flexibility and expressive freedom in your web service to literally return..
Web Forms Tabular Control for this Scenario http://stackoverflow.com/questions/9771381/web-forms-tabular-control-for-this-scenario service We have control over the service Now I have full flexibility of deciding the behavior so long as the performance is good...
Releasing a unplugged virtual Serial Port http://stackoverflow.com/questions/9835881/releasing-a-unplugged-virtual-serial-port automatically installing the device driver etcetera. This flexibility comes at a price however a USB device always needs a device..
|