Archive for January, 2017

Progress Bar, Multithread in WPF using C#

Benjamin Perkins C#

I created a video a while ago that discussed how to implement a progress bar in a windows form application. It used the System.Thread class library and the the BackgroundWorker class. With the release of .NET 4, there is a new. easier way to implement this. In this example, I have added the progress bar […]

Read More →

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 →