Progressive web app implementation in ASP.NET MVC [closed]

早过忘川 提交于 2019-12-22 08:57:33

问题


I'm researching progressive web apps, and i was wondering if it's possible to integrate this technology with existing ASP.NET MVC web applications.

I don't find any example of this integration, only in combination of javascript frameworks that render HTML like angular, knockout etc.

Also, is it possible to host a progressive web app on IIS or are you limited to an apache web server?


回答1:


After testing, I was successful at implementing the functionality by adding the service worker and manifest to a ASP.NET MVC application. Since the view (HTML) gets rendered in the back-end, it's only possible to cache a 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.



来源:https://stackoverflow.com/questions/45995057/progressive-web-app-implementation-in-asp-net-mvc

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!