This post comes from LavaBlast Software Blog Sometimes you want to know what your users are doing in your system. You probably don't want to spend too much time on this feature, but it is nice to be able to prove that a certain user introduced data inconsistencies and it isn't your fault. Obviously, the "client is always right" but tracking down the source of a problem (and pointing fingers) is something that is very useful to developers like us! We decided to add events in our controllers to catch when an object is updated or inserted. When that occurs, we can produce simple HTML about...
|
About
SubSonic is a .net open source project developed by Rob Conery and a core team of developers including Eric Kemp, Scott Watermasysk, Jon Galloway, Phil Haack, and Gavin Joyce. The current stable release is version 2.0.3. Nightly builds are available in our SVN respository. Categories
Tags
Popular
|
Entries categorized 'Tips and Tricks' ↓SubSonic object change trackingThursday, April 03 2008 - Tips and Tricks LavaBlast Blog: SubSonic MagicMonday, March 31 2008 - Tips and Tricks This article comes from LavaBlast Software Blog ASP.NET developers who don't know what SubSonic is should definitely go read about it. We have been using SubSonic since the initial 2.0 release and have built most of our recent data-driven applications using this wonderful tool. We really like SubSonic and think it has helped us tremendously in our daily productivity. For all simple SQL operations, we try to never write custom SQL and use the SubSonic Query object instead. What I want to talk about today is how we use SubSonic in our main project FranchiseBlast and how we think this could be useful... Webcast: Using SubSonic's REST Handler With JSON and JQueryThursday, March 13 2008 - Tips and Tricks Kevin Fricovsky put together a great screen cast showing off some client-side data work using JSON, jQuery, and SubSonic. It's really simple to wire up and Kevin walks you through all of it... Related Links Jquery Project Page JSON Information Jquery in 15 minutes... Webcast: Using SubSonic's REST HandlerThursday, March 13 2008 - Tips and Tricks Being able to work with data remotely is a big deal these days, and the biggest approaches are REST and SOAP. REST actually refers to a larger architectural model, but has come to be shorthand for URL-based RPC calls that return properly formatted data. SubSonic provides you with this functionality - watch and see how
Changing Connections On The FlyThursday, March 13 2008 - Tips and Tricks To Change the Active Connection String (Not Necessarily with a Transaction) using (SharedDbConnectionScope scope = new SharedDbConnectionScope( " new connectionstring " )) { // do stuff using new connection string } // returns to default provider connection string To Perform a Transaction With a Shared Connection using (SharedDbConnectionScope sharedConnectionScope = new SharedDbConnectionScope()) using (TransactionScope ts = new TransactionScope()) { Product p = new Product( 1 ); p.Title = " new title " ; Product p2 = new Product( 2 ); p.Title = " another new title " ; // ... p.Save(); p2.Save... |
|
| © 2008 SubSonicProject.com. Use of this site is subject to our Terms of Use. All rights reserved. Duplication of this site, in part or in whole, is prohibited without prior written consent. |
