c-sharp

How to resize image files with C#
I recently wrote about website optimization on this blog as it is quickly becoming an important ranking factor in search engines.
How to bundle resource files in C# and ASP.NET
Many ASP.NET developers don't realize that the .NET framework comes with a built in bundler for all of their many resource files. What is a
How to add a subscriber to MailChimp using C#
MailChimp is a fantastic service for creating email campaigns and managing your email lists. And they offer a relatively robust API&nbs
Implementing Google's Invisible ReCaptcha In .NET
If keeping bots away is your thing, then using Google's reCAPTCHA is a must. And while it can be tedious to click on 20 images of cars in
Creating Credit Card Charges With Stripe And .NET
In this post I'll be going over the Stripe API and more specifically, using it in a .NET environment. I'll say right now that Stripe and th
How To Post A Tweet Using C# For Single User
In this post I'll be showing how to post a Tweet to Twitter using C# and no 3rd party libraries. This is a pure .NET approach, and it's mor
Working With Generics In C#
In this post I will talk about another nifty feature that C# has offered for a while now, Generics. You probably won't run into Generics on
Working With Delegates In C# For Beginners
I don't normally run into delegates in my day to day coding, but at some point you will run into them and you'll want to know what they are
How To Encrypt Passwords Using SHA-256 In C# And .NET
.NET makes it pretty simple to work with data encryption with the Cryptography namespace. So there should be no reason to have plain text...
Implementing Amazon's Product Advertising API In C#
If you have an Amazon Affiliate account then at some point in your life you're probably going to be tired of managing products manually and
Creating An XML Document in ASP.NET
There are various different approaches to XML document creation in .NET. There is no right or wrong way really, it just depends on the situ
How To Watermark Images In C#
As a developer, I hate using 3rd party software to accomplish things that would take a few minutes or hours of work. For example, watermark
Implementing DLL's For Your ASP.NET Site
Code re-use is at the heart of any good developer and it is a very welcomed ally when the time arrives. The last thing you want to do when
Adding Controls Programmatically In ASP.NET
The beauty of working on .NET web forms is that every control that you see on the screen is an object of some kind, inheriting from the bas
How To Dynamically Create Your SiteMap In ASP.NET
Recently I logged into Google Webmaster Tools and realized that my sitemap for one of my websites had not been updated since I first launch
How To Work With Coordinated Universal Time (UTC) In C#
Working with Dates in any programming language is normally a pretty straightforward task. You save a date in the database and get on your m
How To Calculate "Time Ago" In C#
You see this time format all over the internet nowadays. Posted 3 hours ago. You can see in any of a number of situations. For example, how