Category: C# Blogs

Hashing with Cryptography and SHA in C#

Benjamin Perkins C#

Disclaimer: Security is a very important aspect, not only for a computer system, but for an entire organization and/or company. Different types of organizations store different types of data which have different types of security requirements. My suggestion is to always consult a security expert with experience in your domain prior to implementing a security […]

Read More →

Online SQL Formatter for ORM generated SQL

With the recent introduction of so many ORM’s (Object-relational mapping) tools onto the market it is becoming less and less needful to write SQL statements. Tools like NHibernate, Entity Framework and SubSonic to name a few will take your database mappings and write an optimized query for you. However, during development, testing or production support […]

Read More →

Add a DataGrid to Silverlight using C#

Benjamin Perkins C#

I recently completed a project using WPF and along the way I read up some on Silverlight. I was reading that you could simply convert your MainWindow.xaml file to a MainPage.xaml. Of course this depends on the complexity of your MainWindow.xaml file. I believe it is a known fact that programs written for the installation […]

Read More →

How I improved my chatbot

Benjamin Perkins C#

I think a common attribute of a hardcore coder is procrastination. Up to now I have brainstormed my LadyBug but have not done much coding to support the backend. Nonetheless, this is probably my last blog on the design of my #chatbot and will start coding it pretty soon. If you haven’t seen my other […]

Read More →

Using LINQ with Reflection in C#

Benjamin Perkins C#

Reflection is used to read meta data from a .Net assembly. For example, if you what to find all the method inside of a .dll, you can use Reflection to do it. You can also load and execute the method. I find it an interesting concept that we have the capability to search and use […]

Read More →