<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/'><id>tag:blogger.com,1999:blog-776222647855423698.post8522483337716705571..comments</id><updated>2012-02-29T17:47:14.726+05:30</updated><category term='java 1.5'/><category term='append pdf'/><category term='mobile number'/><category term='flash'/><category term='doThrow'/><category term='aramex'/><category term='bad roads'/><category term='selenium'/><category term='html to pdf'/><category term='message'/><category term='cloud gate'/><category term='image and text insert into pdf'/><category term='multiple streams of work'/><category term='convention over configuration'/><category term='java 1.6'/><category term='argLine'/><category term='distributed version control system'/><category term='opera'/><category term='baseball'/><category term='how not to do things'/><category term='suppress constructor'/><category term='java'/><category term='peace'/><category term='Subversion'/><category term='wifi'/><category term='fromJson'/><category term='aspnet_compiler'/><category term='government'/><category term='web developer'/><category term='rocks'/><category term='toJson'/><category term='FlushedInputStream'/><category term='time bomb'/><category term='edit commit'/><category term='script tag'/><category term='security laps'/><category term='full screen gallery with navigation links'/><category term='NHibernate'/><category term='unit testing'/><category term='PermGen space'/><category term='cash on delivery'/><category term='performance optimization'/><category term='partial mock'/><category term='json'/><category term='what are ivory tower architects'/><category term='doNothing'/><category term='ruby'/><category term='removeMetaClass'/><category term='OutOfMemoryError'/><category term='washington d.c.'/><category term='one-to-many'/><category term='lenient date'/><category term='InputStream'/><category term='static method'/><category term='reorder commits'/><category term='final method'/><category term='how to run ie6 on windos 7'/><category term='asmx'/><category term='flip side'/><category term='IE 8'/><category term='untestable code'/><category term='git svn crash course'/><category term='mvc3 and web forms in one project'/><category term='virtual path'/><category term='spy'/><category term='tax payers'/><category term='Grails 1.2'/><category term='ios'/><category term='IE 7'/><category term='orientation'/><category term='integrating spring.net with asmx webservices'/><category term='delhi airport'/><category term='external merge tool'/><category term='driver'/><category term='interaction based testing'/><category term='sears tower'/><category term='web project'/><category term='enlist transaction'/><category term='Lokmanya Tilak'/><category term='telerik controls'/><category term='tools and framework'/><category term='how to use git over svn'/><category term='stub'/><category term='howto'/><category term='JSON to object'/><category term='git difftool'/><category term='existing pdf'/><category term='touchgallery'/><category term='worst customer care'/><category term='grant privilege'/><category term='unpatched IE'/><category term='private'/><category term='jquery'/><category term='suppress static initializer'/><category term='user control'/><category term='operator precedence'/><category term='validate date'/><category term='web forms'/><category term='architect'/><category term='onRetainNonConfigurationInstance'/><category term='htc desire hd'/><category term='selenium features'/><category term='git tutorial'/><category term='getLastNonConfigurationInstance'/><category term='caching'/><category term='love concepts'/><category term='weird url'/><category term='Single Responsibility Principle'/><category term='continuous integration'/><category term='stored procedure with out parameters'/><category term='html5'/><category term='washington monument'/><category term='symptoms of ivory tower architect'/><category term='junit'/><category term='no internet'/><category term='problems with SVN'/><category term='change text color of options menu'/><category term='capitol building'/><category term='power mock'/><category term='windows 7'/><category term='grails'/><category term='dont love one language'/><category term='css'/><category term='GIT'/><category term='30 minutes'/><category term='JsonSerializer'/><category term='team anna'/><category term='.net'/><category term='GIT over SVN'/><category term='finding the real culprit'/><category term='date validation'/><category term='Driving Directions'/><category term='Handler'/><category term='out parameters'/><category term='integrating spring.net with web forms'/><category term='niagara falls'/><category term='QueryOver'/><category term='google maps'/><category term='out of memory error'/><category term='Selenium 1.0 Testing Tools: Beginner’s Guide'/><category term='evil constructor'/><category term='max path length'/><category term='void static method'/><category term='git mergetool'/><category term='IE 6'/><category term='jarjar'/><category term='MAVEN_OPTS'/><category term='android'/><category term='update existing pdf'/><category term='firefox 3'/><category term='wifi connection closed after 30 minutes'/><category term='distributed teams'/><category term='one dll per folder'/><category term='weblogic'/><category term='configChanges'/><category term='259'/><category term='verify'/><category term='object to JSON'/><category term='ganesh festival'/><category term='cave of the winds'/><category term='poor'/><category term='powermockito'/><category term='firefox 2'/><category term='javascript'/><category term='JVM_OPTS'/><category term='Calendar'/><category term='strongly typed session'/><category term='jenkins'/><category term='fixing'/><category term='Bitmap'/><category term='navy pier'/><category term='rewrite history'/><category term='remove commits'/><category term='trek'/><category term='pdf creator'/><category term='itext'/><category term='browser'/><category term='final class'/><category term='natural beauty'/><category term='proxy settings'/><category term='PathClassLoader'/><category term='merge commits'/><category term='suppress field'/><category term='mockito'/><category term='partial URL'/><category term='memory leak'/><category term='LayoutInflater.Factory'/><category term='debug'/><category term='ugly cities'/><category term='ICICI Bank'/><category term='india against corruption'/><category term='decode returned false'/><category term='catalina'/><category term='jquery lightbox'/><category term='kdiff with git'/><category term='letsbuy review'/><category term='constructor'/><category term='C#'/><category term='how to handle screen orientation changes'/><category term='interactive rebase'/><category term='modelAndView'/><category term='static initializer'/><category term='stay in touch with coding'/><category term='razor view'/><category term='deadlock'/><category term='fiddler'/><category term='Fluent API'/><category term='functional test'/><category term='java 5'/><category term='The referenced project does not exist'/><category term='application scope'/><category term='styles not loading'/><category term='access point'/><category term='production'/><category term='first level cache'/><category term='razor view engine'/><category term='htc mytouch 4g'/><category term='maven'/><category term='integrating NHibernate with MVC3'/><category term='image gallery for mobile'/><category term='Buckingham Fountain'/><category term='maid of the mist'/><category term='JDK 32 bit'/><category term='http session'/><category term='radcombobox'/><category term='white house'/><category term='date range'/><category term='hidden treasures of IE'/><category term='BufferedInputStream'/><category term='redirect'/><category term='UIRequiresPersistentWiFi'/><category term='labourer'/><category term='cobertura'/><category term='options menu'/><category term='paged medium'/><category term='verifyStatic'/><category term='Seperation of Concerns'/><category term='lincoln memorial'/><category term='jquery-ui'/><category term='controller'/><category term='lohagad'/><category term='BitmapFactory'/><category term='joda time'/><category term='windows firewall'/><category term='asp.net'/><category term='4095 CSS Selectors'/><category term='flying saucer'/><category term='31 styles sheets'/><category term='change background color of options menu'/><category term='void method'/><category term='packt publishing'/><category term='fort'/><category term='wise decisions'/><category term='web page'/><category term='problems with telerik controls'/><category term='tomcat'/><category term='ICICI'/><category term='skia decoder'/><category term='active programming'/><category term='JsonDeserializer'/><category term='windows 7 xp mode'/><category term='programmer'/><category term='31 reasons to hate IE'/><category term='suppress method'/><category term='bad experience'/><category term='circular file references are not allowed'/><category term='jasper'/><category term='argument matchers'/><category term='invoke'/><category term='menu'/><category term='IsPostBack'/><category term='mobile image gallery'/><category term='stored procedures'/><category term='strict date'/><category term='intent'/><category term='blocked mysql port'/><category term='output parameters'/><category term='bad infrastructure'/><category term='hudson'/><category term='issue'/><category term='squash commits'/><category term='powermock'/><category term='onRestoreInstanceState'/><category term='technical problems'/><category term='visual studio 2010'/><category term='powermocks'/><category term='serializer'/><category term='property-ref'/><category term='TimeZone'/><category term='filthy rivers'/><category term='working on two things at a time with GIT'/><category term='photoswipe'/><category term='JDK 64 bit'/><category term='IconMenuItemView'/><category term='No View State'/><category term='productive from day 1'/><category term='letsbuy.com'/><category term='onSaveInstanceState'/><category term='DNS'/><category term='activity is destroyed and recreated when screen orientation changes'/><category term='pom.xml'/><category term='different browsers on windows 7'/><category term='session scope'/><category term='mysql remote access'/><category term='invalid date'/><category term='visibility'/><category term='msbuild'/><category term='date'/><category term='HttpClient'/><category term='travel'/><category term='doReturn'/><category term='rejuvenate'/><category term='easiest way to run ie 6 on windows 7'/><category term='reword commit'/><category term='web service'/><category term='criteria api'/><category term='css 2.1'/><category term='web image'/><category term='git bisect'/><category term='turn by turn directions'/><category term='state based testing'/><category term='power mockito'/><category term='deserializer'/><category term='legacy database'/><category term='mvc3'/><category term='maven2'/><category term='india'/><category term='radtextbox'/><category term='uses-permission'/><category term='convert html to pdf'/><category term='oracle'/><category term='anna hazare'/><category term='is your bank account safe'/><category term='ClassNotFoundException'/><category term='git svn tutorial'/><category term='mockDomain'/><category term='spoon.net'/><category term='verifyPrivate'/><category term='session'/><category term='book review'/><category term='external diff tool'/><category term='composite primary key'/><category term='aspx rendering engine'/><category term='testing'/><category term='mockFor'/><category term='virginia beach'/><category term='NHibernate LINQ provider'/><category term='good solutions'/><category term='web qa'/><category term='DVCS'/><category term='create user'/><category term='cache'/><category term='PowerMockIgnore'/><category term='adding remote SVN branch to GIT'/><category term='mock'/><category term='ipad'/><category term='CI'/><category term='online shopping'/><category term='lookahead downloader'/><category term='skip method'/><category term='Microsoft.WebApplication.targets'/><category term='android emulator'/><category term='heap space'/><category term='vm image'/><category term='portrait'/><category term='ivory tower architect'/><category term='InvalidCastException'/><category term='jquery does not work with telerik controls'/><category term='chicago'/><category term='integrating spring.net with mvc3'/><category term='be a programmer'/><category term='dependency injection'/><category term='evil method'/><category term='MockClassLoader'/><category term='convert'/><category term='minneapolis'/><category term='unblock mysql port'/><category term='Gson'/><category term='ietester'/><category term='security problem'/><category term='datepicker'/><category term='non standard SVN repositories'/><category term='wow moment'/><category term='SVN'/><category term='spring.net'/><category term='landscape'/><category term='ImageView'/><category term='mvc vs web forms'/><title type='text'>Comments on Deep Shah's Blog: Asp.Net MVC vs Asp.Net Web Forms</title><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://www.gitshah.com/feeds/8522483337716705571/comments/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/776222647855423698/8522483337716705571/comments/default'/><link rel='alternate' type='text/html' href='http://www.gitshah.com/2011/07/aspnet-mvc-vs-aspnet-web-forms.html'/><author><name>Deep Shah</name><uri>https://profiles.google.com/113740977225006199778</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh3.googleusercontent.com/-IkiuPODrwfk/AAAAAAAAAAI/AAAAAAAAAAA/3Zg9wf8e9rA/s512-c/photo.jpg'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>19</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-776222647855423698.post-8834496043625607868</id><published>2012-02-29T17:47:14.726+05:30</published><updated>2012-02-29T17:47:14.726+05:30</updated><title type='text'>i really found this post helpful...thnk you</title><content type='html'>i really found this post helpful...thnk you</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/776222647855423698/8522483337716705571/comments/default/8834496043625607868'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/776222647855423698/8522483337716705571/comments/default/8834496043625607868'/><link rel='alternate' type='text/html' href='http://www.gitshah.com/2011/07/aspnet-mvc-vs-aspnet-web-forms.html?showComment=1330517834726#c8834496043625607868' title=''/><author><name>pooja</name><uri>http://www.blogger.com/profile/11433472527674475661</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.gitshah.com/2011/07/aspnet-mvc-vs-aspnet-web-forms.html' ref='tag:blogger.com,1999:blog-776222647855423698.post-8522483337716705571' source='http://www.blogger.com/feeds/776222647855423698/posts/default/8522483337716705571' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-1440416629'/></entry><entry><id>tag:blogger.com,1999:blog-776222647855423698.post-8274108516628831909</id><published>2012-02-25T18:59:03.497+05:30</published><updated>2012-02-25T18:59:03.497+05:30</updated><title type='text'>I think that web forms has played its role in maki...</title><content type='html'>I think that web forms has played its role in making coding in the world of http an easy task, but only in enterprise level. Technically speaking, it promoted an environment and methodology a bit strange for that world, the single form model and page lifecycle. Web applications serve content that is requested using an endpoint and that content consists from smaller pieces that do something, menus, banners, forms, articles, datalists etc. Technically the source for each is different and the user will interact with only one each time, so it should really be separated from other modules. Web forms break that by serving them as one, even if using usercontrols...they are served as one...they postback as one, in the same page, that is a file, even for redirection the &amp;#39;page&amp;#39; must be recreated etc. Viewstate, page lifecycle, unique control iding system, state restoration was invented to cover only the methodology of web forms, its not an http matter. It was something done for the first time but i feel a bit misslead from web programming. I was stuck in the server implementation and gave less to serving web content. Web  dev is simpler when scripted directly. That is me though. Keep walking.</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/776222647855423698/8522483337716705571/comments/default/8274108516628831909'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/776222647855423698/8522483337716705571/comments/default/8274108516628831909'/><link rel='alternate' type='text/html' href='http://www.gitshah.com/2011/07/aspnet-mvc-vs-aspnet-web-forms.html?showComment=1330176543497#c8274108516628831909' title=''/><author><name>Panos.Rod</name><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img1.blogblog.com/img/blank.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.gitshah.com/2011/07/aspnet-mvc-vs-aspnet-web-forms.html' ref='tag:blogger.com,1999:blog-776222647855423698.post-8522483337716705571' source='http://www.blogger.com/feeds/776222647855423698/posts/default/8522483337716705571' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-585205248'/></entry><entry><id>tag:blogger.com,1999:blog-776222647855423698.post-4031369863985683014</id><published>2012-02-25T18:58:16.563+05:30</published><updated>2012-02-25T18:58:16.563+05:30</updated><title type='text'>I think that web forms has played its role in maki...</title><content type='html'>I think that web forms has played its role in making coding in the world of http an easy task, but only in enterprise level. Technically speaking, it promoted an environment and methodology a bit strange for that world, the single form model and page lifecycle. Web applications serve content that is requested using an endpoint and that content consists from smaller pieces that do something, menus, banners, forms, articles, datalists etc. Technically the source for each is different and the user will interact with only one each time, so it should really be separated from other modules. Web forms break that by serving them as one, even if using usercontrols...they are served as one...they postback as one, in the same page, that is a file, even for redirection the &amp;#39;page&amp;#39; must be recreated etc. Viewstate, page lifecycle, unique control iding system, state restoration was invented to cover only the methodology of web forms, its not an http matter. It was something done for the first time but i feel a bit misslead from web programming. I was stuck in the server implementation and gave less to serving web content. Web  dev is simpler when scripted directly. That is me though. Keep walking.</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/776222647855423698/8522483337716705571/comments/default/4031369863985683014'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/776222647855423698/8522483337716705571/comments/default/4031369863985683014'/><link rel='alternate' type='text/html' href='http://www.gitshah.com/2011/07/aspnet-mvc-vs-aspnet-web-forms.html?showComment=1330176496563#c4031369863985683014' title=''/><author><name>Anonymous</name><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img1.blogblog.com/img/blank.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.gitshah.com/2011/07/aspnet-mvc-vs-aspnet-web-forms.html' ref='tag:blogger.com,1999:blog-776222647855423698.post-8522483337716705571' source='http://www.blogger.com/feeds/776222647855423698/posts/default/8522483337716705571' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-585205248'/></entry><entry><id>tag:blogger.com,1999:blog-776222647855423698.post-7545912931184007157</id><published>2012-02-25T12:22:26.697+05:30</published><updated>2012-02-25T12:22:26.697+05:30</updated><title type='text'>Hello There,

