Home MVC Storefront

MVC Storefront Part 20: Logging

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!

Download it here.

(Double click the screen below for full-screen)

Mikkel avatar
Mikkel says:
Tuesday, August 26, 2008

full screen does not work in ff 3


Rajesh Pillai avatar
Rajesh Pillai says:
Tuesday, August 26, 2008

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.


Ayende Rahien avatar
Ayende Rahien says:
Tuesday, August 26, 2008

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?)


Kevin avatar
Kevin says:
Tuesday, August 26, 2008

fullscreen worked in FF3.0.1 for me


josh avatar
josh says:
Tuesday, August 26, 2008

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.


Grd avatar
Grd says:
Tuesday, August 26, 2008

Rob,

I would suggest using "UkadcDiagnostics". www.codeplex.com/.../UkadcDiagnostic


CarlH avatar
CarlH says:
Tuesday, August 26, 2008

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.


Ryan avatar
Ryan says:
Wednesday, August 27, 2008

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


Khalid Abuhakmeh avatar
Khalid Abuhakmeh says:
Wednesday, August 27, 2008

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.


D'Arcy from Winnipeg avatar
D'Arcy from Winnipeg says:
Thursday, August 28, 2008

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


Chris Kolenko avatar
Chris Kolenko says:
Tuesday, September 02, 2008

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.


Rob Conery avatar
Rob Conery says:
Tuesday, September 02, 2008

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?


Chris Kolenko avatar
Chris Kolenko says:
Wednesday, September 03, 2008

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..


xiaying avatar
xiaying says:
Sunday, September 07, 2008

Could anyone tell me Where can I download the source code?


Rob Conery avatar
Matt B. avatar
Matt B. says:
Tuesday, September 09, 2008

Has the source from this episode been committed yet?


Mohamed Cherif avatar
Mohamed Cherif says:
Saturday, September 13, 2008

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


Vincent C. avatar
Vincent C. says:
Saturday, September 13, 2008

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



Search Me
Subscribe

Index Of MVC Screencasts

You can watch all of the MVC Screencasts up at ASP.NET, and even leave comments if you like.

Popular Posts
 
My Tweets
  • @haacked must.... resist... assimilation...
  • Dinner at the Haacks. How did Phil get such a cute kid? Evidently Phil's in the doghouse though...
  • @shanselman dude turn off twitter and drive! that's gotta be illegal!
  • For D'Arcy and Justice... Scottgu goes Canuck! http://twitpic.com/mfz1
  • Working in ScottGu's office with @shanselman. Wearing an Orange Polo and saying "go ahead" a lot for some reason.
  About Me



Hi! My name is Rob Conery and I work at Microsoft. I am the Creator of SubSonic and was the Chief Architect of the Commerce Starter Kit (a free, Open Source eCommerce platform for .NET)

I live in Kauai, HI with my family, and when my clients aren't looking, I sometimes write things on my blog (giving away secrets of incalculable value).