New pages
- 10:29, 19 November 2024 Hide logout button if user not logged in for ASP.Net Web App (hist) [701 bytes] Admin (talk | contribs) (Created page with "@{ var data = new Byte[20]; bool check = Context.Session.TryGetValue("_user", out data); if(check) { <p> your html goes here</p> } }")
- 14:27, 19 October 2024 Create register for ASP.Net Web App (hist) [3,094 bytes] Admin (talk | contribs) (Created page with " <syntaxhighlight lang=c#> public IActionResult OnPost() { User temp = new User(); string username = Request.Form["user"]; string pass1 = Request.Form["password...")
- 13:54, 16 October 2024 Create logout for ASP.Net Web App (hist) [538 bytes] Admin (talk | contribs) (Created page with "Create a new Razor Page called `logout`. Go to the logoutModel code section (right click it in solution explorer and select goto PageModel). Now change the `OnGet` method to...")
- 13:37, 16 October 2024 Create login for ASP.Net Web App (hist) [2,418 bytes] 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...")
- 13:29, 16 October 2024 Setup Session for ASP.Net Web App (hist) [2,001 bytes] Admin (talk | contribs) (Created page with "=Setting up Session for ASP.Net Core Web App= Using the nuget package manager you need to install `Microsoft.AspNetCore.Session`. The version I have used is 2.2.0. You can no...")
- 19:22, 8 October 2024 Connect MySQL to ASP.Net Web App (hist) [1,475 bytes] Admin (talk | contribs) (Created page with "==Install MySQL.Data== Using the Nuget Package Manager install the following: * MySql.Data; * MySql.Data.MySqlClient;")