DevLabs > DevLabs Forums > Pex > Pex with ASP.NET MVC 1.0
Ask a questionAsk a question
 

AnswerPex with ASP.NET MVC 1.0

  • Monday, November 02, 2009 10:08 AMArul Prasad Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    Hi ,

    We are going to start development with ASP.NET MVC 1.0 . Can Pex be used on this ? Is there any guidelines / best practice for using Pex on this ?

    Regards,
    Arul

Answers

  • Tuesday, November 03, 2009 1:25 AMNikolai TillmannMSFT, OwnerUsers MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     Answer
    Pex (and Stubs and Moles) should work in this setting. However, Pex and Moles will not run the code "hosted" in IIS, so you will have to mole the relevant dependencies.

    We don't have any guidelines yet; it is on our to-do list to write a tutorial, similar to the one we have for SharePoint, that shows how to apply Pex on ASP.NET and MVC. But we haven't done it yet. If you gather some experience, it would be great if you could share it with us -- problems, but also what you found work well.

    Thanks

    Nikolai Tillmann - Tell us how you use Pex
    • Marked As Answer byArul Prasad Tuesday, November 03, 2009 5:17 AM
    •  

All Replies

  • Tuesday, November 03, 2009 1:25 AMNikolai TillmannMSFT, OwnerUsers MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     Answer
    Pex (and Stubs and Moles) should work in this setting. However, Pex and Moles will not run the code "hosted" in IIS, so you will have to mole the relevant dependencies.

    We don't have any guidelines yet; it is on our to-do list to write a tutorial, similar to the one we have for SharePoint, that shows how to apply Pex on ASP.NET and MVC. But we haven't done it yet. If you gather some experience, it would be great if you could share it with us -- problems, but also what you found work well.

    Thanks

    Nikolai Tillmann - Tell us how you use Pex
    • Marked As Answer byArul Prasad Tuesday, November 03, 2009 5:17 AM
    •  
  • Tuesday, November 03, 2009 5:17 AMArul Prasad Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    sure Nikolai.