Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. ASP.NET
  4. Transactions in Web applications

Transactions in Web applications

Scheduled Pinned Locked Moved ASP.NET
databasecsharpquestionannouncement
3 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S Offline
    S Offline
    Snesh Prajapati
    wrote on last edited by
    #1

    How transactions are handled in web applications you worked with? Using ADO.NET [BeginTransaction], Stored Procedure [TCL] or Entity Framework [SaveChanges() to insert, update or delete on the database which is wrapped in a transaction] or any other way? Please share your experiences and learnings on this topic. Thanks a lot in advance.

    T 1 Reply Last reply
    0
    • S Snesh Prajapati

      How transactions are handled in web applications you worked with? Using ADO.NET [BeginTransaction], Stored Procedure [TCL] or Entity Framework [SaveChanges() to insert, update or delete on the database which is wrapped in a transaction] or any other way? Please share your experiences and learnings on this topic. Thanks a lot in advance.

      T Offline
      T Offline
      thatraja
      wrote on last edited by
      #2

      I prefer Stored Procedure, handle things inside procedure & returns things to UI. If your project not using Stored procedure, ADO.NET transaction is alternative. These article could help you more. All About TransactionScope[^] A Beginner's Tutorial for Understanding Transactions and TransactionScope in ADO.NET[^] I never worked with Entity Framework. Check this MSDN page How to: Manage Transactions in the Entity Framework[^]

      thatraja

      Code converters | Education Needed No thanks, I am all stocked up. - Luc Pattyn When you're wrestling a gorilla, you don't stop when you're tired, you stop when the gorilla is - Henry Minute

      S 1 Reply Last reply
      0
      • T thatraja

        I prefer Stored Procedure, handle things inside procedure & returns things to UI. If your project not using Stored procedure, ADO.NET transaction is alternative. These article could help you more. All About TransactionScope[^] A Beginner's Tutorial for Understanding Transactions and TransactionScope in ADO.NET[^] I never worked with Entity Framework. Check this MSDN page How to: Manage Transactions in the Entity Framework[^]

        thatraja

        Code converters | Education Needed No thanks, I am all stocked up. - Luc Pattyn When you're wrestling a gorilla, you don't stop when you're tired, you stop when the gorilla is - Henry Minute

        S Offline
        S Offline
        Snesh Prajapati
        wrote on last edited by
        #3

        Thanks for your reply. I will visit the links and figure out best for me.

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups