What technology would you recommend to create a DSL for a Business Rules and Validation Application Block for .NET? And why?
The architecture of the framework is established and proof-tested by a production. I just want to create a .NET processor to transform human-readable rules to a compiled Rule implementations.
The options that I'...
When i use SetFirstResult and SetMaxResult and if the query has joins the result have duplicate results instead of unique.
Then i use all type of Distinct helpers for criteria api. But it doesnt filter the whole result set it just filters the paged result.
How can i overcome this issue ?
Thanks
...
Hi All
I have a strange problem whereby the ValidationSummary is not being displayed. However, the ValidationMessage's are being displayed. I've checked the output page source and it's not as though they are in a colour that is obscuring them. I'm using the RC. Any ideas?
Edit:
Break point set at ValidationSummary shows:
ViewData.Mode...
Can I do the following?
[OperationContract]
[WebGet(UriTemplate = "/foo/{id}")]
string GetFoo(int id);
I'd like my service to function as both RESTful service and RPC-style SOAP service.
If possible I'd like to retain int as int, and not do parsing by hand.
...
Hey
I am looking for a complete wpf tags documentation to use it with wpf controls.
Anybody seen something like this?
10x
...
I have developed a WCF service that uses the net.tcp adapter and listens to a specific port. I want to connect to that service using a normal .net client that uses sockets to send data to the port and listens to responses.
When I try to send data to this service, I get the error: "The existing connection was forcibly closed by remote hos...
Hi,
I'm wondering if there is a ".net integrated" solution for exact time measurement (like the execution time of a function)? At the moment I'm using the PerformanceCounters from Kernel32.
[DllImport("Kernel32.dll")]
private static extern bool QueryPerformanceCounter(
out long lpPerformanceCount);
[DllImport("Ker...
Hi.
I have Web Service deployed to JBoss 4.2.2.GA environment and need to consume its methods from .NET application on WindowsCE 5.X. The problem is that I'm not able to consume service's methods when security is turned on (@SecurityDomain("java:/jaas/JBossWS") on class and @RolesAllowed(value={"friend"}) on method declaration. I tried ...
Has anyone done this / have some example code?
...
Hi,
I come from a Java background and have spent many years using Eclipse. One feature that I miss when using Visual Studio (2008) is that the class view does not automatically refresh when I change class. In Eclipse it has a (class) 'Outline' window which represents the current class and shows methods/properties etc, this always update...
If you have a float in MSSQLServer, to what do you map this in .NET?
Can you convert it to Double or will you loose numbers?
thx, Lieven Cardoen
...
I have a XML File and I want to read the data and assign it to a string array, so Operative would be assign to 1 array and JobLocation to another
<Demo>
<JOBOperatives>
<Operative>
<Clock>aaaa</Clock>
<Name>aaaaa</Name>
<MobileNumber>00000000010</MobileNumber>
<OperativeTrade>3</OperativeTrade>
<OperativeTicket>1</Operati...
Hello!!
I'm trying to change in runtime one key of my applications settings file, but it does not work.
I do on that way:
ConfigurationSettings.AppSettings["XPTO"] = "HELLO";
It seems that it only changes in memory, not on the file.
Does anyone knows how to do this?
Thanks.
...
Hi all,
I am just starting to learn F#. In several F# coding examples I see the keyword "in" used in the following way:
let doStuff x =
let first, second = x in
first + " " + second
The function works with and without the "in" at then end of the second line. What does "in" do?
Thanks.
...
I have created two custom attributes one for validating a soap request and authorization. Each having its own seperate class to overide processMessage
For a reason unclear to me, when i assign a method with my authorization attribute it inisits on entering my validationExtension class.
I understand that from the MDSN:
"Initialize is c...
I'm running into a weird issue with my WCF Service using WS binding. When I configure it with no sessions (security/reliable) it works just fine, but not so with sessions. For example when I configure with security (message security, windows credentials), I get a timeout after 10th or 11th call. My service calls another WCF Service but, ...
I've been trying to get my WPF application to prompt users to either discard their unsaved changes or to cancel when they navigate using a TreeView.
How can I cancel a user’s WPF
TreeView click?
How do I
properly handle a PreviewMouseDown
event with a MessageBox
confirmation?
I think I've found a bug. The MessageBox does not play ni...
My question is how can I load a grammar file that uses the tags they list in the MSDN docs?
I want to use the format tags that are documented in MSDN under the heading Grammar Format Tags (SAPI 5.3).
http://msdn.microsoft.com/en-us/library/ms723634(VS.85).aspx
There it lists tags like DEFINE, LIST, OPT etc. However whenever I try to ...
Is it possible to redirect to a different view from a controller? For example in this case all my controllers inherit from a custom controller that has a contructer that I want to redirect to different view if certain criteria is not meet.
Hope that makes sense.
Thanks
...
Hello all,
for a service facade implemented in .NET, is there a posibility (e.g. a 3rd party library) that can be used to perform some security checking? I mean, a kind of access controll list based checking for every method, based on the roles.
Thanks,
Lucian
...