New pages
- 08:35, 18 December 2024 Create a edit page for ASP.Net Web App (hist) [1,666 bytes] Admin (talk | contribs) (Created page with "Create a new `razor` page to edit entries stored in a specific database table, ie Customers, Products and so on. Inside the Model (ie .cs file) create a variable to store eac...")
- 08:19, 18 December 2024 Passing a parameter to a page for ASP.Net Web App (hist) [612 bytes] Admin (talk | contribs) (Created page with "In the model for the page you should already have a `OnGet()` method. This is run when the page is loaded. So, you need to add the `HttpGet` command below just before the `On...")
- 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;")