mirror of
https://github.com/aspnet/JavaScriptServices.git
synced 2025-12-22 17:47:53 +00:00
Rename ES2015Transpilation sample to NodeServicesExamples (because will be adding some more examples here)
This commit is contained in:
BIN
samples/misc/NodeServicesExamples/wwwroot/favicon.ico
Executable file
BIN
samples/misc/NodeServicesExamples/wwwroot/favicon.ico
Executable file
Binary file not shown.
|
After Width: | Height: | Size: 31 KiB |
7
samples/misc/NodeServicesExamples/wwwroot/js/main.js
Normal file
7
samples/misc/NodeServicesExamples/wwwroot/js/main.js
Normal file
@@ -0,0 +1,7 @@
|
||||
class Greeting {
|
||||
getMessage() {
|
||||
return 'Hello from the ES2015 class';
|
||||
}
|
||||
}
|
||||
|
||||
console.log(new Greeting().getMessage());
|
||||
9
samples/misc/NodeServicesExamples/wwwroot/web.config
Normal file
9
samples/misc/NodeServicesExamples/wwwroot/web.config
Normal file
@@ -0,0 +1,9 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<configuration>
|
||||
<system.webServer>
|
||||
<handlers>
|
||||
<add name="httpPlatformHandler" path="*" verb="*" modules="httpPlatformHandler" resourceType="Unspecified" />
|
||||
</handlers>
|
||||
<httpPlatform processPath="%DNX_PATH%" arguments="%DNX_ARGS%" stdoutLogEnabled="false" forwardWindowsAuthToken="false" startupTimeLimit="3600" />
|
||||
</system.webServer>
|
||||
</configuration>
|
||||
Reference in New Issue
Block a user