En MVP, ¿qué es exactamente la Vista?

Hey just actually wondering what the View consists of in MVP.

Is this the actual .aspx pages for example...or is it the Interface that the .aspx page implmenets i.e. IMyPage.cs

Just looking to clear this up cheers.

preguntado el 09 de marzo de 12 a las 15:03

Its both the aspx page and the backing vs class -

when u say backing vs class you mean the code behind ? -

Yes, actually meant to say backing cs class. -

Thanks man for getting back to me -

1 Respuestas

The view is the actual UI in this case the .aspx page

Check out this link for more info.


respondido 09 mar '12, 16:03

It's both the aspx page and the backing class file. If the pattern is implemented correctly, there should be very minimal-to-no code in the backing cs file. It's purpose should not go far beyond the initializecomponent. - Evasilchenko

No es la respuesta que estás buscando? Examinar otras preguntas etiquetadas or haz tu propia pregunta.