This article describes how a typical browser file download can be triggered using the Angular HttpClient. Typically you can simply introduce a link to the endpoint of the file download into the page and this will work just fine. However, if you… more
This article describes how to disable authentication forĀ ASP.NET Core 2.0. ASP.NET Core JWT Authentication I have some Rest API which I want to protect via JwtBearer token in production e.g. public void ConfigureServices(IServiceCollection services) { … services.AddAuthentication(options => { options.DefaultAuthenticateScheme = JwtBearerDefaults.AuthenticationScheme;… more
This article demonstrates how the Hangfire dashboard can be set up in an ASP .NET 5 application including authentication via ASP .NET Identity. Adding Hangfire Packages project.json: “dependencies”: { … “Hangfire.SqlServer”: “1.5.3”, “Hangfire”: “1.5.3”, … }, Since I am using Hangfire with… more
In my Angular2 application I want to be redirected to the login page whenever I get a 401 response during an Ajax call. Therefore I want to intercept all Ajax calls and check for the response code. In addition to that I… more
In this article we will demonstrate how to provide authentication to ASP .NET 5 applications using ASP .NET Identity with Entity Framework 7. Adding Packages Add the following package to your ASP .NET project. This will automatically pull in additional required dependencies… more