473,698 Members | 2,304 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

ASP.NET dynamic compilation?

Hi,

Does ASP.NET have the same feature of PHP as in can I reupload an ASPX
file and it becomes 'live' with all the new changes?

Do I also need to reupload the site DLL each time I make a code change?

Aug 16 '07 #1
6 1507

"Sir Psycho" <pa************ @gmail.comwrote in message
news:11******** **************@ i13g2000prf.goo glegroups.com.. .
Hi,

Does ASP.NET have the same feature of PHP as in can I reupload an ASPX
file and it becomes 'live' with all the new changes?
Yes, depending on how you publish.
Do I also need to reupload the site DLL each time I make a code change?
No, if you use the model that I said YES on earlier

--
Gregory A. Beamer
MVP, MCP: +I, SE, SD, DBA

*************** *************** *************** ****
| Think outside the box! |
*************** *************** *************** ****
Aug 16 '07 #2
and what model is that? :)

On Aug 16, 6:12 am, "Cowboy \(Gregory A. Beamer\)"
<NoSpamMgbwo... @comcast.netNoS pamMwrote:
"Sir Psycho" <panuccio.vi... @gmail.comwrote in message

news:11******** **************@ i13g2000prf.goo glegroups.com.. .
Hi,
Does ASP.NET have the same feature of PHP as in can I reupload an ASPX
file and it becomes 'live' with all the new changes?

Yes, depending on how you publish.
Do I also need to reupload the site DLL each time I make a code change?

No, if you use the model that I said YES on earlier

--
Gregory A. Beamer
MVP, MCP: +I, SE, SD, DBA

*************** *************** *************** ****
| Think outside the box! |
*************** *************** *************** ****

Aug 16 '07 #3
Yes and no
You can reupload up to 15 times aspx page (configurable) then application
restarts (meaning you will loose all Sessions)
I believe if you reupload CS or VB files application restarts immediately.

So do all your coding in ASPX file.

George.
"Sir Psycho" <pa************ @gmail.comwrote in message
news:11******** **************@ i13g2000prf.goo glegroups.com.. .
Hi,

Does ASP.NET have the same feature of PHP as in can I reupload an ASPX
file and it becomes 'live' with all the new changes?

Do I also need to reupload the site DLL each time I make a code change?

Aug 16 '07 #4
Hi,
how do you deploy your web application? Are you using simple XCopy or
precompilation? If you are using XCopy you can do any change to as*x files
and corresponding code behind files and just upload them to server.
Precompilation allows you to compile whole application to dlls so if you want
to make any change you have to precompile and deploy whole application again.
There is also mixed mode where code is precompiled and as*x files are still
updatable - you can control this by parameter for aspnet precompiler or by
check box in Visual Studio publish web application functionality.

Regards,
Ladislav

"Sir Psycho" wrote:
and what model is that? :)

On Aug 16, 6:12 am, "Cowboy \(Gregory A. Beamer\)"
<NoSpamMgbwo... @comcast.netNoS pamMwrote:
"Sir Psycho" <panuccio.vi... @gmail.comwrote in message

news:11******** **************@ i13g2000prf.goo glegroups.com.. .
Hi,
Does ASP.NET have the same feature of PHP as in can I reupload an ASPX
file and it becomes 'live' with all the new changes?
Yes, depending on how you publish.
Do I also need to reupload the site DLL each time I make a code change?
No, if you use the model that I said YES on earlier

--
Gregory A. Beamer
MVP, MCP: +I, SE, SD, DBA

*************** *************** *************** ****
| Think outside the box! |
*************** *************** *************** ****


Aug 17 '07 #5
I guess I'd like to upload bug fixes to my site without kicking
everyone off their sessions which is something php allows you to do.

Isnt doing all coding in ASPX really bad? I thought having code behind
in separate files helps with separation

can someone also give me a resource on how to configure visual studio/
IIS to allow me to upload changes without restarting the web app

thank you

On Aug 16, 3:00 pm, "George Ter-Saakov" <gt-...@cardone.com wrote:
Yes and no
You can reupload up to 15 times aspx page (configurable) then application
restarts (meaning you will loose all Sessions)
I believe if you reupload CS or VB files application restarts immediately.

So do all your coding in ASPX file.

George.

"Sir Psycho" <panuccio.vi... @gmail.comwrote in message

news:11******** **************@ i13g2000prf.goo glegroups.com.. .
Hi,
Does ASP.NET have the same feature of PHP as in can I reupload an ASPX
file and it becomes 'live' with all the new changes?
Do I also need to reupload the site DLL each time I make a code change?

