asp.net mvc 4 - How to call ASP MVC CSHTML View directly with ".cshtml" extension from browser -
i want call asp mvc cshtml view directly browser ".cshtml" extension like:
www.mysite.com\receive.cshtml?...
instead
www.mysite.com\receive?...
but got 404
any idea ?
1. default iis request filtering
configured not serve requests .cshtml
files.
2. razor views not meant accessed directly client. yet, take @ https://github.com/servicestack/razorrockstars
Comments
Post a Comment