My department is beginning to look into ways to make standards easier and more adopted. The basic goal is to build a small number of highly useful Visual Studio tools for our team to use to make using standards easier and more efficient. As many of us know, Visual Studio has numerous features to facilitate this. (Macros, T4, Add-Ins, Custom Project Types, etc.)
Basic Goals:
I'm deliberately posting this before I bone up on T4/Macros/whatever because I'm interested more in high-level thoughts and I don't want to limit things to one code generating tech. Our goal is to create something useful and handy for every developer in IT, NOT to show-off fancy stuff Alpha-geek style. Remember this will be rolled out to dozens of developers of all skill levels, and we are only focusing on broad usage stuff.
Basic Goals:
- Generate common boilerplate painlessly
- Help cross training by encouraging code reuse and similar architechture of apps.
- Focus the system on being highly useable and easy/desirable to adopt. Focus on a few big pain-points and don't create a gigantic monster that intimidates people new to it.
- Deliver value immediately to transfer coders (coders transfering to the .NET toolchain coding from other tech)
I'm deliberately posting this before I bone up on T4/Macros/whatever because I'm interested more in high-level thoughts and I don't want to limit things to one code generating tech. Our goal is to create something useful and handy for every developer in IT, NOT to show-off fancy stuff Alpha-geek style. Remember this will be rolled out to dozens of developers of all skill levels, and we are only focusing on broad usage stuff.
- What really good uses for department-wide code generation tools have you seen?
- What seemingly good ideas flopped and never got used? Why didn't people use it?
- Any known areas that the built-in tools stink at?
- Any good & efficient ways to keep it documented? (So new hires can learn it quickly, and also so new functionality gets communicated to the existing developers who need it)
- Which tech (macros, T4, etc.) works best for multiple-project-in-a-solution boilerplate? (E.G. Boilerplate to pass n-tier calls across the tiers from UI to db) Can this be done, or are the tools limited to one assembly at a time?
- Any other tips/tricks to aid developer adoption?
- Any recommended reading on the subject? Book/blog/tutorial/etc.
