c# - ASPX File only Shows Code -
i've been trying upload site hostinger domain few days now, reason .aspx file shows raw code , doesn't show of gui present when run through browser. how advise?
<%@ page title="" language="c#" masterpagefile="~/mater pages/primary.master" autoeventwireup="true" codefile="default.aspx.cs" inherits="_default" %> <asp:content id="content1" contentplaceholderid="head" runat="server"> <style type="text/css"> .auto-style1 { width: 873px; height: 455px; } </style> </asp:content> <asp:content id="content2" contentplaceholderid="cpmaincontent" runat="server"> <h2 style="text-align: center"> hello , welcome personal website. hope enjoy visit.</h2> <h3 style="text-align: center"> if reason can't find looking please use contact form <a href="main%20pages/contact%20me.aspx">here</a> , you'll response within 2-3 working days</h3> <h3 style="text-align: center"> <img alt="" class="auto-style1" src="images/default/image%20for%20hompage.png" /></h3> <p style="text-align: center"> <script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script> <!-- website ad test --> <ins class="adsbygoogle" style="display:inline-block;width:728px;height:90px" data-ad-client="ca-pub-8284273019831171" data-ad-slot="7241345648"></ins> <script> (adsbygoogle = window.adsbygoogle || []).push({}); </script> </p> </asp:content> <asp:content id="content3" contentplaceholderid="contentplaceholder1" runat="server"> </asp:content>
looking @ hostinger's website looks me not support .net framework.
Comments
Post a Comment