Hello. I am beginning the process of converting a MS Access application over to ASP.NET. And I am green at ASP.NET. This Access application has been around for close to 15 years with constant enhancements, updates, additions, and so on. Even today it is still evolving at 30mgs in size (just the front end). The back end tables are on sql server 2005. Anyway, enough of that. I my starting to go over it, I have come across some modules that have numerous Global Const in them. I am finding that a module for PORoutines has all the Purchase Orders constants, ECORoutines has all the ECO (stands for Engineering Change Orders) constants, and so on.
Using VS2010 with C# as the code behind. Placeing this in a webapplication.
So, my question(s);
1) can all of these Global Const in all of the modules be combined into 1 module in ASP.NET? Something like CommonConstants.cs?
2) if so where is the best place to put the module?
3) would the Global Const be replaced with Public Const?
If anyone has any other thoughts, suggestions, samples/examples, or links regarding this, I am open and willing to learn all I can. Luckily, there has not
View Complete Post