This repo is a documentation of steps taken to create an ALB Ingress Controller on [Amazon EKS][1].
- [
eksctl
][2]
function promisifyFileReader (filereader) { | |
function composeAsync (key) { | |
return function () { | |
var args = arguments | |
return new Promise (function (resolve, reject) { | |
// | |
function resolveHandler () { | |
cleanHandlers() | |
resolve(filereader.result) | |
} |
class BasicInjector : IInjector | |
{ | |
private Dictionary<Type, object> registry = new Dictionary<Type, object>(); | |
public IInjector Register<TKey, TConcrete>() | |
where TConcrete : TKey | |
{ | |
return Register<TKey>(() => Activator.CreateInstance<TConcrete>()); | |
} | |
namespace Mvc.Cors | |
{ | |
using System.Linq; | |
using System.Web.Http.Filters; | |
public class CorsEnabledAttribute : ActionFilterAttribute | |
{ | |
private string[] allowedDomains; | |
public CorsEnabledAttribute() |
public class MvcApplication : System.Web.HttpApplication | |
{ | |
... | |
private void WSFederationAuthenticationModule_RedirectingToIdentityProvider(object sender, RedirectingToIdentityProviderEventArgs e) | |
{ | |
// Get the request url. | |
var request = HttpContext.Current.Request; | |
var requestUrl = request.Url; |