pluggy

Stories submitted by pluggy

User Interface Testing with Selenium Vs. Coded UI(devermind.com)

submitted by pluggypluggy(284) 2 years ago

I needed to write some UI level tests for my web application, so I had to decide on the proper test automation package. Here’s my first impression after playing with Selenium and VS Studio UI Automation Testing (CodedUI) for a few hours. read more...

add a comment |category: |Views: 87

tags: another

ASP.NET MVC Tip #4: Client-side form validation made easy - Part 2 (devermind.com)

submitted by pluggypluggy(284) 2 years, 4 months ago

Client-side form validation has become a de-facto standard for modern web applications. However, some validation rules which cannot be checked completely on the client side, for example because the validation depends on information stored in the server database. This article describes how to implement this so that you don't have to write any custom javascript for new validation rules. This even includes remote validation rules and these validation rules that depend on multiple form fields. read more...

2 comments |category: |Views: 27

tags: another

ASP.NET MVC Tip 3: Implementing remote client-side form validation (devermind.com)

submitted by pluggypluggy(284) 2 years, 11 months ago

Client-side form validation has become a de-facto standard for modern web applications. However, there are some validation rules which cannot be checked completely on the client side, for example because the validation depends on information stored in the server database. For those rules you need to implement remote client-side form validation. This article describes how to implement this so that you don't have to write any custom javascript for new validation rules. read more...

1 comment |category: |Views: 454

tags: another

How to cover ALL your client-side form validation needs without writin(devermind.com)

submitted by pluggypluggy(284) 2 years, 11 months ago

Client-side form validation has become a de-facto standard for modern web applications. However, there are some validation rules which cannot be checked completely on the client side, for example because the validation depends on information stored in the server database. For those rules you need to implement remote client-side form validation. The xVal framework is great for automatic generation of client-side validation code for some of your server-side validation rules, but it does not support remote client-side validation. This article shows a fully generic way to implement remote client-side form validation so that • Validation rules remain solely in your ASP.NET MVC model • You write each validation rule just once, and only in easily testable C# code. There is no JavaScript or other client-side counterpart . • There is no need to branch or otherwise modify xVal or jquery.validate • All you have to do for each new remote form validation rule is to derive from the base class shown in this article. I'll describe how to implement this in detail. I've also uploaded a demo project showing how this works in action. read more...

add a comment |category: |Views: 11

tags: another

ASP.NET MVC Tip: Turn on compile-time View Checking(devermind.com)

submitted by pluggypluggy(284) 3 years ago

I like the compiler to catch as many errors as possible before I start debugging or release my application. This also applies to code nuggets in ASP.NET MVC views, especially since these are not unit-testable. This article shows how to enable compile-time View checking for ASP.NET MVC projects. read more...

add a comment |category: |Views: 310

tags: another

ASP.NET MVC: Using Custom ViewModels with POST action methods(devermind.com)

submitted by pluggypluggy(284) 3 years, 1 month ago

One of the top good practices for ASP.NET MVC is not to use the ViewData Dictionary, but to put your data in a strongly typed ViewModel instead. Many people seem to be using Linq to SQL entities as a ViewModel, because it’s a very comfortable approach. But what do you do if your view should contain data that is not included in any of your linq entities? This posting describes how to use custom shaped ViewModel classes for these cases. read more...

add a comment |category: |Views: 535

tags: another