From database..you need to check that ID and Password is correct in DB but in case of Windows based you need to work on Active directory concept
In ASP.NET MVC if you want to do it without any third party(Facebook, Google+), Simply you can do it from database by just matching username and password. But if you want to do it by third party, You can use OAuth functionality by doing that you need to take help of third party account's like Facebook, Google+ etc.
if you are using a visual studio u can use login control
use SSL!
check user name and password from data base if valid than application should be run
http://www.aspdotnet-suresh.com/2011/12/how-to-create-simple-login-form-using.html
Can use any kind of Authentication, 1) Windows simple and easy. 2) Forms use your own database to handle credentials 3) Passport - use API [Microsoft or Google or Facebook]
Check UserName and password from DB . This credential are correct should go to applications.
You can use the 1) Windows Authentication 2) Forms Based Authentication 3) Microsoft Passport AuthenticationYou can create your own login controls and write code to validate the username and password against database or xml or text based information. Or you can use inbuilt control.Asp.Net provides inbuilt login control: ASP.NET Login Controls: More information : https://msdn.microsoft.com/en-us/library/ms178329.aspx
just by Designing a login page and writing appropriate code for it
The main logic here is the usage of IF statement. If the ID entered exists in the database and the password entered matches the corresponding password in the the database, then the login is successful.
Do u want it as Database or Windows based??