Click here to Skip to main content
15,887,596 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
I published an asp.net website & then I made changes in its aspx.cs file. But I don't see any changes in the output. The question is what I need to make this changes take effect on my website. I added three lines of script in the aspx.cs file. I opened it using notepad & saved it and restarted the website. But no changes take place.
How can i modify it? Do i need to release project again from VisualStudio?

What I have tried:

I tried to change the script in aspx.cs in wwwroot folder directory of iis, but i don't see any change.
Posted
Updated 15-Feb-18 0:37am
v2
Comments
Bryian Tan 14-Feb-18 23:53pm    
In the aspx page is the directive using CodeFile or CodeBehind? if it code behind, the website need to be recompiled/publish to reference the new binary
F-ES Sitecore 15-Feb-18 4:21am    
You'll need to redeploy the "bin" folder as well, cs files are compiled into assemblies in the bin folder and that is what the site uses to run your code.
Member 13678871 18-Feb-18 14:25pm    
Do i need to replace entire bin folder?

1 solution

Hello,

You just want to Rebuild the Website. After successful build you have to replace newly build bin folder .Dll file with iis deployed .Dll file.

After that Restrart your website from iis.

Hope it's help you.

Don't forget to mark as Solved if above works.

Thank you
 
Share this answer
 
Comments
Member 13678871 15-Feb-18 8:26am    
so, if I replace the.DLL file in bin folder it works?
Member 13678871 16-Feb-18 0:36am    
Do i need to replace entire bin folder?

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