Solved

Considering namespaces while extending an ASP.NET MVC5 Identity Sample

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
VB.NET HttpWebRequest 12 55
c# string handling 1 26
Name space syntax error 12 40
Error when loading the database 16 55
Thoughout my experience working on eCommerce web applications I have seen applications succumbing to increased user demand and throughput. With increased loads the response times started to spike, which leads to user frustration and lost sales. I ha…
This article aims to explain the working of CircularLogArchiver. This tool was designed to solve the buildup of log file in cases where systems do not support circular logging or where circular logging is not enabled
Wufoo.com provides powerful tools for surveying targeted groups, and utilizing data from completed surveys to find trends, discover areas of demand or customer expectation, and make business decisions on products or services.
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.

911 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

25 Experts available now in Live!

Get 1:1 Help Now