I want to add an aspx page in the project and obviously it will have .cs file along with it, i have some code in .cs file . Basically i want to add a page in which there are few text boxes , when user will fill out the text boxes and click on Submit, it will sent e-mail to my mailbox.
My website is already live, if i add this aspx page along with .cs, do i need to re-build the whole project ? and replace all the dll etc with the new ones ?
Or i can just add the new page in the web folder on the server and i don't have to re-build the project ?
well i added the page and i didn't re-build and it's working fine
plus i guess i read somewhere that when we are ADDING any new page along with .cs , we don't need to re-build as the only time we need to rebuild the code is when you have included the DLL and you dont have its source code
bcoz if we have both i.e. source code and dll, then it is automatically rebuild (whenever we make a change to your web app, it is automatically re-build by asp.net framework on your server)
i added the page along with .cs in my project and i didn't re-build and it's working fine , am i making project risky for future problems ?
If you continue to use codebehind you need to re-compile. by doing this i think you making your project to risking for future update. keep in mind that if nop release an update. all your work will need to re-implement ( project recompilation )
but if you use codefile, you dont need to recompile. since your not touching the very source of nop. your just adding aspx/ascx.
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.