Showing posts with label Free Template. Show all posts
Showing posts with label Free Template. Show all posts

Saturday, June 12, 2010

Serendipity strikes again

Can you believe it? After working my free asp.net template example and learning how to take a free web template and integrating it into asp.net, I acquired quite a few skills.

And now the company that I work for has started to work on a new web offering and for the first time decided to use an outside company to do the web UI design. They delivered HTML, CSS and images. So, now I am doing professionally exactly what I did previously for fun.

It is almost as if I was practicing for my current task. If that is not Serendipity, then I do not know what is.

Thursday, November 12, 2009

Personal Site Launched!

Well, it has taken awhile but I've finally rolled out a personal website. LeeSaunders.net is a place that I can post about all things that interest me ... except dot net programming, of course!

There is not much content as of yet, but the reason I am posting about it here is that I've used the asp.net web template that I created in a previous post. So if you want to see a live site, not just a live example, then head out to LeeSaunders.net!

Thursday, October 22, 2009

My first free ASP.Net CSS web template

Note: I've added a label: "Free Template" for all my posts relating to converting free CSS XHML web templates to Asp.Net web projects.

While watching TV for a couple evenings, I converted a simple CSS XHTML web template into a Asp.Net 2.0 project.

The template I converted I found on ThemeBot.com. I like ThemeBot.com because most of the web templates are covered by the Creative Commons license. The license gives you two explicit rights: you are free to share the template and you are free to adapt the template. The license(s) have either one condition: you must attribute the template, in the manner as specified by the author or two: attibute and Share Alike, where if you share your creation, you must also use this license (Or a similar one).

The template I altered was this one: sparkBB014. It is a simple template for a blog. Here is the link to the sparkBB014 Demo.

Now with all the prelimaries out of the way, here is what I did:

I wanted to achive a couple of things:

1 - Use a MasterPage
2 - Wrap the reusable/optional elements in UserControls
3 - Move all the data to the code behind so that users can easily be made dynamic.

So, I created a web project and added a master page to the project. Next I copied all the markup from between the body tags and copied it into the master page.

Then I pulled out each block of data and the surrounding markup out and replaced it with a ContentPlaceHolder. Then inside the Default.aspx for each ContentPlaceHolder I placed a corresponding Content tag and filled it with the data/markup I had just removed from the Master Page.

Once that was done, I started IDing and runat=servering html elements so that I could touch them programatically.

Seeing that the entire blog design scheme was repeated for each entry, I pulled the entire structure out into into own ascx UserControl.

And since I would not want the search area on every page I moved it as well to its own ascx UserControl.

Last but not least, I removed the actual data from the markup and coded the codebehind c# to dynamically load the data into the markup. So, here is the zip file containing the project and here is a link to the asp.net site hosted at 1&1. Please, tell me what you think!

Wednesday, October 14, 2009

free asp.net web templates

Note: I've added a label: "Free Template" for all my posts relating to converting free CSS XHML web templates to Asp.Net web projects.

Ok, Why are there no websites offering free asp.net web templates? Is there no market?

There are tons of websites offering free xhtml/css website templates. Nearly all of them have licenses that allow compete freedom to alter it as long as you give credit to the creator. So, nobody can say that there is no material.

So, is it because there is no need? The way I see an asp.net web template offering is an asp.net web project with a master page with ContentPlaceHolder's sprinkled throughout so that a user of the template could get an asp.net website up and running quickly.

I'm not talking about anything as detailed as the starter kits from Microsoft, just simple templates, like the ones all over the net, but configured for asp.net.

So, tell me, would a site like ... say ... freeaspnettemplates.com be a site that anyone would use? Tell me your opinion, you just may start me on a new hobby!