sách gpt4 ai đã đi

ASP.NET Mobile Views chỉ khả dụng cho ASP.NET MVC phải không? Hoặc chúng cũng có sẵn trong ASP.NET thông thường?

In lại 作者:行者123 更新时间:2023-12-04 05:13:29 25 4
mua khóa gpt4 Nike

我知道在 ASP.NET MVC 中,您可以拥有移动 View 并执行类似 Index.mobile.cshtml 的操作。和 _Layout.mobile.cshtml并且服务器知道将这些 View /页面提供给移动设备而不是 Index.cshtml_Layout.cshtml ,但是这也可以在普通的 ASP.NET 网站(不使用 MVC)中完成吗?

注意:我在普通的 ASP.NET 网站中使用了 razor 语法。

Cảm ơn trước.

——李

làm mới:

澄清一下,我知道各种浏览器检测方法。我的问题特别是关于 Index.mobile.cshtml 形式的移动 View 是否存在可在普通 ASP.NET 中使用。

更新(功能现已包含在 2013 年 2 月 18 日发布的 ASP.NET 最新版本中):

谈论魔鬼.. 这在最近的版本中成为可能..
向下滚动页面到标题“ASP.NET Web Forms Enhancements”

http://weblogs.asp.net/scottgu/archive/2013/02/18/announcing-release-of-asp-net-and-web-tools-2012-2-update.aspx

1 Câu trả lời

看看这个,对 ASP.NET Web 窗体的移动支持的简要说明:

How To: Add Mobile Pages to Your ASP.NET Web Forms / MVC Application

关于asp.net - ASP.NET 移动 View 是否仅适用于 ASP.NET MVC?或者它们也可以在普通的 ASP.NET 中使用?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/14607870/

25 4 0
行者123
Hồ sơ cá nhân

Tôi là một lập trình viên xuất sắc, rất giỏi!

Nhận phiếu giảm giá Didi Taxi miễn phí
Mã giảm giá Didi Taxi
Giấy chứng nhận ICP Bắc Kinh số 000000
Hợp tác quảng cáo: 1813099741@qq.com 6ren.com