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

Popular posts from this blog

wireshark - USB mapping with python -

c++ - nodejs socket.io closes connection before upgrading to websocket -

Deploying Qt Application on Android is really slow? -