Questions tagged [application-blocks]
45 questions
2
votes
2 answers
Does the Validation Application Block in Entlib 5.0 support client-side validation?
VAB used to be just server-side bur does the new version of Entlib allow client-side validation for VAB?
user298716
2
votes
2 answers
what is difference between Exception handling Application block & Exception handling
what is difference between Exception handling Application block & Exception handling in regular dot net classes ? i don't think it is beneficial to use of Exception handling Application block. What is exact use of that block ??

Red Swan
- 15,157
- 43
- 156
- 238
2
votes
1 answer
ExceptionPolicy vs ExceptionManager
What is the difference between exceptionpolicy and exceptionmanager classes of Microsoft Enterprise Library?? I didn't even know that exceptionmanager existed! Why are there two different classes?

Aditi
- 1,188
- 2
- 16
- 44
2
votes
2 answers
How can I validate a property against a regular expresssion and still allow it to be null or empty?
I'm using the Validation Application Block from Microsoft. I have a string property which holds a phone number. I have a RegexValidator on it which works pretty well for ensuring only phone number type strings are in the property, but the property…

Sailing Judo
- 11,083
- 20
- 66
- 97
2
votes
2 answers
Logging Application Block - Logging the caller
When logging with Log4Net it's very easy to put class that called the log into the log file. I've found in the past that this makes it very easy to trace through the code and see the flow through the classes. In Log4Net I use the %logger property…

Odd
- 4,737
- 6
- 30
- 27
1
vote
1 answer
Policy Injection Application Block in real world apps?
The PIAB of the Microsoft Enterprise Library looks like it could be used for some pretty cool things. Many people were questioning how it would perform in real world applications, due to its use of remoting-based interception techniques. I haven't…

jlew
- 10,491
- 1
- 35
- 58
1
vote
2 answers
Could not load file or assembly error
I got an error Message like
"Could not load file or >assembly 'Microsoft.ApplicationBlocks.ExceptionManagement.Interfaces,
Version=1.0.2732.30552, Culture=neutral, PublicKeyToken=null' or one of its dependencies.
The system cannot find the…

shijuse
- 281
- 1
- 5
- 11
1
vote
1 answer
catch every exception from DAL with another exception
I have an n-tier web application, and I want to catch a specific type of exception in every method coming from the DAL (Data access layer) and rethrow it as a new exception of a specific type.
There are many methods in my DAL, so I don't want to…

gillyb
- 8,760
- 8
- 53
- 80
1
vote
1 answer
THREE OBJ Loader missing geometry faces from Blocks
Loading in some OBJs from Google Blocks I'm noticing that a few of the faces go missing. I've got the smooth shading but can't make the missing faces appear. Ideas? Here is my current template:
mtlLoader.load(mtlUrl, (materialLoader) => {
…

codeisforeva
- 471
- 5
- 20
1
vote
1 answer
Connect to MySQL from Microsoft Data Application Block
lI am using the Data Application block for a majority of my data access, specifically using the SqlHelper class to call the ExecuteReader, ExecuteNonQuery, and like methods. Passing the connection string with each database call.
How can I modify…

Mitchel Sellers
- 62,228
- 14
- 110
- 173
1
vote
1 answer
Could not install package 'EnterpriseLibrary.Common 6.0.1304'
I am trying to install Microsoft Data Access Block in new created dll, but I am facing issue,unable to understand what exactly the issue is.. please help me anyone.The error is below:
Could not install package 'EnterpriseLibrary.Common…

Developer
- 876
- 5
- 18
- 44
1
vote
2 answers
Unity 1.2 Dependency injection of internal types
I have a facade in a library that exposes some complex functionality through a simple interface. My question is how do I do dependency injection for the internal types used in the facade. Let's say my C# library code looks like -
public class…

Qvin
- 79
- 2
1
vote
1 answer
ConfigurationManager.Read reading from unknown source
I inherited a bit of legacy code that was originally written in VS .NET 2003. I'm familiar with how ConfigurationManager works in newer versions of .NET, and have used it successfully to grab connections strings from the web.config. My problem is…

MadHenchbot
- 1,306
- 2
- 13
- 27
1
vote
1 answer
How to use proxy with TwitterConsumer class from DotNetOpenAuth.ApplicationBlock
I am currently implementing SSO with DotNetOpenAuth. However, when working locally, I need to send requests via a proxy. I am happy to do this programatically or via config setting but I am struggling to find where to add it to the TwitterConsumer…

user1737677
- 11
- 1
0
votes
2 answers
Data Access Application Block and Transaction Scope will separate database objects use the same connection
I'm using System.Transactions and Transaction scope for my transaction handling in conjunction with the Enterprise Library Data Access Application Block.
In some cases I'm using separate instances of the Database class within the transaction. The…

AJM
- 32,054
- 48
- 155
- 243