Quantcast
Channel: Martin Normark's Blog
Browsing all 38 articles
Browse latest View live

Make features obvious — forcing usage is even better

When creating software, make your features obvious. A long time ago, Facebook introduced friendlists - a feature where you can group friends by any name you want. Along comes Google+, and have a...

View Article



Unit Testing ASP.NET MVC Controller Action contains specific ActionFilter...

ActionFilters in ASP.NET MVC are great. You can now easily share logic between controllers without having to inherit from a base controller, that does the common work. I have a content heavy...

View Article

Use Recurly.js with ASP.NET (MVC), C# with this Nu Get library

Recurly is a full suite recurring payment service that lets you easily create subscription plans, billing cycles, handle customers, revenue etc. They made payment integration dead easy with their...

View Article

How To Hit Back When Your Boss Uses Salary Statistics To Negotiate

You sit in a meeting with your boss, negotiating your salary. Of course, you're the awesome developer and feel like you should be paid 10x as much as the guy sitting next to you. You know that smart...

View Article

Image may be NSFW.
Clik here to view.

Backbone.js Compatible Routes for, non-Web API, ASP.NET MVC projects

Backbone.js has become my JavaScript MV* framework of choice (you do use a JavaScript MV* framework, to structure JavaScript, right?). I find myself using ASP.NET MVC for less and less that has...

View Article


Entity Framework: Delete Entity by Id – Using Detached Instance

Entity Framework 5, with the Code First approach can do some pretty powerful things without much effort. Create your model classes, and it spins up a brand new and shiny database for you. But sometimes...

View Article

Entity Framework: Update single column

Yesterday I blogged about how to delete a detached entity using Entity Framework 5 by only using its Id. A common practice in many applications today is to not actually delete the entity from the...

View Article

Backbone and ASP.NET MVC: Rename the ID attribute

In Backbone, a model's ID attribute is vital in the way Backbone handles models and collections. In a collection, you can call get with an ID and you'll get back the model. The thing is, naming...

View Article


3 Reasons Why Dedicated ViewModels in ASP.NET MVC is a *MUST*

I'd argue that using dedicated view-models in ASP.NET MVC (or any other MVC framework) is one of the things that has changed the way I work for the better. And for the better I mean more maintainable...

View Article


Backbone and ASP.NET MVC: Use Nullable types as Id

As a side note to my blog post about renaming the idAttribute in Backbone when using it with ASP.NET (MVC), this post continues with the Id attribute. The Id attribute in Backbone is very important....

View Article

Twitter Streaming API + SignalR + Google Maps = Powerful Stuff!

I’ve been playing around with a variety of APIs every once in a while. It is great fun to hack around with the enormous amounts of real data that are out there, and it’s always easy to get crazy ideas...

View Article

Entity Framework Migrations “Cheat Sheet”

I’m a big fan of Entity Framework (Code First, aka. Magic Unicorn Edition), and in particular I am really beginning to like code first migrations, which makes it easy for you to not only migrate your...

View Article

Image may be NSFW.
Clik here to view.

How To Use the Google Search Suggestions API (AutoComplete) from C#

Google is currently receiving a lot of negative mentions for their lack of providing keywords to website owners. Keywords used by visitors is such valuable information when running a website, and...

View Article


How To Receive E-mails in ASP.NET MVC using MailGun

Mailgun has a fantastic API for doing a lot of stuff with e-mail. Not only is it a breeze to use their dedicated SMTP service to send a lot of e-mails with great deliver-ability – it is also very...

View Article

The Best Code Documentation ‘Tool’ Ever Made

Code Documentation is dreaded by most programmers, and people even question its value. What good is it to have a separate document that describes what the code does, when you can just look at the code?...

View Article


What is Accessible Log Entries Worth to You?

It’s just about as bad as it can get, unless you’ve actually done something to make it better. You know how much hassle you need to go through to find out what happened yesterday at 2am in the...

View Article

Image may be NSFW.
Clik here to view.

Text Recognition in iOS with Tesseract OCR

OCR is an old technology. I remember from my early days with my own computer that I bought a handheld scanner that featured OCR capabilities, and I experimented with handwritten notes to see if it...

View Article


Home Button gestures on iPhone

Since the iPhone 6 and 6 Plus, the increased screen size has caused new issues for single hand navigation around the OS that I notice on a daily basis. The worst impact is the go back edge pan that...

View Article

Image may be NSFW.
Clik here to view.

iOS 9 news - Notes from following WWDC 2015 remotely

I'm not at WWDC 2015. Unfortunately! But this year Apple has made it a much better experience to follow along without a ticket. They release WWDC 2015 videos on a daily basis and even stream some of...

View Article

Image may be NSFW.
Clik here to view.

Prototyping your iPhone app idea

You have an idea for an iPhone app. You believe it's great. You can think of so many ways it will be successful. In fact, you can only think of how your app will become a huge success. You constantly...

View Article
Browsing all 38 articles
Browse latest View live




Latest Images