|
I have some questions about httpmodules and httphandlers, i am a little confused of the real need of them, i created many websites, but rarely used them, sure i lost a benefit from not using them, what are these benefits?
When to use and when not to use...
Started by Amr ElGarhy on
, 6 posts
by 6 people.
Answer Snippets (Read the full thread at stackoverflow):
You would use an httphandler if you, they do add overhead to each request, which....
Since every request first that you want to run before your specific application code .
You could use httpmodules for authentication, auditing or url-rewriting.
|
|
I know that Asycronous Delegates are used for implementing Call back functionality in .NET.
I want to know
Is it possible to use Callback using ThreadPool? Can I use as many BackgroundWorkers as possible? What I exactly want to know is, Is there any additional...
Started by claws on
, 4 posts
by 4 people.
Answer Snippets (Read the full thread at stackoverflow):
The thread pool manager is however.
On the number of BGWs you can use beyond available Windows resources.
|
|
Is there a way to use Firefox and Firebug but pretend it is iPhone's Safari by faking the User Agent string? I want to use Firefox to examine the Amazon or Gmail sites and see how the page is laid out for iPhone... just for fun and for experiment. Is ...
Started by Jian Lin on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at stackoverflow):
If you're on a Windows or OS X machine you can use Safari to see how it will look.
The page identically.
|
Ask your Facebook Friends
|
I recently installed a module from CPAN and noticed one of its dependencies was common::sense , a module that offers to enable all the warnings you want, and none that you don't. From the module's synopsis:
use common::sense; # supposed to be the same...
Started by Drew Stephens on
, 9 posts
by 9 people.
Answer Snippets (Read the full thread at stackoverflow):
When it comes to warnings, I support the use" only works if you use....
If you find use strict + use warnings adequate for now for every piece of code you write from here on out...
I think the full suite of warnings is invaluable.
|
|
Opening a file in WINDOWS/system32/LogFiles with
using (StreamReader r = new StreamReader(fileName))
generates exception "because the file is in use by another process". How can I figure out what the other process is? Could it be the server updating the...
Started by Nona Urbiz on
, 4 posts
by 4 people.
Answer Snippets (Read the full thread at stackoverflow):
You could....
Jacob
Personally, I prefer ProcessExplorer with its "Find Handle" functionality .
This is disturbingly old school, but I love this really bad utility called: wholockme http://www.dr-hoiby.com/WhoLockMe/
It lets you know who has files locked .
|
|
I'm hitting some quite major performances issues due to the use of "ORDER BY"-statements in my SQL-code.
Everything is fine as long as I'm not using ORDER BY-statements in the SQL. However, once I introduce ORDER BY:s in the SQL code everything slows ...
Started by knorv on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at stackoverflow):
If you'd use....
You cannot use an index in this case, as you use a RANGE filtering condition.
When you use the value1 key to retrieve, the records aren't necessarily returned in order of value2 the value2 key if you need it.
|
|
Hey all,
I built a custom forum for my site using MySQL. The listing page is essentially a table with the following columns: Topic , Last Updated , and # Replies .
The DB table has the following columns:
id name body date topic_id email
A topic has the...
Started by Matt on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at stackoverflow):
SELECT id, name, last_reply, replies FROM ( SELECT topic_id, MAX(date) AS last_reply, COUNT(*) AS replies FROM wp_pod_tbl_forum GROUP BY topic_id ) r JOIN wp_pod_tbl_forum t ON t.topic_id = 0 AND t.id = r.topic_id UNION ALL SELECT id, name, date, 0 FROM... .
|
|
Are there particular instances where I should (or shouldn't?) be using "using" blocks:
using(SomeType t = new SomeType()){ ... }
Started by Pwninstein on
, 15 posts
by 15 people.
Answer Snippets (Read the full thread at stackoverflow):
That is a clue with objects you want to dispose... .
When SomeType implements IDisposable.
Use using whenever the type implements IDisposable on what look you prefer) use a finally block.
When the SomeType class implements IDisposable.
|
|
Possible Duplicate:
What is the C# Using block and why should I use it?
I have seen the using statement used in the middle of a codeblock what is the reason for this?
Started by FendFend on
, 8 posts
by 8 people.
Answer Snippets (Read the full thread at stackoverflow):
The using statement allows the programmer to specify when objects that use resources should release/questions/212198/what-is-the-....
New FileStream(file, FileMode.Open)) { //do stuff }
Alternatively you could just use:
FileStream.
|
|
Why iframe declared as non-standard thing? It has usefulness.
Is it allow to use in xhtml 1.1 ? or should we use frameset doctype if we use iframe?
Started by jitendra on
, 4 posts
by 4 people.
Answer Snippets (Read the full thread at stackoverflow):
You can use.
Because it's ugly and nobody wants multiple sets of scrollbars in their pages .
|