Solved

Considering namespaces while extending an ASP.NET MVC5 Identity Sample

Posted on 2014-10-21
1
209 Views
Last Modified: 2014-10-25
I have created an empty ASP.NET MVC Web Application in Visual Studio 2013, "MyApplication". I have used Nuget to download an import the MVC Identity Sample with this command:

Install-Package Microsoft.AspNet.Identity.Samples -Pre

I would now like to build on this project, adding routes, models, controllers and views. The namespace for any model I create is MyApplication.Models, but the existing models for the Identity Sample are derived from IdentitySample.Models.

Is this going to cause problems for me? If so, what is the better way to do this?
0
Comment
Question by:lynnwalker
1 Comment
 
LVL 96

Accepted Solution

by:
Bob Learned earned 500 total points
ID: 40397273
You could always change the namespaces for the added models to MyApplication.Models, and then you wouldn't have to add any additional includes.
0

Featured Post

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Developer tools in browsers have been around for a while, yet they are still heavily underused by developers. Developers still fix html or CSS then refresh page to see effect, or they put alert or debugger in JavaScript and then try again and again …
Real-time is more about the business, not the technology. In day-to-day life, to make real-time decisions like buying or investing, business needs the latest information(e.g. Gold Rate/Stock Rate). Unlike traditional days, you need not wait for a fe…
This video teaches users how to migrate an existing Wordpress website to a new domain.
Learn how to set-up custom confirmation messages to users who complete your Wufoo form. Include inputs from fields in your form, webpage redirects, and more with Wufoo’s confirmation options.

746 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now