# Build a Simple CRUD App with ASP.NET Core 2.1 and Angular 6

**URL:** <https://devforum.okta.com/t/build-a-simple-crud-app-with-asp-net-core-2-1-and-angular-6/16909>\
**Category:** Developer Blog Comments\
**Created:** [August 1, 2018, 6:36pm UTC](https://devforum.okta.com/t/build-a-simple-crud-app-with-asp-net-core-2-1-and-angular-6/16909 "2018-08-01T18:36:27Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![oktadev-blog](https://sea1.discourse-cdn.com/oktadev/user_avatar/devforum.okta.com/oktadev-blog/32/3422_2.png) [@oktadev-blog](https://devforum.okta.com/u/oktadev-blog)\
**Post date:** [August 1, 2018, 6:36pm UTC](https://devforum.okta.com/t/build-a-simple-crud-app-with-asp-net-core-2-1-and-angular-6/16909/1 "2018-08-01T18:36:27Z")

</div>

[Build a Simple CRUD App with ASP.NET Core 2.1 and Angular 6](https://developer.okta.com/blog/2018/08/02/aspnet-core-angular-crud)

This tutorial walks you through building a simple CRUD application in [ASP.NET](http://ASP.NET) Core 2.1 and Angular 6.

---

<div class="post-metadata">

**Author:** ![oktadev-blog](https://sea1.discourse-cdn.com/oktadev/user_avatar/devforum.okta.com/oktadev-blog/32/3422_2.png) [@oktadev-blog](https://devforum.okta.com/u/oktadev-blog)\
**Post date:** [August 3, 2018, 12:56pm UTC](https://devforum.okta.com/t/build-a-simple-crud-app-with-asp-net-core-2-1-and-angular-6/16909/2 "2018-08-03T12:56:15Z")

</div>

**Stephen Darnell**

That’s a great article Lee. Thank you.  
Should the client side configuration have ‘oauth/default’ on the end of the issuer. When I had it on the end, I was always getting a 404 from the login page with a URL path of: /oauth/default/oauth2/v1/authorize?.. apparently it should be /oauth2/v1/authorize?..

---

<div class="post-metadata">

**Author:** ![oktadev-blog](https://sea1.discourse-cdn.com/oktadev/user_avatar/devforum.okta.com/oktadev-blog/32/3422_2.png) [@oktadev-blog](https://devforum.okta.com/u/oktadev-blog)\
**Post date:** [August 9, 2018, 3:52pm UTC](https://devforum.okta.com/t/build-a-simple-crud-app-with-asp-net-core-2-1-and-angular-6/16909/3 "2018-08-09T15:52:08Z")

</div>

**Lee Brandt**

oauth2/default

---

<div class="post-metadata">

**Author:** ![oktadev-blog](https://sea1.discourse-cdn.com/oktadev/user_avatar/devforum.okta.com/oktadev-blog/32/3422_2.png) [@oktadev-blog](https://devforum.okta.com/u/oktadev-blog)\
**Post date:** [February 5, 2019, 3:27pm UTC](https://devforum.okta.com/t/build-a-simple-crud-app-with-asp-net-core-2-1-and-angular-6/16909/4 "2019-02-05T15:27:03Z")

</div>

**bk100**

I may be tired, but I did not see a git repo to clone. If it isn’t listed, it would great if the entire completed app for the article could be available for cloning.

---

<div class="post-metadata">

**Author:** ![oktadev-blog](https://sea1.discourse-cdn.com/oktadev/user_avatar/devforum.okta.com/oktadev-blog/32/3422_2.png) [@oktadev-blog](https://devforum.okta.com/u/oktadev-blog)\
**Post date:** [February 5, 2019, 7:05pm UTC](https://devforum.okta.com/t/build-a-simple-crud-app-with-asp-net-core-2-1-and-angular-6/16909/5 "2019-02-05T19:05:09Z")

</div>

**leebrandt**

Hey bk100:

There isn’t really a repo to clone. The main focus of the post was to help readers upgrade the scaffolded [ASP.NET/Angular](http://ASP.NET/Angular) project to Angular 6.

---

<div class="post-metadata">

**Author:** ![oktadev-blog](https://sea1.discourse-cdn.com/oktadev/user_avatar/devforum.okta.com/oktadev-blog/32/3422_2.png) [@oktadev-blog](https://devforum.okta.com/u/oktadev-blog)\
**Post date:** [April 1, 2019, 3:51pm UTC](https://devforum.okta.com/t/build-a-simple-crud-app-with-asp-net-core-2-1-and-angular-6/16909/6 "2019-04-01T15:51:11Z")

</div>

**bk100**

What is the recommended way for replacing the Okta configuration for the _issuerurl_ and _clientid_ in the Ng app? Are environment.ts files which would rely on the build process to replace the file the values the best solution? How secure does this need to be from people inside an organization?

`// these values changes depending on environmentconst config = { issuer: ‘https://myorg.okta.com/oauth/default’, redirectUri: ‘http://myapp.com/implicit/callback’, clientId: ‘{clientId}’};`

---

<div class="post-metadata">

**Author:** ![oktadev-blog](https://sea1.discourse-cdn.com/oktadev/user_avatar/devforum.okta.com/oktadev-blog/32/3422_2.png) [@oktadev-blog](https://devforum.okta.com/u/oktadev-blog)\
**Post date:** [April 16, 2019, 2:15pm UTC](https://devforum.okta.com/t/build-a-simple-crud-app-with-asp-net-core-2-1-and-angular-6/16909/7 "2019-04-16T14:15:59Z")

</div>

**leebrandt**

I would probably use environment variables to allow for the easy transition from one environment.
