CommandBox question - On my local dev PC I'm curre...
# cfml-general
s
CommandBox question - On my local dev PC I'm currently running ACF2018 / IIS and creating hosts entries for the local sites I work on. I wanted to try out CommandBox and ACF2021 and I'm watching Brad Wood's video on configuring ACF+CommandBox to use AJP to connect to my IIS. My question is - is doing this going to break my currently running fine ACF2018 / IIS local install? I'm looking at the video at "setup Boncode connector" using ALL IIS sites or "let me choose". If I go with "let me choose" will it allow me to just pick my one test site setup by CommandBox and leave my other sites setup by ACF2018 alone?
b
Hi @Steve Logan, unless there is a hard dependency on IIS, I would recommend just using CommandBox directly for simplicity.
but to answer your question, yes you can choose what sites get the CFM/CFC handler
BUT you must ALSO have the adobe connector set to only certain sites as well or it will try to capture traffic from all sites.
It's worth noting that the Boncode installer is editing your
web.config
in the root of each site so you can "add" the handlers by just manually putting that in the web.config yourself
s
Thanks. We use IIS in production, so wanted to go that route as well since that's what I'm most familiar with.
b
@Steve Logan I get that, but the more pieces you laden your devs with for a local dev environment, the more setup you create and the more you lock yourself into Windows.
All my local dev just uses pure CommandBox and we have people on my team using Mac, Windows, and Linux and they all work the same with CommandBox as the lowest common denominator
If you're looking at using CommandBox, then that's already something you'll need to become familiar with (and it's not hard since a single
server.json
file configures your entire server). So there's no benefit to having another tool in the mix unless you have some sort of hard dependency on a specific IIS module or .NET app, etc
m
We use ACF 2021 with IIS in our dev/prod servers. I just use commandbox straight out of the box locally. Much easier. Haven't had any issues from it.
s
Thanks all