How to convert Wordpress website to ASP.net web form?? is it possible??

Anitha Sivakumar 0 Reputation points
2023-04-25T07:18:03.89+00:00

We don't have the source code for the WordPress website. We got the code from the inspect-->view page source method. We just pasted the code in Visual studio and it's working but the problem is we were unable to separate the CSS and script file. As for now, all the files are pasted in default.aspx file.. Is this the right way to do it? or some other option? Please guide me. Thanks in Advance.

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,598 questions
Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
5,447 questions
Windows 11
Windows 11
A Microsoft operating system designed for productivity, creativity, and ease of use.
10,816 questions
{count} votes

3 answers

Sort by: Most helpful
  1. Limitless Technology 44,556 Reputation points
    2023-04-26T11:34:43.64+00:00

    Hello there, There is no conversion from WordPress to .NET. You will need to recreate the site. You can use a .NET based CMS such as Orchard https://social.msdn.microsoft.com/Forums/en-US/d6b4328b-bf44-4c7c-8a43-027351c00813/how-can-i-convert-my-website-from-wordpress-to-net-?forum=aspgettingstarted Hope this resolves your Query !! --If the reply is helpful, please Upvote and Accept it as an answer--

    1 person found this answer helpful.
    0 comments No comments

  2. Arslan Shabir 0 Reputation points
    2024-01-04T14:17:07.99+00:00

    Using the "inspect --> view page source" method to obtain code for a WordPress website and pasting it into Visual Studio might give a quick result, but it's not the recommended approach. The issue with combining all files into the default.aspx file, including CSS and scripts, can lead to maintenance challenges and hinder performance. It's advised to obtain the actual source code from the WordPress project, keeping CSS and script files separate, and then integrate them appropriately in a structured manner within your Visual Studio project. This ensures better organization, scalability, and easier maintenance of the codebase. I have also done my blog website.

    0 comments No comments

  3. RabNawaz khan 0 Reputation points
    2025-02-18T20:32:55.91+00:00

    Your post is very informative and logical, addressing a common challenge when converting websites across platforms. While working with WordPress code in an ASP.NET environment can be tricky, separating CSS and script files into their respective folders will certainly help maintain organization and improve site performance. The process of converting websites often involves finding the right tools and methods for the job, similar to how custom bowls at Cava allow you to organize and personalize a meal to your liking. For more details on ASP.NET, you can explore resources at Microsoft Learn. Additionally, for web development best practices, you might want to check out ASP.NET Documentation. Keep up the great work, and good luck with the conversion process!

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.