You can totally Create separate busi...</title><content type='html'>Hello There,&lt;br /&gt;&lt;br /&gt;You can totally Create separate business and data libraries MVC does not stop you from doing it.&lt;br /&gt;&lt;br /&gt;Custom reusable sections of page in MVC are called partials.  You can create them very easily and use them across your application.&lt;br /&gt;&lt;br /&gt;There are many options, one of them is, create HtmlHelpers to do it&lt;br /&gt;&lt;br /&gt;We have build an application with MVC which has a datagrid on almost every page.  We use jqGrid for showing the grid.  We integrate it with MVC using jquery and JSON.&lt;br /&gt;&lt;br /&gt;You can serialize the model on the page in the worst cast if you really want to a functionality like view state.  Else you can use hidden fields for store singular values like identifiers.&lt;br /&gt;&lt;br /&gt;Thanks&lt;br /&gt;&lt;br /&gt;Deep Shah</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/776222647855423698/8522483337716705571/comments/default/7545912931184007157'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/776222647855423698/8522483337716705571/comments/default/7545912931184007157'/><link rel='alternate' type='text/html' href='http://www.gitshah.com/2011/07/aspnet-mvc-vs-aspnet-web-forms.html?showComment=1330152746697#c7545912931184007157' title=''/><author><name>Deep Shah</name><uri>http://www.blogger.com/profile/14535815256818279199</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='21' src='http://1.bp.blogspot.com/_qt-96pMuMZk/S8Q4X7i722I/AAAAAAAAAqs/tV-TG_sRdGE/S220/deep_shah.jpg'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.gitshah.com/2011/07/aspnet-mvc-vs-aspnet-web-forms.html' ref='tag:blogger.com,1999:blog-776222647855423698.post-8522483337716705571' source='http://www.blogger.com/feeds/776222647855423698/posts/default/8522483337716705571' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-1925014861'/></entry><entry><id>tag:blogger.com,1999:blog-776222647855423698.post-2791534738597150225</id><published>2012-02-11T20:37:02.756+05:30</published><updated>2012-02-11T20:37:02.756+05:30</updated><title type='text'>Im an ASP MVC and Spring MVC developer. Its cool, ...</title><content type='html'>Im an ASP MVC and Spring MVC developer. Its cool, nice architecture MVC but I will summarize as this:&lt;br /&gt;&lt;br /&gt;If is a Website without much cluttered GUI, simple forms, list, etc the way of HTML and few jquery plugins so use MVC.&lt;br /&gt;&lt;br /&gt;If is a Web Application, with cluttered or complex GUI, you need custom components(forget here jquery plugins, some are good but some are useless) and state, Webforms is the way to go.</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/776222647855423698/8522483337716705571/comments/default/2791534738597150225'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/776222647855423698/8522483337716705571/comments/default/2791534738597150225'/><link rel='alternate' type='text/html' href='http://www.gitshah.com/2011/07/aspnet-mvc-vs-aspnet-web-forms.html?showComment=1328972822756#c2791534738597150225' title=''/><author><name>Anonymous</name><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img1.blogblog.com/img/blank.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.gitshah.com/2011/07/aspnet-mvc-vs-aspnet-web-forms.html' ref='tag:blogger.com,1999:blog-776222647855423698.post-8522483337716705571' source='http://www.blogger.com/feeds/776222647855423698/posts/default/8522483337716705571' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-878129616'/></entry><entry><id>tag:blogger.com,1999:blog-776222647855423698.post-5583339281482311111</id><published>2012-02-10T20:14:29.379+05:30</published><updated>2012-02-10T20:14:29.379+05:30</updated><title type='text'>I&amp;#39;m relatively new to MVC but I&amp;#39;ve used We...</title><content type='html'>I&amp;#39;m relatively new to MVC but I&amp;#39;ve used Webforms since .NET 1.0. There are parts I like and I can see how it can help a novice developer but I don&amp;#39;t like how inflexible the pattern is and I&amp;#39;m concerned that it will limit the expandability and flexibility of the application.  Generally speaking, I like to create separate business libraries and data layers in n-tier fashion - my code behind pages are very lean and clean and I use controls to separate code if I need to for SOC and SRP.&lt;br /&gt;&lt;br /&gt;My questions about MVC are the following: &lt;br /&gt;&lt;br /&gt;1. Could I create business and data libraries with MVC or is everything forced to reside in the model layer? &lt;br /&gt;&lt;br /&gt;2. Can I create custom web controls or ascx controls with MVC and reuse them across web pages?  &lt;br /&gt;&lt;br /&gt;3. Where do I add custom code for presentation? I don&amp;#39;t want to add functions in a view as that would remind me of ASP with hmtl and code interspersed.&lt;br /&gt;&lt;br /&gt;4. It sounds like you can&amp;#39;t use datagrids with MVC. I really don&amp;#39;t want to build my own sortable datagrid:-)&lt;br /&gt;&lt;br /&gt;5.  What do other developers use in MVC to mimic viewstate?  I suppose I could use an asp.net hidden control and parse the values myself but that&amp;#39;s what viewstate does, right?</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/776222647855423698/8522483337716705571/comments/default/5583339281482311111'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/776222647855423698/8522483337716705571/comments/default/5583339281482311111'/><link rel='alternate' type='text/html' href='http://www.gitshah.com/2011/07/aspnet-mvc-vs-aspnet-web-forms.html?showComment=1328885069379#c5583339281482311111' title=''/><author><name>Anonymous</name><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img1.blogblog.com/img/blank.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.gitshah.com/2011/07/aspnet-mvc-vs-aspnet-web-forms.html' ref='tag:blogger.com,1999:blog-776222647855423698.post-8522483337716705571' source='http://www.blogger.com/feeds/776222647855423698/posts/default/8522483337716705571' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-710291423'/></entry><entry><id>tag:blogger.com,1999:blog-776222647855423698.post-3124436864003078687</id><published>2012-02-10T02:31:26.861+05:30</published><updated>2012-02-10T02:31:26.861+05:30</updated><title type='text'>Hi, I notice how many people have ALWAYS used webf...</title><content type='html'>Hi, I notice how many people have ALWAYS used webforms wrongly and how the call MVC a technology. MVC exists even before many of us were born. I have developed MVC applications well before asp.net MVC came live, so to me it is not new and indeed, although they have done a good job, it still lacks power. HTML can be controlled only when there is a clean separation of concerns, something that many asp.net webform developers DO NOT KNOW how to do because they just keep on using what microsoft told them to use, a code-behind model which is not very good either. You can totally remove the code behind from a webform and create your own controllers and routing. Extension-less URLs can be achieved by using libraries such as intelligentia. Then, you have a total separation of concerns and you have an MVC (Model View Controller) application without loosing the features that most developers are used to use, such as Custom user contorls, etc. my point is... if you really are a developer, you will have done MVC apps even before asp.net MVC.</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/776222647855423698/8522483337716705571/comments/default/3124436864003078687'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/776222647855423698/8522483337716705571/comments/default/3124436864003078687'/><link rel='alternate' type='text/html' href='http://www.gitshah.com/2011/07/aspnet-mvc-vs-aspnet-web-forms.html?showComment=1328821286861#c3124436864003078687' title=''/><author><name>Juancho</name><uri>http://www.blogger.com/profile/11440056437309803235</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.gitshah.com/2011/07/aspnet-mvc-vs-aspnet-web-forms.html' ref='tag:blogger.com,1999:blog-776222647855423698.post-8522483337716705571' source='http://www.blogger.com/feeds/776222647855423698/posts/default/8522483337716705571' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-844098886'/></entry><entry><id>tag:blogger.com,1999:blog-776222647855423698.post-2465094901787416245</id><published>2012-02-09T02:55:23.822+05:30</published><updated>2012-02-09T02:55:23.822+05:30</updated><title type='text'>How is writing if(IsPostback)....else.... any more...</title><content type='html'>How is writing if(IsPostback)....else.... any more complicated than writing [HttpPost] and [HttpGet] as attributes of the MVC methods?  You are still doing the same thing.  You call one method on post, and another on get. Are the parenthesis in the if/then really that much of a problem? &lt;br /&gt;&lt;br /&gt;Regarding url routing, outside of SEO (a programmers worst nighmare thanks to retarded search engines), what benefit does passing &amp;quot;directory&amp;quot; parameters to a controller have over passing querystring parameters to a page? In both cases, you&amp;#39;re instructing some page/method/function/etc to handle the request.  You could argue it would help in switching platforms or something (honestly, if you switch platforms, is that your biggest concern?) but in both cases, you are requesting a very specific resource.  &lt;br /&gt;&lt;br /&gt;Finally, regarding viewstate, turn it on when you want an easy way to handle page/control state and turn it off when you need the extra performance boost and want to code around the cases where data needs to be repopulated.  &lt;br /&gt;&lt;br /&gt;-Justin</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/776222647855423698/8522483337716705571/comments/default/2465094901787416245'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/776222647855423698/8522483337716705571/comments/default/2465094901787416245'/><link rel='alternate' type='text/html' href='http://www.gitshah.com/2011/07/aspnet-mvc-vs-aspnet-web-forms.html?showComment=1328736323822#c2465094901787416245' title=''/><author><name>Anonymous</name><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img1.blogblog.com/img/blank.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.gitshah.com/2011/07/aspnet-mvc-vs-aspnet-web-forms.html' ref='tag:blogger.com,1999:blog-776222647855423698.post-8522483337716705571' source='http://www.blogger.com/feeds/776222647855423698/posts/default/8522483337716705571' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-116533753'/></entry><entry><id>tag:blogger.com,1999:blog-776222647855423698.post-1181944703349790931</id><published>2012-02-04T05:39:30.917+05:30</published><updated>2012-02-04T05:39:30.917+05:30</updated><title type='text'>ViewState is a very useful component if used prope...</title><content type='html'>ViewState is a very useful component if used properly. It can be manipulated in many ways to adjust to small applications to large web forms. To say that ASP.NET MVC is faster than Web Forms is down-right wrong. ASP.NET Web Forms out-weigh MVC performance-wise. &lt;br /&gt;&lt;br /&gt;With ASP.NET 4.0, you have URL routing for RESTless and SEO friendly URLs. It&amp;#39;s very simple to take advantage of this feature in your Global.asax. &lt;br /&gt;&lt;br /&gt;If you&amp;#39;re a powerful developer / architect, you will realize that a well-versed web forms developer will outperform (development-time-wise and performance-wise) a skillful MVC developer. Done it for over 8 years and am pretty familiar with MVC... too much control taken away from you. I tell my program what to do, I don&amp;#39;t let it tell me how to build my architecture.</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/776222647855423698/8522483337716705571/comments/default/1181944703349790931'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/776222647855423698/8522483337716705571/comments/default/1181944703349790931'/><link rel='alternate' type='text/html' href='http://www.gitshah.com/2011/07/aspnet-mvc-vs-aspnet-web-forms.html?showComment=1328314170917#c1181944703349790931' title=''/><author><name>Anonymous</name><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img1.blogblog.com/img/blank.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.gitshah.com/2011/07/aspnet-mvc-vs-aspnet-web-forms.html' ref='tag:blogger.com,1999:blog-776222647855423698.post-8522483337716705571' source='http://www.blogger.com/feeds/776222647855423698/posts/default/8522483337716705571' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-1175358659'/></entry><entry><id>tag:blogger.com,1999:blog-776222647855423698.post-2228438140296374008</id><published>2011-11-06T13:44:39.580+05:30</published><updated>2011-11-06T13:44:39.580+05:30</updated><title type='text'>Hello Deleo,

