{"id":1021,"date":"2011-12-09T12:18:33","date_gmt":"2011-12-09T16:18:33","guid":{"rendered":"https:\/\/clarionsharp.com\/blog\/?p=1021"},"modified":"2011-12-09T12:18:33","modified_gmt":"2011-12-09T16:18:33","slug":"net-appgen-release","status":"publish","type":"post","link":"https:\/\/clarionsharp.com\/blog\/net-appgen-release\/","title":{"rendered":".Net AppGen release"},"content":{"rendered":"<p>Download instructions are going out today for the initial release of the .Net AppGen.\u00a0 We have two new newsgroups setup;<\/p>\n<p>For questions on writing T4 templates<br \/>\nsv.clarion.T4.WritingTemplates<\/p>\n<p>For questions on using the T4 templates<br \/>\nsv.clarion.T4.TemplateHelp<\/p>\n<p>We&#8217;ll make a decision on whether to host the T4 template project on our Subversion server or on Codeplex next week.<\/p>\n<p>Here is an excerpt from the &#8220;getting started&#8221; document that&#8217;s included in the download:<\/p>\n<p>.NET offers many choices for application architecture; from placing the data access code directly in the<br \/>\nUI through datasets and data source controls, to creating a data access layer that talks to the database,<br \/>\nand using an n-tier architecture approach that consists of multiple layers and objects to pass data back<br \/>\nand forth.<\/p>\n<p>While embedding data access and business rule code directly into the UI is generally easier, in some<br \/>\ncases it\u2019s not the best approach for a given project.<\/p>\n<p>.NET supplies a data control structure called the ObjectDataSource which gives us the possibility to use a<br \/>\n3 tier design model. It supports an architecture whereby all Sql commands are embedded into a middle<br \/>\ntier. You only have to supply the underlying object and map the methods from the Business Layer to the<br \/>\ndifferent Sql commands.\u00a0 And while I am talking about Sql and ADO.Net right now, take a look at the<br \/>\nimage below.\u00a0 The data access layer can (and soon will) support using the Clarion Driver technology;<br \/>\nboth direct drivers and thru the IP driver, as well as other access approaches like using a webservice.<\/p>\n<p style=\"text-align: left;\"><a href=\"https:\/\/clarionsharp.com\/blog\/wp-content\/uploads\/2011\/12\/ObjectDataSource.png\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-1023 aligncenter\" title=\"ObjectDataSource\" src=\"https:\/\/clarionsharp.com\/blog\/wp-content\/uploads\/2011\/12\/ObjectDataSource.png\" alt=\"n-tier with ObjectDataSource\" width=\"582\" height=\"602\" \/><\/a><\/p>\n<p style=\"text-align: left;\">In this initial release of the .Net AppGen the templates for both Web and WinForm make use of the<br \/>\nsame 3 tier architecture using the ObjectDataSource. This first release supports ADO.Net for the data<br \/>\naccess, and our next update will utilize the same 3-tier architecture; but the data access layer uses<br \/>\nClarion drivers and our LinqToFile provider.<\/p>\n<p>We realize that this release can be a bit of a leap \u2013 moving from the ABC data access layer or direct<br \/>\ndriver use in the Clarion chain to a 3-tier architecture model means there is a bit to learn.\u00a0 But it\u2019s well<br \/>\nworth exploring it, even if after the fact you choose to keep your development closer to our Win32<br \/>\nmodel (we intend to support that as well). The same n-tier architecture model will be implemented in<br \/>\nfuture templates to support using other object-relational mapping frameworks; like Microsoft\u2019s Entity<br \/>\nFramework and nHibernate.<\/p>\n<p>If you follow along with the steps below (for either Web app or WinForm) you\u2019ll end up with a<br \/>\n\u201cEnterprise architecture\u201d style 3-tier app, and possibly find that you like it. Most of the problems that<br \/>\nyou will run into come in 2 flavors; ADO.Net connection strings that refuse to connect but return no<br \/>\nerrors (usually a backend config issue), and for web apps; IIS configuration issues. Hopefully your trip will<br \/>\navoid them but don\u2019t be surprised if you have to battle configuration issues.<br \/>\n3 tier Application<\/p>\n<p>We\u2019ll create two projects for our web application.\u00a0 We\u2019ll first create the Model application; this will<br \/>\ncreate a reusable assembly (DLL) that defines and contains all of our data access objects to be used in<br \/>\nour Web Application.<\/p>\n<p>&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;..<\/p>\n<p>For the rest of the story refer to the GettingStartedWithT4templates.pdf in the download!<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Download instructions are going out today for the initial release of the .Net AppGen.\u00a0 We have two new newsgroups setup; For questions on writing T4 templates sv.clarion.T4.WritingTemplates For questions on using the T4 templates sv.clarion.T4.TemplateHelp We&#8217;ll make a decision on whether to host the T4 template project on our Subversion server or on Codeplex next &hellip; <a href=\"https:\/\/clarionsharp.com\/blog\/net-appgen-release\/\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">.Net AppGen release<\/span> <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[5],"tags":[],"class_list":["post-1021","post","type-post","status-publish","format-standard","hentry","category-clarionnews"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.4 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>.Net AppGen release - Clarion<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/clarionsharp.com\/blog\/net-appgen-release\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\".Net AppGen release - Clarion\" \/>\n<meta property=\"og:description\" content=\"Download instructions are going out today for the initial release of the .Net AppGen.\u00a0 We have two new newsgroups setup; For questions on writing T4 templates sv.clarion.T4.WritingTemplates For questions on using the T4 templates sv.clarion.T4.TemplateHelp We&#8217;ll make a decision on whether to host the T4 template project on our Subversion server or on Codeplex next &hellip; Continue reading .Net AppGen release &rarr;\" \/>\n<meta property=\"og:url\" content=\"https:\/\/clarionsharp.com\/blog\/net-appgen-release\/\" \/>\n<meta property=\"og:site_name\" content=\"Clarion\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/softvelocity\/\" \/>\n<meta property=\"article:published_time\" content=\"2011-12-09T16:18:33+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/clarionsharp.com\/blog\/wp-content\/uploads\/2011\/12\/ObjectDataSource.png\" \/>\n<meta name=\"author\" content=\"rzaunere\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"rzaunere\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"3 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/clarionsharp.com\\\/blog\\\/net-appgen-release\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/clarionsharp.com\\\/blog\\\/net-appgen-release\\\/\"},\"author\":{\"name\":\"rzaunere\",\"@id\":\"https:\\\/\\\/clarionsharp.com\\\/blog\\\/#\\\/schema\\\/person\\\/b90e860529aea05ad064cf2687697ce3\"},\"headline\":\".Net AppGen release\",\"datePublished\":\"2011-12-09T16:18:33+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/clarionsharp.com\\\/blog\\\/net-appgen-release\\\/\"},\"wordCount\":561,\"commentCount\":1,\"publisher\":{\"@id\":\"https:\\\/\\\/clarionsharp.com\\\/blog\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/clarionsharp.com\\\/blog\\\/net-appgen-release\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/clarionsharp.com\\\/blog\\\/wp-content\\\/uploads\\\/2011\\\/12\\\/ObjectDataSource.png\",\"articleSection\":[\"Clarion News\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/clarionsharp.com\\\/blog\\\/net-appgen-release\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/clarionsharp.com\\\/blog\\\/net-appgen-release\\\/\",\"url\":\"https:\\\/\\\/clarionsharp.com\\\/blog\\\/net-appgen-release\\\/\",\"name\":\".Net AppGen release - Clarion\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/clarionsharp.com\\\/blog\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/clarionsharp.com\\\/blog\\\/net-appgen-release\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/clarionsharp.com\\\/blog\\\/net-appgen-release\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/clarionsharp.com\\\/blog\\\/wp-content\\\/uploads\\\/2011\\\/12\\\/ObjectDataSource.png\",\"datePublished\":\"2011-12-09T16:18:33+00:00\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/clarionsharp.com\\\/blog\\\/net-appgen-release\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/clarionsharp.com\\\/blog\\\/net-appgen-release\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/clarionsharp.com\\\/blog\\\/net-appgen-release\\\/#primaryimage\",\"url\":\"https:\\\/\\\/clarionsharp.com\\\/blog\\\/wp-content\\\/uploads\\\/2011\\\/12\\\/ObjectDataSource.png\",\"contentUrl\":\"https:\\\/\\\/clarionsharp.com\\\/blog\\\/wp-content\\\/uploads\\\/2011\\\/12\\\/ObjectDataSource.png\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/clarionsharp.com\\\/blog\\\/net-appgen-release\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/clarionsharp.com\\\/blog\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\".Net AppGen release\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/clarionsharp.com\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/clarionsharp.com\\\/blog\\\/\",\"name\":\"Clarion\",\"description\":\"Deliver your software on time, every time\",\"publisher\":{\"@id\":\"https:\\\/\\\/clarionsharp.com\\\/blog\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/clarionsharp.com\\\/blog\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/clarionsharp.com\\\/blog\\\/#organization\",\"name\":\"SoftVelocity\",\"url\":\"https:\\\/\\\/clarionsharp.com\\\/blog\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/clarionsharp.com\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/clarionsharp.com\\\/blog\\\/wp-content\\\/uploads\\\/2019\\\/03\\\/svlogonew57.png\",\"contentUrl\":\"https:\\\/\\\/clarionsharp.com\\\/blog\\\/wp-content\\\/uploads\\\/2019\\\/03\\\/svlogonew57.png\",\"width\":221,\"height\":57,\"caption\":\"SoftVelocity\"},\"image\":{\"@id\":\"https:\\\/\\\/clarionsharp.com\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"https:\\\/\\\/www.facebook.com\\\/softvelocity\\\/\",\"https:\\\/\\\/www.youtube.com\\\/user\\\/SoftVelocity\"]},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/clarionsharp.com\\\/blog\\\/#\\\/schema\\\/person\\\/b90e860529aea05ad064cf2687697ce3\",\"name\":\"rzaunere\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/91d95e38759c411d27f646b60da7f4769ce91e87b484669af240e51c729b1e7c?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/91d95e38759c411d27f646b60da7f4769ce91e87b484669af240e51c729b1e7c?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/91d95e38759c411d27f646b60da7f4769ce91e87b484669af240e51c729b1e7c?s=96&d=mm&r=g\",\"caption\":\"rzaunere\"},\"url\":\"https:\\\/\\\/clarionsharp.com\\\/blog\\\/author\\\/rzaunere\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":".Net AppGen release - Clarion","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/clarionsharp.com\/blog\/net-appgen-release\/","og_locale":"en_US","og_type":"article","og_title":".Net AppGen release - Clarion","og_description":"Download instructions are going out today for the initial release of the .Net AppGen.\u00a0 We have two new newsgroups setup; For questions on writing T4 templates sv.clarion.T4.WritingTemplates For questions on using the T4 templates sv.clarion.T4.TemplateHelp We&#8217;ll make a decision on whether to host the T4 template project on our Subversion server or on Codeplex next &hellip; Continue reading .Net AppGen release &rarr;","og_url":"https:\/\/clarionsharp.com\/blog\/net-appgen-release\/","og_site_name":"Clarion","article_publisher":"https:\/\/www.facebook.com\/softvelocity\/","article_published_time":"2011-12-09T16:18:33+00:00","og_image":[{"url":"https:\/\/clarionsharp.com\/blog\/wp-content\/uploads\/2011\/12\/ObjectDataSource.png","type":"","width":"","height":""}],"author":"rzaunere","twitter_card":"summary_large_image","twitter_misc":{"Written by":"rzaunere","Est. reading time":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/clarionsharp.com\/blog\/net-appgen-release\/#article","isPartOf":{"@id":"https:\/\/clarionsharp.com\/blog\/net-appgen-release\/"},"author":{"name":"rzaunere","@id":"https:\/\/clarionsharp.com\/blog\/#\/schema\/person\/b90e860529aea05ad064cf2687697ce3"},"headline":".Net AppGen release","datePublished":"2011-12-09T16:18:33+00:00","mainEntityOfPage":{"@id":"https:\/\/clarionsharp.com\/blog\/net-appgen-release\/"},"wordCount":561,"commentCount":1,"publisher":{"@id":"https:\/\/clarionsharp.com\/blog\/#organization"},"image":{"@id":"https:\/\/clarionsharp.com\/blog\/net-appgen-release\/#primaryimage"},"thumbnailUrl":"https:\/\/clarionsharp.com\/blog\/wp-content\/uploads\/2011\/12\/ObjectDataSource.png","articleSection":["Clarion News"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/clarionsharp.com\/blog\/net-appgen-release\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/clarionsharp.com\/blog\/net-appgen-release\/","url":"https:\/\/clarionsharp.com\/blog\/net-appgen-release\/","name":".Net AppGen release - Clarion","isPartOf":{"@id":"https:\/\/clarionsharp.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/clarionsharp.com\/blog\/net-appgen-release\/#primaryimage"},"image":{"@id":"https:\/\/clarionsharp.com\/blog\/net-appgen-release\/#primaryimage"},"thumbnailUrl":"https:\/\/clarionsharp.com\/blog\/wp-content\/uploads\/2011\/12\/ObjectDataSource.png","datePublished":"2011-12-09T16:18:33+00:00","breadcrumb":{"@id":"https:\/\/clarionsharp.com\/blog\/net-appgen-release\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/clarionsharp.com\/blog\/net-appgen-release\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/clarionsharp.com\/blog\/net-appgen-release\/#primaryimage","url":"https:\/\/clarionsharp.com\/blog\/wp-content\/uploads\/2011\/12\/ObjectDataSource.png","contentUrl":"https:\/\/clarionsharp.com\/blog\/wp-content\/uploads\/2011\/12\/ObjectDataSource.png"},{"@type":"BreadcrumbList","@id":"https:\/\/clarionsharp.com\/blog\/net-appgen-release\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/clarionsharp.com\/blog\/"},{"@type":"ListItem","position":2,"name":".Net AppGen release"}]},{"@type":"WebSite","@id":"https:\/\/clarionsharp.com\/blog\/#website","url":"https:\/\/clarionsharp.com\/blog\/","name":"Clarion","description":"Deliver your software on time, every time","publisher":{"@id":"https:\/\/clarionsharp.com\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/clarionsharp.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/clarionsharp.com\/blog\/#organization","name":"SoftVelocity","url":"https:\/\/clarionsharp.com\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/clarionsharp.com\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/clarionsharp.com\/blog\/wp-content\/uploads\/2019\/03\/svlogonew57.png","contentUrl":"https:\/\/clarionsharp.com\/blog\/wp-content\/uploads\/2019\/03\/svlogonew57.png","width":221,"height":57,"caption":"SoftVelocity"},"image":{"@id":"https:\/\/clarionsharp.com\/blog\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/softvelocity\/","https:\/\/www.youtube.com\/user\/SoftVelocity"]},{"@type":"Person","@id":"https:\/\/clarionsharp.com\/blog\/#\/schema\/person\/b90e860529aea05ad064cf2687697ce3","name":"rzaunere","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/91d95e38759c411d27f646b60da7f4769ce91e87b484669af240e51c729b1e7c?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/91d95e38759c411d27f646b60da7f4769ce91e87b484669af240e51c729b1e7c?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/91d95e38759c411d27f646b60da7f4769ce91e87b484669af240e51c729b1e7c?s=96&d=mm&r=g","caption":"rzaunere"},"url":"https:\/\/clarionsharp.com\/blog\/author\/rzaunere\/"}]}},"_links":{"self":[{"href":"https:\/\/clarionsharp.com\/blog\/wp-json\/wp\/v2\/posts\/1021","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/clarionsharp.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/clarionsharp.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/clarionsharp.com\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/clarionsharp.com\/blog\/wp-json\/wp\/v2\/comments?post=1021"}],"version-history":[{"count":0,"href":"https:\/\/clarionsharp.com\/blog\/wp-json\/wp\/v2\/posts\/1021\/revisions"}],"wp:attachment":[{"href":"https:\/\/clarionsharp.com\/blog\/wp-json\/wp\/v2\/media?parent=1021"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/clarionsharp.com\/blog\/wp-json\/wp\/v2\/categories?post=1021"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/clarionsharp.com\/blog\/wp-json\/wp\/v2\/tags?post=1021"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}