Jake Ashcraft's WebLog

Personal Web Site Starter Kit (Beta2)

At first glance the Personal Web Site starter kit (PWSK) appeared to be really cool for beginners. I decided that I was going to create a site with the PWSK for my daughter. Because the starter kit boasted some nice out of the box features such as manageable photo albums.

So I got some hosting setup, created the site, and copied the files over and come to find out, Crystal Tech doesn't support SQL Express. So I reproduced the required databases for SQL 2K and got it working. Well, at least it appeared to be working. Shortly after adding photos, logging in and out, the system began to error out. I would receive the following error.

Timeout expired.  The timeout period elapsed prior to obtaining a connection from the pool.  This may have occurred because all pooled connections were in use and max pool size was reached.

After some investigation it appears that in the PhotoManager.cs class all connections being opened are never closed. So I made some modifications to the functions and copied the new version up. Well, so far so good. Everything is working fine, connections are ok but now I have discovered another problem. I uploaded about 25 photos. In the PWSK all photos are stored in the Photos table. My 25 photos consume roughly 11MB. Well, much to my surprise, when you navigate to the main page, some initialization takes place and it loads all the photos into memory from the first photo album. This really sucks because not I have to sit and wait for all photos to download.

So in the meantime I will work around this by having my first photo album contain only 1 or 2 photos in it. Needless to say, I am a little disappointed.

I would be interested to hear in anyone else's experiences with this.

 

 

Comments

Eric Newton said:

sounds like some quality coding there
# April 25, 2005 1:11 AM

CZoneSoft said:

how about only stored images's url in db,not binary data. and distill asynchronously.
# April 25, 2005 2:42 AM

Gareth Brown said:

I downloaded the beta start kits last week and looked through them, and to be honest I was very disappointed.

The code is not what I was expecting from Microsoft! What standards are we meant to work to?
# April 25, 2005 5:42 AM

Vurg said:

Even the time-tracker and the club site starter kits have their share of problems. The projects won't compile from the start because of namespace mismatch and/or mistyped classes. I know these require just minor edits but come on, at least test the thing before packaging it.
# April 25, 2005 8:34 AM

Jake said:

Yes, I am very disappointed. And to think that MS just posted an article on the personal web site. How could they not know of its issues? If you look through the PhotoManager.cs you will see that whenever you create a new instance of the class, the constructor creates a new connection to the DB even though there are a couple functions that don't do any DB interaction. Apparently the Patterns and Practices group and the starter kit group are not talking. I mean, the whole point of the starter kit is to show off how cool .Net 2.0 is and how robust it is but in fact it is the opposite. I haven't looked into the other starter kits you mentioned but I am not surprised that they share the same problems.

Jake
# April 25, 2005 12:21 PM

Martin Ennemoser said:

I just stumbled over this issue regarding connections left open in the PhotoManager class. That's a real shop-stopper. It took me 2 hours to find out that the mantra "open late, close early" is obviously not something that's known by all Microsoft employees. Seems to me that only junior level developers are hired for writing such sample code. Too bad that this same faulty code is reused by thousands of developers, believing that something Microsoft provides as a guiding example cannot be wrong.
# May 10, 2005 7:36 AM

mark_cabrejas said:

grdgfgfr

# January 29, 2010 9:10 AM

name said:

YgZVkc who painted this theme? preety cool

# April 16, 2012 12:07 PM

Web Directory said:

hC6hXk Really appreciate you sharing this article.Thanks Again. Want more.

# July 14, 2012 3:45 PM

Car Accident Articles said:

Hey, thanks for the article.Thanks Again. Awesome.

# July 17, 2012 3:19 PM

3m laminating pouches said:

I appreciate you sharing this blog.Much thanks again. Want more.

# July 18, 2012 6:32 AM

5 mil laminating pouches said:

Really appreciate you sharing this article.Much thanks again. Great.

# July 18, 2012 9:30 AM

pentel pens said:

I loved your article.Thanks Again. Will read on...

# July 25, 2012 5:45 PM

stabilo point 88 said:

I really liked your blog.Much thanks again. Great.

# July 25, 2012 7:37 PM

papermate pens said:

Very good article post. Much obliged.

# July 25, 2012 9:32 PM

sharpie pens said:

I think this is a real great article.Much thanks again. Fantastic.

