Click here to Skip to main content
15,887,027 members
Home / Discussions / C#
   

C#

 
GeneralRe: Disabling a Row of Data Grid View on Send Mail Button click Pin
AMRITESH ASTHANA6-Oct-14 2:46
AMRITESH ASTHANA6-Oct-14 2:46 
QuestionAny fast way to get the stack trace? Pin
SledgeHammer013-Oct-14 15:59
SledgeHammer013-Oct-14 15:59 
AnswerRe: Any fast way to get the stack trace? Pin
fengyuancom3-Oct-14 18:13
fengyuancom3-Oct-14 18:13 
AnswerRe: Any fast way to get the stack trace? Pin
Pete O'Hanlon4-Oct-14 0:55
mvePete O'Hanlon4-Oct-14 0:55 
AnswerRe: Any fast way to get the stack trace? Pin
Dave Kreskowiak4-Oct-14 3:36
mveDave Kreskowiak4-Oct-14 3:36 
GeneralRe: Any fast way to get the stack trace? Pin
SledgeHammer014-Oct-14 6:02
SledgeHammer014-Oct-14 6:02 
GeneralRe: Any fast way to get the stack trace? Pin
Dave Kreskowiak4-Oct-14 7:17
mveDave Kreskowiak4-Oct-14 7:17 
GeneralRe: Any fast way to get the stack trace? Pin
SledgeHammer014-Oct-14 12:36
SledgeHammer014-Oct-14 12:36 
You probably wouldn't need the stack trace "a million times" per say. But its not unfathomable to have a million log entries or much more. For example, at work, we log every request we get for our newer main product. That table has 1 - 2 million entries right now and its not even fully in production yet.

Unfortunately, as you can imagine, its not possible to get the stack trace retro actively. My logger is highly configurable (think something like Log4Net), so right now I don't know if the stack trace is going to be needed because of how the API is designed.

I grab the stack trace when a log entry is created. However, I guess if I change up the API a little bit, I can make it so the logger knows if someone has registered to get the stack trace, and if not, I don't need to new the stack trace object up.

I dunno about you, but I always like to make my application building blocks as insanely fast as possible. A house built on crap will end up being crap.

That's the reason I don't use Autofaq, MEF or Ninject as my IOC container. While I don't create apps that new up 500k objects through IOC every day, it's nice to know that if I want to, I can do so in 100 - 200ms (MEF2 for example) instead of 7 seconds (Ninject for example).

Not only that, its a little bit of bragging rights to say you have the fastest component x on the planet.
GeneralRe: Any fast way to get the stack trace? Pin
Dave Kreskowiak4-Oct-14 12:42
mveDave Kreskowiak4-Oct-14 12:42 
GeneralRe: Any fast way to get the stack trace? Pin
SledgeHammer014-Oct-14 14:08
SledgeHammer014-Oct-14 14:08 
GeneralRe: Any fast way to get the stack trace? Pin
Dave Kreskowiak4-Oct-14 18:52
mveDave Kreskowiak4-Oct-14 18:52 
QuestionTextarea not able insert large text Pin
sreekanth.jonna3-Oct-14 10:48
sreekanth.jonna3-Oct-14 10:48 
SuggestionRe: Textarea not able insert large text Pin
George Jonsson5-Oct-14 15:04
professionalGeorge Jonsson5-Oct-14 15:04 
QuestionNeed to send an email 20 minutes before the event time Pin
VladFromNYC3-Oct-14 9:48
VladFromNYC3-Oct-14 9:48 
AnswerRe: Need to send an email 20 minutes before the event time Pin
BillWoodruff3-Oct-14 10:58
professionalBillWoodruff3-Oct-14 10:58 
GeneralRe: Need to send an email 20 minutes before the event time Pin
VladFromNYC3-Oct-14 11:30
VladFromNYC3-Oct-14 11:30 
GeneralRe: Need to send an email 20 minutes before the event time Pin
SledgeHammer013-Oct-14 11:46
SledgeHammer013-Oct-14 11:46 
GeneralRe: Need to send an email 20 minutes before the event time Pin
VladFromNYC6-Oct-14 4:48
VladFromNYC6-Oct-14 4:48 
QuestionHow to find in useful/unnecessary files from website folder ??? Pin
Abhishek kumar1213-Oct-14 6:07
Abhishek kumar1213-Oct-14 6:07 
AnswerRe: How to find in useful/unnecessary files from website folder ??? Pin
ZurdoDev3-Oct-14 7:12
professionalZurdoDev3-Oct-14 7:12 
QuestionEdit Equation in RichtextBox WPF Pin
Member 106106383-Oct-14 3:53
Member 106106383-Oct-14 3:53 
AnswerRe: Edit Equation in RichtextBox WPF Pin
SledgeHammer013-Oct-14 6:59
SledgeHammer013-Oct-14 6:59 
QuestionWhat should be update query ??? Pin
Abhishek kumar1213-Oct-14 1:42
Abhishek kumar1213-Oct-14 1:42 
AnswerRe: What should be update query ??? Pin
Richard Deeming3-Oct-14 2:23
mveRichard Deeming3-Oct-14 2:23 
QuestionConverting Crystal Reports into Bitmap format Pin
itani1-Oct-14 20:03
itani1-Oct-14 20:03 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.