Starting To Play Around With ASP (Pre-MVC Stuff)

Sorry for the lack of updates here. I’ve been plugging away with the ASP & MVC work with some courses I’ve been taking. Stay tuned because I’ll be posting the projects I’ve been working on in progression.

This one is the beginning of the ASP stuff I’ve been playing with. This is an older project before I started messing with ASP, MVC, and the Entity framework. Again, those posts will come later. I’ve got the projects done. I just need to post them. So this will eventually lead into more ASP/MVC stuff. I’ve taking a liking to the way things work.. 🙂

There really isn’t much code to post other than the screenshots and a few html pages. Not much meat to this one. So if you want to take look at the source head on over to the downloads page, pull it down, and take a look.



Site.master file

<%@ Master Language="C#" AutoEventWireup="true" CodeFile="Site.master.cs" Inherits="SiteMaster" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "">
<html xmlns="" xml:lang="en">
<head runat="server">
    <link href="~/Styles/Site.css" rel="stylesheet" type="text/css" />
    <asp:ContentPlaceHolder ID="HeadContent" runat="server">
    <form runat="server">
    <div class="page">
        <div class="header">
            <div class="title">
                    My ASP.NET Application
            <div class="loginDisplay">
                <asp:LoginView ID="HeadLoginView" runat="server" EnableViewState="false">
                        [ <a href="~/Account/Login.aspx" ID="HeadLoginStatus" runat="server">Log In</a> ]
                        Welcome <span class="bold"><asp:LoginName ID="HeadLoginName" runat="server" /></span>!
                        [ <asp:LoginStatus ID="HeadLoginStatus" runat="server" LogoutAction="Redirect" LogoutText="Log Out" LogoutPageUrl="~/"/> ]
            <div class="clear hideSkiplink">
                <asp:Menu ID="NavigationMenu" runat="server" CssClass="menu" EnableViewState="false" IncludeStyleBlock="false" Orientation="Horizontal">
                        <asp:MenuItem NavigateUrl="~/Default.aspx" Text="Home"/>
                        <asp:MenuItem NavigateUrl="~/About.aspx" Text="About"/>
                        <asp:MenuItem NavigateUrl="~/Public/Default.aspx" Text="Public"/>
                        <asp:MenuItem NavigateUrl="~/Private/Default.aspx" Text="Private"/>
                        <asp:MenuItem NavigateUrl="~/Family/Default.aspx" Text="Family"/>
                        <asp:MenuItem NavigateUrl="~/SiteMap.aspx" Text="Site Map"/>
            <asp:SiteMapPath ID="SiteMapPath1" runat="server" Visible="False">
        <div class="main">
            <asp:ContentPlaceHolder ID="MainContent" runat="server"/>
        <div class="clear">
    <div class="footer">
        <asp:Panel ID="Panel1" runat="server">
            <asp:Label ID="Label1" runat="server" Text="This Is A Footer Label From Site.Master"></asp:Label>
            <asp:ContentPlaceHolder ID="FootContent" runat="server"></asp:ContentPlaceHolder>

Web.sitemap File

<?xml version="1.0" encoding="utf-8" ?>
  <siteMapNode title="Home" description="Home" 
  <siteMapNode title="Admin" description="Admin"
  <siteMapNode title="Public" description="Public Information"
      url="~/Public/Default.aspx" >
  <siteMapNode title="Members" description="Members"
  <siteMapNode title="Private" description="Private Information"
  <siteMapNode title="Family" description="Information For Family"
    <siteMapNode title="Mother" description="Mother"
    <siteMapNode title="Father" description="Father"
  <siteMapNode title="About" description="About us"
  <siteMapNode title="Site Map" description="Site Map"

Leave a Reply

Please log in using one of these methods to post your comment: Logo

You are commenting using your account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s