Solved

Considering namespaces while extending an ASP.NET MVC5 Identity Sample

Posted on 2014-10-21
1
244 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Don't Cry: How Liquid Web is Ensuring Security

WannaCry is just the start. Read how Liquid Web is protecting itself and its customers against new threats.

Question has a verified solution.

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

What is Node.js? Node.js is a server side scripting language much like PHP or ASP but is used to implement the complete package of HTTP webserver and application framework. The difference is that Node.js’s execution engine is asynchronous and event…
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…
Learn how to set-up PayPal payment integration in your Wufoo form. Allow your users to remit payment through PayPal upon completion of your online form. This is helpful for collecting membership payments, customer payments, donations, and more.

688 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