Solved

Considering namespaces while extending an ASP.NET MVC5 Identity Sample

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

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Simple Injector with Web Service 4 55
Programmatically storing deadlock graphs with SQL Server 6 52
Cant save 3D 4 23
C# winforms programmitically move panels 6 44
These days, all we hear about hacktivists took down so and so websites and retrieved thousands of user’s data. One of the techniques to get unauthorized access to database is by performing SQL injection. This article is quite lengthy which gives bas…
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
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.
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.

828 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