One of the readers on a different po...</title><content type='html'>Hello Deleo,&lt;br /&gt;&lt;br /&gt;One of the readers on a different post wrote this and I guess, it applies to this conversation as well:&lt;br /&gt;&lt;br /&gt;&amp;quot;I think it&amp;#39;s hard to understand what Deep is talking about without having made transition from ASP.NET with all its complexities to another platform (MVC3, Rails, Grails, you name it). The thing is, Telerik is following ASP.NET best practice which is about putting an elephant in a China shop. I was working quite extensively in ASP.NET and now I moved to MVC3/JQuery/JSON and guess what - things just work. You don&amp;#39;t have to keep in mind that a control put extra code and alter ids and name on the client side. The programming model is so much better it makes me wonder what kept so long in ASP.NET world&amp;quot;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/776222647855423698/8522483337716705571/comments/default/2228438140296374008'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/776222647855423698/8522483337716705571/comments/default/2228438140296374008'/><link rel='alternate' type='text/html' href='http://www.gitshah.com/2011/07/aspnet-mvc-vs-aspnet-web-forms.html?showComment=1320567279580#c2228438140296374008' title=''/><author><name>Deep Shah</name><uri>http://www.blogger.com/profile/14535815256818279199</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='21' src='http://1.bp.blogspot.com/_qt-96pMuMZk/S8Q4X7i722I/AAAAAAAAAqs/tV-TG_sRdGE/S220/deep_shah.jpg'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.gitshah.com/2011/07/aspnet-mvc-vs-aspnet-web-forms.html' ref='tag:blogger.com,1999:blog-776222647855423698.post-8522483337716705571' source='http://www.blogger.com/feeds/776222647855423698/posts/default/8522483337716705571' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-1925014861'/></entry><entry><id>tag:blogger.com,1999:blog-776222647855423698.post-8254939121255758146</id><published>2011-11-06T13:31:53.262+05:30</published><updated>2011-11-06T13:31:53.262+05:30</updated><title type='text'>Hello Deleo,

