26 | Category Name 27 | | 28 |29 | Display Order 30 | | 31 |32 | |
---|---|---|
@obj.Name | 39 |40 | @obj.DisplayOrder 41 | | 42 |
43 |
44 |
45 | Edit
46 |
47 |
48 | Delete
49 |
50 |
51 | |
52 |
Name | 25 |Address | 26 |City | 27 |State | 28 |Phone Number | 29 |30 | |
---|
Title | 26 |ISBN | 27 |Price | 28 |Author | 29 |Category | 30 |31 | |
---|
Name | 14 |Phone | 16 |Company | 17 |Role | 18 |19 | |
---|
@product.Title
22 |by @product.Author
23 |26 | List Price: 27 | 28 | @product.ListPrice.ToString("c") 29 | 30 |
31 |34 | As low as: 35 | 36 | @product.Price100.ToString("c") 37 | 38 |
39 |Use this page to detail your site's privacy policy.
7 | -------------------------------------------------------------------------------- /BulkyWeb/Areas/Customer/Views/_ViewImports.cshtml: -------------------------------------------------------------------------------- 1 | @using Bulky 2 | @using Bulky.Models 3 | @using Bulky.Models.ViewModels 4 | @using Bulky.Utility 5 | @addTagHelper *, Microsoft.AspNetCore.Mvc.TagHelpers 6 | -------------------------------------------------------------------------------- /BulkyWeb/Areas/Customer/Views/_ViewStart.cshtml: -------------------------------------------------------------------------------- 1 | @{ 2 | Layout = "_Layout"; 3 | } 4 | -------------------------------------------------------------------------------- /BulkyWeb/Areas/Identity/Pages/Account/AccessDenied.cshtml: -------------------------------------------------------------------------------- 1 | @page 2 | @model AccessDeniedModel 3 | @{ 4 | ViewData["Title"] = "Access denied"; 5 | } 6 | 7 |You do not have access to this resource.
10 |9 | Please check your email to reset your password. 10 |
11 | -------------------------------------------------------------------------------- /BulkyWeb/Areas/Identity/Pages/Account/ForgotPasswordConfirmation.cshtml.cs: -------------------------------------------------------------------------------- 1 | // Licensed to the .NET Foundation under one or more agreements. 2 | // The .NET Foundation licenses this file to you under the MIT license. 3 | #nullable disable 4 | 5 | using Microsoft.AspNetCore.Authorization; 6 | using Microsoft.AspNetCore.Mvc.RazorPages; 7 | 8 | namespace BulkyWeb.Areas.Identity.Pages.Account 9 | { 10 | ///This account has been locked out, please try again later.
10 |Your login is protected with an authenticator app. Enter your authenticator code below.
10 |33 | Don't have access to your authenticator device? You can 34 | log in with a recovery code. 35 |
36 | 37 | @section Scripts { 38 |10 | You have requested to log in with a recovery code. This login will not be remembered until you provide 11 | an authenticator app code at log in or disable 2FA and log in again. 12 |
13 |You have successfully logged out of the application.
19 | } 20 | } 21 |12 | Deleting this data will permanently remove your account, and this cannot be recovered. 13 |
14 |13 | This action only disables 2FA. 14 |
15 |16 | Disabling 2FA does not change the keys used in authenticator apps. If you wish to change the key 17 | used in an authenticator app you should reset your authenticator keys. 18 |
19 |To use an authenticator app go through the following steps:
12 |15 | Download a two-factor authenticator app like Microsoft Authenticator for 16 | Android and 17 | iOS or 18 | Google Authenticator for 19 | Android and 20 | iOS. 21 |
22 |Scan the QR Code or enter this key @Model.SharedKey into your two factor authenticator app. Spaces and casing do not matter.
25 |31 | Once you have scanned the QR code or input the key above, your two factor authentication app will provide you 32 | with a unique code. Enter the code in the confirmation box below. 33 |
34 |@login.ProviderDisplayName | 18 |19 | @if (Model.ShowRemoveButton) 20 | { 21 | 28 | } 29 | else 30 | { 31 | @: 32 | } 33 | | 34 |
12 | 13 | Put these codes in a safe place. 14 |
15 |16 | If you lose your device and don't have the recovery codes you will lose access to your account. 17 |
18 |19 | Generating new recovery codes does not change the keys used in authenticator apps. If you wish to change the key 20 | used in an authenticator app you should reset your authenticator keys. 21 |
22 |Your account contains personal data that you have given us. This page allows you to download or delete that data.
13 |14 | Deleting this data will permanently remove your account, and this cannot be recovered. 15 |
16 | 19 |20 | Delete 21 |
22 |12 | 13 | If you reset your authenticator key your authenticator app will not work until you reconfigure it. 14 |
15 |16 | This process disables 2FA until you verify your authenticator app. 17 | If you do not complete your authenticator app configuration you may lose access to your account. 18 |
19 |11 | You do not have a local username/password for this site. Add a local 12 | account so you can log in without an external login. 13 |
14 |12 | Put these codes in a safe place. 13 |
14 |15 | If you lose your device and don't have the recovery codes you will lose access to your account. 16 |
17 |@Model.RecoveryCodes[row]
@Model.RecoveryCodes[row + 1]
12 | This app does not currently have a real email sender registered, see these docs for how to configure a real email sender. 13 | Normally this would be emailed: Click here to confirm your account 14 |
15 | } 16 | else 17 | { 18 |19 | Please check your email to confirm your account. 20 |
21 | } 22 | } 23 | 24 | -------------------------------------------------------------------------------- /BulkyWeb/Areas/Identity/Pages/Account/ResendEmailConfirmation.cshtml: -------------------------------------------------------------------------------- 1 | @page 2 | @model ResendEmailConfirmationModel 3 | @{ 4 | ViewData["Title"] = "Resend email confirmation"; 5 | } 6 | 7 |9 | Your password has been reset. Please click here to log in. 10 |
11 | -------------------------------------------------------------------------------- /BulkyWeb/Areas/Identity/Pages/Account/ResetPasswordConfirmation.cshtml.cs: -------------------------------------------------------------------------------- 1 | // Licensed to the .NET Foundation under one or more agreements. 2 | // The .NET Foundation licenses this file to you under the MIT license. 3 | #nullable disable 4 | 5 | using Microsoft.AspNetCore.Authorization; 6 | using Microsoft.AspNetCore.Mvc.RazorPages; 7 | 8 | namespace BulkyWeb.Areas.Identity.Pages.Account 9 | { 10 | ///
13 | Request ID: @Model.RequestId
14 |
19 | Swapping to Development environment will display more detailed information about the error that occurred. 20 |
21 |22 | Development environment should not be enabled in deployed applications, as it can result in sensitive information from exceptions being displayed to end users. For local debugging, development environment can be enabled by setting the ASPNETCORE_ENVIRONMENT environment variable to Development, and restarting the application. 23 |
24 | -------------------------------------------------------------------------------- /BulkyWeb/Areas/Identity/Pages/Error.cshtml.cs: -------------------------------------------------------------------------------- 1 | // Licensed to the .NET Foundation under one or more agreements. 2 | // The .NET Foundation licenses this file to you under the MIT license. 3 | #nullable disable 4 | 5 | using System.Diagnostics; 6 | using Microsoft.AspNetCore.Authorization; 7 | using Microsoft.AspNetCore.Mvc; 8 | using Microsoft.AspNetCore.Mvc.RazorPages; 9 | 10 | namespace BulkyWeb.Areas.Identity.Pages 11 | { 12 | ///
13 | Request ID: @Model.RequestId
14 |
19 | Swapping to Development environment will display more detailed information about the error that occurred. 20 |
21 |22 | The Development environment shouldn't be enabled for deployed applications. 23 | It can result in displaying sensitive information from exceptions to end users. 24 | For local debugging, enable the Development environment by setting the ASPNETCORE_ENVIRONMENT environment variable to Development 25 | and restarting the app. 26 |
27 | -------------------------------------------------------------------------------- /BulkyWeb/Views/Shared/_Layout.cshtml.css: -------------------------------------------------------------------------------- 1 | /* Please see documentation at https://learn.microsoft.com/aspnet/core/client-side/bundling-and-minification 2 | for details on configuring this project to bundle and minify static web assets. */ 3 | 4 | a.navbar-brand { 5 | white-space: normal; 6 | text-align: center; 7 | word-break: break-all; 8 | } 9 | 10 | /*a { 11 | color: #0077cc; 12 | } 13 | */ 14 | .btn-primary { 15 | color: #fff; 16 | background-color: #1b6ec2; 17 | border-color: #1861ac; 18 | } 19 | 20 | .nav-pills .nav-link.active, .nav-pills .show > .nav-link { 21 | color: #fff; 22 | background-color: #1b6ec2; 23 | border-color: #1861ac; 24 | } 25 | 26 | .border-top { 27 | border-top: 1px solid #e5e5e5; 28 | } 29 | .border-bottom { 30 | border-bottom: 1px solid #e5e5e5; 31 | } 32 | 33 | .box-shadow { 34 | box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .05); 35 | } 36 | 37 | button.accept-policy { 38 | font-size: 1rem; 39 | line-height: inherit; 40 | } 41 | 42 | .footer { 43 | position: absolute; 44 | bottom: 0; 45 | width: 100%; 46 | white-space: nowrap; 47 | line-height: 60px; 48 | } 49 | -------------------------------------------------------------------------------- /BulkyWeb/Views/Shared/_LoginPartial.cshtml: -------------------------------------------------------------------------------- 1 | @using Microsoft.AspNetCore.Identity 2 | 3 | @inject SignInManager22 | Category Name 23 | | 24 |25 | Display Order 26 | | 27 |28 | |
---|---|---|
@obj.Name | 35 |36 | @obj.DisplayOrder 37 | | 38 |
39 |
40 |
41 | Edit
42 |
43 |
44 | Delete
45 |
46 |
47 | |
48 |
13 | Request ID: @Model.RequestId
14 |
19 | Swapping to the Development environment displays detailed information about the error that occurred. 20 |
21 |22 | The Development environment shouldn't be enabled for deployed applications. 23 | It can result in displaying sensitive information from exceptions to end users. 24 | For local debugging, enable the Development environment by setting the ASPNETCORE_ENVIRONMENT environment variable to Development 25 | and restarting the app. 26 |
27 | -------------------------------------------------------------------------------- /BulkyWebRazor_Temp/Pages/Error.cshtml.cs: -------------------------------------------------------------------------------- 1 | using Microsoft.AspNetCore.Mvc; 2 | using Microsoft.AspNetCore.Mvc.RazorPages; 3 | using System.Diagnostics; 4 | 5 | namespace BulkyWebRazor_Temp.Pages 6 | { 7 | [ResponseCache(Duration = 0, Location = ResponseCacheLocation.None, NoStore = true)] 8 | [IgnoreAntiforgeryToken] 9 | public class ErrorModel : PageModel 10 | { 11 | public string? RequestId { get; set; } 12 | 13 | public bool ShowRequestId => !string.IsNullOrEmpty(RequestId); 14 | 15 | private readonly ILoggerLearn about building Web apps with ASP.NET Core.
10 |Use this page to detail your site's privacy policy.
9 | -------------------------------------------------------------------------------- /BulkyWebRazor_Temp/Pages/Privacy.cshtml.cs: -------------------------------------------------------------------------------- 1 | using Microsoft.AspNetCore.Mvc; 2 | using Microsoft.AspNetCore.Mvc.RazorPages; 3 | 4 | namespace BulkyWebRazor_Temp.Pages 5 | { 6 | public class PrivacyModel : PageModel 7 | { 8 | private readonly ILogger