![]() It created a dummy "MyModelType" class where you had to then rely on Visual Studio refactoring tools to perform a "rename" operation everywhere.State was held by a static in-memory dictionary which, while good for a demo, you have to replace.However, there are several aspects of the NuGet-only approach that are not ideal: ![]() This consisted of a NuGet package which added the appropriate references and provided starter code for a basic HTTP CRUD service (I included a 6-minute screencast showing it in action). Recently I did a post that showed how easy it was to get up and running with Web API by leveraging NuGet. To that end, we can enjoy the same power of MvcScaffolding in non-MVC projects like the WCF Web API. T4Scaffolding can be used as the basis for any scaffolding – not just MVC projects. ![]() ![]() The best part about the scaffolding infrastructure is that MvcScaffolding is actually built on top of another package called T4Scaffolding. Earlier this year, Steve Sanderson posted the definitive 7-part series on MvcScaffolding which is a must-read for anyone serious about doing scaffolding. MvcScaffolding is a tremendous productivity improvement for MVC developers.
0 Comments
Leave a Reply. |