enterprise-library
entlib Invalid TraceListenerData type
I\'ve created a custom listener for Enterprise Library 5 Logging Block, which is recognized by the Configuration Editor, but throws a run-time configuration exception:[详细]
2023-04-01 07:44 分类:问答Is there anything wrong with this database class's execute query function?
So I have this old code being used, that runs simple ExecuteNonQuery command for database calls. I\'m using DbConnection, DbTransaction and other System.Data.Common commands.[详细]
2023-04-01 07:28 分类:问答Change log file name during runtime - ent lib
I have a WCF service that will serve multiple clients. I\'m using ent lib for the logging. I\'d like to have a different log file for each client. is there a way to change the file name back and forth[详细]
2023-03-31 20:09 分类:问答enterprise library dbcommand AddInParameter method
I have been using enterprise library since long time.We are changing column type varchar to nvarchar in database to support different language.We do have some legacy code that is using traditional way[详细]
2023-03-31 19:08 分类:问答Unity 2.0 Clarification please
Could someone please help me to understand what Unity is and how it\'s simplifying the coding on example below:[详细]
2023-03-31 04:03 分类:问答Should I use Cache Application Block
In my application, I need a \'dictionary\' which (1) is able to hold a lot of key value pairs (2) is able to persist part of the elements to files or isolated storage because there are too much data[详细]
2023-03-30 07:38 分类:问答Using Enterprise Library's ExecuteSprocAccessor method with generics
I am trying to use one class to handle all of my CRUD on the database by using the ExecuteSprocAccessor method of the .NET Enterprise Library with generics.In my data layer, I was trying something lik[详细]
2023-03-29 01:04 分类:问答Upgrading from Microsoft Enterprise Library 2.0 to 5.1
I am working on an older project that is using various blocks from Microsoft Enterprise Library version 2.0. I\'d like to upgrade to 5.1.[详细]
2023-03-28 16:06 分类:问答Problem with calling a stored procedure from my c# code
I want to run a sp from my code. the sp name stored in a db. I pass the parameters via a dictionary. this code is one of my wcf service methods that host in a windows service. my code is :[详细]
2023-03-27 16:14 分类:问答Enterprise Library Logging: Custom trace listener which sends messages to arbitrary WCF endpoint
I\'m trying to write a custom trace listener for Enterprise Library Logging which sends all log messages to an arbitrary WCF endpoint. The idea behind this is that I can set up a simple console app, e[详细]
2023-03-27 14:55 分类:问答