When building Distributed Systems in Cloud or On-Prem, you will usually have to deal with token flow. That means, some application or user have to securely enter the system on some specific place. If you have distributed system if is not unusual that some applications in the system do not use authentication...
Assuming that there is a function set inside of the WebJob shown on picture below, there are several options to start this job from your executable file. If you want to start the manually triggered webjob function, use following code: JobHost host = new JobHost (); Task callTask = host.CallAsync( typeof...
Sometimes you want to delete Azure WebJob. It is not the best way, but it is the way which always works, independent on which portal or VS tools version you use. Connect to your WebSite via FTP client and navigate to folder shown below. " style="border-left-width:0px;border-right-width:0px;background...
This article describes how to integrate a custom authorization system in one ASP.NET application. The idea behind custom authorization is very simple. Imagine your application is using authentication providers like Facebook, Twitter, Azure Active Directory etc. All these providers will provide you an...
When working with OWIN pipeline, I often have a requirement to access the pipeline within custom implementation of a filter-attribute. For example, I want to get instance of the OwinContext like: protected override bool IsAuthorized (System.Web.Http.Controllers.HttpActionContext actionContext) ...
One of most often my personal issue when working with WebApi is routing. Sometimes I cannot explain myself how often one can repeat same mistake. This is something what is in SOAP based protocols also an issue. If you ever worked on extending of WCF channels you will know what I mean here. So, here is...
When working with NUGET in big projects (just a bit bigger than default hello-world) you might run into following issue: Could not load file or assembly ‘…’ The prominent of this error example is : Could not load file or assembly 'Newtonsoft.Json, Version=4.5.0.0, Culture=neutral, PublicKeyToken...