Category - Forms Authentication
26 May 2020 26 May 2020 0 Comments  22593 Views
Here Mudassar Ahmed Khan has explained with an example, how to send email using jQuery in ASP.Net using C# and VB.Net.

The jQuery AJAX function will call a Web Service (Web Method) which will send email using Gmail SMTP Mail Server.

Once the Email is sent, a Confirmation will be sent back to the jQuery AJAX function which in turn will be display a Success message using JavaScript Alert Message Box.
30 Apr 2020 30 Apr 2020 2 Comments  38378 Views
Here Mudassar Ahmed Khan has explained with an example, how to build a simple user Registration and Login forms in ASP.Net MVC Razor.

The user Registration and Login forms will be built using SQL Server Database.

The Database connection and operations for user Registration and Login forms will be performed using Entity Framework in ASP.Net MVC Razor.
28 Apr 2020 28 Apr 2020 0 Comments  7411 Views
Here Mudassar Ahmed Khan has explained with an example, how to use FormsAuthentication.SignOut method for implementing Logout functionality in ASP.Net MVC Razor.

This User Login form will be implemented using Custom Forms Authentication and Entity Framework in ASP.Net MVC Razor.
28 Apr 2020 28 Apr 2020 0 Comments  29313 Views
Here Mudassar Ahmed Khan has explained with an example, how to implement Logout functionality in ASP.Net MVC Razor.

This User Login form will be implemented using Custom Forms Authentication and Entity Framework in ASP.Net MVC Razor.

The Logout functionality will be performed using the FormsAuthentication.SignOut method in ASP.Net MVC Razor.
28 Apr 2020 28 Apr 2020 0 Comments  13180 Views
Here Mudassar Ahmed Khan has explained with an example, how to implement and use the LoginName control in ASP.Net using C# and VB.Net.

In this article, the login form has been implemented using ASP.Net Login control and Forms Authentication.

The LoginName control is used to display the Username of the Logged in User in ASP.Net.
28 Apr 2020 28 Apr 2020 0 Comments  8079 Views
Here Mudassar Ahmed Khan has explained with an example, how to implement and use the LoginStatus control in ASP.Net using C# and VB.Net.

In this article, the login form has been implemented using ASP.Net Login control and Forms Authentication.

The LoginStatus control is used to perform Logout functionality in ASP.Net.
28 Apr 2020 28 Apr 2020 0 Comments  12459 Views
Here Mudassar Ahmed Khan has explained with an example, how to implement simple user login form with Logout functionality in ASP.Net using C# and VB.Net.

The login form has been implemented using ASP.Net Login control and Forms Authentication.

The Logout functionality will be performed with the help of LoginStatus control in ASP.Net.
20 Mar 2020 20 Mar 2020 0 Comments  16519 Views
Here Mudassar Ahmed Khan has explained with an example, how to permanently keep User Logged in for long period even when browser closed and automatically login the User back when he visits next time using Forms Authentication and Cookies in ASP.Net MVC Razor.

This User Login form and keeping User Logged in functionality will be implemented using Custom Forms Authentication and Entity Framework.
20 Mar 2020 20 Mar 2020 0 Comments  34181 Views
Here Mudassar Ahmed Khan has explained with an example, how to implement Remember Me CheckBox functionality i.e. Remember the UserName and Password for the user when he visits next time using Cookies in ASP.Net MVC Razor.

This User Login form and Remember Me CheckBox functionality will be implemented using Custom Forms Authentication and Entity Framework.
16 Jul 2018 17 Jul 2018 0 Comments  23262 Views
Here Mudassar Ahmed Khan has explained with an example, how to implement custom Authorization and Authentication using Forms Authentication in ASP.Net MVC Razor.

This article will illustrate how to implement a login form which validates user login from database using Forms Authentication in ASP.Net MVC Razor.
16 Jul 2018 17 Jul 2018 0 Comments  16050 Views
Here Mudassar Ahmed Khan has explained with an example, how to implement and use the Authorize and AllowAnonymous Data Annotation attributes with Forms Authentication in ASP.Net MVC Razor.
16 Jul 2018 17 Jul 2018 1 Comments  143673 Views
Here Mudassar Ahmed Khan has explained with an example, how to implement a simple login form using Forms Authentication which validates user login from database and also redirects user to Login page if the user is not Authenticated (logged in) and tries to access a page that requires authentication in ASP.Net MVC Razor.

The Login page URL will be set in the authentication section of the Web.Config file and the User will be redirected back to Login page if not logged in using the Authorize Data Annotation attribute in ASP.Net MVC Razor.