Click here to Skip to main content
15,886,578 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I have several web pages (VB forms) ASP.NET 4.5 that use the same code. I want to streamline the coding. The application also uses libraries. I have a similar application using windows forms, but it is a single application. I use a module here. Or would a shared project be better? I recall that the module can simply be placed in the App_Code folder and will be compiled with the project. I don't see where VS 2017 has a code module for asp.net projects, only class. Can I simply add a class and change it to a Module?

What I have tried:

I have not attempted anything except to encapsulate some of the code in libraries.
Posted
Comments
Andre Oosthuizen 7-Jul-20 3:25am    
THIS might help...
BobbyStrain 7-Jul-20 20:56pm    
Thank you, Andre. I just used a class library so it is portable.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900