久久久久久久av_日韩在线中文_看一级毛片视频_日本精品二区_成人深夜福利视频_武道仙尊动漫在线观看

      • <bdo id='G3k9H'></bdo><ul id='G3k9H'></ul>
      <i id='G3k9H'><tr id='G3k9H'><dt id='G3k9H'><q id='G3k9H'><span id='G3k9H'><b id='G3k9H'><form id='G3k9H'><ins id='G3k9H'></ins><ul id='G3k9H'></ul><sub id='G3k9H'></sub></form><legend id='G3k9H'></legend><bdo id='G3k9H'><pre id='G3k9H'><center id='G3k9H'></center></pre></bdo></b><th id='G3k9H'></th></span></q></dt></tr></i><div class="qwawimqqmiuu" id='G3k9H'><tfoot id='G3k9H'></tfoot><dl id='G3k9H'><fieldset id='G3k9H'></fieldset></dl></div>

        <legend id='G3k9H'><style id='G3k9H'><dir id='G3k9H'><q id='G3k9H'></q></dir></style></legend>
      1. <tfoot id='G3k9H'></tfoot>
      2. <small id='G3k9H'></small><noframes id='G3k9H'>

      3. 如何在經典的 ASP Web 應用程序之上集成 WebSocket

        How to integrate WebSockets on top of a classic ASP web application?(如何在經典的 ASP Web 應用程序之上集成 WebSockets?)
        1. <i id='I9WBE'><tr id='I9WBE'><dt id='I9WBE'><q id='I9WBE'><span id='I9WBE'><b id='I9WBE'><form id='I9WBE'><ins id='I9WBE'></ins><ul id='I9WBE'></ul><sub id='I9WBE'></sub></form><legend id='I9WBE'></legend><bdo id='I9WBE'><pre id='I9WBE'><center id='I9WBE'></center></pre></bdo></b><th id='I9WBE'></th></span></q></dt></tr></i><div class="qwawimqqmiuu" id='I9WBE'><tfoot id='I9WBE'></tfoot><dl id='I9WBE'><fieldset id='I9WBE'></fieldset></dl></div>
          <tfoot id='I9WBE'></tfoot>

        2. <legend id='I9WBE'><style id='I9WBE'><dir id='I9WBE'><q id='I9WBE'></q></dir></style></legend>

                  <bdo id='I9WBE'></bdo><ul id='I9WBE'></ul>

                  <small id='I9WBE'></small><noframes id='I9WBE'>

                    <tbody id='I9WBE'></tbody>
                  本文介紹了如何在經典的 ASP Web 應用程序之上集成 WebSockets?的處理方法,對大家解決問題具有一定的參考價值,需要的朋友們下面隨著小編來一起學習吧!

                  問題描述

                  在我的一個項目中,我有一個非常活躍的經典 ASP 站點,需要將基于實時事件的提要集成為現有 UI 的一部分.未來有計劃將站點架構升級為 MVC 或 MVP,但必須同時實現此新功能.

                  In one of my projects, I have a very active classic ASP site with a requirement to integrate live event-based feeds as part of the existing UI. There is a plan to upgrade the site architecture to either MVC or MVP in the future, but this new feature must be implemented in the meanwhile.

                  我決定為此使用 WebSocket 方法,因為這最終是我們將來想要使用的,而重新構建它沒有意義.問題是,如何將其與經典的 ASP架構"集成?

                  I have decided to go with a WebSocket approach for this, as this is ultimately what we will want to use in the future, and rebuilding this doesn't make sense. The question is, how to integrate this with the classic ASP "architecture"?

                  該網站已經實現了 jQuery 庫,并希望利用 jQuery 的功能在給定頁面上創建這些流式部分.

                  The site already implements the jQuery library, and was hoping to leverage jQuery's capabilities to create those streamed sections on a given page.

                  當前請求要求此新聞提要存在于每個頁面上.因此,加載新頁面將重新呈現新聞提要,并且應該從它留在最后一頁的位置開始.為此,我猜需要讀取位置指示器(我猜是會話變量).

                  The current req's ask for this news feed to exist on every page. Thus, loading a new page will re-render the news feed, and should kick of from where it left on the last page. For this, I'm guessing a position indicator will need to be read (session variable I'm guessing).

                  無論如何,這些都是要求.我正在考慮將整個現有的經典 ASP 站點包裝在一個 MVC 或 MVP (C#/.Net) 項目中,以允許我們在開發遺留特性時開始替換它們,例如這個.

                  Anyhow, those are the requirements. I was thinking of wrapping the the entire existing classic ASP site inside a MVC or MVP (C#/.Net) project to allow us to begin swapping out legacy features as they are developed, such as this one.

                  我想就這種情況下的一些推薦方法獲得一些建議.

                  I would like to get some advice on some recommended approaches for this scenario.

                  謝謝.

                  推薦答案

                  我會做一個 SignalR 應用程序并集成它在你的舊應用中.

                  I would do a SignalR app and integrate it in you old app.

                  很容易將 ASP 經典與 ASP.net MVC 集成.只需混合項目并從路線中排除 *.asp

                  It's easy to integrate ASP classic with ASP.net MVC. Just mix the projects and exclude *.asp from the routes

                  routes.IgnoreRoute("{resource}.asp/{*pathInfo}");
                  

                  在根 (/) 中會遇到一些問題,但可以使用重定向對其進行排序.

                  You will have some trouble in the root (/), but you can sort it with a redirect.

                  對于混合身份驗證(如果需要),您需要在 MVC 中編寫自己的身份驗證,以使用您在 Classic ASP 中使用的相同身份驗證 cookie.我過去曾成功地做到這一點.

                  For a mixed authentication (if you need it) you will need to write your own authentication in MVC to use the same auth cookie that you use in Classic ASP. I've done this in the past with success.

                  這篇關于如何在經典的 ASP Web 應用程序之上集成 WebSockets?的文章就介紹到這了,希望我們推薦的答案對大家有所幫助,也希望大家多多支持html5模板網!

                  【網站聲明】本站部分內容來源于互聯網,旨在幫助大家更快的解決問題,如果有圖片或者內容侵犯了您的權益,請聯系我們刪除處理,感謝您的支持!

                  相關文檔推薦

                  JavaScript innerHTML is not working for IE?(JavaScript innerHTML 不適用于 IE?)
                  document.write() overwriting the document?(document.write() 覆蓋文檔?)
                  AngularJS Error: Cross origin requests are only supported for protocol schemes: http, data, chrome-extension, https(AngularJS 錯誤:跨源請求僅支持協議方案:http、data、chrome-extension、https) - IT屋-程序員軟件開發技術分
                  IE10 and Cross-origin resource sharing (CORS) issues with Image / Canvas(IE10 和 Image/Canvas 的跨域資源共享 (CORS) 問題)
                  Importing script with type=module from local folder causes a CORS issue(從本地文件夾導入 type=module 的腳本會導致 CORS 問題)
                  HTML crossorigin attribute for img tag(img 標簽的 HTML 跨域屬性)
                    <tbody id='un9EO'></tbody>

                  • <bdo id='un9EO'></bdo><ul id='un9EO'></ul>
                    1. <tfoot id='un9EO'></tfoot>
                        <i id='un9EO'><tr id='un9EO'><dt id='un9EO'><q id='un9EO'><span id='un9EO'><b id='un9EO'><form id='un9EO'><ins id='un9EO'></ins><ul id='un9EO'></ul><sub id='un9EO'></sub></form><legend id='un9EO'></legend><bdo id='un9EO'><pre id='un9EO'><center id='un9EO'></center></pre></bdo></b><th id='un9EO'></th></span></q></dt></tr></i><div class="qwawimqqmiuu" id='un9EO'><tfoot id='un9EO'></tfoot><dl id='un9EO'><fieldset id='un9EO'></fieldset></dl></div>

                          <small id='un9EO'></small><noframes id='un9EO'>

                            <legend id='un9EO'><style id='un9EO'><dir id='un9EO'><q id='un9EO'></q></dir></style></legend>

                            主站蜘蛛池模板: 中文字幕一区二区三区乱码在线 | 国产成人午夜精品影院游乐网 | 伊人伊成久久人综合网站 | 成人h视频在线 | 福利网址 | 欧美精品在线免费观看 | 亚洲欧美一区二区三区视频 | 久久极品 | 亚洲永久 | 欧美性精品 | 国产精品污www一区二区三区 | 在线视频成人 | 久久久久久久一区 | 色婷婷影院 | 91精品国产综合久久久动漫日韩 | 精品亚洲一区二区三区 | 成人午夜免费视频 | 久久精品国产免费看久久精品 | 欧美精品三区 | 99视频在线 | 国产精品海角社区在线观看 | 日韩欧美视频网站 | 亚洲精品1 | 羞羞视频网站免费观看 | 国产一区二区在线免费视频 | 99久久精品免费看国产高清 | 国产精品毛片久久久久久 | 久久精品网 | 一区二区三区韩国 | 中文字幕第一页在线 | av一级毛片 | 99国产精品99久久久久久 | 国产精品一区一区 | 91久久精| 欧美伦理一区 | 波多野结衣一二三区 | 91视频中文 | 成人久久久久久久久 | 国产欧美精品一区二区三区 | 日日爽 | 欧美精品啪啪 |