enterprise-library
where enterprise library 4.1 logger, logs?
I have done its configurations using configuration wizard but I couldn\'t understand where it is logging messages. I even see app.config file but couldn\'t find any logging source.[详细]
2023-03-03 07:06 分类:问答Using abstract factory as injectionfactory in Unity?
I have an abstract factory registered for injection in some controller instances. Can I register that abstract factory and use it as an injection factory?[详细]
2023-03-02 05:33 分类:问答How to receive messages formatted by The BinaryLogFormatter
I\'m using the MS Patterns and Practices Enterprise Library MsmqTraceListener to log entries to a private queue using the BinaryLogFormatter.[详细]
2023-03-01 14:09 分类:问答C# Reader Disposal Review
I am using the Enteprise Library to query my database. When I run a query, I am relying on stored procedures. Currently, I am using code that looks like the following:[详细]
2023-03-01 08:32 分类:问答EntLib5: Logging application block , configuring via code instead of a config file?
I can\'t seem to find any examples for configuring EntLib5 logging application block via code. I have it confi开发者_JAVA百科gured via a config file and its working great but i would love to create a[详细]
2023-03-01 02:17 分类:问答Microsoft PolicyInjection Create too slow
Our project is using PolicyInjection (from Microsoft EnterpriseLibrary) for some reason. Problem is, that PolicyInjection.Create(params) takes about 30 ms. This is WAY too much since it is called over[详细]
2023-02-28 23:05 分类:问答Enterprise Library Logging
Log file names now support the use of environment variables. You can include environment variables such as %WINDIR%, %TEMP%, and %USERPROFILE% in the Filename property of the Flat File Trace Listener,[详细]
2023-02-28 21:06 分类:问答Replacement suggestions for EntLib PolicyInjection
We currently use Enterprise Library Policy Injection for caching on our data access repository e.g. public interface IClientStatusRepository[详细]
2023-02-28 18:21 分类:问答Reflect up 5 levels for a Property?
I have implemented a CustomTraceListener for use with Enterprise Library 5. From the TraceData method, I need to crawl the stack up 6 levels to my class that had the actual logging call, I need a prop[详细]
2023-02-28 16:48 分类:问答Enterprise Library 5.0 - Adding custom tokens to a TextFormatter
I have created a custom Exception that has data pertaining to our application.I want to ensure this data gets logged when an exception is thrown and logged to the event log.[详细]
2023-02-28 10:16 分类:问答