Click here to Skip to main content
15,887,453 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerRe: asp Pin
Richard MacCutchan22-Mar-16 3:10
mveRichard MacCutchan22-Mar-16 3:10 
AnswerRe: asp Pin
ZurdoDev22-Mar-16 9:01
professionalZurdoDev22-Mar-16 9:01 
QuestionHow to make editable Web page Pin
Member 1232991221-Mar-16 2:26
Member 1232991221-Mar-16 2:26 
AnswerRe: How to make editable Web page Pin
ZurdoDev21-Mar-16 10:28
professionalZurdoDev21-Mar-16 10:28 
AnswerRe: How to make editable Web page Pin
koolprasad200321-Mar-16 21:01
professionalkoolprasad200321-Mar-16 21:01 
AnswerRe: How to make editable Web page Pin
F-ES Sitecore22-Mar-16 1:35
professionalF-ES Sitecore22-Mar-16 1:35 
QuestionMVC5 Identity Stuff Pin
#realJSOP21-Mar-16 1:57
mve#realJSOP21-Mar-16 1:57 
AnswerRe: MVC5 Identity Stuff Pin
jkirkerx21-Mar-16 9:56
professionaljkirkerx21-Mar-16 9:56 
Not the anwser your looking for. But are you talking about the OWIN Identity?

I'm on my 3rd MVC project now, and I'm happy with it so far. I dumped OWIN, stripped it out and replaced it with my own stuff. The OWIN was overkill for me. I didn't need all those features, and it was too time consuming to setup for me. Plus I could not modify it, no source code for it. And it kept changing too fast to keep pace with.

I'm running 3 sets of credentials, customer, owner and anonymous or non-registered customer.

I made a DLL called security, and just used PWDTK for the password, and wrote separate attributes for security that I use in the controller.

So the Attr [AdminSecurityCheck] runs each time the controller runs the page, and does all the checking, programs the HttpContext.CurrentUser, and sets Session Vars. It only lives for the lifecycle of the page.

I have 3 of these now, and will just add more features to it later. If the identity fails, it routes the user to the login page for that controller. It also loads the complete identity of the user with there avatar image, everything I need to identify or use the identity, such as email address.
[AdminSecurityCheck]
public ActionResult OrderProcessing()
{

}

I have no clue what others are doing. I did ask a similar question 3 months ago and heard the sound of crickets on it.

I sort of reversed engineered OWIN and created my own stuff, but there's too much code to post, and I'm not sure if your really interested in what I did.

The 2nd question, did you create a MVC project, I did what you did like 3 times to get that option to show. I found even if you create a DLL for MVC, you have to create a MVC project, and strip out what you don't need.
GeneralMessage Closed Pin
21-Mar-16 19:21
professionaldeepankarbhatnagar21-Mar-16 19:21 
GeneralRe: MVC5 Identity Stuff Pin
jkirkerx22-Mar-16 7:42
professionaljkirkerx22-Mar-16 7:42 
GeneralRe: MVC5 Identity Stuff Pin
#realJSOP22-Mar-16 1:34
mve#realJSOP22-Mar-16 1:34 
GeneralRe: MVC5 Identity Stuff Pin
F-ES Sitecore22-Mar-16 1:38
professionalF-ES Sitecore22-Mar-16 1:38 
GeneralRe: MVC5 Identity Stuff Pin
#realJSOP22-Mar-16 2:10
mve#realJSOP22-Mar-16 2:10 
GeneralRe: MVC5 Identity Stuff Pin
jkirkerx22-Mar-16 7:40
professionaljkirkerx22-Mar-16 7:40 
GeneralRe: MVC5 Identity Stuff Pin
#realJSOP23-Mar-16 1:38
mve#realJSOP23-Mar-16 1:38 
GeneralRe: MVC5 Identity Stuff Pin
jkirkerx23-Mar-16 6:50
professionaljkirkerx23-Mar-16 6:50 
GeneralSound generation Pin
Member 1240519820-Mar-16 10:11
Member 1240519820-Mar-16 10:11 
AnswerRe: Sound generation Pin
Afzaal Ahmad Zeeshan20-Mar-16 22:46
professionalAfzaal Ahmad Zeeshan20-Mar-16 22:46 
Questioni'm getting this error(Object reference not set to an instance of an object) when i"m runnig web form in asp.net Pin
Member 1240352919-Mar-16 5:50
Member 1240352919-Mar-16 5:50 
AnswerRe: i'm getting this error(Object reference not set to an instance of an object) when i"m runnig web form in asp.net Pin
Sascha Lefèvre19-Mar-16 8:54
professionalSascha Lefèvre19-Mar-16 8:54 
GeneralRe: i'm getting this error(Object reference not set to an instance of an object) when i"m runnig web form in asp.net Pin
Richard MacCutchan19-Mar-16 22:16
mveRichard MacCutchan19-Mar-16 22:16 
SuggestionRe: i'm getting this error(Object reference not set to an instance of an object) when i"m runnig web form in asp.net Pin
Richard Deeming21-Mar-16 3:05
mveRichard Deeming21-Mar-16 3:05 
QuestionBootstrap or Metro-UI Pin
xiecsuk18-Mar-16 23:17
xiecsuk18-Mar-16 23:17 
AnswerRe: Bootstrap or Metro-UI Pin
Afzaal Ahmad Zeeshan19-Mar-16 22:57
professionalAfzaal Ahmad Zeeshan19-Mar-16 22:57 
GeneralRe: Bootstrap or Metro-UI Pin
xiecsuk20-Mar-16 23:16
xiecsuk20-Mar-16 23:16 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.