Base solution for your next web application
Open Closed

Angular FronEnd #4756


User avatar
0
ultimatemm created

Hi, I want to add some angular front end page to a current AspNetCore+Angular backend. It means add to about us, service, FAQ, etc without login. After login then shows backend. How do I achieve this? Thanks

Markdown is supported
Copy & paste or drag & drop images (max 30 MB per image)

3 Answer(s)
  • User Avatar
    0
    alper created
    Support Team

    hi,

    you can add those pages that doesn't need authentication to Web.Public... And your landing project must be Web.Public. Whenever user clicks the MyApplication button or Login button or whatever your real application does, navigate to angular frontend.

    Markdown is supported
    Copy & paste or drag & drop images (max 30 MB per image)
  • User Avatar
    0
    ultimatemm created

    Hi Alper, Yes I know we can add those page without login to the Public project. But I only want use Net Core 2 Host as backend and Angular as Frontend. Are there any ways I can achieve this? :)

    Markdown is supported
    Copy & paste or drag & drop images (max 30 MB per image)
  • User Avatar
    0
    ismcagdas created
    Support Team

    @ultimatemm you can create a new module similar to account module which doesn't require authentication. You can place your new pages in this module.

    You can also use account module as well for this purpose but I think it is not a good way.

    Markdown is supported
    Copy & paste or drag & drop images (max 30 MB per image)