gpt4 book ai didi

c# - Aspx 是否支持 PWA

转载 作者:行者123 更新时间:2023-11-30 21:38:11 24 4
gpt4 key购买 nike

有什么方法可以在 ASPX 页面中使用 pwa 概念来做项目吗?我在 PWA 中使用 HTML,它工作正常,但我进入了 ASP .NET。它不再起作用,并且未加载 JSON 文件。

最佳答案

您可能会找到这个 SO post有用。

After testing, i was successful at implementing the functionality by adding the serviceworker and manifest to a ASP.NET MVC application. Since the view (HTML) gets rendered in the backend, it's only possible to cache an static version of your web application. So preferable you should use angular etc to generate your HTML.

A progressive web app works on IIS and apache web server.

关于c# - Aspx 是否支持 PWA,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/46256341/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com