MyPage is a personalized page based on your interests.The page is customized to help you to find content that matters you the most.

I'm not curious

Implementing Undo in ASP.NET WebForms and MVC

Course Summary

There's loads of advice out there recommending that you implement an Undo feature in your website instead of popping up warning messages to protect users from dangerous operations. But there's not a lot of advice out there for how to actually go about d

  • +

    Course Syllabus

    ● Implementing Undo in ASP.NET Web Forms
        ◦ Introduction
        ◦ Before Undo
        ◦ Remember the Milk
        ◦ Exploring the POST REDIRECT GET pattern
        ◦ Exploring IUndoProvider
        ◦ Writing an Undo Command
        ◦ Using the Undo Provider Factory
        ◦ Registering a Command: Interaction Diagram
        ◦ Undo ID handoff: Interaction Diagram
        ◦ Handling BeginRequest in Global.asax
        ◦ Adding an Undo Panel
        ◦ Watching Undo work in WebForms
        ◦ Security considerations
    ● Undo Infrastructure
        ◦ Undo infrastructure interfaces
        ◦ Undo command registration implementation
        ◦ Handling BeginRequest
        ◦ Exploring the UndoPanel
        ◦ Testing the Undo provider
        ◦ Using a BinaryFormatter to serialize Undo commands
    ● Polymorphic Serialization Strategies
        ◦ The magic of .NET serialization
        ◦ Brittle serialization
        ◦ The XmlSerializer - a less brittle approach
        ◦ Introducing the XmlStringSerializer
        ◦ Deserializing and the Type Registry
        ◦ Refactoring does not break deserialization
        ◦ Summary
    ● Implementing Undo in ASP.NET MVC
        ◦ Using a new repository
        ◦ Testing with two different repositories
        ◦ Undo in MVC: watch it work
        ◦ Revisiting the Undo provider factory
        ◦ Implementing an Undo panel in MVC using a partial view
        ◦ Implementing an Undo controller
        ◦ Summary


Course Fee:
USD 29

Course Type:


Course Status:



1 - 4 hours / week

Attended this course?

Back to Top

Awards & Accolades for MyTechLogy
Winner of
Top 100 Asia
Finalist at SiTF Awards 2014 under the category Best Social & Community Product
Finalist at HR Vendor of the Year 2015 Awards under the category Best Learning Management System
Finalist at HR Vendor of the Year 2015 Awards under the category Best Talent Management Software
Hidden Image Url

Back to Top