PDA

View Full Version : [CLOSED] How to use Xscript in Razor engine



alscg
Mar 19, 2013, 5:11 AM
Hi ,

I want to use Xscript in razor view engine. Can you please guide me that what is the correct way of using it ?
Also I want to know that can we protect Xscript code in such a way that it will not show when user does a view source of page in the browser ?

Thanks,
alscg

Daniil
Mar 19, 2013, 5:25 AM
Hi @alscg



I want to use Xscript in razor view engine. Can you please guide me that what is the correct way of using it ?


There are, seems, no need in a XScript in Razor. Could you clarify an objective of using it?



Also I want to know that can we protect Xscript code in such a way that it will not show when user does a view source of page in the browser ?


Unfortunately, no. Anyway, JavaScript will be available for users.