You should look at this in the same way one would translate Chinese text to English. It’s not word for word, but you have to understand what is being said to rewrite it in another language.
No, it is not as easy as replacing commands. Converting without rewriting would be a bad idea. First, get immersed in the site and learn everything it does. Then, design the new site to use the old code if it is modular. Convert it piece by piece until you are done.
solved How do I convert a ColdFusion website to a .NET website? [closed]