Blog posts

154 results found

154 results in .NET, Dev, DevOps, Tools

dev Do what makes you feel uncomfortable

Throughout your career and life in general there will be times where you feel uncomfortable when doing a job or a task. Your natural reaction may be to stop doing that task (if you can get away with it) or you may want to avoid doing it all together. My advice to you is to do it more often.

dev 10 golden rules for becoming a better programmer

Here are my top 10 golden rules for becoming a better programmer

dotnet MVC Custom Model Property Validation Attributes

This post shows you how to create your own custom validation attributes in MVC. You can then decorate your model properties with them on your forms.

dev The Pomodoro Technique

I’ve been hearing a lot of good things about the The Pomodoro Technique® for improving productivity. Basically, you work really hard and focus for 25 minutes without interruption and then you have a 5 minute break from it. You then go again for 25 minutes and have a 5 minute break from it, and so on and so on.

tools Free productivity tool - Workflowy

If, like me, you like to write lists to help you focus on what’s required to complete a certain job, and sometimes break the bullet points into mini lists themselves, then this online tool should help you. Workflowy allows you to do just that, it’s free, really easy to use, and it is available on web, iOS and Android.

tools Test your programming skills with Project Euler

If you enjoy writing code and solving puzzles, you will love Project Euler. It is filled with mathematical puzzles which require you to write some code to get the answer. You could use the problems as a chance to write out the solution in a different programming language.

dotnet SHA 256 and SHA 512 hash examples

This post contains examples of how to generate a SHA 256 and SHA 512 hash key with the examples in C# and VB.NET This solution matches the expected result for Ingenico's implementation for their payment gateway.

tools·dotnet LINQPad

I recently came across this fantastic resource. It is called LINQPad. You can use it to test any C#, F# or VB snippet or program. You can even use it to query databases in LINQ or SQL. It's ideal if you find some code on the internet that you want to quickly test, or if you want to play with the new features in C# 6 without having to set up a windows console/forms app or website.

dotnet MVC client side form validation

This post shows you how you can do client side, unobtrusive validation on your MVC form. It assumes you have already set up your Model, View and Controller, but you just need to know how to get it to validate on the client side.

dotnet Helper methods for retrieving web config app settings

This post gives you some examples of how you can check for errors when retrieving web.config app setting values.

dev Maintain scroll position on postback

If you want your site to maintain the current scroll position when the page reloads or when you go to another page, this post should help you. It is ideal for paging, or for sites where you don't want to submit a form using Ajax, but you still want it to stay in position.

tools lorempixel Placholder Images

This gives you real placeholder images to use in your site concepts or examples. It randomly picks an image each time the page loads.