http://coldfusion.com logo
#cfml-general
Title
# cfml-general
r

Rick Morayniss

03/01/2022, 2:28 PM
This may seem like a silly question, but is there a tool that converts a coldfusion application to c#?
a

Adam Cameron

03/01/2022, 2:31 PM
It not so much "seems" like a silly question. it just is a silly question. The answer is: no.
metal 2
m

Mark Takata (Adobe)

03/01/2022, 5:46 PM
I mean, there's me. And I've been called a tool. So... Adam is not 100% correct here lol.
🤣 1
🔧 2
a

Adam Cameron

03/01/2022, 5:56 PM
^^^
r

Rick Morayniss

03/01/2022, 7:32 PM
Mark, are you saying you convert coldfusion to c#?
m

Mark Takata (Adobe)

03/01/2022, 10:21 PM
That's been my job in the past, yes. I've worked for several companies that had hybrid stacks with the idea that since I knew both I could convert their CF to C# (in one case, MVC 4.5, in the other Core). Of course, it rarely if every just... works like that. C# is a wordy, scaffoldy bulky beast of a framework, even in Core. So it was mostly looking at the way the logic was written and then figuring out how to sort of match that (or, in nearly all cases, do it better with similar results, since the CF code at that point was 5 or 6 years old)
Generally speaking though, the better pattern is to convert the data access layer to APIs and just consume those as microservices without punting out of CF. CF is fantastic at creating APIs, fast and easy. It kept a WHOLE lot of their business logic intact (reducing the potential for errors or issues later) and gave flexibility in terms of their stack. In one case they consumed it INTO a C# SaaS application. In another case they used a JS framework as the front end to run their business apps.
I've been doing this 20 plus odd years, I've literally never had a person give me a good technical reason to move off CF. That company I got hired into 4 years ago to convert their entire stack? Still hybrid, and their CF makes about 30% of their money for them. They even sell access to some of their endpoints.
I COULD maybe see "Not having @Adam Cameron yell at you on Slack" as a reason to move off CF though. Not sure that qualifies as "technical". 😛
a

Adam Cameron

03/01/2022, 11:20 PM
I'll hunt ya down if ya leave the Slack channel, Takata. You don't get away from me shouting at you that easily.
😂 1
r

Rick Morayniss

03/02/2022, 12:39 AM
Thank you Mark
2 Views