473,387 Members | 1,485 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

Building a project, stupid question

Hello

i have this really nagging, annoying question about asp.net...

if i work on a project, do i really have to build the whole project
everytime when the sourcecode changed? isn't asp.net supposed to compile
pages on the fly?

what if i don't want to install dotnet and everything (like sql server) on
my client but rather just edit the code and then upload the sources to the
host. just like in php. i would really appreciate if someone could explain
me how i can develop asp.net pages with minimal dev-client installation,
using a webhost (in my case boundgrid) to do the build/compile stuff.

thanks in advance

beat
Nov 19 '05 #1
3 895
Roy
Let's say you have index.aspx and index.aspx.vb which you created in
VS.

To recreate that page w/o VS, you'd change the "codebehind=" tags at
the top of the aspx file to "src=" and that's about it. Your pages will
compile on the fly with a src tag. You can precompile independent
pages, but the boost in speed seems worthless.

Nov 19 '05 #2
Jim
Hi, only the code inside an ASPX page is compiled on the fly. You need to
build a DLL if you use codebehind. If you dont change the code behind then
you dont need to rebuild, you can just run the page and it will be recompiled.
Try placing an aspx file containing this on your server

<%@ Page Language="C#" Debug="true"%>

<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
<HTML>
<% string output = "hi!"; %>
<%= output %>
</html>

then just run the page in your browser, assuming I havent goofed it will do
what you expect, then change the message, and run again...

Jim

"easy" wrote:
Hello

i have this really nagging, annoying question about asp.net...

if i work on a project, do i really have to build the whole project
everytime when the sourcecode changed? isn't asp.net supposed to compile
pages on the fly?

what if i don't want to install dotnet and everything (like sql server) on
my client but rather just edit the code and then upload the sources to the
host. just like in php. i would really appreciate if someone could explain
me how i can develop asp.net pages with minimal dev-client installation,
using a webhost (in my case boundgrid) to do the build/compile stuff.

thanks in advance

beat

Nov 19 '05 #3
Thanks a lot Roy and Jim for your fast answers. I think you're two comments
got me going again.
I just tried it and it seems to work as desired! It's a lot clearer now -
for the moment :)

Thanks and have a good day
Beat
Nov 19 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: Johnny | last post by:
Hi, I have created an ASP.NET application (let's call it FooBar) with VS.NET on my local machine, residing in http://localhost/FooBar. Deploying it to another folder on my machine works well...
1
by: Diffident | last post by:
Hello All, I have a question as to why my users are noticing error when I am building the project on the production system. Here is the problem's background. In order to build the project on...
1
by: TPJ | last post by:
Hello, I have another, probably stupid, question. I'm working on some Python project, and I use some extensions written in C. I do all the development on my GNU/Linux box, so my setup.py script...
9
by: AWW | last post by:
Running XP - Visual Studio 2005 - VB Want to have duplicate projects - one safe and stable - other for experimenting Can't fine easy way to make duplicate project. Stupid question? or stupid ME?...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.