# Asp.net core 2.0 web api with angular client auth0 configuration

**URL:** <https://community.auth0.com/t/asp-net-core-2-0-web-api-with-angular-client-auth0-configuration/8559>\
**Category:** Get Help\
**Tags:** vs2017-aspnet-core-2\
**Created:** [October 24, 2017, 1:37pm UTC](https://community.auth0.com/t/asp-net-core-2-0-web-api-with-angular-client-auth0-configuration/8559 "2017-10-24T13:37:33Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![aris.rellegue](https://upload.wikimedia.org/wikipedia/commons/thumb/7/7c/User_font_awesome.svg/768px-User_font_awesome.svg.png) [@aris.rellegue](https://community.auth0.com/u/aris.rellegue)\
**Post date:** [October 24, 2017, 1:37pm UTC](https://community.auth0.com/t/asp-net-core-2-0-web-api-with-angular-client-auth0-configuration/8559/1 "2017-10-24T13:37:33Z")

</div>

Hello,  
I’m trying to create a web api project in vs2017 using [asp.net](http://asp.net) core 2.0 with angular client.  
I followed the quickstart for angular2 spa. But i can not get past the checkpoint to try calling the auth.login().

I get the error “NodeInvocationException: Prerendering failed because of error: TypeError: require is not a function”. But if I remove the prerender in home.html view, I get a blank page instead.

Please let me know how to fix this.

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/auth0/original/3X/b/5/b560f266932fcce5d57f09a6595bd50518cae3f3.jpeg) [@system](https://community.auth0.com/u/system)\
**Post date:** [March 2, 2018, 5:57am UTC](https://community.auth0.com/t/asp-net-core-2-0-web-api-with-angular-client-auth0-configuration/8559/2 "2018-03-02T05:57:06Z")

</div>


