free geoip RSLS, .Net - protected virtual void jaysonBlog
in

jaysonKnight.com

Welcome to my corner of the internet

protected virtual void jaysonBlog

A conduit to the voices in my head

Browse by Tags

All Tags » RSLS » .Net (RSS)
Sorry, but there are no more tags available to filter with.
  • Context Bound Objects and Context Attributes

    In a continuation from my previous post , I wanted to provide a quick example of how a combination of ContextBoundObjects and ContextAttributes can allow complete access to message interception and processing in the .Net framework (in this case, intercepting exceptions and logging them) with minimal code injection/dependencies in your existing code base simply by placing an attribute on a class, and inheriting from ContextBoundObject . For a quick high level primer on this subject and how it relates...
    Posted Dec 30 2005, 09:31 PM by Jayson Knight with | with 2 comment(s)
    Filed under: ,
  • Attribute Parameters Must Be Constants

    Haacked (correctly) mentions in the comments of a previous post that using an attribute based system for the logging service I’m currently working on could be troublesome due to the fact that attribute parameters in .Net must be constants; i.e. you can’t use values provided in a configuration file as the compiler will complain loudly if you attempt to use a non-constant value. The reason for this is simple enough: Attributes are simply objects that get embedded into the assembly they...
    Posted Dec 30 2005, 01:42 AM by Jayson Knight with | with no comments
    Filed under: ,
  • Logging and Tracing in .Net Applications

    I’ve always enjoyed writing application frameworks…you know, the stuff that works behind the scenes to make an application actually…well, work. One thing every application needs is some sort of instrumentation framework built in (logging/tracing/exception management) to make it run more smoothly, and also to alert operators/infrastructure staff when something does go wrong. There are plenty of solutions already out in the wild that address the above, but something I’ve been working on for the past...
    Posted Dec 14 2005, 01:19 AM by Jayson Knight with | with 3 comment(s)
    Filed under: ,

Copyright © :: JaysonKnight.com
External Content © :: Respective Authors

Terms of Service/Privacy Policy