Validating That At Least One TextBox Has Content

I came across an interesting little validation problem on my current project. The site is for members only – and in order to become a member, you need to be nominated. You can provide either one or two nominators, but you must provide at least one. So how to force users to enter text in […]
Read More ›

Unit Testing ASP.NET MVC with MvcContrib

One of the big drivers for people moving over to ASP.NET MVC is its support for Test Driven Development/Unit Testing. The ability to automate testing of models and controllers brings a measurable level of confidence to development. In ASP.NET MVC, that means we can be sure that we are getting the expected views, data and […]
Read More ›

Preventing Duplicate Logins in ASP.NET

ASP.NET provides a convenient and highly extensible authentication and authorization system that is shared by both ASP.NET MVC and ASP.NET Web Forms. I have cheerfully used it for years, without ever worrying about the fact that there is nothing in the system to prevent the same user from logging in multiple times. The other day, […]
Read More ›

Which .NET CMS to Use?

The question for today is – if I’m planning on implementing an ASP.NET Web CMS, which one should I choose? My company used to have its own custom .NET Web CMS, Mantranet. Mantranet was a good solution in its day – it was end-to-end AAA accessible, for one thing – but eventually it became a […]
Read More ›

Conditional Compilation

Have you ever been in a situation where your application needs to behave one way in development and another in production? Perhaps you only want to send an email if the application is on the live server, or you’re developing an ASP.NET MVC application and need to add the [RequireHttps] attribute – but only if […]
Read More ›

Type to search blog.learningtree.com

Do you mean "" ?

Sorry, no results were found for your query.

Please check your spelling and try your search again.