i have published my web application on my local computer and now i want to update source of default.aspx page. But i am unable to do it because i dont know how to update it and where to find default.aspx.cs file for updation.
And i published my web application using Build>>Published Web Site Menu of VS-2010.
please help me i will be very thankfull for this.............
When you publish a site with this method, your code behind files are compiled into one or more .dll files (based on the type of project you have). These dlls are then referenced by your markup aspx pages. At this point you have to make changes to your original
code and then republish.
PS - the dlls are located in the bin directory of your published site and you can see which dll each page references by looking in the <% @Page declaration section.
"What I hear, I forget; What I see, I remember; What I do, I understand." --Confucius
Remeber to Mark as Answer if this post helped you.
neellotus
0 Points
16 Posts
how to update locally published website
May 18, 2012 06:36 PM|LINK
hi
i have published my web application on my local computer and now i want to update source of default.aspx page. But i am unable to do it because i dont know how to update it and where to find default.aspx.cs file for updation.
And i published my web application using Build>>Published Web Site Menu of VS-2010.
please help me i will be very thankfull for this.............
grundebar
Contributor
4515 Points
726 Posts
Re: how to update locally published website
May 18, 2012 08:26 PM|LINK
When you publish a site with this method, your code behind files are compiled into one or more .dll files (based on the type of project you have). These dlls are then referenced by your markup aspx pages. At this point you have to make changes to your original code and then republish.
PS - the dlls are located in the bin directory of your published site and you can see which dll each page references by looking in the <% @Page declaration section.
Remeber to Mark as Answer if this post helped you.
neellotus
0 Points
16 Posts
Re: how to update locally published website
May 19, 2012 05:37 PM|LINK
Hi grundebar
Thanx for your reply.
Can u help me to describe publish method through which i can update my website / webapplication after published.
Thanx
HostingASPNe...
All-Star
15866 Points
2974 Posts
Re: how to update locally published website
May 20, 2012 08:09 AM|LINK
Hello,
You could just publish the new site version.
Regards
Free ASP.NET Examples and source code.