ASP.net UpdateModel FAIL

by Woodrowg 30. April 2009 09:47

Just a quick note to anyone having trouble with the UpdateModel() function when creating a new object. don't forget if your URL route has an ID in it and your object also the updatemodel() function it is going to try and put the ID from the path in the object "NOT GOOD" if you don't what it in there!
It is best to explicitly define which fields you want updated otherwise this will cause headaches trust me. for security reasons also always define the fields you want up allow updating. I was just working on a quick function demo from a client and have spent the last 2 hours cussing. Sometimes you just can't see the woods from the trees.

Be the first to rate this post

  • Currently 0/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

Tags: , , ,

ASP.NET MVC a developers dream?

by Woodrowg 15. April 2009 06:15

It took it’s time in coming to the market, I can remember playing with prerelease versions over a year ago now. ASP.NET MVC is there and I have to say it is good.

Well integrated in visual studio and teeming with unit test goodies this is the sort of evolution we have been waiting a long time for from Microsoft. After being a nuts and bolts developer for a long time, I had drifted away from development skipped the senior roles which had always been my dream job and started project management. But then lo and behold two technologies converge and everything looks different. LINQ and MVC is a match made in heaven and one could devote and entire language to those points alone but those backed up with a strong and mature language like .net, no wonder it is becoming easier to convert java devs over.

I do see a danger in that simplicity and as has always been an issue with Microsoft languages any idiot can install visual studio and call his/herself a developer. But then again didn't we all start like that?
I like the new openness Microsoft is showing the .net community, Guthrie and Hanselman hats off to you guys, they have kept me hooked and it is the type of community minded approach Microsoft should do more of!

Be the first to rate this post

  • Currently 0/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

Tags: , ,

Our New Website!

by Woodrowg 9. April 2009 05:37

I would like to thank everyone involved for helping to get our new website up and running. Especially those members of the network team that have given their BEST to help us out.

New Site

Currently rated 5.0 by 1 people

  • Currently 5/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

Tags:

The blog start here!

by Woodrowg 3. April 2009 05:42

OK Alex got one now its my turn.

 

Be the first to rate this post

  • Currently 0/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

Tags: , ,

Powered by BlogEngine.NET 1.4.5.0
Theme by Mads Kristensen

About the author

Gary, the last of the unbloged is finaly giving up and will try as often as posible to add anything interesting he finds to this site. especially stuff like ASP.net MVC and things to make people smile