Me too enjoys constructive conversat...</title><content type='html'>Hello Deleo,&lt;br /&gt;&lt;br /&gt;Me too enjoys constructive conversation and I can tell you one thing I am enjoying this one!&lt;br /&gt;&lt;br /&gt;I think we have to agree to disagree with each other.&lt;br /&gt;&lt;br /&gt;It seems like you agree with me on the design front, and on point number 2.  &lt;br /&gt;&lt;br /&gt;About 5, putting static methods?  Well I don&amp;#39;t know about other but I surely don&amp;#39;t like putting static methods anywhere.  Static methods are signs of poor design.&lt;br /&gt;&lt;br /&gt;Point 6 and 7, You need to understand that one does not develop all projects from scratch.  We have to inherit some projects and in such projects, people have not followed the best practices because of which you have to deal with a hell lot of crap code and bad design.  &lt;br /&gt;&lt;br /&gt;I would agree that this can happen with MVC as well but since it forces the developers to follow good design practices the changes of bad MVC code are very little.&lt;br /&gt;&lt;br /&gt;Whatever I have mentioned in the post are real problems with Web Forms and I can certainly tell you that 80% (if not more) of the projects out there suffer from these problems.</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/776222647855423698/8522483337716705571/comments/default/8254939121255758146'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/776222647855423698/8522483337716705571/comments/default/8254939121255758146'/><link rel='alternate' type='text/html' href='http://www.gitshah.com/2011/07/aspnet-mvc-vs-aspnet-web-forms.html?showComment=1320566513262#c8254939121255758146' title=''/><author><name>Deep Shah</name><uri>http://www.blogger.com/profile/14535815256818279199</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='21' src='http://1.bp.blogspot.com/_qt-96pMuMZk/S8Q4X7i722I/AAAAAAAAAqs/tV-TG_sRdGE/S220/deep_shah.jpg'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.gitshah.com/2011/07/aspnet-mvc-vs-aspnet-web-forms.html' ref='tag:blogger.com,1999:blog-776222647855423698.post-8522483337716705571' source='http://www.blogger.com/feeds/776222647855423698/posts/default/8522483337716705571' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-1925014861'/></entry><entry><id>tag:blogger.com,1999:blog-776222647855423698.post-8984768360199931898</id><published>2011-11-02T18:18:00.650+05:30</published><updated>2011-11-02T18:18:00.650+05:30</updated><title type='text'>First I like to thank you for your response, I do ...</title><content type='html'>First I like to thank you for your response, I do love a good conversation :)&lt;br /&gt;&lt;br /&gt;A webform does not force a developer to use a specific pattern, which can be a downside if the developer or team is inexperienced or plain stupid. Given these two terms, you can really frackup the mvc pattern as well. Although it does give the developer something to think about and many errors in design can/vcould be avoided.&lt;br /&gt;&lt;br /&gt;2) Yes, some use third party frameworks such as Telerik and you have no exact control of the HTML, this is true in Webform as well as MVC. &lt;br /&gt;5) You create it as same as you would with MVC. Perform a AJAX to server. You have to define static methods in codebehind which will catch the call though, and parse it to JSON.&lt;br /&gt;6)You are answering your own question. You should never put code in codebehind that is reliant on postback. Write your codebehind with the mindset that postback does not exist. Bind everything onLoad method and  use HttpRuntime.Cache as often as you can. You can also limit this GET/POST in webforms, you just dont know how.&lt;br /&gt;7)Really? you cant understand why viewstate was invented in the first place? Webforms have existed for a very long time, where there were needs to preserve state. Later Microsoft invented control state, which is used instead of viewstate to hold critical state of a control. Microsoft have turned viewstate on as default because of compatibility. Any skilled web developer turns this off. Have you ever seen the attribute AutoeventWireup= true? Have you ever changed this to false? Well, you should ALWAYS turn this off unless  you need compatibility to old ASP code. This as with viewstate is turned on by default by Microsoft.&lt;br /&gt;&lt;br /&gt;I am an old webform developer that have not yet seen the great benefits of MVC, that is true. I don&amp;#39;t write an article saying which is better, because I dont know MVC that much. Same should you. Do not put webforms down when you clearly lack the knowledge of webforms. I understand enough of MVC and its difference to Webforms to state that neither is one&amp;#39;s successor. You use webforms and MVC for the same thing, although in some scenarios you should choose MVC over webforms.They both have their strength and weakness. &lt;br /&gt;Please dont take this as trolling, if you do, please excuse my writing. I meant this as purely feedback, constructive. In your future technology articles you might want some experience to backup your theories :)</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/776222647855423698/8522483337716705571/comments/default/8984768360199931898'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/776222647855423698/8522483337716705571/comments/default/8984768360199931898'/><link rel='alternate' type='text/html' href='http://www.gitshah.com/2011/07/aspnet-mvc-vs-aspnet-web-forms.html?showComment=1320238080650#c8984768360199931898' title=''/><author><name>Deleo</name><uri>http://www.blogger.com/profile/14951300865090213048</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.gitshah.com/2011/07/aspnet-mvc-vs-aspnet-web-forms.html' ref='tag:blogger.com,1999:blog-776222647855423698.post-8522483337716705571' source='http://www.blogger.com/feeds/776222647855423698/posts/default/8522483337716705571' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-715389931'/></entry><entry><id>tag:blogger.com,1999:blog-776222647855423698.post-228151000407819312</id><published>2011-10-22T13:16:26.304+05:30</published><updated>2011-10-22T13:16:26.304+05:30</updated><title type='text'>Hello Deleo,

