Debugging or Running an ASP.NET Application without Windows Azure Compute Emulator

Source: https://www.red-gate.com/simple-talk/cloud/cloud-development/debugging-or-running-an-asp-net-application-without-windows-azure-compute-emulator/ There are more steps involved in debugging or running a Windows Azure Project than a typical ASP.NET project, so it takes longer. Although you can debug or run the ASP.NET project more quickly when developing a Windows Azure project, there are some restrictions and caveats, as Wely Lau explains. Recently, one of my .NET … Read moreDebugging or Running an ASP.NET Application without Windows Azure Compute Emulator

CSS :not selector

Source: https://developer.mozilla.org/en-US/docs/Web/CSS/:not element in a document.” style=”color: rgb(61, 126, 154); margin: 0px; padding: 0px; border: 0px; text-decoration: none; font-family: Arial !important;”><body>. This selector only applies to one element; you cannot use it to exclude all ancestors. For instance, body :not(table) a will still apply to links inside of a table, since <tr> will match with the :not() part of the selector.   … Read moreCSS :not selector

Angular 5 – download file with authentication

Source: https://www.illucit.com/en/angular/angular-5-httpclient-file-download-with-authentication/ 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 use authentication via bearer token etc. and the download endpoint needs authentication, you probably want to use … Read moreAngular 5 – download file with authentication

Difference between Http Header Accept and Content-Type

Source:  https://stackoverflow.com/questions/35722586/header-parameters-accept-and-content-type-in-a-rest-context https://webmasters.stackexchange.com/questions/31212/difference-between-the-accept-and-content-type-http-headers Accept indicates what kind of response from the server the client can accept. Content-typealways is about the content of the current request or response. Content-type, it’s used by the client to define the format of body of the request sent So if your request has no payload, you don’t use a content-type request header.   As you … Read moreDifference between Http Header Accept and Content-Type

ClickJacking attack

Source: https://javascript.info/clickjacking   The clickjacking attack The “clickjacking” attack allows an evil page to click on a “victim site” on behalf of the visitor. Many sites were hacked this way, including Twitter, Facebook, Paypal and other sites. They are all fixed, of course. The idea The idea is very simple. Here’s how clickjacking was done with Facebook: … Read moreClickJacking attack

What is javascript object literal

Source:  https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Grammar_and_types#Object_literals   An object literal is a list of zero or more pairs of property names and associated values of an object, enclosed in curly braces ({}). Do not use an object literal at the beginning of a statement. This will lead to an error or not behave as you expect, because the { will … Read moreWhat is javascript object literal

An Introduction to jQuery’s Deferred Objects

Source: https://www.sitepoint.com/introduction-jquery-deferred-objects/ For a long time, JavaScript developers have used callback functions to perform several tasks. A very common example is to add a callback via the addEventListener() function to execute various operations when an event, such as click or keypress, is fired. Callback functions are simple and get the job done for simple cases. Unfortunately, when your web pages increase … Read moreAn Introduction to jQuery’s Deferred Objects