Please Add an Example of how to Get .NET variables into Angular code for Angular 4 #742

Closed
opened 2025-08-09 17:17:30 +00:00 by fergalmoran · 0 comments
Owner

Originally created by @JohnGalt1717 on 5/19/2017

In the past you could inject the params.data.xxx into the zone in the boot-server.ts

Then you could get them with Zone.get("xxx") and you were good.

But now this doesn't work because there is no zone setup in the boot-server.ts and there doesn't appear to be any reasonable way to pass the values. The const providers = ... in boot-server.ts looks promising but I can't get this to inject properly anywhere with a value.

This is a major (and only) blocker for us going to production. Any assistance would be greatly appreciated. I'm 16 hours in on trying to make this work with no luck no matter what I try.

*Originally created by @JohnGalt1717 on 5/19/2017* In the past you could inject the params.data.xxx into the zone in the boot-server.ts Then you could get them with Zone.get("xxx") and you were good. But now this doesn't work because there is no zone setup in the boot-server.ts and there doesn't appear to be any reasonable way to pass the values. The const providers = ... in boot-server.ts looks promising but I can't get this to inject properly anywhere with a value. This is a major (and only) blocker for us going to production. Any assistance would be greatly appreciated. I'm 16 hours in on trying to make this work with no luck no matter what I try.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github/JavaScriptServices#742
No description provided.