Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / ASP.NET / General / August 2007

Tip: Looking for answers? Try searching our database.

ASP.NET dynamic compilation?

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Sir Psycho - 16 Aug 2007 05:08 GMT
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?
Cowboy (Gregory A. Beamer) - 16 Aug 2007 05:12 GMT
> 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

Signature

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

*************************************************

| Think outside the box!                           |
*************************************************
Sir Psycho - 16 Aug 2007 05:28 GMT
and what model is that? :)

On Aug 16, 6:12 am, "Cowboy \(Gregory A. Beamer\)"
<NoSpamMgbwo...@comcast.netNoSpamM> wrote:

> > Hi,
>
[quoted text clipped - 14 lines]
> | Think outside the box!                           |
> *************************************************
Ladislav Mrnka - 17 Aug 2007 02:09 GMT
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



> and what model is that? :)
>
[quoted text clipped - 19 lines]
> > | Think outside the box!                           |
> > *************************************************
George Ter-Saakov - 16 Aug 2007 14:00 GMT
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.

> 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?
Sir Psycho - 21 Aug 2007 02:22 GMT
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

> Yes and no
> You can reupload up to 15 times aspx page (configurable) then application
[quoted text clipped - 11 lines]
>
> > Do I also need to reupload the site DLL each time I make a code change?
George Ter-Saakov - 21 Aug 2007 15:26 GMT
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.

>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.
[quoted text clipped - 23 lines]
>>
>> > Do I also need to reupload the site DLL each time I make a code change?

Rate this thread:







Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.