iis fehler in der Entwicklung

zeigte nichts mehr an und machte immer einen redirect auf accounts login…

https://stackoverflow.com/questions/5009565/asp-net-mvc3-and-windows-auth-on-iis-keeps-redirecting-to-account-login

Eine Lösung, die hier funktioniert hat ist:

I fixed it this way
1) Go ot IIS
2) Select your Project
3) Click on „Authentication“
4) Click on „Anonymous Authentication“ > Edit > select „Application pool identity“ instead of „Specific User“.
5) Done.

web workers mit parametern

As you can see you have the same mechanism for both worker-to-main and main-to-worker messages.

  • the postMessage method for sending messages
  • the onmessage member for defining the handler that receives the messages

In the main script:

worker.postMessage(data);

In the worker script:

self.addEventListener("message", function(e) {
    // the passed-in data is available via e.data
}, false);

… or just…

onmessage = function(e) {
    // the passed-in data is available via e.data
};