Yes, magnesium anodes in fresh water.
We have both AC and DC sockets around the boat but all operational essentials and most installed devices - lights, pumps, fans, fridge - are DC so that we are not dependent on the inverter.
General appliances such as vacuum cleaner, microwave, kitchen gadgets, audio system etc. are AC and require the inverter or shoreline. We don't have an installed generator as the battery is large enough to support normal usage of the appliances for a couple of evenings even after a fortnight of running the fridge while unatttended, and will recharge in a day's cruising. Charging from the shoreline is slower at 20A, but not usually necessary when on the move, plus it's helpful not to have to allocate too much of the available supply to charging.
It's handy to use shoreline AC for portable heaters too, but because of the risk of tripping the marina's breaker when running near maximum load, I carry a B10 and a B16 recalibrated down a touch, so that the onboard breaker will normally trip first on overload. There are fancy line-interactive inverters available that will top up the available AC using battery power once a preset maximum shoreline load is reached, not something I've found necessary.
At the moment there's no electric water heating and it requires a new calorifier to fit as there's no immersion boss, again not something high on my priority list. It's twin coil though, so heats from both the central heating boiler and the engine cooling system, which provides free hot water while the engine is running with enough stored to wash up and have a few showers later.