Archive for January, 2017

Arrays in C#

Benjamin Perkins C#

I always liked the concept of arrays. Being able to conceptually visualize in multiple dimensions took me some time to get my mind around, but in the end I was successful. The example here will discuss 2 dimensional arrays of type single, multiple and jagged. A single dimensional array is the simplest. You simply code […]

Read More →

Hacked

Benjamin Perkins C#

This happened to me way back in 2011.  I am migrating all my blogs and articles to this site and am adding it here.  This shouldn’t happen anymore if you use an ORM like Entity Frame Work or NHibernate.  A few weeks ago I had to fend off a hacker. Some of the database statements […]

Read More →

Set or change an Azure App Service file or folder permission

Azure App Service Benjamin Perkins

I was using FileZilla to try to change the file permissions and I got this error: Status:   Setting permissions of ‘/site/wwwroot/index.html’ to ‘644’ Command:  SITE CHMOD 644 index.html Response:  500 ‘SITE’: command not understood Status:   Setting permissions of ‘/site/wwwroot/index.html’ to ‘755’ Command:  SITE CHMOD 755 index.html Response:  500 ‘SITE’: command not understood Then I started […]

Read More →