In this episode I plug in logging - something that probably should have been implemented sooner.
Not much else to add - it's a pretty simple screencast but I felt it was important enough to have it be it's own deal. If you see anything you don't like here - as always, chime right in. All I ask is that you give me some detail!
(Double click the screen below for full-screen)
full screen does not work in ff 3
Happen to jump at the ASP.Net MVC Membership kit. It is available at www.squaredroot.com/.../MVC-Membership-
Thought you would like to have a look at it.
All your post and videos are great and extremely helpful.
Thanks for this.
Another reasons that you don't want to write your own logging framework:
It is _hard_ to do correctly.
The code that you showed in the screen cast has no error handling, so when it fails, the apps goes done (who is doing error handling on their error logging statements?)
fullscreen worked in FF3.0.1 for me
I was rather happy I finally got caught up on this series yesterday. Then you go an put out another episode... but it's perfect timing.
I was planning on adding logging today to something I'm working on this week. Can't wait to see what you did. I'll probably use log4net.
Rob,
I would suggest using "UkadcDiagnostics". www.codeplex.com/.../UkadcDiagnostic
Mikkel: Delete npctrl.1.0.30401.0.dll from the Silverlight directory. It's the official workaround, see http://silverlight.net/forums/t/12995.aspx.
Were is the beef!
No seriously I can't find the source code that was produced from the MVC videos. Can you post a link or point me to the correct location?
Thanks
That was a pretty cool video, it just felt to me that you were rushing at the end there. Granted, there was probably not much there at the end that was mind blowing in terms of implementation. It is nice seeing everything come together.
Has anyone looked at the logging in Enterprise Library. I like it for its configuration and passive nature. Although, its passive nature has been a source of frustration at times.
I also agree with Ayende Rahien. When faced with a task at hand it is easy to get carried away with an aspect like logging. It's always best to step back and think about what you really want to accomplish. Creating a framework for logging can be a dangerous rabbit hole to go down if you aren't careful.
I don't know why you guys are talking about Logging when what we *should* be talking about is Rob's ability to dig deep into the recesses of our memories and ressurect the warm feelings of love and purpose we felt whenever Time For Timer would appear on ABC! (http://en.wikipedia.org/wiki/Time_for_Timer)
Sunshine on a Stick indeed...
D
Hey Rob,
This was the hardest video to watch so far.. made me fall asleep nearly..
I know it's very important, but i don't think it needed a full 20 mins of my life..
I would rather stuff like this be high lighted quickly so i can look up the source and read through it myself.
Just so i don't leave a bitter taste in your mouth..
i love your stuff rob, keep it up.
LOL bitter? Me? You make it seem like I spent 20 hours or so on this - thinking it through and vetting different logging platforms so that people who may not be familiar with logging at ALL might have some clue as to how to do it... and when to use the EvenLog... and what NLog is ... and why I'm not using Log4Net...
:p
Out of curiosity - why didn't you ... well... you know - just click stop and go away?
lol..
maybe it's something to do with your voice.. or the funny little pictures you put on your slides..
haha.. always engaged till the end..
Could anyone tell me Where can I download the source code?
http://codeplex.com/mvcsamples
Has the source from this episode been committed yet?
Hey Rob,
I know i'm really l8 in this Q, since it's about the components, :)
I just wanted to know when I should use components Vs User Controls,
since components are in the same assembly (unlike custom controls in ASP.NET), so they do the same thing as do the user controls,
Can you please guide me on when to use each?
BTW, I love this series, IT'S GR8888888888888
Hi Rob,
Just a quick question : why didn't you use the built-in Asp.Net Health Monitoring introduced in 2.0 ?
Thanks for the series !
Vincent