<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://forums.asp.net/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Getting Started</title><link>http://forums.asp.net/15.aspx</link><description>The perfect forum for ASP.NET novices. No question too simple! &lt;A href="http://aspadvice.com/SignUp/list.aspx?l=21&amp;amp;c=17" target=_blank&gt;Email List&lt;/A&gt;</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP1 (Build: 20510.895)</generator><item><title>Re: Introducing Auditing to my application</title><link>http://forums.asp.net/thread/2698930.aspx</link><pubDate>Wed, 22 Oct 2008 08:05:01 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:2698930</guid><dc:creator>Niall20</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/2698930.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=15&amp;PostID=2698930</wfw:commentRss><description>&lt;p&gt;Ok, thanks for this.&lt;/p&gt;&lt;p&gt;Think I will go with the trigger approach, I will have all the data at the database layer so it might be the easiest and quickest.&lt;/p&gt;&lt;p&gt;Thanks for your help.&lt;/p&gt;&lt;p&gt;One final thing, any idea what I should include in an Audit table?? &lt;br /&gt;&lt;/p&gt;</description></item><item><title>Re: Introducing Auditing to my application</title><link>http://forums.asp.net/thread/2697524.aspx</link><pubDate>Tue, 21 Oct 2008 16:43:49 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:2697524</guid><dc:creator>shados</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/2697524.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=15&amp;PostID=2697524</wfw:commentRss><description>&lt;p&gt;Depends what kind of data you want to audit. If you have access to all you want on the database&amp;#39;s side, triggers are probably easiest. Your app won&amp;#39;t have to know about it, you can&amp;#39;t &amp;quot;forget&amp;quot; some auditing, and if you want to change it, your app is unaffected.&lt;/p&gt;
&lt;p&gt;But if you want ASP.NET context information (like the stack trace, or the formauthentication user) without having to pass it to the database somehow, doing it in your data layer or business layer (depending on your architecture, both can be valid) is your only option.&lt;/p&gt;</description></item><item><title>Introducing Auditing to my application</title><link>http://forums.asp.net/thread/2697498.aspx</link><pubDate>Tue, 21 Oct 2008 16:27:29 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:2697498</guid><dc:creator>Niall20</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/2697498.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=15&amp;PostID=2697498</wfw:commentRss><description>&lt;p&gt;Hi all,&lt;/p&gt;&lt;p&gt;I want to introduce a Auditing to my application, when a user updates, inserts or deletes data.&lt;/p&gt;&lt;p&gt;I have created a table in the database for this.&lt;/p&gt;&lt;p&gt;I have 2 choices of where I want to insert into the table from in my N tier application, either from the business logic layer of my application or by using a sql server trigger on the tables when they are inserted to, updated or deleted from.&lt;/p&gt;&lt;p&gt;I am looking for advice as to where is the best place to record data into the Audit database table, in the application or using a trigger?&lt;/p&gt;&lt;p&gt;Thanks! &lt;br /&gt;&lt;/p&gt;</description></item></channel></rss>