ASP.net移动应用程序开发

发布于 2024-12-02 21:38:06 字数 296 浏览 2 评论 0原文

我有一个现有的学校和学院管理网站,它是用 ASP.NET、C# 和 SQL Server 开发的。

现在我计划支持移动应用程序(例如诺基亚/三星的基本型号和 Opera 手机)。我知道我们可以通过某些设备访问正常的网站,无需任何更改,但需要优化。

我正在准备另一个版本,该版本将只有很少的必填字段和易于移动的导航。为此我需要使用哪种方法。

  1. 具有优化 HTML 代码的普通 ASPX 文件。
  2. 或者使用 WAP 控件
  3. 我应该使用 HTML 5

请帮我决定。

I have an existing website for schools and colleges management which is developed in ASP.NET,C# and SQL Server.

Now I am planning to support for the mobile applications (like basic models from Nokia/Samsung and for opera mobiles). I know the normal site we can access through some of the devices without any change, but needs to be optimized.

I am preparing another version which will be only few required fields and easy navigation for mobile. For that which method I need to use.

  1. Normal ASPX files with optimized HTML code.
  2. Or using WAP controls
  3. Should I use HTML 5

Please help me to decide.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(5

写下不归期 2024-12-09 21:38:06

我建议使用 Modernizer 附带的 HTML5 模板(包括 Modernizer)。 asp.net/mvc/mvc3" rel="nofollow">ASP.NET MVC 3 和 jQuery Mobile 框架。让 jQuery Mobile 框架为您完成所有多设备繁重的工作。

jQuery Mobile 支持的设备

I recommend using the HTML5 templates(includes Modernizer) that come with ASP.NET MVC 3 and the jQuery Mobile framework. Let the jQuery Mobile framework do all the multi-device heavy lifting for you.

jQuery Mobile Supported Devices

メ斷腸人バ 2024-12-09 21:38:06
  1. 您可以使用普通的 aspx 页面,没有任何问题。您唯一需要优化文件大小的事情。
  2. 您可以使用 HTML5 开发更好的解决方案,但唯一的问题是,它不支持所有设备。这是使用 html5
  3. 或仅使用 手机列表框架
  1. you can use normal aspx pages without any issue. only thing you need to optimize the file size.
  2. you can develop better solution using HTML5 but only problem is, it is not supporting all the devices.this is used html5
  3. or just use any from List of mobile frameworks
往事随风而去 2024-12-09 21:38:06

您可以将普通的 ASP.NET Web 表单与 HTML5 结合使用。看一下 HTML5Boilerplate,其中包括 Modernizr

结合使用功能检测和 CSS 媒体查询来提供适当的文件、布局以及特定移动设备的图像。

不要相信“响应式网页设计< /a>”在性能和美观方面成本过高的技术(基本上是重新设计网站的桌面浏览器版本,并将其称为“移动就绪”);披露:此链接到我的博客文章。

You can use normal ASP.NET Web Forms in conjunction with HTML5. Take a look at HTML5Boilerplate which includes Modernizr.

Use a combination of feature detection and CSS Media Queries to serve up the appropriate files, layout and images for a particular mobile device.

Do not fall for "Responsive Web Design" techniques that cost too much in terms of performance and esthetics (basically re-skinning desktop browser version of site and calling it "mobile-ready"); disclosure: this links to blog post from me.

等待我真够勒 2024-12-09 21:38:06

使用 ASP.NET 移动控件:ASP.NET 移动控件
.. (即如何将移动页面添加到您的 asp.net 站点)

  • 您将在短时间内专门针对所有移动设备构建一些 UI 控件,这将在移动设备上提供更快、更好的用户体验。
    • UI 呈现最少的 HTML,并且您可以控制呈现的内容,这意味着所需的带宽要少得多。尽管我有 4G 手机,但很多时候我们所在的建筑物没有 4G 信号,而且我更喜欢具有移动专用输出的网站。
    • 用户界面是针对移动设备的,用户无需向左/向右向上/向下缩放页面,也无需放大即可点击专为以 1024x768 或更高分辨率查看而设计的按钮或元素。

拥有最新 4G 和双核手机并且目前恰好有 4G 连接的用户如果想要比使用 ASP.NET 移动控件构建的功能更多的功能,则可以随时将其手机切换到“完整 HTML 版本”。但是,如果您走另一条路并采用基于 JQuery 或 HTML5 代码,则在许多情况下您将完全排除所有上一代手机访问您的网站(此外,它速度较慢且用户体验不如移动专用手机)渲染)。即使您决定只关注最新的手机,除了速度慢和 UI 复杂性问题外,您还必须处理 html 渲染问题、跨浏览器兼容性问题。

祝你好运。

Use ASP.NET Mobile Controls: ASP.NET Mobile Controls
.. (i.e. How to add mobile pages to your asp.net site)

  • You will build a few UI controls, in a short amount of time, specifically for all mobile devices and it will be a much faster and much better user experience on mobile devices.
    • The UI renders minimal HTML and you control what gets rendered, meaning much less bandwidth required. Even though I have a 4G phone, so many times we are in a building that does not give a 4G signal and I much prefer sites that have mobile-specific output.
    • The UI is mobile-specific, users will not have to zoom around the page left/right up/down and zoom in to be able to click buttons or elements that were made for viewing in 1024x768 or higher.

Users with the latest 4G and dual core phones, and that happen to have 4G connection at the moment can always switch their phones into 'full HTML version' if they want more functionality than what you build using the ASP.NET mobile controls. However, if you go the other route and adopt JQuery-based or HTML5 code, you are excluding all previous generation phones from accessing your web site at all in many cases (besides it being slower and not as good a user experience as mobile-specific rendering). Even if you decide to focus only on the latest phones, you will also have to deal with html rendering issues, cross browser compatibility, besides the slow and UI complexity issues.

Good luck.

紫瑟鸿黎 2024-12-09 21:38:06

使用 .NET Mobile Framework 以及 Web 表单始终是一个不错的选择,无论运营商/手机型号如何,Web 表单都会出现在所有移动设备上,此外,许多手机支持 ajax 以及其他可用的客户端脚本。 HTML5 是一个不断发展的标准,当更多的手机开始支持它时,您将获得大量新的好处。

模型视图控制器总是很容易遵循。允许可扩展性和抽象组件。

Using .NET Mobile Framework is always a good option as well as Web Forms which will appear on all mobile devices regardless of carrier/phone model, plus lots of phones support ajax, and other client side scripting that'll work. HTML5 is a growing standard though, and when more phones start supporting it, you'll reap tons of the new benefits.

Model View Controller is always good to follow. Allows for scalability and for components to be abstracted.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文