you can still use session per request with webforms. Instead of an MVC framework, use an MVP model instead. you can still intercept the presenter calls to manage transactions. If you are familiar with Rhino and Castle you can use Rhino.Igloo as your MVP framework. At a minimum you can grok the code to understand one way to approach SoC with webforms.
On Oct 27, 9:04 am, Jason Dentler <[email protected]> wrote: > It's a hack, but this is WebForms anyway so use the request events on > Global.asax to manage your sessions. Sessions are pretty lightweight, so > creating them when they're not necessary isn't the end of the world in most > cases. > > I prefer to manage my transactions explicitly, but the choice is up to you. > > On Tue, Oct 27, 2009 at 7:59 AM, kor <[email protected]> wrote: > > > thanks but the site is made by old asp.net pages, i cannot change to > > mvc framework --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "nhusers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/nhusers?hl=en -~----------~----~----~----~------~----~------~--~---
