Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我是一名 ASP.NET 开发人员。我正在开发一个网站,我需要将其重定向到移动设备的移动页面。目前,我的页面以 .mobile 为后缀并使用默认的 asp.net razor 网页重定向,但它已经过时了,所以我想设置 51 度库以重定向到 .mobile 页面 目前我已经尝试使用带有 Visual Studio 自动添加的设置的分叉没有成功
如果该属性为真,您可以使用 51Degrees 库中的“IsMobile”属性和重定向到您的 .mobile 页面。你能给我看一个代码示例吗?