Questions tagged [application-blocks]

45 questions
0
votes
1 answer

Is there a way to supply a default MessageTemplateResourceType to a Validator?

I have a class with lots of string properties that need validated. I'm using the Validation Application Block because I'm a big fan of using attributes to solve this kind of need. Everything works great but my manager isn't a fan of the amount of…
Sailing Judo
  • 11,083
  • 20
  • 66
  • 97
0
votes
2 answers

Controls inside splitter container paint issue on win7 x64 using CAB

I am using CAB and infragistics in winforms application, in a form I have some splitters and user controls with grids, buttons, labels... inside this splitters, when the form is opened in runtime, the user controls are not painted correctly, this…
DevTun
  • 865
  • 1
  • 8
  • 24
0
votes
1 answer

PropertyProxyValidator error on int property

I'm using application blocks and i have a property that use a "Not Null Validator" and a "Range Validator". Then in presentation tier I'm using this code:
0
votes
2 answers

can we able to lock all applications in android device through android-management-api?

While applying lock command through android-management-api in the device, the device will be locked. But if users know the password, they can able to unlock the device and use the applications in the device. My requirement is to disable all…
0
votes
1 answer

.NET / ASP.NET related frameworks I should know about

Had an interview, and got a question about MEF (Managed Extensibility Framework), which I had never heard about. What are the main current such frameworks I should know about? (General .NET and ASP.NET)
Olav
  • 1,758
  • 4
  • 27
  • 49
0
votes
1 answer

(Logging ApplicationBlock) Split log into 2 files according to severity

I want to be able to route all error messages to error.log.txt and all information messages to info.log.txt (regardless of categories). Is it possible? Thanks
Florin Sabau
  • 1,065
  • 8
  • 18
0
votes
1 answer

Turn off LogEnabled Filter at run time - Logging Enterprise Application Block

so the story go like this: i'm using the Logging Enterprise Application block that provided by microsoft to log events in our application. The goal is to enabled event viewer logging at loading and then turn it off. What i did is to add EventLog…
Or A
  • 1,789
  • 5
  • 29
  • 55
0
votes
2 answers

Is " SQL Helper Class " in Microsoft Application Blocks for .NET is excellent?

from years go i use "SQL Helper" class that exist in Microsoft Application Blocks for .NET and i used it for about 1 year in many projects but after that many senior recommend me not to use as it's have many problems in big projects and i let it but…
Amr Badawy
  • 7,453
  • 12
  • 49
  • 84
0
votes
2 answers

ASP.NET MVC web application exception handling

ASP.NET MVC web application exception handling using application blocks. How can i configure Microsoft Application blocks for exception handling in .NET MVC2 web application logging the error to the sql database?
0
votes
1 answer

Can I use Ninject instead of Unity in the MS Application Blocks?

I am at the early stages of design for a large application. Many of the features will be easier to implement using the Microsoft Enterprise Application Blocks (Caching, Security, Logging). I have in past (for the last two years) used Ninject for…
THBBFT
  • 1,161
  • 1
  • 13
  • 29
0
votes
2 answers

Microsoft.ApplicationBlocks.Data.ODBCHelper?

I've found mention of a data application block existing for ODBC, but can't seem to find it anywhere. If i didn't have a copy of the Access DB application block I wouldn't believe it ever existed either. Anyone know where to download either the DLL…
Brian G Swanson
  • 1,039
  • 7
  • 17
0
votes
1 answer

How to retrieve exact url in a asp.net web application which uses the UIP application block?

The incoming URL in this application has some URL parms but when I put a breakpoint on the base page, all I see is the internally UIP mapped URL which loses the parm information. So, for UIP based applications what is the method to retrieve the…
GilliVilla
  • 4,998
  • 11
  • 55
  • 96
0
votes
1 answer

Exception Management Application Block with MVC

I've been scanning forums for an implementation of the Exception Management Application Block (EMAB) in an ASP.NET MVC (MVC3) application. There's a lot of talk about ELMAH and NLog as well as handling via the global.asax…
Travis Ingram
  • 387
  • 5
  • 21
0
votes
1 answer

application block cache query

This is regarding MS Enterprise Application Block cache. Is there a way to see what is inside cache in terms of keys? I am trying to find out if there is a way to query into cache object and find out which keys are stored in there. Then, once I have…
dotnet-practitioner
  • 13,968
  • 36
  • 127
  • 200
0
votes
1 answer

application block cache scavenging event

I am using MS Enterprise caching block and would like to log messages when scavenging for caching kicks in. I would like to know exactly when the cache is expired and it has to be hydrated. when I get data from cache if its null then its possible…
dotnet-practitioner
  • 13,968
  • 36
  • 127
  • 200
1 2
3