# July 25, 2012 11:30 PM

felt tip pens said:

Wow, great blog.Much thanks again. Will read on...

# July 26, 2012 1:27 AM

cheap pens said:

Looking forward to reading more. Great article.Much thanks again. Cool.

# July 26, 2012 3:23 AM

rotring pens said:

This is one awesome blog post.Really looking forward to read more. Great.

# July 26, 2012 5:19 AM

parker ballpoint pens said:

Great post.Really looking forward to read more. Really Cool.

# July 26, 2012 7:20 AM

HP CE505X said:

I am so grateful for your article post.Thanks Again. Keep writing.

# July 26, 2012 4:45 PM

CB540A said:

Awesome article.Thanks Again. Want more.

# July 26, 2012 6:50 PM

HL-2035 ink said:

Im thankful for the blog.Thanks Again. Awesome.

# July 27, 2012 3:24 AM

PFA351 said:

Thanks for the blog article.Really looking forward to read more. Cool.

# July 27, 2012 4:56 AM

HP Laserjet 1010 said:

This is one awesome post. Cool.

# July 27, 2012 6:28 AM

automatic gate said:

I loved your post.Much thanks again. Cool.

# July 27, 2012 10:13 AM

cross pens uk said:

Really informative article.Much thanks again. Really Cool.

# July 27, 2012 2:30 PM

cross fountain pens uk said:

I value the post.Thanks Again. Keep writing.

# July 27, 2012 9:09 PM

fountain pens said:

Im grateful for the blog article.

# July 27, 2012 11:24 PM

parker ballpoint pens said:

Really informative blog.

# July 28, 2012 3:51 AM

gel pens said:

wow, awesome blog.Thanks Again. Fantastic.

# July 28, 2012 4:34 AM

ballpoint pen said:

Im obliged for the article post.Really looking forward to read more. Great.

# July 28, 2012 6:15 AM

papermate pens said:

Really informative post. Want more.

# July 28, 2012 7:58 AM

parker pen said:

Thanks for sharing, this is a fantastic blog. Will read on...

# July 28, 2012 9:43 AM

ballpoint pens said:

Very good article post. Awesome.

# July 28, 2012 10:35 AM

parker pen refills said:

Im grateful for the blog.Really looking forward to read more. Keep writing.

# July 28, 2012 11:29 AM

felt tip pens said:

Thanks-a-mundo for the post.Much thanks again. Really Cool.

# July 28, 2012 12:21 PM

rotring pens said:

I really enjoy the article.Thanks Again. Will read on...

# July 28, 2012 3:54 PM

pentel energel said:

wow, awesome blog. Much obliged.

# July 28, 2012 8:16 PM

woods digital countdown timer said:

Im thankful for the blog article.Really looking forward to read more. Want more.

# July 28, 2012 11:33 PM

ball point pens said:

I appreciate you sharing this blog post.Much thanks again. Keep writing.

# July 28, 2012 11:41 PM

cross fountain pen said:

Great blog article.Much thanks again. Really Cool.

# July 29, 2012 1:23 AM

pentel uk said:

I am so grateful for your blog post.Thanks Again. Want more.

# July 29, 2012 2:16 AM

aosom gravity inversion table review said:

Muchos Gracias for your blog article. Cool.

# July 29, 2012 5:35 AM

pencils said:

This is one awesome article post.Thanks Again. Really Cool.

# July 29, 2012 7:29 AM

marker pens said:

I loved your post.Really looking forward to read more. Fantastic.

# July 29, 2012 8:21 AM

gel pen said:

Thanks again for the blog article. Really Cool.

# July 29, 2012 10:04 AM

ballpoint pen refills said:

Major thankies for the article post.Thanks Again. Really Great.

# July 29, 2012 11:39 AM

parker ballpoint pen said:

Appreciate you sharing, great blog post.

# July 29, 2012 12:33 PM

Maui Weddings said:

Really informative article post. Fantastic.

# July 31, 2012 1:04 AM

Q2612A said:

A round of applause for your blog.Much thanks again. Really Cool.

# July 31, 2012 5:45 PM

LaserJet M1120n MFP ink said:

I value the article post.Much thanks again.

# July 31, 2012 7:19 PM

HP Q5942A Toner said:

