asp.net - angular 2 functions in chrome fails in internet explorer 11 -
there example application @ http://www.codeproject.com/articles/1118189/crud-using-net-core-angularjs-webapi functions in chrome async calls seem fail in ie11. have tried adding/removing combinations of following
<meta http-equiv="pragma" content="no-cache"> <meta http-equiv="expires" content="-1"> <meta http-equiv="x-ua-compatible" content="ie=edge" /> <script src="../lib-npm/es5-shim/es5-shim.js"></script> <script src="../lib-npm/es5-shim/es5-sham.js"></script> <script src="../lib-npm/es6-shim/shims_for_ie.js"></script> <script src="../lib-npm/es6-shim/es6-shim.js"></script>
if open development tools in internet explorer , change emulation 10, page functions expected. (data in list updates on save) if change x-ua-compatible edge 10, call still fails.
no errors.
project.json { "dependencies": { "microsoft.netcore.app": { "version": "1.0.0", "type": "platform" }, "microsoft.aspnetcore.diagnostics": "1.0.0", "microsoft.aspnetcore.server.iisintegration": "1.0.0", "microsoft.aspnetcore.server.kestrel": "1.0.0", "microsoft.aspnetcore.server.weblistener": "0.1.0", "microsoft.extensions.logging.console": "1.0.0", "microsoft.aspnetcore.mvc": "1.0.0", "microsoft.aspnetcore.staticfiles": "1.0.0", "microsoft.entityframeworkcore.sqlserver": "1.0.0", "microsoft.entityframeworkcore.tools": "1.0.0-preview2-final", "microsoft.entityframeworkcore.sqlserver.design": "1.0.0" }, "tools": { "microsoft.aspnetcore.server.iisintegration.tools": "1.0.0-preview2-final", "microsoft.entityframeworkcore.tools": "1.0.0-preview2-final" }, "commands": { "webiis": "microsoft.aspnet.hosting --server microsoft.aspnet.server.kestrel --server.urls http://localhost:5000", "outsideiis": "microsoft.aspnet.hosting --server microsoft.aspnet.server.weblistener --server.urls http://localhost:5001" }, "frameworks": { "netcoreapp1.0": { "imports": [ "dotnet5.6", "portable-net45+win8" ] } }, "buildoptions": { "emitentrypoint": true, "preservecompilationcontext": true }, "runtimeoptions": { "configproperties": { "system.gc.server": true }, "runtimes": { "osx.10.11-x64": {}, "ubuntu.14.04-x64": {}, "win7-x64": {} } }, "publishoptions": { "include": [ "wwwroot", "web.config" ] }, "scripts": { "postpublish": [ "dotnet publish-iis --publish-folder %publish:outputpath% --framework %publish:fulltargetframework%" ] } } package.json { "version": "1.0.0", "name": "asp.net", "private": true, "dependencies": { "angular2": "2.0.0-beta.9", "systemjs": "0.19.24", "es6-shim": "^0.33.3", "rxjs": "5.0.0-beta.2" }, "devdependencies": { "gulp": "3.8.11", "gulp-concat": "2.5.2", "gulp-cssmin": "0.1.7", "gulp-uglify": "1.2.0", "rimraf": "2.2.8" } }
Comments
Post a Comment