-
Running Apache behind an IIS server. .Net Solution
Yesterday I had the challenge to redirect – rewrite an url from my public IIS7 server to an internal Apache server. For instance a request to http://www.mysite.com/app handled by IIS should be redirected (using a reverse proxy) to http://127.0.0.1:8080/app where the internal Apache is listening. …
-
Rhino Mocks Method ‘YYY’ requires a return value or an exception to throw.
Yesterday I found myself stucked with a strange exception while programming a unit test using Rhino Mocks. Supose you have an interface like the following one. public interface ITest{ object Freak();} You can try a mock like the following: var test = MockRepository.GenerateMock < ITest …
-
Officially now I´m part of xVal.WebForms developers team.
I’ve been working on xVal.WebForms for the last month, as a consecuence it´s Project Coordinator John Rummel has decided to add me as an official developer. So now I´m on board. Thanks John. xVal.WebForms Team.
-
xVal.WebForms, Validation Groups and CausesValidation Part II
A friend came with two issues concerning my recent post about xVal.webForms ValidationGroups and CausesValidation support. 1.- Supress Validation was being rendered as many times as ModelValidators where in the page.2.- When more than one ModelValidator control was in place, xVal.AttachValidator script options could be …
-
xVal.WebForms, Validation Groups and CausesValidation
In one of our recent projects we needed a behavior like the ASP.Net ValidationGroups and also be able to relay on the CausesValidation of all controls implementing IButtonControl interface control. So the first issue I faced was that jquery-validate plugin version 1.5.1 (The one that …
-
Using xVal, CSLA.NET and DataAnnotations.
I´ve been working for years with CSLA to create business layer objects. Recently I started using XVal 1.0 and XVal.WebForms 0.1 for client side validation. I started enforcing our rules as DataAnnotations and also in CSLA AddBusinessRules() method. So if a property of type string …
-
Upgrade xVal.WebForms 0.1to use xVal.1.0 (Validation Summary Support)
Recently I found out about xVal.WebForms project at CodePlex.com. Its a good implementation of XVal for ASP.Net WebForms made by John Rummell. I missed Validation Summary support so I upgraded John´s code so it could work with XVal 1.0. I submitted two patches modifying ModelValidator.cs …
-
Issue in non Generic Execute Method in DbLinq.Data.Linq.Implementation.QueryProvider
We´ve been working with DbLinq for a while now, at HexaSystems and recently using it together with Dynamic Linq and SQLite I programed a call to the Count method of a Queryable object as follows: public static int Count(this IQueryable source) { if (source == …