M
Mark Gilbert
I've been coding asp.net sites for a while now and this is beginning
to really annoy me.
SqlConnection.open takes roughly 26 seconds to complete the first time
the site is run after a new compile, whether in debug or release.
After its happened once i can render pages in no time at all, its just
that first time.
It's a huge pain if i'm making lots of small changes and trying the
site each time. Lots and lots of tapping of fingers, i've almost worn
them out.
Example of something that takes half a minute
oConn = New SqlConnection("uid = [hidden]; pwd = [hidden];data
source=localhost;persist security info=False;initial catalog =
[hidden]")
' Start timing now
oConn.Open()
' End timing...phew 26 seconds!
Any ideas?
to really annoy me.
SqlConnection.open takes roughly 26 seconds to complete the first time
the site is run after a new compile, whether in debug or release.
After its happened once i can render pages in no time at all, its just
that first time.
It's a huge pain if i'm making lots of small changes and trying the
site each time. Lots and lots of tapping of fingers, i've almost worn
them out.
Example of something that takes half a minute
oConn = New SqlConnection("uid = [hidden]; pwd = [hidden];data
source=localhost;persist security info=False;initial catalog =
[hidden]")
' Start timing now
oConn.Open()
' End timing...phew 26 seconds!
Any ideas?