SV650.org - SV650 & Gladius 650 Forum



Idle Banter For non SV and non bike related chat (and the odd bit of humour - but if any post isn't suitable it'll get deleted real quick).
There's also a "U" rating so please respect this. Newbies can also say "hello" here too.

Reply
 
Thread Tools
Old 04-09-08, 12:01 AM   #11
Skripthor
Guest
 
Posts: n/a
Default Re: doing me ed in. (geeky)

Quote:
Originally Posted by timwilky View Post
So can anyone recommend an easy tutorial in using asp.net. I simply need to be able to work with request/response objects, manage state persistance/session variables etc.
Have a look at these tutorials Tim: http://www.blackwasp.co.uk/Tutorials.aspx
The articles section is also very good.

Quote:
Originally Posted by timwilky View Post
first question. I know .net does just in time compilation. first call on my developing app takes an age, subsequent calls are reasonable but not blinding. But why after some time of inactivity does it revert back to an initial first slow transaction.
Hard to tell , could be a number of things.
Slow database on creation of connections? Heavily used by other applications as well? The connection pool might be empty so .net needs to wait for an available connection in the pool.
Or everytime a session is started, there could be some code that "hangs" things a bit.

Quote:
Originally Posted by timwilky View Post
second question. How do I maintain an app running in order that I can create connection pools for reuse to back end data sources. All simple for my Java servlets but this .net stuff does not seem to be in that league. Or is it me missing something
Try to read about ADO.NET, the connection pool will be handled automatically for you.

- When using ADO.NET with SQL Server: http://msdn.microsoft.com/en-us/library/aa719770.aspx
- Or if you are using ADO.NET Oracle/OleDb/ODBC Api: http://msdn.microsoft.com/en-us/library/ms254502.aspx
  Reply With Quote
Old 04-09-08, 08:00 AM   #12
muffles
Guest
 
Posts: n/a
Default Re: doing me ed in. (geeky)

Quote:
Originally Posted by timwilky View Post
first question. I know .net does just in time compilation. first call on my developing app takes an age, subsequent calls are reasonable but not blinding. But why after some time of inactivity does it revert back to an initial first slow transaction.
Dunno anything about this arena but is it possible that's some sort of caching issue, the period of inactivity allows the cache to be overwritten with other things, etc...
  Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Geeky advice dirtsk8 Idle Banter 1 04-10-08 12:55 AM
yippee just been given an interesting job. (Geeky) timwilky Idle Banter 4 30-07-08 04:42 PM
Geeky Thread: HP to buy EDS... Baph Idle Banter 8 13-05-08 03:55 PM
EVE Online- yes, it's a geeky thread northwind Idle Banter 58 18-09-07 07:53 PM
nerdy geeky question? hovis Idle Banter 4 25-01-07 12:33 PM


All times are GMT. The time now is 07:23 PM.


Powered by vBulletin® - Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.