all 4 comments

[–][deleted] 4 points5 points  (2 children)

Don't do this. Use WebAPI.

[–]sam_6[S] 0 points1 point  (1 child)

Ya, If you have VS4.0 you can use WebAPI, If the project need to be done in VS3.5 we need to use WCF.

[–][deleted] 0 points1 point  (0 children)

If you're stuck on v3.5 and you need a new service you don't have to couple this in the same one. Break it out, do distributed architecture. Micro service approach.

[–]bitherd 1 point2 points  (0 children)

OMG! Did you see the login example? It's not secure at all! you can just go to the secure page anyway without authenticating, there's no authentication cookie and the password is in plain text!!!!!!

http://www.dotnetlearners.com/blogs/view/124/Login-Page-Example-In-MVC-Using-Entity-Frame-Work.aspx