Monday, May 23, 2011

What is MvcScaffolding and why use it?


MvcScaffolding is tool available to ASP.NET MVC developers using Visual Studio that generates customizable controllers and views for any number of entities in your data model. In other words, MvcScaffolding is a way to quickly create an application layout based on data. This means there are less routine tasks that developers need to do, for example, creating your own controllers/views, CRUD methods, and validation, and more time spent on solving business problems.

MvcScaffolding generates the files as plain old .cs and .cshtml code files, with no designer files, so you're free to modify them as you want. You can scaffold controllers, views, repositories, etc... for CRUD operations in an app with a few commands, and have a fully functional application to work with. Combine the power of MvcScaffolding with Entity Framework's Code First feature, and you can start knocking out web apps much faster than before.

http://rachelappel.com/ready-set-scaffold-build-asp.net-mvc-3-applications-quickly-with-mvcscaffolding

Prevent Cross-Site Request Forgery (CSRF) using ASP.NET MVC’s AntiForgeryToken() helper « Steve Sanderson’s blog

Prevent Cross-Site Request Forgery (CSRF) using ASP.NET MVC’s AntiForgeryToken() helper « Steve Sanderson’s blog

Saturday, May 21, 2011

What is the best knowledge structure for ASP.NET developer

Entry level:
.Net framework
Language: C# or VB 
Visual Studio
ASP.NET Web Forms controls
Viewstate/Session/Cookie/Application variable

Intermediate Level:
JavaScript
HTML
CSS
Hypertext Transfer Protocol

Advanced:
ASP.NET Routing
Security 

Google Maps Vs. Bing Maps: Summer Vacation Planning Showdown


If there was a point system attached to these categories, Google would probably get a slight win over Bing based on its performance in basic mapping as well as business listings/directions. But Bing’s emphasis on aerial imagery was extremely helpful with vacation planning, and MapQuest’s search presets also got us the local info we were looking for right when we needed it.
In other words, there’s no obvious winner in this maps showdown.

http://searchengineland.com/google-maps-vs-bing-maps-summer-vacation-planning-showdown-77699