-
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...
-
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...
-
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...
-
When migrating projects form older ASP.NET MVC version (i.e: MVC 4) you may experience some issues. Before you start migration I would highly recommend following article. It very nicely describes how to perform all required steps. Unfortunately the clock of the real world projects ticks in a different...
-
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...
-
If you are professional developer or architect who focus Microsoft technologies, then ADC is the conference of great choice. Internationally recognized and legendary experts will present most popular technology topics. One of best things at this conference I personally like is “NO MARKETING”. All session...
-
At 01.09 12.30h I will give a session “ Building Distributed Web Systems ". Level 400. Because the session is currently still tracked under “ The Damir Dobric Session ”, my intension is to share a bit more information about the content. My intension is talk with you about hidden “ power platform...
-
Few years age we implemented an ASP.NET MVC 2.0 application. Now we waned extend the application for new REST services which can be consumed by mobile applications. For this reason we use NuGet update MVC on version 4 and to install the newest WebApi. After installation many new assemblies have...