Thursday, May 12, 2016

How to add ASP.NET MVC default membership scaffolding to existing project?

Why not to start with non-empty ANM project? 1st, you think that you don't need this. Then, small test/learning project changes. On any action like 1st user registration objects are checked in configured MS SQL DB and created, and you can use existing one with your objects.
But when I was merging "membership-scaffolded" with "empty created" I noticed that bundling was used in 1st one while in 2nd one same set of default styles, scripts, etc is simply attached via HTML tags. Source code tab/space formatting differs... So even if you can merge both (and better  if merging of 2nd one into 1st one), it's better to always start with "membership-scaffolded"

No comments:

Post a Comment