如何启动在MVC4中运行的特定页面 [英] How to start specific page run in mvc4

查看:148
本文介绍了如何启动在MVC4中运行的特定页面的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

嗨...

我已经用Internet应用程序启动了新的MVC应用程序.
并且我已经创建了新的母版页并创建了新页并运行或调试
但我没有运行此页面..

如何启动在mvc4中运行的特定页面和示例....

Hi...

I have start new mvc application with internet application.
and I have create new master page and create new page and run or debug
but i have run''t run this page..

How to start specific page run in mvc4 and example ....

推荐答案



在您的应用程序中,请从App_COde FOder中找到51Degrees.mobi.config

在该文件中,您会看到以下代码
< redirect firstrequestonly ="true">
mobileHomePageUrl =〜/Index.aspx"
timeout ="20"
devicesFile =〜/App_Data/Devices.dat"
mobilePagesRegex ="/Mobile/">


您可以设置默认页面或特定页面

-Vijay
Hi,

in your application please Find 51Degrees.mobi.config from App_COde FOder

in that file you see below code
<redirect firstrequestonly="true">
mobileHomePageUrl="~/Index.aspx"
timeout="20"
devicesFile="~/App_Data/Devices.dat"
mobilePagesRegex="/Mobile/">


you can setup default page or particular page

-Vijay


这篇关于如何启动在MVC4中运行的特定页面的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