MVC without EF...
-
hey guys i'm trying out MVC with vs2013 and liking it but... the EF stuff is not to my liking as it seems really overkill for the sorts of web projects i do after a couple of days of head banging i think i understand the basics enough to build what i want but now i'm kinda stuck on how to implement logins are there any docs that might help? all those i find are referencing the MS solution and hence EF and the whole shooting match - i wanted something more lightweight or some docs on how to roll my own thanks in advance :)
"mostly watching the human race is like watching dogs watch tv ... they see the pictures move but the meaning escapes them"
-
hey guys i'm trying out MVC with vs2013 and liking it but... the EF stuff is not to my liking as it seems really overkill for the sorts of web projects i do after a couple of days of head banging i think i understand the basics enough to build what i want but now i'm kinda stuck on how to implement logins are there any docs that might help? all those i find are referencing the MS solution and hence EF and the whole shooting match - i wanted something more lightweight or some docs on how to roll my own thanks in advance :)
"mostly watching the human race is like watching dogs watch tv ... they see the pictures move but the meaning escapes them"
l a u r e n wrote:
i'm kinda stuck on how to implement logins
You implement them with a user-unique salt, and a strong hash. Login-logic is contaminated with security-issues and would make a bad example on how to remove the dependency to EF. Basically, you'd want to access a database from MVC, as shown on w3schools[^].
Bastard Programmer from Hell :suss: If you can't read my code, try converting it here[^]
-
l a u r e n wrote:
i'm kinda stuck on how to implement logins
You implement them with a user-unique salt, and a strong hash. Login-logic is contaminated with security-issues and would make a bad example on how to remove the dependency to EF. Basically, you'd want to access a database from MVC, as shown on w3schools[^].
Bastard Programmer from Hell :suss: If you can't read my code, try converting it here[^]
thanks man - that looks great :)
"mostly watching the human race is like watching dogs watch tv ... they see the pictures move but the meaning escapes them"