Code scaffolding tool for VS - visual-studio-2010

Is there any good free scaffolding tool for Visual Studio 2010 MVC 3 project? I am looking for ability of generation code for entities, DAO, services and (it will be great) fluent NHibernate mappings and other.

It's an obvious answer, but have you seen the MVC Scaffolding stuff that Steve Sanderson has put together -
http://blog.stevensanderson.com/category/scaffolding/

Related

Making MVC templates available in a Class Library (VS 2017)

I have an Umbraco Cloud project I am working on in Visual Studio. Umbraco Cloud provides a script that creates a Visual Studio solution consisting of two projects: An MVC website containing the CMS' files, and a Class Library for the developer's own MVC code. The Class Library project contains a Controllers and a Models folder.
The problem I am having is that Visual Studio's MVC templates are not available from within the Class Library project. When I choose Add > New Item, I get many templates under "Visual C# Items" the Installed list, but nothing for MVC.
I understand that these templates are not needed to create MVC code, but they are helpful for me, and their absence is an inconvenience.
How can I make Visual Studio's MVC templates available in this Class Library project? I looked through this site for solutions, but came up with nothing. Any help is appreciated.
Thanks,
David

How to scaffold views from controller separately

I'm wondering if Visual Studio 2013 has any way to scaffold views using the controllers in MVC. I want to use a repository pattern, so for now I created that myself, and I would like to generate the views.
In Visual Studio 2012 I used the technique explained here by Scott Hanselman, but with the new scaffolding introduced in the new version of Visual Studio I was wondering if this is not supported natively
The scaffolding functionality appears to be embedded in Common7\IDE\Extensions\Microsoft\Web\Mvc\Scaffolding\Microsoft.AspNet.Scaffolding.Mvc.5.0.dll and I can't find any way to customize it further. So if there isn't a built-in means of scaffolding the way their used to be, it looks like you're doing to have to roll your own mechanism.

ASP.NET Webforms CRUD scaffolding with Entity Framework 5

Back in Feb MS introduced:
http://www.nuget.org/packages/Microsoft.AspNet.Scaffolding.WebForms/
http://blogs.msdn.com/b/webdev/archive/2013/02/20/pre-release-of-asp-net-scaffolding-with-a-web-forms-scaffold-generator.aspx
but it appears that it will be dropped from VS2013
ASP.NET Web Forms Scaffolding feature missing in VS 2013 RC
I followed the instructions here
http://dotnetguts.blogspot.com.au/2013/06/scaffolding-for-aspnet-webforms.html
to install the package under Visual Studio 2012 but when I go to add a scaffold the scaffold generator drop down is empty.
So my question is has anyone come across a free ASP.NET Webforms scaffolding solution that can be used with Entity Framework 5?
here it is, http://visualstudiogallery.msdn.microsoft.com/a6c3614f-83be-4749-afbc-8da394b6ea86
and the explanation here http://blogs.msdn.com/b/webdev/archive/2014/05/13/improvements-to-asp-net-web-forms.aspx?CommentPosted=true#commentmessage

Creating custom designer over XML file as VSIX 2010 package

We have a set of VS 2008 packages which leverages custom Project/Item templates, designers around XML files for our in house product development using VS. We are planning to move to VS 2010 and looking for migrating our VS 2008 packages to 2010. I see that there has been a rewrite of VS from ground up using WPF/MEF, but still could not figure out how we can leverage it for our packages. I am seeing some guidelines, samples and community material on how we should be extending the VS 2010 WPF based text editor, but could not find any reference implementations on how one should implement a custom designer on top of XML using the WPF/MEF APIs of VS SDK.
Only sample I have come across regards to any custom designer implementation so far was Example.XmlWpfDesigner - http://code.msdn.microsoft.com/Designer-View-Over-XML-20a81f17 which does not talk anything about WPF/MEF way of doing custom designers.
Has anybody come across any reference implementations along these lines? Any help regarding this would be much appreciated.
Thanks,
Siva
The sample you linked to is the right one to be looking at for a designer over an XML file. It is a WPF-design surface that edits VSTemplate XML files.
The only part of the VS API's that moved to MEF in VS 2010 was the core text editor. While you are welcome to use MEF for the implementation details of your designer, you'll still need to talk to the VS COM API's to do things like buffer management, interfacing with Source Control interfaces, etc...

Visual Studio tools for manual Entity Framework modelling

Is there any tooling or support in Visual Studio 2010 for manually creating Entity Framework models?
I'm finding the designer too restrictive in terms of mapping a reasonable complex conceptual model to an efficient and performant storage model and understand that part of this may be due to not all features being supported by the edmx designer in visual studio but have yet to find any support for working with it manually - if anything the lack of xml view on the edmx makes it harder.
I'm also open to suggestions for other ORMs I can look at to replace Entity Framework for use in ASP.NET MVC projects my main requirement being that it be quick and easy to configure.
You might be a good candidate for Code First Entity Framework, it's in CTP5 currently but worth checking out.
Here's a blog post from Scott Guthrie introducing EF Code First.

Resources