Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Change not displaying

Status
Not open for further replies.

seopo

Programmer
Oct 27, 2009
3
GB
hi,

I'm very new to .net and have been toying with some apps.

I have an app where a page is viewed it uses the Register tag to get a file. I then have various References in this included file.

If I update the one of the reference ascx files directly using notepad and then ftp up to the server the changes are not represented when I look at the live site?

I must be missing something very simple but don't know what.

Any advice would be much appreciated.

Thanks.
 
it depends what type of change you are making. if you are adjusting html it *should* take the change. if you are updating the code or web server tags, then you need to recompile the website and upload the binaries.

.net is a compiled language and therefor requires compilation before using. it's not a dynamic language like asp, php, ruby, etc.

Jason Meckley
Programmer
Specialty Bakers, Inc.

faq855-7190
faq732-7259
 
Thanks Jason.

Recompiling the site would need to be done via an APP such as Visual Web Developer? Or is there a way of forcing it from the server?

Also, would the whole site need to be re-compiled or is there a way of doing it on a page(s) level?

Thanks again.
 
VWD is just an IDE, although it does beat notepad. the actual compiler (C# or VB) is part of the .net framework. that's how VWD, VS, nant, MS Built, psake can all compile .net applications. they are simply referencing the compiler, they are not the compiler itself.

you need to compile the project, not just a page or two. It really isn't that big a deal to compile and deploy. One nice feature of .net is that you can make them xcopy deployable. just compile, copy, paste.

Jason Meckley
Programmer
Specialty Bakers, Inc.

faq855-7190
faq732-7259
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top