DevMavens

ma•ven (mā'vən)

n.  A person who has special knowledge or experience;
an expert.

dev•ma•ven
('dev-mā'vən)

n.  An expert developer with great influence.

Rick Strahl

Rick Strahl's Web Log provides a variety of .NET development topics with focus on ASP.NET and enterprise development. Topics are wide ranging from introductory articles to tips and tricks, observations in the process of software development and examination of new and upcoming technologies. Content is honest and sometimes outspoken and doesn't tote any particular party line - Rick says it as he sees it.


Rick Strahl's Web Log | 16 May 2012 16:44

DropDownList and SelectListItem Array Item Updates in MVCSubscribe to this feed

Rick Strahl writes "....So I ran into an interesting behavior today as I deployed my first MVC 4 app tonight. I have a list form that has a filter drop down that allows selection of categories. This list is static and rarely changes so rather than loading these items from..."
Read more »  DropDownList and SelectListItem Array Item Updates in MVC


Rick Strahl's Web Log | 09 May 2012 05:29

Passing multiple POST parameters to Web API Controller MethodsSubscribe to this feed

Rick Strahl writes "....ASP.NET Web API introduces a new API for creating REST APIs and making AJAX callbacks to the server. This new API provides a host of new great functionality that unifies many of the features of many of the various AJAX/REST APIs that Microsoft..."
Read more »  Passing multiple POST parameters to Web API Controller Methods


Rick Strahl's Web Log | 03 May 2012 11:36

Amazon Product Advertising API SOAP Namespace ChangesSubscribe to this feed

Rick Strahl writes "....About two months ago (twowards the end of February 2012 I think) Amazon decided to change the namespace of the Product Advertising API. The error that would come up was: <ItemSearchResponse..."
Read more »  Amazon Product Advertising API SOAP Namespace Changes


Rick Strahl's Web Log | 28 Apr 2012 11:00

GZip/Deflate Compression in ASP.NET MVCSubscribe to this feed

Rick Strahl writes "....A long while back I wrote about GZip compression in ASP.NET. In that article I describe two generic helper methods that I've used in all sorts of ASP.NET application from WebForms apps to HttpModules and HttpHandlers that require gzip or deflate..."
Read more »  GZip/Deflate Compression in ASP.NET MVC


Rick Strahl's Web Log | 25 Apr 2012 13:04

Internet Explorer and Cookie DomainsSubscribe to this feed

Rick Strahl writes "....I've been bitten by some nasty issues today in regards to using a domain cookie as part of my FormsAuthentication operations. In the app I'm currently working on we need to have single sign-on that spans multiple sub-domains (www.domain.com,..."
Read more »  Internet Explorer and Cookie Domains


Rick Strahl's Web Log | 25 Apr 2012 04:17

Getting a 'base' Domain from a DomainSubscribe to this feed

Rick Strahl writes "....Here's a simple one: How do you reliably get the base domain from full domain name or URI? Specifically I've run into this scenario in a few recent applications when creating the Forms Auth Cookie in my ASP.NET applications where I explicitly need..."
Read more »  Getting a 'base' Domain from a Domain


Rick Strahl's Web Log | 20 Apr 2012 09:19

ASP.NET MVC Postbacks and HtmlHelper Controls ignoring Model ChangesSubscribe to this feed

Rick Strahl writes "....So here's a binding behavior in ASP.NET MVC that I didn't really get until today: HtmlHelpers controls (like .TextBoxFor() etc.) don't bind to model values on Postback, but rather get their value directly out of the POST buffer from ModelState...."
Read more »  ASP.NET MVC Postbacks and HtmlHelper Controls ignoring Model Changes


Rick Strahl's Web Log | 15 Apr 2012 00:49

Wishful Thinking: Why can't HTML fix Script Attacks at the Source?Subscribe to this feed

Rick Strahl writes "....The Web can be an evil place, especially if you're a Web Developer blissfully unaware of Cross Site Script Attacks (XSS). Even if you are aware of XSS in all of its insidious forms, it's extremely complex to deal with all the issues if you're taking..."
Read more »  Wishful Thinking: Why can't HTML fix Script Attacks at the Source?


Rick Strahl's Web Log | 14 Apr 2012 19:54

Odd MVC 4 Beta Razor Designer IssueSubscribe to this feed

Rick Strahl writes "....This post is a small cry for help along with an explanation of a problem that is hard to describe on twitter or even a connect bug and written in hopes somebody has seen this before and any ideas on what might cause this. Lots of helpful people had..."
Read more »  Odd MVC 4 Beta Razor Designer Issue


Rick Strahl's Web Log | 05 Apr 2012 21:38

Physical Directories vs. MVC View PathsSubscribe to this feed

Rick Strahl writes "....This post falls into the bucket of operator error on my part, but I want to share this anyway because it describes an issue that has bitten me a few times now and writing it down might keep it a little stronger in my mind. I've been working on an..."
Read more »  Physical Directories vs. MVC View Paths


This Maven's Blog

Rick Strahl

West Wind Technologies

Maui, Hawaii, USA

Rick Strahl (RickStrahl)

Rick Strahl (RickStrahl) EF Code First really needs an attribute to allow setting a default value on the database. Updates w/o it can be such a pain. about 1 hours ago from TweetDeck


Rick Strahl (RickStrahl)

Rick Strahl (RickStrahl) @jarodf @lazycoder No hadn't. I have my own Razor Engine abstraction for non-Web apps, but inside of MVC using the native engine is best. about 22 hours ago from TweetDeck


Rick Strahl (RickStrahl)

Rick Strahl (RickStrahl) @alex_norcliffe Alex, thanks a bunch for your codeig sample. Got me pointed in the right direction to condense this down generically!!! 1 day ago from TweetDeck


Rick Strahl (RickStrahl)

Rick Strahl (RickStrahl) Kind of a shame that #Visibone doesn't have HTML 5/CSS3 booklets. 1 day ago from TweetDeck


Rick Strahl (RickStrahl)

Rick Strahl (RickStrahl) Rendering an http://t.co/eaKFPRM5 MVC View to a String: http://t.co/M9kTkZZ0 #8xkoj2 1 day ago from Tweet Button


Rick Strahl (RickStrahl)

Rick Strahl (RickStrahl) Goodbye Maui for a couple of months. (Checked in at Kahului Airport (OGG)) http://t.co/KaFF6D2r 1 day ago from Microsoft


Rick Strahl (RickStrahl)

Rick Strahl (RickStrahl) @paulallanwhite Oh, yes you can use on() or live() for that. Both should bind to elements that exist or are created in the future. 1 day ago from TweetDeck


Rick Strahl (RickStrahl)

Rick Strahl (RickStrahl) @paulallanwhite @Encosia on() handles events - not sure how that relates to UpdatePanel? 1 day ago from TweetDeck


Rick Strahl (RickStrahl)

Rick Strahl (RickStrahl) @RichCzyzewski So were you using a Web Site, or Web Application when you pulled up that dialog? 1 day ago from TweetDeck


Rick Strahl (RickStrahl)

Rick Strahl (RickStrahl) @bptpokerguy You got a link for how that works? Currently I'm deploying right out of VS, but I can see this just won't work. 1 day ago from TweetDeck


Rick Strahl (RickStrahl)

Rick Strahl (RickStrahl) @bptpokerguy No option to leave 'as is on the server'. It'll always overwrite either with base or transformed. 1 day ago from TweetDeck


Rick Strahl (RickStrahl)

Rick Strahl (RickStrahl) @bptpokerguy But you can't keep something from staying as it was on the server with transforms. You can only transform or copy from base. 1 day ago from TweetDeck


Rick Strahl (RickStrahl)

Rick Strahl (RickStrahl) @RichCzyzewski Ah, VS 2011. But - I think that's for a Web Site, not for a Web Application? If it is then that UI doesn't exist in vs2010. 1 day ago from TweetDeck


Rick Strahl (RickStrahl)

Rick Strahl (RickStrahl) @RichCzyzewski Hmm... are we talking about the Web Deploy Publish option or the old school Web Site publish? I don't see that option. 1 day ago from TweetDeck


Rick Strahl (RickStrahl)

Rick Strahl (RickStrahl) Using Web Deploy - is there some way to NOT update web.config when publishing? 1 day ago from TweetDeck


Rick Strahl (RickStrahl)

Rick Strahl (RickStrahl) @INullable Yeah MVC beta (actually I've been running nightlies) is pretty stable. Beta is go live so you can deploy. 1 day ago from TweetDeck


Rick Strahl (RickStrahl)

Rick Strahl (RickStrahl) Massive sugarcane burning going on today. I can barely see the ocean a quarter mile away and ash raining out of the sky. NASTY health hazard 1 day ago from TweetDeck


Rick Strahl (RickStrahl)

Rick Strahl (RickStrahl) @TheSaintr Yeah I can relate. Issues like this one: http://t.co/DT4x5y8R that I ran into today make me weary. Always the abstractions :-) 2 days ago from TweetDeck


Rick Strahl (RickStrahl)

Rick Strahl (RickStrahl) @TheSaintr /MVC Code Lib/ Yup that's exactly it. Getting there... but still finding all those little oddball behaviors (esp. w ModelBinding) 2 days ago from TweetDeck