DotNetKick.com is an open-source project. Please report any bugs and let us know your great suggestions. Currently running svn revision 620 (rss)

Kick Spy!, Kick Zeitgeist and Kick Widgets

chrcar01 Subscribe to this feed
chrcar01
Profile Kicked Submitted Comments Tags Friends Kicked By Friends Submitted By Friends


Comments:

How can that space ever get crowded? I always like different view points. It would be crowded if LessThanDot incorporated stuff from Jeff Atwood, but that's what StackOverflow is for. More info, especially when it's well focused, is always a good thing.
posted by chrcar01 6 months, 13 days ago

"You could think about setting enable viewstate to false, but you'll need it for posting pages back"

That's not true.

You can kill viewstate for your whole app, and postbacks work fine.

The only time they don't is if you postback and present the user with the same page they just posted, then the controls would not be prepopulated, so it depends on the behavior of your app.
posted by chrcar01 7 months, 5 days ago

Thicker skin, yep, I prolly need more of that.

After today's gentle use of it in action it's a little annoying. we have domain classes with names like AgreementParticipant and it was lame to have to do this:

int[] ccids = ArrayUtils.Pluck<int, AgreementParticipant>(participants, delegate(AgreementParticipant p){ return p.CoreCustomerIdentifer; })

so as of now, i'm going to stop Plucking myself. ..I just like saying Pluck...
posted by chrcar01 1 year, 2 months ago

Oh shizzle, I'm dumb, sorry guys. Let me plug that above example in and then run this little console app against the code, it's called csc.exe, some of you may have heard of it. So without further ado:

C:\source\MemberShareData1614\trunk\Component\ArrayUtils.cs(78,17): error CS1502: The best overloaded method match for 'System.Array.ConvertAll<MemberShareData1614.Component.ArrayUtilsTests.Customer,int>(MemberShareData1614.Component.ArrayUtilsTests.Customer[], System.Converter<MemberShareData1614.Component.ArrayUtilsTests.Customer,int>)' has some invalid arguments
C:\source\MemberShareData1614\trunk\Component\ArrayUtils.cs(78,49): error CS1503: Argument '1': cannot convert from 'System.Collections.Generic.List<MemberShareData1614.Component.ArrayUtilsTests.Customer>' to 'MemberShareData1614.Component.ArrayUtilsTests.Customer[]'

That's weird....hmmm, maybe someone needs to take a journey and learn how csc.exe compiles code catches errors like the one posted above, etc, etc.

I had updated the blog post but just caught the, ahem, brilliant review above.

So without more adoodie doo doo: Mr Aziz, Pluck Off! :)
posted by chrcar01 1 year, 2 months ago
 

Sponsored Link: www.carlist.ie

Search:

Ads via The Lounge