Here are my responses:

1) WebForms ...</title><content type='html'>Hello Deleo,&lt;br /&gt;&lt;br /&gt;Here are my responses:&lt;br /&gt;&lt;br /&gt;1) WebForms code behind class is a mess.  People write all sort of code in the code behind class.  The fact that WebForms does not force you to have any separation of concern itself leads to poor design in most cases.&lt;br /&gt;&lt;br /&gt;2) Lot of times, people use third party controls like Telerik and Infragistics.  With these controls you can&amp;#39;t always have full control over the HTML generated.&lt;br /&gt;&lt;br /&gt;3) If a framework is difficult to unit test what does it highlight?  It highlights that, its poorly designed.&lt;br /&gt;&lt;br /&gt;4) I would agree with you here.&lt;br /&gt;&lt;br /&gt;5) Tell me something, with webforms, if you had a state dropdown (dropdown control) needs to be updated when a country is selected and we wanted to do this using JQuery only, how much could would you have to write.  Hod difficult/easy would it be?&lt;br /&gt;&lt;br /&gt;6) Posting back to the same page and then writing code to identify whether its a postback or not, is boiler plate code.  This is, another example of not having separation of concerns.  Checking &amp;quot;IsPostBack&amp;quot; is framework code, why should my code behind worry about whether its postback or not?  &lt;br /&gt;&lt;br /&gt;MVC can do AJAX using a GET or POST does not have to be a GET request.  I can totally control which Action to call in the GET/POST request.  I don&amp;#39;t have to keep checking whether its a GET/POST request and perform an action based on that decision.  In fact, I can also control that certain actions are only available over POST request and certain actions are only available over GET request.  This is done by simply adding an attribute over the action names.&lt;br /&gt;&lt;br /&gt;7) Why would a framework enable something by default (ViewState) that is actually bad and then someone has to turn it off explicitly?  Question is why have it in first place.  MVC has no view state at all and developers are spared from turning it on or off!&lt;br /&gt;&lt;br /&gt;I might be a &amp;quot;not very experienced webforms developer&amp;quot; but to me, you look like a very well versed webforms developer, who wants to overlook the benefits of MVC and does not want to move on.</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/776222647855423698/8522483337716705571/comments/default/228151000407819312'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/776222647855423698/8522483337716705571/comments/default/228151000407819312'/><link rel='alternate' type='text/html' href='http://www.gitshah.com/2011/07/aspnet-mvc-vs-aspnet-web-forms.html?showComment=1319269586304#c228151000407819312' title=''/><author><name>Deep Shah</name><uri>http://www.blogger.com/profile/14535815256818279199</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='21' src='http://1.bp.blogspot.com/_qt-96pMuMZk/S8Q4X7i722I/AAAAAAAAAqs/tV-TG_sRdGE/S220/deep_shah.jpg'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.gitshah.com/2011/07/aspnet-mvc-vs-aspnet-web-forms.html' ref='tag:blogger.com,1999:blog-776222647855423698.post-8522483337716705571' source='http://www.blogger.com/feeds/776222647855423698/posts/default/8522483337716705571' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-1925014861'/></entry><entry><id>tag:blogger.com,1999:blog-776222647855423698.post-3393368528812015208</id><published>2011-10-21T15:13:13.265+05:30</published><updated>2011-10-21T15:13:13.265+05:30</updated><title type='text'>I can&amp;#39;t say I agree on your points, and here i...</title><content type='html'>I can&amp;#39;t say I agree on your points, and here is why:&lt;br /&gt;1) You say seperation of concern: Webforms have exactly that, but you as a developer have to do it. Webforms does not force you to do anything like MVC does because Webforms is not a pattern. Webforms gives you the developer the freedom to use whatever you want. There are no limitations in webforms for coding SOC.&lt;br /&gt;Consider Webforms as your View and Model, leave all business and connection layer to something else.&lt;br /&gt;2) Total control of HTML: If you dont know how to control your HTML in Webforms, then you are not very bright developer. You can use pure Xhtml and never use any asp net controls. In ASP .NET 4, you can even determine how the ID tag is formed.&lt;br /&gt;3) Unit test, you got me there, webforms are difficult to unit test but not impossible.&lt;br /&gt;4) SEO, webforms can use the same routing as MVC and give the same SEO, so this point is bull...&lt;br /&gt;5) Integration with third party javascript, Im not even gonna answere this silly  one..&lt;br /&gt;6) No postback, well true in some ways. MVC does perform client callback, which is AJAX which is some sort of postback, just with GET rather than POST.&lt;br /&gt;7) No Viewstate...Hahahahah, you can easily turn off Viewstate and every good programmers should do this on default in webforms..&lt;br /&gt;&lt;br /&gt;After reviewing this artivle you seem not very experienced in Webforms, and your points are not all that thoughtful, but thanks for the input :)</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/776222647855423698/8522483337716705571/comments/default/3393368528812015208'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/776222647855423698/8522483337716705571/comments/default/3393368528812015208'/><link rel='alternate' type='text/html' href='http://www.gitshah.com/2011/07/aspnet-mvc-vs-aspnet-web-forms.html?showComment=1319190193265#c3393368528812015208' title=''/><author><name>Deleo</name><uri>http://www.blogger.com/profile/14951300865090213048</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.gitshah.com/2011/07/aspnet-mvc-vs-aspnet-web-forms.html' ref='tag:blogger.com,1999:blog-776222647855423698.post-8522483337716705571' source='http://www.blogger.com/feeds/776222647855423698/posts/default/8522483337716705571' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-715389931'/></entry><entry><id>tag:blogger.com,1999:blog-776222647855423698.post-539828193578354410</id><published>2011-07-30T22:57:08.617+05:30</published><updated>2011-07-30T22:57:08.617+05:30</updated><title type='text'>Agreed.

