In the book Fangirl, also by Rainbow Rowell, the main character was obsessed with a series of magical stories about a boy called Simon Snow. This is his story.
Although the books are related, it is by no means necessary to read Fangirl before reading Carry On. It's a completely separate story.
I actually liked this book even more than the original, maybe because of the magical aspect.