简体   繁体   English

Web应用程序作为桌面应用程序

[英]web application as desktop application

I have a web application in c# .net, and have a problem that every user using other browser, and some of the users are big organizations and they have really old browsers like old IE. 我在c#.net中有一个Web应用程序,并且遇到了一个问题,每个用户都在使用其他浏览器,并且其中一些用户是大型组织,并且它们确实具有旧的浏览器,例如旧的IE。 When they logging in from this browser some of the features cant work. 当他们从该浏览器登录时,某些功能将无法使用。

I need something to wrap the web application when user using it in the pc, something that will act like a browser but with out the ability to change address or click right click or other things like it and will be the same for all the users. 当用户在PC中使用Web应用程序时,我需要一些包装Web应用程序的东西,其功能类似于浏览器,但无法更改地址或单击右键或其他类似功能,并且对所有用户而言都是相同的。

I tried to use Node-Webkit, and i did it like here: Use node-webkit for web app 我尝试使用Node-Webkit,并且在这里做到了: 将node-webkit用于Web应用程序

The problem is that the user can see the package.json file and see the address of the site and can even change it. 问题在于用户可以看到package.json文件并看到站点的地址,甚至可以更改它。 The json file: json文件:

{
"name": "example-app",
"main": "http://www.XXXX.com",
"window": {
    "toolbar": false
}

} }

There is some way to hide the config file or to package it in some way? 有一些隐藏配置文件或以某种方式打包的方法吗? or to use other solution? 或使用其他解决方案?

You can use CefSharp 您可以使用CefSharp

CefSharp - Embedded Chromium for .NET CefSharp-用于.NET的嵌入式Chromium

this might help you. 这可能对您有帮助。

Examples 例子

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM