Home > Net >  What code language uses these files and structure?
What code language uses these files and structure?

Time:12-04

I need to do some work on a code given to me, but I don't know what the language is.

It has a .sln file towards the top.

It has a .master file with code that looks like this:

<div class="page">
        <form id="form1" runat="server">
        <asp:Panel ID="pnlMaster" runat="server" BorderColor="#082F48" BorderStyle="Solid" 
            HorizontalAlign="Center" Width="970px">
            <div style="width: 100%;">
                <table id="tblAreaTabs" width="970px" align="center">
                    <tr bgcolor="#05133B">
                        <td align="left">
                            <img alt="image" src="/Images/LogoTall.jpg" />
                        </td>
                    </tr>
                    <tr style="background: url(/Images/rowBg.jpg); height: 27px" align="left">
                        <td align="right" style="padding-right: 10px;">
                            <asp:LinkButton ID="lnkLogout" runat="server" ForeColor="White">Log Out</asp:LinkButton>
                        </td>
                    </tr>
                </table>
            </div>
            <table align="center" width="970px">
                <tr>
                    <td align="left" valign="top">
                        <asp:Label ID="lblError" runat="server"></asp:Label>
                        <asp:ScriptManager ID="ScriptManager1" runat="server" />
                        <asp:ContentPlaceHolder ID="ContentPlaceHolder1" runat="server">
                        </asp:ContentPlaceHolder>
                    </td>
                </tr>
            </table>
        </asp:Panel>
        </form>
        </div>

In the same folder as .master, there's some .vb and .vbproj files. There's also a web.congig file.

There are various folders for things like CSS and images, and some with more .vb files.

My guess was ASP.NET, but when I made a "hello world" ASP.NET app to compare, they looked nothing alike.

CodePudding user response:

It's a likely a ASP.NET Master Pages application. .sln is a solution file. Try to open the project using Visual Studio Community (free), for a better experience with it.

https://docs.microsoft.com/en-us/previous-versions/aspnet/wtxbf3hh(v=vs.100)

  • Related