This file contains hidden or 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
public static class DeltaHelper | |
{ | |
public static (IEnumerable<TItem> Left, IEnumerable<TItem> Both, IEnumerable<TItem> Right) Compute<TItem, TValue>( | |
IEnumerable<TItem> list1, | |
IEnumerable<TItem> list2, | |
Func<TItem, TValue> getItemValue) | |
where TValue : IEquatable<TValue> | |
{ | |
var comparableList1 = list1.Select(x => new EqualityComparer<TItem, TValue> | |
{ |
This file contains hidden or 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; | |
using System.Collections.Generic; | |
using System.Linq; | |
using Microsoft.AspNetCore.Mvc; | |
using System.Net; | |
using Newtonsoft.Json.Serialization; | |
using System.Text; | |
namespace WebApplication1 | |
{ |
This file contains hidden or 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
namespace TehSecureSystem | |
{ | |
public class PasswordEvaluator | |
{ | |
public int MinLength { get; } | |
public int MinLowercaseChars { get; } | |
public int MinUppercaseChars { get; } | |
public int MinSpecialChars { get; } | |
public int MinNumberChars { get; } |
This file contains hidden or 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
Preceived Problem | |
^^^^^^^^^^^^^^^^^ | |
Currently, when we try to deploy an ASP.NET website to a Host Server, it's a tricky and complex set of tasks. It's even more frustrating when this is handled by a Continuous Integration service. | |
It feels like the full build / package / deploy *lifecycle* is currently a hap-hazard mix of band-aid solutions to try and solve this mission critical problem. | |
What we would love - A clean and simple lifecycle story | |
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ |
This file contains hidden or 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
require(['bootstrap-data'], | |
function (bootstrapData) { | |
console.log(bootstrapData.Message); | |
}); |