Skip to content

Sam Jenkins' website

Improving every day

Menu

  • Reading List
  • Digital Resume
  • About me

Programming

Check arguments for null in C#

I had a comment recently from ‘The Dag‘ asking if I could create some code which would check to ensure that none of the parameters for a methods were null. While this is quite a simple piece of code I thought

Satal 13 January 201422 August 2017 All, Computer, Programming No Comments Read more

NodaTime: What date time is it?

Time Flies by janussyndicate

If you have ever developed an application that is time sensitive you’ll appreciate just how much of a nightmare it can be to get right. Do you handle users in a different time zone to you? Do you handle day

Satal 21 December 201322 August 2017 All, Computer, Programming No Comments Read more

Logging SQL Queries in MVC With Entity Framework 6

Entity Framework Logo

As developers we’re inclined to want to understand what is happening under the hood or at least know that we can check if we wanted to. This is the case with Entity Framework, which performs some magic to provide access

Satal 5 December 201322 August 2017 All, Computer, Programming 1 Comment Read more

Local NuGet Repository

NuGet Logo

NuGet is an amazing addition to Visual Studio, it’s one of those features that you wonder how we managed without it before. The only problem is that it requires that there is an active Internet connection to use it. This

Satal 21 November 201322 August 2017 All, Computer, Programming No Comments Read more

Magic Strings: How to avoid them in C#

Avoiding magic strings by using expression trees

One of my least favourite things about the .NET Framework is that there are plenty of places where it expects you  use magic strings . These make maintaining your application harder as refactoring through Visual Studio will not pick up

Satal 20 October 201322 August 2017 All, Computer, Programming 2 Comments Read more

Get deep nested values without worrying about null

Null Reference Exception

Failing to handle null reference’s is one of the most common bugs in an application, this happens when a developer assumes that the a value will always contain an object even though it could be null. One of the nasty

Satal 11 October 201322 August 2017 All, Computer, Programming No Comments Read more

Validating XML against XSD schemas in C#

XML

I’m currently working on an XML File Explorer application, which I intend on highlighting XML files which do not conform to an XSD schema, as part of this I have created a class for containing the details of performing XSD

Satal 15 September 201322 August 2017 All, Computer, Programming 7 Comments Read more

Two Factor Authentication in ASP.NET MVC

Two Factor Authentication devices

It’s becoming more and more common for websites to provide the capability of having two factor authentication as part of you login process. Google, GitHub, Hotmail and Dropbox just to name a few of the organisations that have embraced two

Satal 8 September 201322 August 2017 All, Computer, Programming, Security 2 Comments Read more

Using reCAPTCHA in your ASP.NET MVC app

The Internet is full of bots. There’s no denying it, bots have been created to perform tasks on the Internet for many purposes, a good example is Ticketmaster, who have calculated that approximately 60% of all bookings are made by

Satal 2 September 201322 August 2017 All, Computer, Programming 2 Comments Read more

ASP.NET MVC4 AuthorizeAttribute throughout app

Control access to your webpages with the AuthorizeAttribute

If you’re developing a website where there should only be a couple of publicly accessible pages in ASP.NET MVC, then at first you may try to go through all your controllers decorating them with the AuthorizeAttribute. Although you will still

Satal 31 August 201322 August 2017 All, Computer, Programming, Security No Comments Read more
  • « Previous

Categories

  • All
  • Career
  • Computer
  • Excel
  • Marketing
  • Programming
  • Security
  • Soft Skills
  • Uncategorized
  • Websites

Archives

  • August 2017
  • July 2017
  • May 2017
  • March 2017
  • February 2017
  • January 2014
  • December 2013
  • November 2013
  • October 2013
  • September 2013
  • August 2013
  • June 2013
  • May 2013
  • April 2013
  • March 2013
  • August 2011
  • June 2011
  • October 2010
  • September 2010
  • August 2010
  • July 2010
  • June 2010
  • May 2010
© Sam Jenkins. Powered by Solutions Delivered
Copyright © 2021 Sam Jenkins' website. All rights reserved. Theme Spacious by ThemeGrill. Powered by: WordPress.