Refer to a Biz Logic Class - VWD

All,

Any tips on how to add a business logic class to VWD Web Site   In VS you could add a class library but I can't seem to find a way to do this in VWD.  I simply have a class containing some methods that I would like to have access to in any one of the pages within the site. 

Any info would be appreciated...Thanks!



Answer this question

Refer to a Biz Logic Class - VWD

  • dekod

    You should be able to do this by creating a folder called "App_Code" in the root of your web app and putting the class there.  Once you do that, the class is automatically available to all pages in that web.  VWD should also provide intellisense for it.

    Note - VS 2005 Standard and higher do support website and class library projects in the same solution, so you can continue to use that approach in the full VS products as well.

    --Omar


  • brendony

    Omar,

    Thanks for the info, I will give it a shot this evening and see if it works. 

    Cheers!

  • Refer to a Biz Logic Class - VWD