Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

using identity framework with .net 4.0

Posted on 2015-02-06
7
Medium Priority
?
433 Views
Last Modified: 2015-02-09
i have created a web form project with vs2013 and target framework is 4.0.  I can not install .net 4.5 on my server because of another program.  So what I am trying to do is use the identity model and owin with my 4.0 framework.

Can this even be done, and what nu-get packages must i install,  Also I have already created the database with changes to the memberusers table, so I want to connect to that.

I am receiving the message
'Microsoft.AspNet.Identity.Core 1.0.0'. You are trying to install this package into a project that targets '.NETFramework,Version=v4.0', but the package does not contai
n any assembly references or content files that are compatible with that framework.

thanks
0
Comment
Question by:mgmhicks
[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
7 Comments
 
LVL 70

Expert Comment

by:Éric Moreau
ID: 40595519
A single computer can run multiple version of the .Net Framework. Are you really sure the other app won't run if 4.5 is installed in addition to 4.0?
0
 

Author Comment

by:mgmhicks
ID: 40595606
Something must be different because we put 45 on and our program stopped working correctly talk to the vendor and they told us the same thing so I'm not sure how it runs totally separate, so identity model is only for version 4.5?
0
 
LVL 75

Expert Comment

by:käµfm³d 👽
ID: 40595630
.NET 4.5 overwrites some of 4.0's libraries. It's the only version of the Framework (that I'm aware of) that doesn't run truly side-by-side.
0
What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

 

Author Comment

by:mgmhicks
ID: 40596367
So please tell me, can I run the identity model in 4.0?
0
 
LVL 36

Expert Comment

by:Miguel Oz
ID: 40597539
NO. Asp.net Identity framework is part of .NET 4.5.1, thus you need this framework installed in your server and create your application using VS2013.
0
 

Author Comment

by:mgmhicks
ID: 40597544
its funny because if I create a mvc application, under .net 4.0 it automatically installs asp.net Identity framework and it seems to work fine?  So I thought there would be a way to use it with a web application.
0
 
LVL 36

Accepted Solution

by:
Miguel Oz earned 2000 total points
ID: 40597577
Please read Individual User Accounts section in this link.
Quoted from link:
The new membership system is implemented automatically in the new templates, and it can be implemented manually in any project that targets .NET 4.5 or later.
0

Featured Post

Veeam Disaster Recovery in Microsoft Azure

Veeam PN for Microsoft Azure is a FREE solution designed to simplify and automate the setup of a DR site in Microsoft Azure using lightweight software-defined networking. It reduces the complexity of VPN deployments and is designed for businesses of ALL sizes.

Question has a verified solution.

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

Parsing a CSV file is a task that we are confronted with regularly, and although there are a vast number of means to do this, as a newbie, the field can be confusing and the tools can seem complex. A simple solution to parsing a customized CSV fi…
It was really hard time for me to get the understanding of Delegates in C#. I went through many websites and articles but I found them very clumsy. After going through those sites, I noted down the points in a easy way so here I am sharing that unde…
In this video, Percona Director of Solution Engineering Jon Tobin discusses the function and features of Percona Server for MongoDB. How Percona can help Percona can help you determine if Percona Server for MongoDB is the right solution for …
We’ve all felt that sense of false security before—locking down external access to a database or component and feeling like we’ve done all we need to do to secure company data. But that feeling is fleeting. Attacks these days can happen in many w…

609 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