Solved

Considering namespaces while extending an ASP.NET MVC5 Identity Sample

Posted on 2014-10-21
1
223 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

Courses: Start Training Online With Pros, Today

Brush up on the basics or master the advanced techniques required to earn essential industry certifications, with Courses. Enroll in a course and start learning today. Training topics range from Android App Dev to the Xen Virtualization Platform.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Foolproof security solutions has become one of the key necessities of every e-commerce or Internet banking website. If you too own an online shopping site then its vital for you to equip your web portal with customer security features that can allow…
A publishing tool, a Version Control System, or a Collaboration Platform! These can be some of the defining words for the two very famous web-hosting Git repositories: Bitbucket and Github. Git is widely used amongst the programmers and developers f…
This video teaches viewers how to create their own website using cPanel and Wordpress. Tutorial walks users through how to set up their own domain name from tools like Domain Registrar, Hosting Account, and Wordpress. More specifically, the order in…
Use Wufoo, an online form creation tool, to make powerful forms. Learn how to choose which pages of your form are visible to your users based on their inputs. The page rules feature provides you with an opportunity to create if:then statements for y…

776 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