I am currently building a website for an organisation that I am involved with there will be a public facing section of the website and also a members section.
The public facing section will include pages such as "About", "News", "Events" etc and the members section will include a chat section for members, rehearsal schedules and other members features.
It is going to be a Azure hosted application with the members section written in Angular 2 with a WebAPI service.
However, I am unsure how to put the public facing section together so that it loads fast as Angular 2 seems to be quite slow on initial loading.
I could put the members section in a module and load it only when required but I am not sure how that would speed it up as I think that the JS would still need to be downloaded to the client.
I have considered writing the public facing pages in ASP.NET but I am not sure whether it is possible to mix that with Angular 2.
The final thought I have thought about is to have 1 Angular 2 app for the public pages, and a second for the members area as this would leave 2 smaller packages of javascript to send to the client.
Does anybody have any ideas or alternatives? Are there any flaws with my logic?
Al