浏览器inmac显示ASP.net的任何新控件需要什么? [英] What is necessary for a browser inmac to display any new control of ASP.net?

查看:94
本文介绍了浏览器inmac显示ASP.net的任何新控件需要什么?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述





在一些XYZ服务器中,IIS中有一个新的ASP.NET Web应用程序,它使用一些在.NET版本中新添加的ABC控件。

如果通过MacBook中的safari浏览器查看此应用程序,此控件是否会被加载?如果没有,这个新控件会有占位符吗?需要了解浏览器端需要什么才能在mac中显示此控件?

Hi,

There is new ASP.NET web application hosted in IIS in some XYZ server which uses some ABC control which is newly added in .NET version.
If this application is viewed via safari browser in MacBook will this control gets loaded ? If not will there be any placeholder for this new control ? Need to understand what is needed from browser end to display this control in mac?

推荐答案

也许您必须阅读Web技术的基础知识,这可以节省你有很多时间,这个问题也是如此。



从客户端的角度来看,没有ASP.NET控件这样的东西。所有服务器端技术对客户端都是隐形的。 HTTP服务器从客户端接收HTTP请求,生成HTTP响应并将其发回。如果使用服务器端应用程序,则将请求发送给它,此应用程序将形成响应的内容。特别是,ASP.NET控件转换为常规HTML控件元素。如果此元素以符合HTML和其他Web标准的方式形成,并且某些浏览器符合相同标准,则该操作不依赖于平台和特定浏览器产品



在实践中,标准存在许多偏差,尤其是HTML渲染的细节,但这些问题随着时间的推移逐渐得到解决,而且目前它们并没有妥协原则功能方面。当应用程序违反某些标准时,情况会变得更糟,不幸的是,对于许多设计糟糕的网站而言,这种情况很常见。在这种情况下,不同浏览器的行为之间的差异变得更加明显;例如,一些浏览器支持标准不允许的功能,这使得糟糕的网站看起来更好,但一般会侵蚀整个行业。在付出相当大的努力来弃用并逐步淘汰IE6后,情况开始朝着积极的方向发展......



-SA
Perhaps you have to read on the very basics of the Web technologies, which could save you a lot of time, and this question, too.

From the client standpoint, there is no such thing as ASP.NET control. All server-side technologies remain invisible to the client. The HTTP server receives HTTP request from the client, produces HTTP response ans sends it back. If a server-side application is used, the request is sent to it, and this application forms the content of the response. The ASP.NET control, in particular, is transformed to a regular HTML control element. If this element is formed in a way compliant with HTML and other Web standards, and if some browser is compliant with the same standards, the operation does not depend on platform and particular browser product.

In practice, there are numerous deviations from the standards, especially in details of HTML rendering, but these problems are gradually resolved with time, and, presently, they don't compromise the principle aspects of functionality. The situations becomes worse when the application violates some standard, which is, unfortunately, is pretty usual for many sloppily designed sites. In such cases, the differences between behaviors of different browsers become more apparent; for example, some browsers "support features" which are not allowed by the standard, which makes bad sites look better but erode the industry in general. After considerable efforts paid to deprecate and phase out IE6, the situation started to change in positive direction…

—SA


这篇关于浏览器inmac显示ASP.net的任何新控件需要什么?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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