Is it good to configure IdentityServer4 at .net core side or angular side in ASP.NET Core with Angular template - identityserver4

I am using Visual Studio template ASP.NET Core with Angular. In this, I want to configure IdentityServer4, on which side is it to good implement?

Related

Integrating React to an existing ASP.NET Core MVC web app

I have an existing ASP.NET Core MVC web app that I created with .NET Core 3.0.
I want some parts of my application to be single page app - so how do I integrate React into an existing ASP.NET Core MVC web app? Please help

ADAL, Angular and WEB API strategy

I am a Microsoft developer. Making an ASP.NET application with authentication to Azure AD is very easy. The traditional multi page application with Vue (as an example) can be created within two minutes (by using the Authentication wizard in Visual Studio). However watching some Angular and NPM videos I liked the CLI/npm approach. So I decided to build my next project using ADAL.js, ASP.NET Core API and Angular 6 (deploy to Azure web app). But I haven't been able to succeed, and have only been met by complexity and issues.
Is the combo of these three technologies just a bad mix, Visual Studio not suited for SPA, or have I just gotten a bad start? Any suggestions on a good setup? I am considering to split the API and front end in two apps, so I can use clean Angular without having to worry about who is building TypeScript (VS or Node) etc. But then I need two web apps, and have to worry about CORS. Any suggestions here, what is a good setup to get started?
I have followed a lot of articles like:
http://www.talkingdotnet.com/how-to-create-an-angular-6-app-with-visual-studio-2017/
https://www.npmjs.com/package/microsoft-adal-angular6
But all of them had issues.
Refer to this Microsoft published GitHub sample. This sample demonstrates the use of ADAL for JavaScript for securing an AngularJS based single page app, implemented with an ASP.NET Web API backend, that calls another ASP.NET Web API using CORS.
Call an Azure AD protected Web API in an AngularJS Single Page App

How to run an Asp.Net based angular application on Node.js?

All the visual studio example for creating angular application is based on asp.net. However I need to deploy the Asp.Net based application on Node.js and I want to use visual studio to debug when developing.

SPA pre-rendering in Asp.net core?

How do i implement prerenderio in asp.net core, for angular spa. Or is there any way that asp.net core has introduced to do this. Actually i am migrating my old asp.net to asp.net core.
There is a package offered by Microsoft which allows to pre-render/execute Nodejs/JavaScript on the server side, commonly known under "JavaScriptServices". You can find it on the ASP.NET team's GitHub repository.
There are different packages that build up on different packages. The Microsoft.AspNetCore.NodeServices is the base package, usually used for people who implement their own server-sided execution based on NodeJS. Then there is Microsoft.AspNetCore.SpaServices which is based on NodeServices and tailored for single plage applications (SPAs) and finally there is a Microsoft.AspNetCore.AngularServices package which provides Angular specific extensions and is based on SpaServices.
On the GitHub you can find examples, for example the MusicStore SPA with server-side rendering.

Is there any sense in using server side MVC framework when using angularJS routing?

I'm new to AngularJS(it's great!) and I suddenly realized that I don't need server side MVC framework when using AngularJS routing... Am I right? I mean off course I need some sort of Restful Web API but the use of MVC is redundant no?

Resources