Getting API endpoint configuration into TypeScript files #386

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

Originally created by @jrmcdona on 10/4/2017

Hi Steve,
Do you have any or know of any examples of getting the configuration (appSetting.json) into the TypeScript?

Looking for a clean way to that.

I would be ok with Enviornments folder too that the Angular CLI uses.

This thread hasn't helped just yet. Perhaps it might if they end up responding but when I look at that example I am not seeing what I am trying to do and it also doesn't look like a "dotnet new angular" project.
https://github.com/aspnet/JavaScriptServices/issues/1075

Thanks

*Originally created by @jrmcdona on 10/4/2017* Hi Steve, Do you have any or know of any examples of getting the configuration (appSetting.json) into the TypeScript? Looking for a clean way to that. I would be ok with Enviornments folder too that the Angular CLI uses. This thread hasn't helped just yet. Perhaps it might if they end up responding but when I look at that example I am not seeing what I am trying to do and it also doesn't look like a "dotnet new angular" project. https://github.com/aspnet/JavaScriptServices/issues/1075 Thanks
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github/JavaScriptServices#386
No description provided.