In our recent Angular 2 form we had two pattern validation rules that overlapped in certain cases. However, we only wanted one validation error to be visible at a time. For a simplified example, one checks that a name contained the phrase “leftlobed” while the other validates that it contains “left” – checkout this Plunk to … More Angular 2 – FormBuilder forms with multiple validation errors
Under normal circumstances, in order for analytics data to make its way into your Sitecore Experience Profile Dashboard the user’s session needs to end. Usually you’d achieve this by “logging out” of the site or waiting for the timeout period specified by the “sessionState” element within your web.config. However, many sites don’t have a consumer log in/out functionality to manually … More Flushing Sitecore Analytics data to storage
Let’s say that you have a specific project that has a tonne of extra files that are automatically copied into it due to front end build tasks or similar. However, you don’t want any of these copied files to make their way into the GIT repo; nor do you want to create a blanket git ignore rule on … More Generate Git Ignore file from the csproj file
FluentValidation is an awesome library for doing model validation and its MVC component provides easy integration with jQuery.validate as well the unobtrusive counterpart. However, the client side capability of FluentValidation is presently limited to support for only a couple of validation rule types (there’s a small bullet list at the bottom of the first section). So… What are we … More Server-side validation with FluentValidation and AJAX
The successful delivery of a software project is a delicate balance of design, technology, quality, money, and timing… Generally, in a larger team there’s a person who’s role it is to manage and focus on just one or two of these. For example, architects and UX members lead design, developers drive technology & quality, project … More Confidence is a key ingredient…
I’ll be the first to admit that my credentials at estimating aren’t always that brilliant… However, like all programmers: it’s part of our daily, or even hourly, lives. There are a few hard lessons that I’ve learnt though which hopefully help someone out there somehow. First, stick with what you know. If you can’t visualize … More Estimating work effort… Lessons from an underestimator.
After putting my ASP.NET web forms application that utilized UpdatePanels (and therefore the ASP.NET AJAX WebForms library) behind a reverse proxy, we found that all of our AJAX enabled content was coming up with the error: Sys.WebForms.PageRequestManagerParserErrorException: The message received from the server could not be parsed. Common causes for this error are when the response is … More Using an ASP.NET UpdatePanel behind a reverse proxy