This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using Elsa.Samples.UserRegistration.Web.Models; | |
namespace Elsa.Samples.UserRegistration.Web.Services | |
{ | |
public interface IPasswordHasher | |
{ | |
HashedPassword HashPassword(string password); | |
HashedPassword HashPassword(string password, byte[] salt); | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"Logging": { | |
"LogLevel": { | |
"Default": "Information", | |
"Microsoft": "Warning", | |
"Microsoft.Hosting.Lifetime": "Information" | |
} | |
}, | |
"AllowedHosts": "*", | |
"ConnectionStrings": { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using Elsa.Activities.Email.Extensions; | |
using Elsa.Activities.Http.Extensions; | |
using Elsa.Activities.Timers.Extensions; | |
using Elsa.Dashboard.Extensions; | |
using Elsa.Extensions; | |
using Elsa.Persistence.MongoDb.Extensions; | |
using Elsa.Samples.UserRegistration.Web.Extensions; | |
using Elsa.Samples.UserRegistration.Web.Handlers; | |
using Elsa.Samples.UserRegistration.Web.Models; | |
using Elsa.Samples.UserRegistration.Web.Services; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
html, | |
body, app { | |
height: 100%; | |
} | |
app { | |
display: -ms-flexbox; | |
display: flex; | |
-ms-flex-align: center; | |
align-items: center; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@page "/" | |
<div class="form-signup"> | |
<EditForm Model="@RegistrationModel" OnValidSubmit="@HandleFormSubmission" hidden="@ShowConfirmation"> | |
<h1 class="h3 mb-3 font-weight-normal">Please register</h1> | |
<DataAnnotationsValidator/> | |
<ValidationSummary/> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@inherits Microsoft.AspNetCore.Components.LayoutComponentBase | |
@Body |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System.ComponentModel.DataAnnotations; | |
namespace Elsa.Samples.UserRegistration.Web.Models | |
{ | |
public class RegistrationModel | |
{ | |
[Required] | |
public string Name { get; set; } | |
[Required] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
dotnet new octheme -n "MadeWithLoveTheme" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
dotnet new -i OrchardCore.Cms.Templates::1.0.0-beta2-* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cd ClientApp | |
npm install | |
ng build |