Great blog article. Want more.

# August 1, 2012 12:40 AM

damascus chat said:

Thanks so much for the blog article. Really Cool.

# August 1, 2012 1:08 PM

nootropics said:

Very neat article.Much thanks again. Really Cool.

# August 1, 2012 3:47 PM

std test for men said:

Very informative article post.Much thanks again. Awesome.

# August 2, 2012 11:22 AM

best email marketing software said:

Thanks again for the blog post.Really looking forward to read more. Great.

# August 3, 2012 10:10 PM

where can i buy raspberry ketones said:

I really liked your post.Much thanks again. Keep writing.

# August 4, 2012 10:52 AM

nutrition for kids said:

Major thanks for the blog post. Really Great.

# August 4, 2012 2:08 PM

fx edge hybrid said:

Great, thanks for sharing this article post.Thanks Again. Fantastic.

# August 5, 2012 10:13 AM

click here said:

mIMdYA Enjoyed every bit of your blog post. Keep writing.

# August 6, 2012 1:17 PM

solar powered watches said:

Very neat article post. Want more.

# August 6, 2012 3:02 PM

Cheap games for sale said:

Major thanks for the article post.Thanks Again. Much obliged.

# August 7, 2012 2:32 AM

Phen375 Reviews said:

I think this is a real great article post. Keep writing.

# August 7, 2012 7:35 AM

kidde smoke alarm for sale said:

Fantastic post. Want more.

# August 7, 2012 10:08 AM

Churchill said:

This website is my breathing in, rattling wonderful design and perfect content .

# August 30, 2012 2:04 AM

Forbes said:

Great writeup, I am a big believer in writing comments on internet sites to let that the blog writers

be acquainted with that they’ve added some thing useful to

the world wide web!

# August 30, 2012 9:03 PM

Steiner said:

This is such a great post, and was thinking much the same myself.

Be sure to keep writing more great articles for instance this one.

# August 30, 2012 9:34 PM

Schindler said:

we always buy our dog supplies at least once a

week from the local pet store. “

# August 30, 2012 11:41 PM

Fitzsimmons said:

seafoods have been great because they are actually

tasty, i think that just about all seafoods have been super

duper tasty

# August 31, 2012 12:52 AM

Hogg said:

Fine aftie, i am a blogger too. and i can see you to have been a nice blogger too.

# August 31, 2012 11:23 AM

Arnold said:

Im no professional, on that the other hand I imagine you just crafted an

first-rate point. You naturally understand what youre

speaking about, and I can truly get behind that.

Thanks for staying so upfront and so honest.

# August 31, 2012 3:20 PM

Rodrigue said:

Spot up for this writeup, I really believe this site

needs a large amount more consideration. Ill more likely be once again to read a great deal more,

plenty of thanks that information.

# September 1, 2012 10:27 AM

Bolin said:

hello!,I along the lines of your writing so so much!

percentage we keep in touch extra about your post on AOL I require

an expert on this area to solve my query. May be that is certainly you!

Having a look ahead to look you.

# September 1, 2012 12:24 PM

Smalls said:

Aw, it was a really first-class post. In idea I must

place in writing similar to this moreover spending time and actual effort to produce a fine article in spite of this exactly

what can I say I procrastinate alot and by no indicates seem to

go done.

# September 2, 2012 7:24 AM

Wing said:

Venus Raj actually looks very pretty on that the pictures, she is very

photogenic

# September 3, 2012 6:08 PM

Hargrave said:

Regularly I tend not to make comments on blogs,

however I will need to point out that this blog post genuinely compelled me to

take some action. Quite notable content.

# September 4, 2012 3:18 AM

Battaglia said:

Im impressed, I have to admit. Truly rarely should i encounter

a blog thats both educative and entertaining,

and let me tell you, you might have hit that the nail around that

the head. Your notion is outstanding that the thing is an issue that

there have been not enough consumers have

been speaking intelligently about. I am very happy i found this in my look for

something in regards to this.

# September 4, 2012 3:31 AM

Hinojosa said:

Youre so cool! I dont suppose Ive read anything in this approach before.

So nice to obtain somebody with plenty of original thoughts on this

subject. realy i appreciate you for beginning this up.

this good website is one thing which can be needed via internet, an individual with a bit of originality.