However in 99% of the cases GET is used t...</title><content type='html'>Agreed.&lt;br /&gt;&lt;br /&gt;However in 99% of the cases GET is used to load the Page for the first time.  And when one fills the form and submits the information it submitted over the POST to the same page.  Hence, although for the sake of arguing, one could think that IsPostBack is nothing to do with GET or POST requests, the truth is IsPostBack is mostly used to differentiate between the GET and POST requests.&lt;br /&gt;&lt;br /&gt;Over and above it the point here is that the code that gets executed when IsPostBack=true is almost always completely different from what gets executed in IsPostBack=false condition.&lt;br /&gt;&lt;br /&gt;For e.g. lets say we have to render a form where Address needs to be entered by an user.  When the page gets rendered for the first time i.e. IsPostBack=false/GET request we get all sorts of reference data i.e. load the list of countries (from the DB) in the drop down and stuff like that.  When information is filled and posted back i.e. IsPostBack=true/POST request, we usually write code to save the address information and not bother about filling the country dropdown.&lt;br /&gt;&lt;br /&gt;With MVC we can clearly specify what should happen when a GET request is executing and what should happen when POST request is executing.  We do not have to keep checking whether its IsPostBack=true or IsPostBack=false.  This for me reduces some boiler plate code.</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/776222647855423698/8522483337716705571/comments/default/539828193578354410'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/776222647855423698/8522483337716705571/comments/default/539828193578354410'/><link rel='alternate' type='text/html' href='http://www.gitshah.com/2011/07/aspnet-mvc-vs-aspnet-web-forms.html?showComment=1312046828617#c539828193578354410' title=''/><author><name>Deep Shah</name><uri>http://www.blogger.com/profile/14535815256818279199</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='21' src='http://1.bp.blogspot.com/_qt-96pMuMZk/S8Q4X7i722I/AAAAAAAAAqs/tV-TG_sRdGE/S220/deep_shah.jpg'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.gitshah.com/2011/07/aspnet-mvc-vs-aspnet-web-forms.html' ref='tag:blogger.com,1999:blog-776222647855423698.post-8522483337716705571' source='http://www.blogger.com/feeds/776222647855423698/posts/default/8522483337716705571' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-1925014861'/></entry><entry><id>tag:blogger.com,1999:blog-776222647855423698.post-6111418926029014496</id><published>2011-07-29T21:39:37.065+05:30</published><updated>2011-07-29T21:39:37.065+05:30</updated><title type='text'>&amp;quot;Do you still feel IsPostBack has nothing to ...</title><content type='html'>&amp;quot;Do you still feel IsPostBack has nothing to do with GET or POST request?&amp;quot;&lt;br /&gt;&lt;br /&gt;Yes - because GET or POST can happen on the first attempt to retrieve info from a page (POST via cross page postbacks). I&amp;#39;ll let MS explain:&lt;br /&gt;&lt;br /&gt;During a cross-page postback, the contents of the source page&amp;#39;s controls are posted to the target page, and the browser executes an HTTP POST operation (not a GET operation). However, in the target page, the IsPostBack property is false immediately after a cross-page post. Although the behavior is that of a POST, the cross-posting is not a postback to the target page. Therefore, IsPostBack is set to false and the target page can go through its first-time code.</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/776222647855423698/8522483337716705571/comments/default/6111418926029014496'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/776222647855423698/8522483337716705571/comments/default/6111418926029014496'/><link rel='alternate' type='text/html' href='http://www.gitshah.com/2011/07/aspnet-mvc-vs-aspnet-web-forms.html?showComment=1311955777065#c6111418926029014496' title=''/><author><name>Anonymous</name><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img1.blogblog.com/img/blank.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.gitshah.com/2011/07/aspnet-mvc-vs-aspnet-web-forms.html' ref='tag:blogger.com,1999:blog-776222647855423698.post-8522483337716705571' source='http://www.blogger.com/feeds/776222647855423698/posts/default/8522483337716705571' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-460023878'/></entry><entry><id>tag:blogger.com,1999:blog-776222647855423698.post-3048106011505650916</id><published>2011-07-24T22:29:05.324+05:30</published><updated>2011-07-24T22:29:05.324+05:30</updated><title type='text'>Hello Vassil Terziev,

