Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. Design and Architecture
  4. MVC without EF...

MVC without EF...

Scheduled Pinned Locked Moved Design and Architecture
helpasp-netregexarchitecturetutorial
3 Posts 2 Posters 1 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • L Offline
    L Offline
    l a u r e n
    wrote on last edited by
    #1

    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 1 Reply Last reply
    0
    • L l a u r e n

      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 Offline
      L Offline
      Lost User
      wrote on last edited by
      #2

      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 1 Reply Last reply
      0
      • L Lost User

        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 Offline
        L Offline
        l a u r e n
        wrote on last edited by
        #3

        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"

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups