I have a MVC4 SPA application and have a reference to WCF service.Now we modified the service to have a new boolean property.I need to retrieve the boolen value from the WCF service to the razor view(index.cshtml) something like this (var Myflag='@......';). I have updated service reference and can see new boolean property in the 'Reference.cs' file under Service References folder.
Please let me know the steps involved ( like where to instantiate proxy class,how to retrieve boolean value from WCF service to razor view etc) to achieve this.(if possible with sample code).
Thanks in Advance