Hi
Can I combined MVC5 Aj and MVC5 Jq in one project? And, If I combined both in one project will influence any problem to came out?? Becuz I wondering MVC5 Aj whether can cross assist with MVC5 Jq in one project. Example, can reused the MVC5 Aj's authorization in MVC5 Jq.
Thanks.
5 Answer(s)
-
0
@tteoh,
It shouldn't be a problem. We are developing ASP.NET Zero's MVC 5.x version like that, you can check <a class="postlink" href="https://github.com/aspnetzero/aspnet-zero">https://github.com/aspnetzero/aspnet-zero</a>.
-
0
@ ismcagdas Thanks for your reply.
Firstly, I need to tell for u know why I want to combined both is becuz I need using AngularJS Back End Single-Page Application and MVC Back End Multi-Page Application in my application. I wanted to do Single-Page Application and MVC Back End Multi-Page Application in one application is I hopefully they can cross assist. Example, they can using same authorization, same services.
In Asp.net zero document has telling us, ASP.NET Zero solution contains four application.(<a class="postlink" href="https://github.com/aspnetzero/documents/blob/master/doc/Development-Guide-Mvc-Angularjs.md#applications">https://github.com/aspnetzero/documents ... plications</a>)
But why I can't founded 'Areas' folder in MVC5 Aj ?(<a class="postlink" href="https://github.com/aspnetzero/documents/blob/master/doc/Development-Guide-Mvc-Angularjs.md#application-folders-1">https://github.com/aspnetzero/documents ... -folders-1</a>)
-
0
@tteoh when you area downloading AngularJS version, Areas folder is deleted. So, you need to download ASP.NET MVC 5.x & jQuery version using the same name and merged two projects manually.
-
0
@ ismcagdas
Thanks for your ans.
How can I get user object in ApplicationController? Because i need to manage user route to correct application which are SPA or MPA
-
0
@ismcagdas
Thanks for your ans.