pluggy

Stories kicked 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

ReSharper Discount and Free Upgrade to ReSharper 5(web2asp.net)

submitted by sedgeysedgey(1728) 2 years, 7 months ago

For a limited time only, purchasers of ReSharper 4.5 can receive a free upgrade to version 5 and in addition get a 10% discount and 60 day extended trial... read more...

7 comments |category: |Views: 632

tags: another

ASP.NET MVC: How to combine scripts and other resources(weblogs.asp.net)

submitted by gpeipmangpeipman(3145) 2 years, 10 months ago

ASP.NET pages that use AJAX components make usually many requests to server per one page to load all required JavaScript and CSS files. Connections, like all other real time resources, are most expensive to create and keep. If we can somehow decrease the number of requests per page load then we need less server resources for same amount of users read more...

add a comment |category: |Views: 20

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 Domain Routing(blog.maartenballiauw.be)

submitted by maartenbamaartenba(5845) 3 years ago

Ever since the release of ASP.NET MVC and its routing engine (System.Web.Routing), Microsoft has been trying to convince us that you have full control over your URL and routing. This is true to a certain extent: as long as it’s related to your application path, everything works out nicely. If you need to take care of data tokens in your (sub)domain, you’re screwed by default. read more...

add a comment |category: |Views: 421

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

Free Chapter of Beginning ASP.NET MVC 1.0 Published(codeclimber.net.nz)

submitted by keyvankeyvan(4086) 3 years ago

Simone Chiaretta announces the availability of chapter 9 of Wrox Beginning ASP.NET MVC 1.0 book about Testing ASP.NET MVC Applications and shares some good news about the release date of the book. read more...

add a comment |category: |Views: 171

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

ASP.NET MVC Html.RadioButtonList Blues(webdevdotnet.blogspot.com)

submitted by elijahmanorelijahmanor(1448) 3 years, 2 months ago

Somewhere along the Preview, Beta, RC, RTM path of ASP.NET MVC... the Html.RadioButtonList broke down read more...

add a comment |category: |Views: 168

tags: another

How to use Ninject with ASP.NET MVC(codeclimber.net.nz)

submitted by justin_etheredgejustin_etheredge(8539) 3 years, 3 months ago

By default, the ASP.NET MVC framework instantiate controllers calling their default constructor. This makes using Dependency Injection impossible. But, as almost everything inside that framework, the logic with which a controller is instantiated can be replaced with you own logic. This can be done creating your own ControllerFactory, which is pretty simple. But if you are using one of the many popular DI/IoC libraries, that task is even simpler, since there are already custom controller factories for almost all the IoC libraries available. In this post we are are going to see how to use the ControllerFactory that delegates to Ninject the creation of your controllers. read more...

add a comment |category: |Views: 238

tags: another

A generic base class for LINQ to SQL Data Layers(devermind.com)

submitted by mglamgla(25) 3 years, 7 months ago

A nice approach that I've been always thinking of implementing, but never had the time. Still needs some fine tuning though. read more...

add a comment |category: |Views: 106

tags: another

URL Rewriter for ASP.NET, IIS 7.0, or Mono(managedfusion.com)

submitted by zigamorphzigamorph(3319) 4 years, 7 months ago

Managed Fusion Url Rewriter is a powerful URL manipulation engine based on the Apache mod_rewrite extention. It is designed specifically for ASP.NET and runs on Microsoft's Internet Information Server (IIS) and Mono XPS Server and is fully supported in IIS 7.0. Managed Fusion Url Rewriter gives you the freedom to go beyond the standard URL schemes and develop your own scheme. read more...

add a comment |category: |Views: 95

tags: another