开发者

What does "roaming" mean, technically?

开发者 https://www.devze.com 2022-12-20 04:25 出处:网络
I came across the \"roaming user.config\" when I was making a small .NET WinForm app. I know the literal meaning of the word \"roaming\", but what is the technical definition of \"roaming\". Could som

I came across the "roaming user.config" when I was making a small .NET WinForm app. I know the literal meaning of the word "roaming", but what is the technical definition of "roaming". Could some one give me a scenario explanation? Many thanks! 8^D开发者_如何学运维


This is referring to Windows' Roaming Profile feature.


Windows roaming: re-mapping directories over the network so that the user sees their "home computer" settings, even when using a different computer.

My thought is that .net is trying to aid you in placing the config file on the dir system so that your app will work correctly in the roaming scenario.

Added: For example, placing the config file in C:\ (root dir of C:) is not a good idea since it won't "roam". Putting the config file in %USERPROFILE% directory is a good idea since the roaming machinery will ensure that the file will be available while roaming.


When you have a Domain and I log in with my Account on multiple PCs, Roaming settings go with me, while local settings don't. That is why stuff like Resolution, File Paths etc. should be Local (as different PCs might have different hardware) and stuff that is non-PC specific should be roaming.

0

精彩评论

暂无评论...
验证码 换一张
取 消