jeudi 31 mars 2016

Best way to handle one time execution in a block of code in asp.net mvc

I am new to MVC. Can some one suggest me what is the best way to handle one time pass logic in a if statement in MVC Model Binder?

In my ModelBinder class, I want to put some logic in a if statement which need to be executed only once. ( Like !Page.IsPostBack in web applications). If you have any other suggestions, you are welcome.

Sorry for the Typo.

Regards, Viswa V.

Aucun commentaire:

Enregistrer un commentaire