Angular-CLI-Based-Template: Appropriate way to return HTTP Status Code #281

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

Originally created by @naveedahmed1 on 12/8/2017

@SteveSandersonMS with new Angular CLI based template what is the most appropriate way to return proper HTTP Response Code for example 404 for page not found?

For Angular part we can do something like this https://stackoverflow.com/a/46790709/2755616 but how would we grab and handle the status code passed from Angular in .Net with this new template.

*Originally created by @naveedahmed1 on 12/8/2017* @SteveSandersonMS with new Angular CLI based template what is the most appropriate way to return proper HTTP Response Code for example 404 for page not found? For Angular part we can do something like this https://stackoverflow.com/a/46790709/2755616 but how would we grab and handle the status code passed from Angular in .Net with this new template.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github/JavaScriptServices#281
No description provided.