Aug 21 '07 #6
Take a look at DotNetNuke You can use it or use same idea.
It's a content management system when content is in DB. Then application
will not restart.
George.
"Sir Psycho" <pa************ @gmail.comwrote in message
news:11******** **************@ e9g2000prf.goog legroups.com...
>I guess I'd like to upload bug fixes to my site without kicking
everyone off their sessions which is something php allows you to do.

Isnt doing all coding in ASPX really bad? I thought having code behind
in separate files helps with separation

can someone also give me a resource on how to configure visual studio/
IIS to allow me to upload changes without restarting the web app

thank you

On Aug 16, 3:00 pm, "George Ter-Saakov" <gt-...@cardone.com wrote:
>Yes and no
You can reupload up to 15 times aspx page (configurable) then application
restarts (meaning you will loose all Sessions)
I believe if you reupload CS or VB files application restarts
immediately.

So do all your coding in ASPX file.

George.

"Sir Psycho" <panuccio.vi... @gmail.comwrote in message

news:11******* *************** @i13g2000prf.go oglegroups.com. ..
Hi,
Does ASP.NET have the same feature of PHP as in can I reupload an ASPX
file and it becomes 'live' with all the new changes?
Do I also need to reupload the site DLL each time I make a code change?


Aug 21 '07 #7

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

Similar topics

0
1104
by: Plat | last post by:
Okay, you'll probably think me crazy for asking this. And I am, but also curious; so please humor me. :) I'm wondering if there's a way to - using dynamic (server-side) compilation - include a ".vb" file from another ".vb" file. For example, let's say I've got a page called Test.aspx, with the following Page directive: <%@Page Language="vb" Src="Test.aspx.vb"
3
2443
by: ktrvnbq02 | last post by:
Hi, We have an ASP.NET application built in Release mode via Visual Studio. All of the C# code is in the code-behind files (i.e. *.aspx.cs files) and there is no C# in the *.aspx files themselves. In this scenario, will the following setting have any detrimental effect if left set to true when running a Release build described above?
1
2573
by: J.A. | last post by:
Hi, I'm trying to use the CSharpCompilerProvider to dynamically compile some code. The test console app works fine but I get this error when using the same code in an ASP.NET app: error CS1619: Cannot create temporary file 'c:\WINDOWS\system32\CSCCB.tmp' -- Access is denied. I attached the code I use to compile the dynamic code at the bottom. I tried with and without specifying the TempFileCollection, I also tried to compile
1
2470
by: davidw | last post by:
I found it seems there is a way to create a class with dynamic properties, I don't really need define each property? In ASP.NET, Profile is created with all profile items in web.config as its properties, I found it has code like this: public static SettingsPropertyCollection Properties { get {
24
19076
by: Ken | last post by:
In C programming, I want to know in what situations we should use static memory allocation instead of dynamic memory allocation. My understanding is that static memory allocation like using array is faster than malloc, but dynamic memory allocation is more flexible. Please comment... thanks.
0
968
by: Giulio Petrucci | last post by:
Hi there, I need to use dynamic C# (but also JScript and maybe VB.NET) code compiling in the project I'm currently working on. Making some performance tests I noticed that if I compiler 10 times (one by one) the *same* code, the first compilation time is absolutely *longer* than the other nine. I suppose that the compiler, when it's dynamically called, needs some time to start-up, is it right? In my scenario I have a server...
5
4306
by: Guillermo Schwarz | last post by:
C++ers, I have programmed in C++ since 1991 and I probably created my best abstraction layers in C++ in those days. Since 2001 I've been programming in Java (at first against my will, then I realized the market was moving into Java) and I'm trying to reimplement in Java what I did back in those days. The problem I have is that I have a job offer for programming in C++, again!!!, and I don't know if I should take it. My problem is...
7
2475
by: Ajinkya | last post by:
I have writen a program for a game called game.exe Now it includes a player part to which has to be a function to be writen by someone else. Now I want to provide this exe to some tester who will be writing his player function. I dont know his file name and his function name....he will have to include it. I am providing him the game.exe and a common file containing all the
8
1614
by: Marc | last post by:
I am studying ASP.NET and have a simple question reading the first lines in this page: http://msdn.microsoft.com/en-us/library/ms366723(VS.80).aspx Are they talking about compilation of C# code to IL code or about compilation of IL code to machine dependant instruction code?
4
2965
by: mbrunell | last post by:
Hi, Under AIX, I have created a script which is checking URL status. Problems come when I want to check HTTPS URL status... To have my script working with HTTPS URLs, I must set the LIBPATH variable correctly : # LIBPATH=/opt/freeware/lib # ./check_url.pl https://myexample.com SUCCESS
0
8674
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8603
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
9027
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
8895
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
7725
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6518
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5860
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4369
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
3046
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system

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.