Thanks, Personally, I have ...</title><content type='html'>Hello Vassil Terziev,&lt;br /&gt;&lt;br /&gt;Thanks, Personally, I have nothing against Telerik controls.  Whatever I have posted are my real experiences.&lt;br /&gt;&lt;br /&gt;I am a big fan of Open source software.  MVC comes integrated with jQuery, there are thousands of open source plugins for jQuery which do almost anything that you can think of.  I have not tried Telerik&amp;#39;s offering for ASP.NET MVC because till now I didn&amp;#39;t see a need to use any paid MVC components.  However that&amp;#39;s just me.&lt;br /&gt;&lt;br /&gt;Giedrius Mereckis,&lt;br /&gt;&lt;br /&gt;You are right, I have not done much Web Forms development.  However, I feel I understand Web Forms approach just fine.  &lt;br /&gt;&lt;br /&gt;Let me explain it again, As you said IsPostBack tells us whether page is entered/rendered first time or not.  When the Page is rendered first time a &amp;quot;GET&amp;quot; request is sent to the server.  In this request IsPostBack will be set to false.&lt;br /&gt;&lt;br /&gt;When a post back event occurs for e.g. lets say user fills the form and clicks the submit button, information is submitted to the same page using the the HTTP POST method.  In this request IsPostBack will be set to true.  Do you still feel IsPostBack has nothing to do with GET or POST request?&lt;br /&gt;&lt;br /&gt;I can understanding, for long time Asp.NET web forms developers moving to Asp.NET MVC3 might be a bit overwhelming, but trust me, if you want to develop fast Web 2.0 applications, MVC is going to be the way forward.&lt;br /&gt;&lt;br /&gt;Thanks&lt;br /&gt;&lt;br /&gt;Deep Shah</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/776222647855423698/8522483337716705571/comments/default/3048106011505650916'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/776222647855423698/8522483337716705571/comments/default/3048106011505650916'/><link rel='alternate' type='text/html' href='http://www.gitshah.com/2011/07/aspnet-mvc-vs-aspnet-web-forms.html?showComment=1311526745324#c3048106011505650916' title=''/><author><name>Deep Shah</name><uri>http://www.blogger.com/profile/14535815256818279199</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='21' src='http://1.bp.blogspot.com/_qt-96pMuMZk/S8Q4X7i722I/AAAAAAAAAqs/tV-TG_sRdGE/S220/deep_shah.jpg'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.gitshah.com/2011/07/aspnet-mvc-vs-aspnet-web-forms.html' ref='tag:blogger.com,1999:blog-776222647855423698.post-8522483337716705571' source='http://www.blogger.com/feeds/776222647855423698/posts/default/8522483337716705571' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-1925014861'/></entry><entry><id>tag:blogger.com,1999:blog-776222647855423698.post-71684487491751010</id><published>2011-07-22T00:41:18.232+05:30</published><updated>2011-07-22T00:41:18.232+05:30</updated><title type='text'>Doesn&amp;#39;t sound like you have done a lot of web ...</title><content type='html'>Doesn&amp;#39;t sound like you have done a lot of web forms programming. IsPostBack has nothing to do with Get or Post requests, it refers whether the page is entered first time or not (PostBack). I still prefer WebForms for web applications due to the object-oriented feel, component based approach(if done right). MVC feels like functional programming to me and I prefer it for content websites with.</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/776222647855423698/8522483337716705571/comments/default/71684487491751010'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/776222647855423698/8522483337716705571/comments/default/71684487491751010'/><link rel='alternate' type='text/html' href='http://www.gitshah.com/2011/07/aspnet-mvc-vs-aspnet-web-forms.html?showComment=1311275478232#c71684487491751010' title=''/><author><name>Giedrius Mereckis</name><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img1.blogblog.com/img/blank.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.gitshah.com/2011/07/aspnet-mvc-vs-aspnet-web-forms.html' ref='tag:blogger.com,1999:blog-776222647855423698.post-8522483337716705571' source='http://www.blogger.com/feeds/776222647855423698/posts/default/8522483337716705571' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-1766658999'/></entry><entry><id>tag:blogger.com,1999:blog-776222647855423698.post-5966192191276554072</id><published>2011-07-19T03:04:55.532+05:30</published><updated>2011-07-19T03:04:55.532+05:30</updated><title type='text'>Good post! ASP.NET MVC does offer its set of advan...</title><content type='html'>Good post! ASP.NET MVC does offer its set of advantages over ASP.NET WebForms.&lt;br /&gt;&lt;br /&gt;I know you don&amp;#39;t like Telerik&amp;#39;s WebForms offering but you should check out our MVC extensions (http://demos.telerik.com/aspnet-mvc/). Would be interesting to get your take on those as they were done from the ground up and in the &amp;quot;pure&amp;quot; ASP.NET MVC way. Hopefully they are a better fit for your projects and maybe you&amp;#39;ll like them more:)</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/776222647855423698/8522483337716705571/comments/default/5966192191276554072'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/776222647855423698/8522483337716705571/comments/default/5966192191276554072'/><link rel='alternate' type='text/html' href='http://www.gitshah.com/2011/07/aspnet-mvc-vs-aspnet-web-forms.html?showComment=1311024895532#c5966192191276554072' title=''/><author><name>Vassil Terziev</name><uri>http://twitter.com/#!/terziev</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img1.blogblog.com/img/blank.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.gitshah.com/2011/07/aspnet-mvc-vs-aspnet-web-forms.html' ref='tag:blogger.com,1999:blog-776222647855423698.post-8522483337716705571' source='http://www.blogger.com/feeds/776222647855423698/posts/default/8522483337716705571' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-980328950'/></entry></feed>
