Housing:
Keeping them in 16-32 oz deli cups, a least to start seems to be the best way to go. The lids should be mesh/fabric vented, if there's no ventilation at all they will suffocate and die as soon as you drop in food.
At the bottom of the deli cup there should be a 1-2 inch layer of crushed, decaying hardwood leaf litter, and you're gonna wanna flood that with water until the leaf litter just barely protrudes above the surface of the water. Add water as it evaporates, the larvae are aquatic, but are also poor swimmers and need to be able to breach the surface of the water to breath it seems.
You can add a couple sticks, a vertically slanted piece of bark, etc. for adults to cling to when they mature if you wish, but this isn't necessary and they'll just crawl around on the sides of the enclosure and rest there.
Diet:
Larvae feed on decaying leaf litter medium, and should also be offered dog food, which will turn to mush in the water and they'll dig into it. Adults either also feed on the soggy dog food, or don't eat anything at all.
Temperature:
Room temperature 68-74F° seems to work just fine for these, but they can take warmer temps OK too, and may breed faster kept warmer.
Breeding/Life Cycle:
Adults live a week or two, and produce lots of larvae that then take only 1-2 months to mature, depending on the species, dog food offering frequency, temperatures, etc.. Breeding these is very straightforward and as long as you don't put too much water, or ever let them dry out, they should thrive.
Overall an underrated fly family, with lots of cute and nicely patterned species, that has some interesting feeder potential.