AntLR And Visual Studio
Here is a simple tutorial in which there the instructions you need in order to begin working with AntLR and make it work with your Visual Studio Project. This article was written a looong time ago and...
View ArticleManaging dates in .net
Recently I faced an issue where I had to move an asp.net application with its data (Sql Server 2008) to a server that is located in a different country. I came across with two problems, both of them...
View ArticleBackup the data from your Sql Server
An often requirement in a CMS is the user to be able to backup the database of its CMS installation. If you are using MS Sql Server there is a simple command that creates a .bak file of your database....
View ArticleCreating thumbnails from JPG images with .NET
The .NET framework has the System.Drawing namespace which allows the developer to create and/or manipulate image files programmatically. A common and popular action that a developer might need is to...
View ArticleUsing generics to override static methods
I am currently working on a library that will be used in my company’s new and biggest project. This project has as a goal to unify all of our services in a cloud (sic!) application. I came to a point...
View ArticleClearing HTML tags and MS Word tags from text
It’s a pretty common need for web developers to get the plain text from HTML text. Also, there are cases where users paste text from MS Word. In this article I will post a few simple functions that...
View ArticleGetting video information from YouTube and Vimeo
YouTube and Vimeo provide a data API that you can use to get information for their videos. YouTube requires the use of an API key and you can get one for free. Click here to see the steps required to...
View ArticleUse 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...
View ArticleCORS 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). This option is a huge boost for web...
View ArticleVerify JWT token signed with RS256 using the public key
In this article we will see how we can verify a JWT token that has been signed with the RS256 algorithm. While there are more than a few libraries for .NET that provide functionality to decode and...
View ArticleExporting 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...
View ArticleConvert Long raw fields to varchar2 in Oracle with plain SQL
Oracle has a LONG RAW datatype that is used primarily in its system tables. There are cases where these tables need to be read from an application. There is a catch though, the common methods used to...
View ArticleCreate and deploy a Nuget package
In this article we will see how we can create a Nuget package for a class library and how to configure Visual Studio to have other package sources in addition to the default of nuget.org. Let’s assume...
View ArticleDrop all database objects in Oracle
In this article we will see a SQL script that will drop all objects in an Oracle database There are cases where you need to test a SQL script that creates a database, and then it is almost certain that...
View ArticleCreate and sign JWT token with RS256 using the private key
In this article we will see how we can create and sign a JWT token with the RS256 algorithm. This function is complementary to the validate function I posted some time ago.Here is the Sign(...)...
View ArticleJwt Manager
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. The solution consists of a .NET...
View ArticleSend FCM Notifications in C#
This post will show how one can make an API call and send a notification to an Android device. The code below requires 2 keys for authentication, the SERVER_KEY_TOKEN and SENDER_ID can be retrieved...
View Article
More Pages to Explore .....