beneficial task for bringing new stuff towards that

the net!

# September 4, 2012 4:26 AM

Echols said:

Comfortabl y, that the article is in reality the greatest on this valuable topic.

I harmonise with your conclusions and also definitely will thirstily look

forward to your coming updates. Only just saying

thanks can not only be sufficient, for the wonderful clarity in your writing.

I definitely will rapidly grab your rss feed to stay

privy of any other updates. Fabulous work and also much success in your business dealings!

# September 4, 2012 4:40 AM

Rivers said:

I loved because much as you will receive carried out right

here. That the sketch is attractive, your authored subject matter stylish.

nonetheless, you command learn bought an edginess over you

to wish be delivering that the following. unwell unquestionably come more formerly

again since exactly that the same nearly a ton often inside case you shield this hike.

# September 4, 2012 3:35 PM

Ordonez said:

Greetings! This is my first visit to your blog!

We are a team of volunteers and starting an alternative initiative in a community in that the same

niche. Your blog provided us beneficial info to work on.

You have done a wonderful job!

# September 4, 2012 3:49 PM

Turman said:

Im not sure where youre getting your information, on the other hand

great topic. I needs to spend some time learning more or understanding more.

Thanks for fantastic information I was searching for this information

for my mission.

# September 4, 2012 4:24 PM

Grey said:

i am a movie addict and i watch tons of movie in just one night, the greatest movie for me is Somewhere

In Tome

# September 4, 2012 4:48 PM

Mccune said:

naturally for instance your website then again you

should check that the spelling on several of your posts.

A number of them are rife with spelling problems and I find it very troublesome

to tell that the truth nevertheless Ill certainly come back again.

# September 4, 2012 5:28 PM

Corona said:

Hello I am so delighted I found your website, I really located you by mistake, while I was seeking

on google for something else, Anyways I am here now and could such as to say cheers for a tremendous post and a all round entertaining blog.

Please do keep up the great work.

# September 4, 2012 6:30 PM

Rogers said:

You could definitely see your enthusiasm within that the work

you write. That the sector hopes for more passionate

writers such because you who arent afraid to mention how that they believe.

All the time go after your heart.

# September 5, 2012 12:03 PM

Ho said:

I saw a lot of website in spite of this I conceive this one has something extra in it.

# September 5, 2012 10:58 PM

Peeler said:

There couple of intriguing points soon enough in this article however I do not identify if

I see every one of them center to heart. There exists some validity conversely I will take hold opinion until I investigate it further.

Excellent writeup , thanks therefore we want far more! Included in FeedBurner likewise

# September 6, 2012 11:47 AM

Grantham said:

I discovered your website web site over that the

internet and appearance tons of of your early

posts. Continue to keep up the actually good operate.

I recently extra encourage Rss to my MSN News Reader.

Searching for toward reading far more out of you down that the line!

# September 6, 2012 12:00 PM

Benge said:

It's very rare currently to lookup for website pages that offer info someone is watching for. I am glad to see that your site share valued info that can help to a lot of readers. nice one and keep writing!

# September 6, 2012 12:25 PM

Gunn said:

I absolutely love your blog and find most of your posts to be exactly Im searching for.

can you present guest writers to write content for you personally I wouldnt

mind composing a post or elaborating on a lot of of the subjects you

write about here. Again, awesome weblog!

# September 6, 2012 1:05 PM

Spivey said:

i believe,Oftentimes any other time you in some assume that mindset familiar with you,

you need to make sure he understands a great quantity of, multiple

issues, actually these bankruptcies have

been not every in mates around you could not convey to

# September 6, 2012 2:00 PM

Levesque said:

Wow! This could be one particular of the most beneficial online resources We have ever arrive across on this subject.

Actually Fantastic. Im also an expert in this topic therefore I can

understand your effort.

# September 6, 2012 2:18 PM

Ocampo said:

My husband and i felt very glad Michael could deal with his investigations

from that the ideas he obtained out of your own weblog.

Its not at all simplistic to simply happen to

be giving for without charge helpful tips that other folks are selling.

So we find weve got that the writer to provide thanks to for that.

Those explanations you have made, the straightforward blog navigation, the friendships your site

present support to promote it is plenty of spectacular, and it's actually aiding our son and the family believe that this concept is enjoyable, and thats extraordinarily indispensable. Many thanks for everything!

