Hi,
I'm using the following Micorosoft application blocks within my solution:
- Configuration
- Data Access
- Logging
- Exception Handling
- Security
However, I'm having serious issues with the performance of these blocks.
I've Google'd this issue and have checked that the required services are installed and then removed all instrumentation from the blocks.
Example of performance:
Simple console application using logging block:
Code:
public static void Main(){
Logger.Write("Test", "Trace");
}
This will take 3 seconds to execute this single call. Any subsequent calls would be faster but still not as quick as opening a test file, writing to it and closing it again.
1000 iterations of the code above would take approx 1 minute as opposed to less than 1 second not using the block.
I expereince the same issue with every block - first call to the block is painfully slow and the rest are better but still not comparatively fast.
Any advice would be greatly appreciated!
Thanks,
Graeme
"Just beacuse you're paranoid, don't mean they're not after you