在Visual Studio 2015中,我想删除site.mobile.master [英] In Visual Studio 2015 I would like to remove site.mobile.master

查看:128
本文介绍了在Visual Studio 2015中,我想删除site.mobile.master的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在我的asp.net表单网站上,我想从我的网站中删除site.mobile.master.我只想使用site.master.这可能吗?我使用默认设置来构建站点.如果不使用默认的ASP表单网络构建,我将不具备通过登录网站进行构建的技能.不幸的是,这使mobile.master和视图切换器.我都不想要谢谢您的关注.

In my asp.net forms website, I would like to remove site.mobile.master from my website. I would like to use just site.master. Is this possible? I used the default settings to build the site. I don't have the skills to make a website with a login without using the default asp forms web build. This, unfortunately, makes a mobile.master and a view switcher. I want neither. Thank you for looking at this.

推荐答案

是的,这是可能的.摆脱从您的ViewSwitcher.ascx和Site.Mobile.Master默认的ASP.NET项目-既不需要(1),也不需要(2):

Yes, this is possible. Get rid of ViewSwitcher.ascx and Site.Mobile.Master from your default ASP.NET project - they are neither needed (1) nor desired (2):

(1)您只需要Bootstrap即可使您的网站具有响应能力.

(1) You only need Bootstrap to make your site responsive.

(2)这些文件采用了用户代理嗅探功能,这在如今是完全不可靠的.

(2) These files employ user agent sniffing which is totally unreliable these days.

完成此操作并且网站在没有它们的情况下进行编译,请研究Bootstrap,并将Bootstrap资产集成到ASP.NET项目资产中,以使所有工作正常进行.在最新的模板中,Bootstrap已被使用-您检查了吗?

Once you have this done and your site compiling without them, study up on Bootstrap and integrate the Bootstrap assets into your ASP.NET project assets to get everything working. In the more up-to-date templates, Bootstrap is already being used - have you checked?

我将开始阅读 Bootstrap 文档.

这篇关于在Visual Studio 2015中,我想删除site.mobile.master的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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