How should you go about learning ASP.NET after life as a ColdFusion developer? -


as has spent around 10 years programming web applications adobe's coldfusion, have decided add asp.net string bow.

for has spent long cf , underlying java, asp.net seems little alien me. how should go getting speed asp.net can dangerous it? need know c# @ great amount of detail?

i want in position can build basic web apps can learn more doing tricky stuff.

i'm maybe 6 months down same path, here thoughts experience far:

the c# language shouldn't give problem if have experience java @ (or cfscript). reference, though, when starting, found csharp-station primer language basics. won't far asp.net side goes; syntax. more you'll familiarizing .net libraries. ide can enormous here.

here 3 biggest differences found making transition:

  1. asp.net server controls - in coldfusion, have pretty direct control on html; work closely page. isn't case in asp.net. server controls meant relieve of lot of tedium, @ cost of maybe direct control. cf programmer, i'm particular gets output browser; , @ first asp.net frustrated me because spits out lot of code. still, controls powerful, , pays familiarize them. form , validation controls, especially, save lot of tedium in cf of handling post , validation. w3schools has decent list of web server controls.
  2. the page model - coldfusion pretty agnostic in terms of page flow. asp.net geared towards using post backs, , event driven. if you're not using framework cf (e.g. model glue), may foreign you. .net takes care of handling lot of post behavior you. also, not coldfusion can't object , function driven use of cfc's, asp.net tries push down oo path compared cf in experience.
  3. database access - using asp.net made me appreciate how powerful cfquery is. csharp-station site has tutorial on working native .net db tools. haven't worked on enough projects yet start looking around db access extensions; i'm pretty sure jeff recommended used building site, might check out. otherwise, suggest familiarize dataset object. it's similar query object in cf, , lets run query of queries, etc... looping on queries in cf common, doesn't happen in asp.net because of data binding.

Comments

Popular posts from this blog

c++ - How do I get a multi line tooltip in MFC -

asp.net - In javascript how to find the height and width -

c# - DataTable to EnumerableRowCollection -