Click here to Skip to main content
15,887,596 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hai everybody,
I am a freelancer and i am right now doing a website of a company.I am doing this website in microsoft visual studio 2010 and when i looked in website folder, it is all in aspx format which opens only in visual studio.I have to show this website to this client who does'nt have a visual studio.Can anyone tell me any idea of how to show my website to client without using visual studio or how to convert it to html pages.
Posted
Updated 17-Apr-23 3:06am

Open page in browser,right click and select view page source,save page as html,its that easy.But you will not get any code behind.
 
Share this answer
 
Comments
KM Perumal 8-May-13 3:14am    
Well..nice answer Rohan Leuva
Thanks7872 8-May-13 3:15am    
Thanks perumal.
faizel s 8-May-13 3:22am    
Thank you for your help rohan leuva.god bless you
Thanks7872 8-May-13 3:25am    
Glad i can help you faizel.You can acceept any answer in any forum if it helps you.
open that aspx page with your notepad
you might be getting some code

suppose you are getting

XML
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="index.aspx.cs" Inherits="user_index" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>Untitled Page</title>
</head>
<body>
    <form id="form1" runat="server">
    <div>
Hello World
    </div>
    </form>
</body>
</html>


Remove the tag

HTML
<![CDATA[<%@ Page Language="C#" AutoEventWireup="true" CodeFile="index.aspx.cs" Inherits="user_index" %>]]>


then save txt file with .html extension.
In this you will be able to see the design , but you can't see the server controls of asp.net.
 
Share this answer
 

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