Becker and Castle actors

I wasn’t familiar with the actors and only discovered Castle a few weeks ago. At about S 5 I was delighted by the show and wanted to know more so I googled the show and it ruined the following seasons. I know, duh!

But now I am curious if any of it were true. Did the main characters dislike each other? If so, they are damn good actors!