implement the hello world sample from electron - access to the node.js process object

This commit is contained in:
Gregor Biswanger
2017-10-04 16:35:39 +02:00
parent 2b93201383
commit 8d89ef3e64

View File

@@ -8,6 +8,12 @@
<body>
<h3>Hello from ASP.NET Core MVC!</h3>
We are using node
<script>document.write(process.versions.node)</script>,
Chrome
<script>document.write(process.versions.chrome)</script>,
and Electron
<script>document.write(process.versions.electron)</script>.
<br /><br />
<input type="button" value="Call Notification" onclick="location.href='@Url.Action("SayHello", "Home")'" />
</body>