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


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.

  • 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? :)

  • 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.