Create login for ASP.Net Web App

From TRCCompSci - AQA Computer Science
Revision as of 13:37, 16 October 2024 by Admin (talk | contribs) (Created page with "=Login Page for ASP.Net Web App= Create a new `Razor Page` and call it `login`. In the HTML for the page add the following form to allow the user to enter their username and...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Login Page for ASP.Net Web App

Create a new `Razor Page` and call it `login`.

In the HTML for the page add the following form to allow the user to enter their username and password:

	<h1 class="display-4">Login</h1>

	<form method="post">
		Username:<input type="Text" name="user">
		Password:<input type="password" name="password">
		<input type="submit">
	</form>