-
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...
-
I just found out that my Azure Webjob was running 32-bit all the time without me even knowing it. As I tried to attach my debugger on the Webjob I got following error message: "Unable to attach. The 64-bit version of the Visual Studio Remote Debugger (MSVSMON.EXE) cannot be used to debug 32-bit...
-
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...
-
Windows 10 IoT Core is a kind Windows Operative system, which is some incarnation of Windows 10. It enables us to develop .NET and Windows applications, by using common Visual Studio toolset. Even more interesting is a fact that Windows 10 IoT Core can run on PI2 ( Raspberry ). This enables us to build...
-
If you need to Authenticate your Azure Web App (ASP.NET MVC Application) against WCF Service with a specified Client Certificate (.p12 in my case) you will find out that it is not quite simple as it sounds. There are plenty of samples of how to do it in Internet, but non of them has really worked for...
-
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...
-
Shared Access Signature ( SAS ) for Service Bus introduces the new authentication and authorization model. With SAS, authentication and authorization can be done without of need to involve Access Control Service which is the default authentication and authorization model when working with Service Bus...
-
Few weeks ago I described in this article how to deal with custom formatting of DateTime within WebApi. Unfortunately this does not work in ASP.NET MVC application. :( In this post I will provide a simple sample which demonstrate how to do this in MVC. ...
-
When trying to deploy Windows Azure Web Site you might get following error: Server Error in '/' Application. Could not load file or assembly 'DotNetOpenAuth.Core, Version=4.0.0.0, Culture=neutral, PublicKeyToken=2780ccd10d57b246' or one of its dependencies. The located assembly's...
-
Here is the preliminary agenda for MSNetwork upcoming session next week. There are few important things which will unfortunately not be covered in this session. But if you really want to dive deeper behind Steaming and Push technologies, I would recommend you to read this post.
-
The platform technology wave announced in 2012 brings a number of innovations in the ,NET and Microsoft platform at all;no question. One of my personal favorites is the peace of Platform which makes push-scenario easy adoptable. In the time of upcoming cloud patterns, there are more business and technical...