• Forms authentication can be easily implemented using login controls without writing any code.
• Login controls can perform different functions like prompting for user credentials, validating them and issuing authentication just as the Forms Authentication class.
• The Forms Authentication class is used in the background for the authentication ticket and ASP.NET membership is used to validate the user credentials.
• Login controls provides form authentication. If we implement authentication through Forms Authentication then we do it through code. On the other hand, login controls allows the easy implementation on the basis of Forms Authentication without writing any code. The class used for login controls are also Forms Authentication class. So instead of creating your own set of user credential validations and issuing of authentication ticket, it is simpler to use a normal login control.
Asked In: Many Interviews |