Click here to Skip to main content
15,891,607 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Hi Everyone,

I am new in web plate-form and I have a asp.net with angular application and i want to convert it into Asp.net MVC5.

Can anyone help me.

what is the best way to easily convert it.

thanks in advance.

What I have tried:

Not tried anything. I need just a reference to do it so i can follow that.
Posted
Updated 22-Aug-19 2:13am

Quote:
asp.net with angular application
If that is based on the controller-pattern, then it already is an MVC application!

But, if that is some of the older technologies, such as Web Forms (correct me if I am wrong), then I recommend that not only just you need to revamp the View part of it, but also the backend of the application as well.
Quote:
what is the best way to easily convert it.
I would recommend using ASP.NET Core now, since it is the recommended approach to web application development. ASP.NET Core comes shipped with some boilerplate code for Angular apps too.

Use the Angular project template with ASP.NET Core | Microsoft Docs[^]

You can then add your own content and components to this website—just asking, how complex the application itself is?
 
Share this answer
 
Comments
KHEMRAJ_UDR 12-Sep-19 4:29am    
Actually i have Asp.Net Core with Angular single page web application (Created from BoilerPlate template). but i have issues in angular due to lack of knowledge. so i wants to convert it into Boilerplate based Asp.Net MVC5 multi page application.
There will be no "easy conversion" from one to the other until you are proficient in both Angular and MVC, and then ease of doing this is going to be directly proportional to the complexity of the current Angular application.

The way I would go about this is basically going to be:
1. Create a list of each and every thing that is needed in the new site.

2. Go through this list and split this list; is this going to be a straight MVC function or is there something special about this.

3. Get the standard MVC items taken care of first.

4. Go through the complex items one by one, function by function.
 
Share this answer
 
Comments
KHEMRAJ_UDR 12-Sep-19 4:30am    
Actually i have Asp.Net Core with Angular single page web application (Created from BoilerPlate template). but i have issues in angular due to lack of knowledge. so i wants to convert it into Boilerplate based Asp.Net MVC5 multi page application.
MadMyche 12-Sep-19 6:44am    
That changes nothing

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900