Public Notinheritable Class MySharedClass'-- Prevent the class from being instantiatedPrivate Sub New()End Sub'-- A shared subPublic Shared Sub MySharedMethod() '-- Do whatever you need to doEnd SUb'-- A shared functionPublic Shared Function MySharedFunction() As Boolean '-- Do some stuff Return TrueEnd SubEnd Class
As for the DLLs required, you will need the following:
MicroFour StrataFrame Base.DLLMicroFour StrataFrame Business.DLLMicroFour StrataFrame UI.DLL
and if you are using security you will need:
MicroFour StrataFrame Security.DLL
I have another small problem, i have a base class which i use for all my pages in all the projects and have implemented authentication and many more useful functions. now, my base class is very generic and is not modified specifically for any project whereas the SF ApplicationBasePage needs to be modified for each project.
I want best of both the worlds and want to use my base page & SF base page as well. The best way i can think of is inherit my base class from MicroFour.StrataFrame.UI.Web.BasePage and inherit my SF ApplicationBase Page from my base class. Do you foresee any issues with this approach, for the deployment perspective, do i just need to put the StrataFrame Base.dll or any more SF Dlls in the bin folder ?
Thanks in advance
Vikram.
But if you do not like this approach, you can create another base page and have only those business object which you wish to have available. You can have as many base pages as you would like.
Basically, on a Item Details page i would not like to load the CustomerBO to have less amount of processing.
Request you to please elobarate a bit on this concept and clarify my concern.