Weblog Posts in May 2012


Rendering ASP.NET MVC Views to String
May 30, 2012 @ 1:53am

Creating templated text output that's not tied to the HTTP output stream is a frequent requirement in my applications. Rendering confirmation emails, password resets, validations and notifications all generate text through templates that require string or stream output that doesn't get sent to HTTP. Here are some helpers that make it easy to create string output from MVC Views...

11 comments
DropDownList and SelectListItem Array Item Updates in MVC
May 16, 2012 @ 9:44am

Ran into an 'interesting' behavior today with a cached list of SelectListItem[] in drop downlist where the cached list was getting updated by MVCs model binder.

10 comments
Passing multiple POST parameters to Web API Controller Methods
May 08, 2012 @ 10:29pm

Web API allows for RPC style method access, but there are differences from older Microsoft AJAX APIs when it comes to passing multiple parameters. Here's how Web API handles parameters and how you can optionally manage multiple parameters to API Controller methods.

30 comments
Amazon Product Advertising API SOAP Namespace Changes
May 03, 2012 @ 4:36am

Amazon recently broke their Product Advertising API by rolling out a new service version at the same URLs of the old service, which resulted in immediate failure of service. It's an easy fix once you know where to look. Here's how.

1 comment


West Wind  © Rick Strahl, West Wind Technologies, 2005 - 2014