Skip to content

Instantly share code, notes, and snippets.

Sipke Schoorstra sfmskywalker

Block or report user

Report or block sfmskywalker

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
sfmskywalker / Startup.cs
Created Nov 2, 2019
Startup.cs - Building Workflow Driven .NET Core Applications with Elsa
View Startup.cs
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;
sfmskywalker / site.css
Created Nov 2, 2019
site.css - Building Workflow Driven .NET Core Applications with Elsa
View site.css
body, app {
height: 100%;
app {
display: -ms-flexbox;
display: flex;
-ms-flex-align: center;
align-items: center;
sfmskywalker / MainLayout.razor
Created Nov 2, 2019
MainLayout - Building Workflow Driven .NET Core Applications with Elsa
View MainLayout.razor
@inherits Microsoft.AspNetCore.Components.LayoutComponentBase
sfmskywalker / RegistrationModel.cs
Created Nov 2, 2019
RegistrationModel - Building Workflow Driven .NET Core Applications with Elsa
View RegistrationModel.cs
using System.ComponentModel.DataAnnotations;
namespace Elsa.Samples.UserRegistration.Web.Models
public class RegistrationModel
public string Name { get; set; }
View AuthenticatingHandler.cs
public class AuthenticatingHandler<T> : DelegatingHandler where T : ISecurityTokenAccessor
private readonly Policy<HttpResponseMessage> _policy;
private readonly T _securityTokenAccessor;
private IAccessToken _accessToken;
private AuthenticationHeaderValue _authenticationHeader;
public AuthenticatingHandler(T securityTokenAccessor)
_securityTokenAccessor = securityTokenAccessor;
View generate-theme.cmd
dotnet new octheme -n "MadeWithLoveTheme"
sfmskywalker / InstallCodeGenerationTemplates.cmd
Created Jul 29, 2018
Installs the Orchard Core Code Generation Templates
View InstallCodeGenerationTemplates.cmd
dotnet new -i OrchardCore.Cms.Templates::1.0.0-beta2-*
sfmskywalker / NewProject.cmd
Last active Jul 29, 2018
Create new ASP.NET Core Orchard Core Project
View NewProject.cmd
dotnet new web --name "AngularWidgetsDemo"
cd "AngularWidgetsDemo"
dotnet add package "OrchardCore.Application.Cms.Targets" --version 1.0.0-beta2-*
sfmskywalker / DownloadAngularElementSample.ps1
Last active Jul 29, 2018
Downloads and extracts a sample Angular Custom Element from GitHub
View DownloadAngularElementSample.ps1
Add-Type -AssemblyName System.IO.Compression.FileSystem
Invoke-WebRequest -Uri -OutFile ./
[System.IO.Compression.ZipFile]::ExtractToDirectory("c:\Code\Orchard Core and Angular\AngularWidgetsDemo\", "c:\Code\Orchard Core and Angular\AngularWidgetsDemo")
Rename-Item made-with-love-master ClientApp
sfmskywalker / npm-install.cmd
Last active Jul 29, 2018
Executes the NPM Install command
View npm-install.cmd
cd ClientApp
npm install
ng build
You can’t perform that action at this time.