# September 8, 2012 4:16 AM

Peebles said:

With havin so much content and articles do you ever run into any

issues of plagorism or copyright violation My site has quite a lot of exclusive

content Ive either created myself or outsourced

conversely it looks such as many it's popping it up all over that the web without my permission. Do you recognize any answers to help protect against content from being ripped off Id certainly appreciate it.

# September 8, 2012 7:30 AM

Deberry said:

Your blog is one of an kind, i love that the tactic you organize the topics.

,

# September 8, 2012 3:55 PM

Foltz said:

my father have lots and a lot of collectible coins that are very precious and rare.

,

# September 12, 2012 1:14 PM

Mccue said:

we should always be very careful about getting hepatitis as this disease is very very dangerous and deadly~

# September 12, 2012 6:02 PM

Nowak said:

classical music is always that the best, its relaxing

and very rich in melody~

# September 12, 2012 7:47 PM

Wesley said:

Aw, i thought this was a actually nice post.

In concept I must place in writing such as this additionally

– taking time and actual effort to make a great article… however

what things can I say… I procrastinate alot and also by no indicates seem to go carried

out.

# September 12, 2012 7:51 PM

Reece said:

I was checking through the internet for some info since yesterday

night and I finally found what i was looking for!

This is a magnificent website by the method, even though it seems

to be a little challenging to see in my android cellular phone.

# September 15, 2012 11:43 PM

Gillum said:

Hey there this is somewhat of off topic then again I was wanting to know if online pages use WYSIWYG editors or if you need to manually code with HTML.

I’m starting a blog soon on the other hand have no coding skills so I wanted to seek out solutions from someone with experience.

Any help would be greatly appreciated!

# September 16, 2012 2:41 PM

Ortiz said:

wonderful put up, very informative. I ponder why that the other experts of this sector

don’t realize this. You have to continue your writing. I’m confident,

you have a huge readers’ base already!

# September 16, 2012 7:39 PM

Patton said:

First-class info, excellent to be knowledge and distributed to the public

# September 21, 2012 7:51 PM

Rush said:

This may be that the correct weblog for everyone who wants to be made aware of this topic.

You identify a whole lot it's nearly problematical to argue along (not that When i would want…HaHa). You definitely put one more spin using a topic thats been discussed for plenty of years. Great stuff, just great!

# September 21, 2012 8:07 PM

Hoskins said:

I applaud this writer for writing such unique and quality info with viewpoints I can understand.

I couldn’t stop reading this article. I got so engrossed in this material.

Thanks!

# September 21, 2012 9:40 PM

Beaver said:

There are definitely a whole lot of details like that to

take into consideration. That could be a great level to

convey up. I present the thoughts above as universal inspiration on that the other hand clearly there

are questions for example that the one you convey

up where crucial factor will probably be working in sincere excellent faith.

I don?t identify if finest practices have emerged around issues something

like that, then again I am positive that your job is clearly recognized because a fair game.

Each girls and boys really feel the affect of just a second’s pleasure, for the remainder

of their lives.

# September 21, 2012 10:15 PM

Eaton said:

I discovered your blog site internet site on bing and check a couple

of your early posts. Always maintain that the first-class operate.

I simply extra that the Feed to my MSN News Reader.

Searching for toward reading a large amount more from you at a later

time!…

# October 5, 2012 7:53 AM

web design vancouver said:

Do you know where to find web design vancouver? I am looking for web design vancouver.

# October 26, 2012 1:34 AM

Arreola said:

Hello! I just would like to provide an enormous

thumbs up for the great data you have here on this post. I will probably be coming again to your blog for extra soon.

# November 12, 2012 1:15 AM

Malcolm said:

There are several interesting points with time in that the following paragraphs on that

the other hand I don’t identify if these center

to heart. There’s some validity however I most certainly will take hold opinion

until I look into it further. Great post , thanks and then we want more!

Put into FeedBurner likewise

# November 12, 2012 1:22 AM

Barela said:

The wedding will likely to be that the most remarkable festivals someone to saw.

You are going to surely intend to make it magnificent because it's. Out of your ensemble for the special flower bouquets to the wine beverages for top mankind’s destroyed, everthing actually should with fabulous organize.

