I gathered my Sign and Validate functions for JWT tokens, wrapped them in a C# library among with a few helper functions and pushed all in a new repository in Github.
Exporting data to Excel
In this article we will see how we can export data to an Excel file in a web application where the Interop library might no be available. We saw a similar approach in a previous article but that approach generates a file that is not a proper Excel file, rather it was a text file […]
Get user avatar from social media without user interaction
Twitter and Facebook provide a public API to retrieve a user’s avatar by knowing only the username of the user. Recently Facebook changed its privacy settings and it is available only for pages, not for users.
URL rewriting in an ASP.NET application
When ASP.NET 4.0 was released, a really cool feature, routing, was available in both ASP.NET MVC and ASP.NET Web Forms. But there are scenarios that cannot be answered with routing and we need to perform URL rewriting.
CORS upload to Amazon S3 from an ASP.NET application
With CORS, you can securely upload files directly into an S3 bucket, directly from the browser, without using an intermediate proxy (e.g. your web server).
Use Dropbox with your ASP.NET application
In this article we will see how we can use Dropbox in a ASP.NET application. We will implement the basic functions of a file manager. Since there is no official SDK for .NET, we will use the HigLabo library for our interaction with the Dropbox API.
‘‘ is ambiguous in the namespace
There are times where this error appears in our web application, without a specific reason. ‘<name>’ is ambiguous in the namespace ‘<namespace>’ This error has the following error code Error ID: BC30560.
Avoiding the ‘A potentially dangerous Request.Form value was detected’
This is a common error that ASP.NET developers have run into many times. We will see in this article a few ways on how to avoid it, both in Web Forms and MVC.