{"id":520,"date":"2005-04-01T00:18:38","date_gmt":"2005-03-31T22:18:38","guid":{"rendered":"http:\/\/10.0.0.2\/wordpress\/?p=520"},"modified":"2005-04-01T00:18:38","modified_gmt":"2005-03-31T22:18:38","slug":"asp_net_delphi2005_vs_vs_net","status":"publish","type":"post","link":"https:\/\/www.switchbl8.nl\/blog\/2005\/04\/asp_net_delphi2005_vs_vs_net\/","title":{"rendered":"ASP.NET: Delphi2005 vs VS.NET"},"content":{"rendered":"<p>I was browsing some websites this afternoon, and read somewhere (I think on <a href=\"http:\/\/www.thedailywtf.com\/\">the DailyWTF<\/a> forums) that Java and C# syntax are almost the same. So this evening I thought: why not give it a try and create a simple C# web-application. So here I go&#8230;<\/p>\n<p>1) Start Delphi2005<br \/>\n2) File->New->C# web application<br \/>\n3) Give it a name etc.<br \/>\n4) Look at the canvas: it says &#8220;Form is in gridbaglayout. If you want to &#8230;. blablabla&#8221;.<br \/>\n5) Now drop a button on the form<br \/>\n6) Move the button<br \/>\n7) Try to move it again<br \/>\n8) Don&#8217;t get annoyed: it&#8217;s not possible.<br \/>\n9) Close all and exit Delphi2005<\/p>\n<p>Now do the same, except change the first into:<\/p>\n<p>1) Start VS.NET<br \/>\n.<br \/>\n.<br \/>\n.<br \/>\n7) Hey, the button has moved<br \/>\n8) Be surprised, but&#8230;<br \/>\n9) Continue coding<\/p>\n<p>If that&#8217;s not a WTF, than what is? Perhaps this is: running the (not so good looking) page\/application (just some inputfields and buttons doing nothing) for the second time gave me the annoying &#8220;can&#8217;t connect to the asp workerprocess&#8221; error. VS.NET has no trouble running the pages time after time.<\/p>\n<p>View what I did <a href=\"http:\/\/www.rare-it.com\/files\/blog\/Grid_Layout_Bug.html\">here<\/a>. Please comment if this is a known bug that I did not know about (quite possible) or if you know that I did something utterly stupid (extremely possible).<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I was browsing some websites this afternoon, and read somewhere (I think on the DailyWTF forums) that Java and C# syntax are almost the same. So this evening I thought: why not give it a try and create a simple C# web-application. So here I go&#8230; 1) Start Delphi2005 2) File->New->C# web application 3) Give <a href='https:\/\/www.switchbl8.nl\/blog\/2005\/04\/asp_net_delphi2005_vs_vs_net\/' class='excerpt-more'>[&#8230;]<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[37,39,41,8],"tags":[],"class_list":["post-520","post","type-post","status-publish","format-standard","hentry","category-aspnet","category-c","category-delphi","category-development","category-37-id","category-39-id","category-41-id","category-8-id","post-seq-1","post-parity-odd","meta-position-corners","fix"],"_links":{"self":[{"href":"https:\/\/www.switchbl8.nl\/blog\/wp-json\/wp\/v2\/posts\/520","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.switchbl8.nl\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.switchbl8.nl\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.switchbl8.nl\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.switchbl8.nl\/blog\/wp-json\/wp\/v2\/comments?post=520"}],"version-history":[{"count":0,"href":"https:\/\/www.switchbl8.nl\/blog\/wp-json\/wp\/v2\/posts\/520\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.switchbl8.nl\/blog\/wp-json\/wp\/v2\/media?parent=520"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.switchbl8.nl\/blog\/wp-json\/wp\/v2\/categories?post=520"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.switchbl8.nl\/blog\/wp-json\/wp\/v2\/tags?post=520"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}