Let's say i've got the following absurd viewmodel in a MVC application.
public class Absurd
{
public string WelcomeMessage {get; set;}
public string PlainTextAdminPassword {get; set;}
}
And this is the entirety of my view
<div>@Model.WelcomeMessage</div>
Let's assume that both my WelcomeMessage and PlainTextAdminPassword are populated in a controller.
Is PlainTextAdminPassword going to be sent to the client anywhere? Or does MVC only send portions of the ViewModel that are referenced in the View?