# November 22, 2012 10:07 PM

Almond said:

Would love to perpetually find out updated great blog

! .

# December 20, 2012 6:45 PM

Calvin said:

i believe,When misery restorative healing, some sort of unhappy restful sample, but even check out that the trip if observable consumed.

First-rate care of that the night time, insert your name installing while

in that the eyeport, glazing is mostly a love, Wanted

Recollection is sweet.

# December 21, 2012 12:13 AM

Bobo said:

Determined by yourself to make the decisions can really be upsetting and frustrating.

It takes years to build confidence. Frankly it requires more than just happening to

happen.

# December 25, 2012 1:23 AM

Regalado said:

This will be the proper weblog for anybody who hopes to get out about this topic.

You know a great deal it's nearly hard to argue with you (not too I just would want…HaHa). You certainly put a fresh spin using a topic thats been revealed for a long time. Wonderful stuff, just wonderful!

# December 25, 2012 3:24 AM

Munson said:

Yay google is my king aided me to find this outstanding site!

.

# December 25, 2012 11:08 PM

Windham said:

for yet an extra great informative post, I’m a loyal reader to this blog

and I can’t stress enough how much valuable info I’ve

learned out of reading your content. I really appreciate all the challenging work you put into this

great blog.

# December 30, 2012 12:47 AM

Gonzalez said:

This would be that the right blog for everyone who really wants

to discover about this topic. You already know much it can be almost tricky to argue along (not too I personally would want…HaHa).

You certainly put a whole new spin over a topic thats been written about for some time.

Wonderful stuff, just wonderful!

# January 2, 2013 7:44 AM

Landon said:

Its such as you read my mind! You seem to understand a lot about this,

like you wrote the ebook in it or something. I think that you

just could do with some p.c. to pressure the message house a bit, but instead of that, this is excellent blog.

An excellent read. I'll certainly be back.

# March 9, 2013 12:17 PM

Bolden said:

I believe this is one of the such a lot significant info for me.

And i am satisfied studying your article. However want to commentary on

some common issues, The website style is great,

the articles is actually excellent : D. Good activity, cheers

# March 21, 2013 2:54 AM

tu billete said:

Im thankful for the post.Thanks Again. Fantastic.

# April 17, 2013 7:20 AM

Anzac Day 2013 said:

Hey, thanks for the blog.Thanks Again. Really Cool.

# April 18, 2013 9:34 AM

jerky said:

Say, you got a nice article post.Much thanks again. Much obliged.

# April 19, 2013 6:22 AM

Success said:

I really liked your post.

# April 19, 2013 8:13 AM

dentists in Albuquerque said:

Appreciate you sharing, great post.Really looking forward to read more. Really Cool.

# April 20, 2013 6:00 PM

russenturner.com said:

I really liked your post.Thanks Again.

# April 20, 2013 8:29 PM

raspberry ketones dr oz said:

Thanks for sharing, this is a fantastic blog. Great.

# April 21, 2013 12:20 AM

pool maintenance katy said:

I am so grateful for your blog post. Will read on...

# April 21, 2013 11:19 AM

rockabilly girls said:

Muchos Gracias for your blog article. Keep writing.

# April 21, 2013 12:44 PM

roof repair Denver said:

Very good blog.Thanks Again. Much obliged.

# April 21, 2013 2:06 PM

kansas city elder care said:

Very good blog.Really looking forward to read more. Really Cool.

# April 21, 2013 3:30 PM

self empowerment said:

Great, thanks for sharing this blog.Thanks Again. Cool.

# April 22, 2013 5:06 AM

buy lasix 20mg said:

Hey, thanks for the article.

# April 23, 2013 4:15 AM

All In One Guide To Blogging said:

Very neat blog article. Great.

# April 24, 2013 10:42 AM

student research journal said:

This is one awesome blog post. Much obliged.

# April 24, 2013 12:31 PM

mas info said:

Thanks so much for the blog post.Really looking forward to read more. Want more.

# April 29, 2013 1:44 PM

website design vancouver said:

I am looking for web design entry level salary . Do you know where to find web design ottawa ontario ?

# May 15, 2013 12:06 AM

costco optical said:

I am looking for costco news story . Do you know where to find costco laminate flooring installation ?

# May 17, 2013 9:17 PM