<?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-2297698770491701674.post6887796398453497459..comments</id><updated>2011-02-28T21:13:32.690-08:00</updated><category term='Web Form Builder'/><category term='COT Tools for Excel'/><category term='Web App Generator'/><category term='User Interface'/><category term='Reports'/><category term='MySQL'/><category term='Designer'/><category term='Database Lookups'/><category term='ASP.NET Membership'/><category term='SQL Server'/><category term='Video Tutorial'/><category term='Deployment'/><category term='SharePoint'/><category term='AJAX'/><category term='Globalization and Localization'/><category term='Security'/><category term='Web Application Generator'/><category term='Oracle'/><category term='Application Factory'/><category term='Data Sheet'/><category term='Web 2.0'/><category term='Azure'/><category term='EASE'/><category term='ASP.NET'/><category term='Code Generator'/><category term='Web.Config'/><category term='Charts'/><category term='Data Aquarium Framework'/><category term='DotNetNuke'/><category term='Business Rules/Logic'/><category term='Release Notes'/><category term='ASP.NET Code Generator'/><category term='SQL Anywhere'/><category term='Tips and Tricks'/><category term='ASP.NET 3.5'/><category term='BLOB'/><category term='Cloud'/><category term='Installation'/><category term='Master/Detail'/><title type='text'>Comments on Code On Time: Global Logging With Shared Business Rules</title><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://blog.codeontime.com/feeds/6887796398453497459/comments/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2297698770491701674/6887796398453497459/comments/default'/><link rel='alternate' type='text/html' href='http://blog.codeontime.com/2010/01/global-logging-with-shared-business.html'/><author><name>Customer Service</name><uri>http://www.blogger.com/profile/04471166550881539854</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><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>6</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-2297698770491701674.post-4059939195108526781</id><published>2011-02-28T21:09:20.771-08:00</published><updated>2011-02-28T21:09:20.771-08:00</updated><title type='text'>here is the VB.NET version of the above example

 ...</title><content type='html'>here is the VB.NET version of the above example&lt;br /&gt;&lt;br /&gt; Protected Overrides Sub AfterSqlAction(ByVal args As ActionArgs, ByVal result As ActionResult)&lt;br /&gt;            Dim sb As New StringBuilder()&lt;br /&gt;            sb.AppendLine()&lt;br /&gt;            sb.AppendFormat(&amp;quot;Controller: {0}, View: {1}, Command: {2}&amp;quot;,&lt;br /&gt;                args.Controller, args.View, args.CommandName)&lt;br /&gt;            sb.AppendLine()&lt;br /&gt;            Select (args.CommandName)&lt;br /&gt;&lt;br /&gt;                Case &amp;quot;Update&amp;quot;&lt;br /&gt;                    For Each v As FieldValue In args.Values&lt;br /&gt;                        If (v.Modified) Then&lt;br /&gt;                            sb.AppendFormat(&lt;br /&gt;                                &amp;quot;Field &amp;#39;{0}&amp;#39; has been changed from &amp;#39;{1}&amp;#39; to &amp;#39;{2}&amp;#39;&amp;quot;,&lt;br /&gt;                                v.Name, v.OldValue, v.NewValue)&lt;br /&gt;                            sb.AppendLine()&lt;br /&gt;                        End If&lt;br /&gt;                    Next&lt;br /&gt;                Case &amp;quot;Insert&amp;quot;&lt;br /&gt;                    For Each v As FieldValue In args.Values&lt;br /&gt;                        If v.Modified Then&lt;br /&gt;                            sb.AppendFormat(&lt;br /&gt;                                &amp;quot;Field &amp;#39;{0}&amp;#39; is equal to &amp;#39;{1}&amp;#39;&amp;quot;,&lt;br /&gt;                                v.Name, v.Value)&lt;br /&gt;                            sb.AppendLine()&lt;br /&gt;                        End If&lt;br /&gt;                    Next&lt;br /&gt;                Case &amp;quot;Delete&amp;quot;&lt;br /&gt;                    For Each v As FieldValue In args.Values&lt;br /&gt;                        sb.AppendFormat(&lt;br /&gt;                            &amp;quot;Field &amp;#39;{0}&amp;#39; is equal to &amp;#39;{1}&amp;#39;&amp;quot;,&lt;br /&gt;                            v.Name, v.Value)&lt;br /&gt;                        sb.AppendLine()&lt;br /&gt;                    Next&lt;br /&gt;            End Select&lt;br /&gt;            System.Diagnostics.Debug.WriteLine(sb.ToString())&lt;br /&gt;        End Sub</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2297698770491701674/6887796398453497459/comments/default/4059939195108526781'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2297698770491701674/6887796398453497459/comments/default/4059939195108526781'/><link rel='alternate' type='text/html' href='http://blog.codeontime.com/2010/01/global-logging-with-shared-business.html?showComment=1298956160771#c4059939195108526781' title=''/><author><name>Stinkbutt</name><uri>http://www.blogger.com/profile/06981639637093705626</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://blog.codeontime.com/2010/01/global-logging-with-shared-business.html' ref='tag:blogger.com,1999:blog-2297698770491701674.post-6887796398453497459' source='http://www.blogger.com/feeds/2297698770491701674/posts/default/6887796398453497459' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-529999427'/></entry><entry><id>tag:blogger.com,1999:blog-2297698770491701674.post-1550531690348828242</id><published>2011-02-15T18:49:58.952-08:00</published><updated>2011-02-15T18:49:58.952-08:00</updated><title type='text'>Do you have a VB version for your sample?</title><content type='html'>Do you have a VB version for your sample?</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2297698770491701674/6887796398453497459/comments/default/1550531690348828242'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2297698770491701674/6887796398453497459/comments/default/1550531690348828242'/><link rel='alternate' type='text/html' href='http://blog.codeontime.com/2010/01/global-logging-with-shared-business.html?showComment=1297824598952#c1550531690348828242' title=''/><author><name>Gonzalo Aguilera</name><uri>http://www.blogger.com/profile/16819422009329558463</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://blog.codeontime.com/2010/01/global-logging-with-shared-business.html' ref='tag:blogger.com,1999:blog-2297698770491701674.post-6887796398453497459' source='http://www.blogger.com/feeds/2297698770491701674/posts/default/6887796398453497459' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-106422042'/></entry><entry><id>tag:blogger.com,1999:blog-2297698770491701674.post-5789215770725459447</id><published>2010-07-27T17:37:42.558-07:00</published><updated>2010-07-27T17:37:42.558-07:00</updated><title type='text'>New option &amp;quot;Generate a shared business rules ...</title><content type='html'>New option &amp;quot;Generate a shared business rules class to implement global logging of actions executed by data controllers of your application. &amp;quot; is available on business logic layer page of project wizard. &lt;br /&gt;&lt;br /&gt;If this option is enabled then a a global shared business rules class is created. &lt;br /&gt;&lt;br /&gt;If a custom business rules is created the it will automatically inherit SharedBusinessRules if the option is enabled in your project.</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2297698770491701674/6887796398453497459/comments/default/5789215770725459447'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2297698770491701674/6887796398453497459/comments/default/5789215770725459447'/><link rel='alternate' type='text/html' href='http://blog.codeontime.com/2010/01/global-logging-with-shared-business.html?showComment=1280277462558#c5789215770725459447' title=''/><author><name>Customer Service</name><uri>http://www.blogger.com/profile/04471166550881539854</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://blog.codeontime.com/2010/01/global-logging-with-shared-business.html' ref='tag:blogger.com,1999:blog-2297698770491701674.post-6887796398453497459' source='http://www.blogger.com/feeds/2297698770491701674/posts/default/6887796398453497459' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-2009816044'/></entry><entry><id>tag:blogger.com,1999:blog-2297698770491701674.post-4031426492762504652</id><published>2010-07-08T23:47:38.078-07:00</published><updated>2010-07-08T23:47:38.078-07:00</updated><title type='text'>Hi, I&amp;#39;m testing this global logging. There&amp;#39...</title><content type='html'>Hi, I&amp;#39;m testing this global logging. There&amp;#39;s a issue that only one handler can be specified right? How to use both shared business rules and the custom rules? I mean combine them together.</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2297698770491701674/6887796398453497459/comments/default/4031426492762504652'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2297698770491701674/6887796398453497459/comments/default/4031426492762504652'/><link rel='alternate' type='text/html' href='http://blog.codeontime.com/2010/01/global-logging-with-shared-business.html?showComment=1278658058078#c4031426492762504652' title=''/><author><name>John Li</name><uri>http://www.blogger.com/profile/16921116192052867678</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://blog.codeontime.com/2010/01/global-logging-with-shared-business.html' ref='tag:blogger.com,1999:blog-2297698770491701674.post-6887796398453497459' source='http://www.blogger.com/feeds/2297698770491701674/posts/default/6887796398453497459' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-388624579'/></entry><entry><id>tag:blogger.com,1999:blog-2297698770491701674.post-5807463660436997860</id><published>2010-01-14T12:30:27.512-08:00</published><updated>2010-01-14T12:30:27.512-08:00</updated><title type='text'>Albert,

You can simply replace the following line...</title><content type='html'>Albert,&lt;br /&gt;&lt;br /&gt;You can simply replace the following line with code to put the result of sb.ToString() into a database table.&lt;br /&gt;&lt;br /&gt;System.Diagnostics.Debug.WriteLine(sb.ToString());</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2297698770491701674/6887796398453497459/comments/default/5807463660436997860'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2297698770491701674/6887796398453497459/comments/default/5807463660436997860'/><link rel='alternate' type='text/html' href='http://blog.codeontime.com/2010/01/global-logging-with-shared-business.html?showComment=1263501027512#c5807463660436997860' title=''/><author><name>Customer Service</name><uri>http://www.blogger.com/profile/04471166550881539854</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://blog.codeontime.com/2010/01/global-logging-with-shared-business.html' ref='tag:blogger.com,1999:blog-2297698770491701674.post-6887796398453497459' source='http://www.blogger.com/feeds/2297698770491701674/posts/default/6887796398453497459' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-2009816044'/></entry><entry><id>tag:blogger.com,1999:blog-2297698770491701674.post-1291794592982696322</id><published>2010-01-14T08:48:58.242-08:00</published><updated>2010-01-14T08:48:58.242-08:00</updated><title type='text'>Audit Trail...

This is a very important feature. ...</title><content type='html'>Audit Trail...&lt;br /&gt;&lt;br /&gt;This is a very important feature. How can I send the log information to a database table?&lt;br /&gt;&lt;br /&gt;Can you show in the C# example provided?</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2297698770491701674/6887796398453497459/comments/default/1291794592982696322'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2297698770491701674/6887796398453497459/comments/default/1291794592982696322'/><link rel='alternate' type='text/html' href='http://blog.codeontime.com/2010/01/global-logging-with-shared-business.html?showComment=1263487738242#c1291794592982696322' title=''/><author><name>Albert Alves</name><uri>http://www.blogger.com/profile/00289423985554802615</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://blog.codeontime.com/2010/01/global-logging-with-shared-business.html' ref='tag:blogger.com,1999:blog-2297698770491701674.post-6887796398453497459' source='http://www.blogger.com/feeds/2297698770491701674/posts/default/6887796398453497459' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-579259978'/></entry></feed>
