trgb
asked on
Razor, WCF, and ASP
I understand that in an MVC app I would access the WCF and then pass the object to a view and use razor to display it. But I'm writing a web pages app and I'd like to use Razor and WCF.
I'm trying to figure out where to put the code to define the objects from the WCF and use the it to fill them before I use razor to display them.
Two questions; Am I crazy to try to use razor in a non MVC app? If I'm not crazy, how do I do it?
I'm trying to figure out where to put the code to define the objects from the WCF and use the it to fill them before I use razor to display them.
Two questions; Am I crazy to try to use razor in a non MVC app? If I'm not crazy, how do I do it?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Tested this out and it worked fine.
http://stackoverflow.com/questions/5264852/can-we-use-razor-syntax-in-asp-net-webforms-aspx-pages