I am porting a website to ASP.net 2.0. Temporarily I compile with Visual
Studio 2003 and deploying to ASP.net 2.0. How do I compile my website under
ASP.Net 2.0? I know it can compile each page as I touch it.
During the beta there used to be something like mywebsite.com/compile.???
that you could run. Does it still exist? 7 1681
ASP.NET 1.x app shouldn't need to be recompiled -- in theory it should run
fine under a 2.0 configuration. If you need/want to recompile and you use
VS.NET, then open your VS.NET 2003 project with VS.NET 2005 and it should
convert the project. Once you've done that (and sorted any problems) then
you can precompile with aspnet_compiler .exe or the Build->Publish menu pick
in VS.NET. If your ASP.NET 1.x app didn't use VS.NET to compile, then you
can just deploy it as-is and let the demand compile take care of things,
or again run aspnet_compiler .exe to precompile.
-Brock
DevelopMentor http://staff.develop.com/ballen I am porting a website to ASP.net 2.0. Temporarily I compile with Visual Studio 2003 and deploying to ASP.net 2.0. How do I compile my website under ASP.Net 2.0? I know it can compile each page as I touch it. During the beta there used to be something like mywebsite.com/compile.??? that you could run. Does it still exist?
Brock Allen,
No I don't want to convert my project to VS 2005 this week. That will come
later. First I would like to know if I have any issues with ASP.Net 2.0. I
have issues with user controls. The name and ID that ASP.Net returns to the
browser has changed from 1.1 to 2.0. Sometimes I need to access these names
directly with javascript and sometimes I need these name at the server.
Arne
"Brock Allen" wrote: ASP.NET 1.x app shouldn't need to be recompiled -- in theory it should run fine under a 2.0 configuration. If you need/want to recompile and you use VS.NET, then open your VS.NET 2003 project with VS.NET 2005 and it should convert the project. Once you've done that (and sorted any problems) then you can precompile with aspnet_compiler .exe or the Build->Publish menu pick in VS.NET. If your ASP.NET 1.x app didn't use VS.NET to compile, then you can just deploy it as-is and let the demand compile take care of things, or again run aspnet_compiler .exe to precompile.
-Brock DevelopMentor http://staff.develop.com/ballen
I am porting a website to ASP.net 2.0. Temporarily I compile with Visual Studio 2003 and deploying to ASP.net 2.0. How do I compile my website under ASP.Net 2.0? I know it can compile each page as I touch it. During the beta there used to be something like mywebsite.com/compile.??? that you could run. Does it still exist?
So if you don't want to do a conversion at the source code level, then I'd
suggest just moving the code to a ASP.NET 2.0 app and let it run (so no recompile).
ASP.NET 2.0 is supposed to be 100% backwards compat with ASP.NET 1.x, but
the problems you might run into is if you're using a framework API that's
specifically not backwards compatible in 2.0. These APIs are covered in the
list of breaking changes from .NET 1.1 to 2.0.
As for the IDs and how they are generated in the client, as long as you don't
hard code the IDs in your client side javascript you're ok. You shouldn't
have done that in 1.x anyway... the ClientID property was there in 1.x for
that purpose.
-Brock
DevelopMentor http://staff.develop.com/ballen Brock Allen, No I don't want to convert my project to VS 2005 this week. That will come later. First I would like to know if I have any issues with ASP.Net 2.0. I have issues with user controls. The name and ID that ASP.Net returns to the browser has changed from 1.1 to 2.0. Sometimes I need to access these names directly with javascript and sometimes I need these name at the server. Arne "Brock Allen" wrote:
ASP.NET 1.x app shouldn't need to be recompiled -- in theory it should run fine under a 2.0 configuration. If you need/want to recompile and you use VS.NET, then open your VS.NET 2003 project with VS.NET 2005 and it should convert the project. Once you've done that (and sorted any problems) then you can precompile with aspnet_compiler .exe or the Build->Publish menu pick in VS.NET. If your ASP.NET 1.x app didn't use VS.NET to compile, then you can just deploy it as-is and let the demand compile take care of things, or again run aspnet_compiler .exe to precompile.
-Brock DevelopMentor http://staff.develop.com/ballen I am porting a website to ASP.net 2.0. Temporarily I compile with Visual Studio 2003 and deploying to ASP.net 2.0. How do I compile my website under ASP.Net 2.0? I know it can compile each page as I touch it. During the beta there used to be something like mywebsite.com/compile.??? that you could run. Does it still exist?
Brock,
The autopost back feature in ASP.Net 1.1 doesn't seem to be compatible with
Firefox. The problem seems to arise when you have a user control: http://www.hardwarehank.com/search/default.aspx?t=cat
I had to implement my own autopostback in order to support Firefox
Arne
"Brock Allen" wrote: So if you don't want to do a conversion at the source code level, then I'd suggest just moving the code to a ASP.NET 2.0 app and let it run (so no recompile). ASP.NET 2.0 is supposed to be 100% backwards compat with ASP.NET 1.x, but the problems you might run into is if you're using a framework API that's specifically not backwards compatible in 2.0. These APIs are covered in the list of breaking changes from .NET 1.1 to 2.0.
As for the IDs and how they are generated in the client, as long as you don't hard code the IDs in your client side javascript you're ok. You shouldn't have done that in 1.x anyway... the ClientID property was there in 1.x for that purpose.
-Brock DevelopMentor http://staff.develop.com/ballen
Brock Allen, No I don't want to convert my project to VS 2005 this week. That will come later. First I would like to know if I have any issues with ASP.Net 2.0. I have issues with user controls. The name and ID that ASP.Net returns to the browser has changed from 1.1 to 2.0. Sometimes I need to access these names directly with javascript and sometimes I need these name at the server. Arne "Brock Allen" wrote:
ASP.NET 1.x app shouldn't need to be recompiled -- in theory it should run fine under a 2.0 configuration. If you need/want to recompile and you use VS.NET, then open your VS.NET 2003 project with VS.NET 2005 and it should convert the project. Once you've done that (and sorted any problems) then you can precompile with aspnet_compiler .exe or the Build->Publish menu pick in VS.NET. If your ASP.NET 1.x app didn't use VS.NET to compile, then you can just deploy it as-is and let the demand compile take care of things, or again run aspnet_compiler .exe to precompile.
-Brock DevelopMentor http://staff.develop.com/ballen I am porting a website to ASP.net 2.0. Temporarily I compile with Visual Studio 2003 and deploying to ASP.net 2.0. How do I compile my website under ASP.Net 2.0? I know it can compile each page as I touch it. During the beta there used to be something like mywebsite.com/compile.??? that you could run. Does it still exist?
So are you saying this is an area that changed between v1.x and v2.0?
-Brock
DevelopMentor http://staff.develop.com/ballen Brock, The autopost back feature in ASP.Net 1.1 doesn't seem to be compatible with Firefox. The problem seems to arise when you have a user control: http://www.hardwarehank.com/search/default.aspx?t=cat I had to implement my own autopostback in order to support Firefox Arne "Brock Allen" wrote:
So if you don't want to do a conversion at the source code level, then I'd suggest just moving the code to a ASP.NET 2.0 app and let it run (so no recompile). ASP.NET 2.0 is supposed to be 100% backwards compat with ASP.NET 1.x, but the problems you might run into is if you're using a framework API that's specifically not backwards compatible in 2.0. These APIs are covered in the list of breaking changes from .NET 1.1 to 2.0.
As for the IDs and how they are generated in the client, as long as you don't hard code the IDs in your client side javascript you're ok. You shouldn't have done that in 1.x anyway... the ClientID property was there in 1.x for that purpose.
-Brock DevelopMentor http://staff.develop.com/ballen Brock Allen, No I don't want to convert my project to VS 2005 this week. That will come later. First I would like to know if I have any issues with ASP.Net 2.0. I have issues with user controls. The name and ID that ASP.Net returns to the browser has changed from 1.1 to 2.0. Sometimes I need to access these names directly with javascript and sometimes I need these name at the server. Arne "Brock Allen" wrote: ASP.NET 1.x app shouldn't need to be recompiled -- in theory it should run fine under a 2.0 configuration. If you need/want to recompile and you use VS.NET, then open your VS.NET 2003 project with VS.NET 2005 and it should convert the project. Once you've done that (and sorted any problems) then you can precompile with aspnet_compiler .exe or the Build->Publish menu pick in VS.NET. If your ASP.NET 1.x app didn't use VS.NET to compile, then you can just deploy it as-is and let the demand compile take care of things, or again run aspnet_compiler .exe to precompile.
-Brock DevelopMentor http://staff.develop.com/ballen > I am porting a website to ASP.net 2.0. Temporarily I compile with > Visual Studio 2003 and deploying to ASP.net 2.0. How do I compile > my website under ASP.Net 2.0? I know it can compile each page as I > touch it. During the beta there used to be something like > mywebsite.com/compile.??? that you could run. Does it still exist? >
Yes,
The clienID has changed. There is no longer an underscore starting the
prefix of a control in a user control. Maybe it is more Firefox friendly.
"Brock Allen" wrote: So are you saying this is an area that changed between v1.x and v2.0?
-Brock DevelopMentor http://staff.develop.com/ballen
Brock, The autopost back feature in ASP.Net 1.1 doesn't seem to be compatible with Firefox. The problem seems to arise when you have a user control: http://www.hardwarehank.com/search/default.aspx?t=cat I had to implement my own autopostback in order to support Firefox Arne "Brock Allen" wrote:
So if you don't want to do a conversion at the source code level, then I'd suggest just moving the code to a ASP.NET 2.0 app and let it run (so no recompile). ASP.NET 2.0 is supposed to be 100% backwards compat with ASP.NET 1.x, but the problems you might run into is if you're using a framework API that's specifically not backwards compatible in 2.0. These APIs are covered in the list of breaking changes from .NET 1.1 to 2.0.
As for the IDs and how they are generated in the client, as long as you don't hard code the IDs in your client side javascript you're ok. You shouldn't have done that in 1.x anyway... the ClientID property was there in 1.x for that purpose.
-Brock DevelopMentor http://staff.develop.com/ballen Brock Allen, No I don't want to convert my project to VS 2005 this week. That will come later. First I would like to know if I have any issues with ASP.Net 2.0. I have issues with user controls. The name and ID that ASP.Net returns to the browser has changed from 1.1 to 2.0. Sometimes I need to access these names directly with javascript and sometimes I need these name at the server. Arne "Brock Allen" wrote: > ASP.NET 1.x app shouldn't need to be recompiled -- in theory it > should run fine under a 2.0 configuration. If you need/want to > recompile and you use VS.NET, then open your VS.NET 2003 project > with VS.NET 2005 and it should convert the project. Once you've > done that (and sorted any problems) then you can precompile with > aspnet_compiler .exe or the Build->Publish menu pick in VS.NET. If > your ASP.NET 1.x app didn't use VS.NET to compile, then you can > just deploy it as-is and let the demand compile take care of > things, or again run aspnet_compiler .exe to precompile. > > -Brock > DevelopMentor > http://staff.develop.com/ballen >> I am porting a website to ASP.net 2.0. Temporarily I compile with >> Visual Studio 2003 and deploying to ASP.net 2.0. How do I compile >> my website under ASP.Net 2.0? I know it can compile each page as I >> touch it. During the beta there used to be something like >> mywebsite.com/compile.??? that you could run. Does it still exist? >>
Ah, I see what you're getting at. Well, that was well known in v1.x to be
something that could change in future releases, so hard coding the ID in
your javascript was improper design in v1.x. That's why there was a ClientID
property in v1.x.
But point taken. I agree that not all apps will just magically work in v2.0
if they were working on v1.x. Anyone would certainly need to do thorough
testing before moving their app live under v2.0.
-Brock
DevelopMentor http://staff.develop.com/ballen Yes, The clienID has changed. There is no longer an underscore starting the prefix of a control in a user control. Maybe it is more Firefox friendly. "Brock Allen" wrote:
So are you saying this is an area that changed between v1.x and v2.0?
-Brock DevelopMentor http://staff.develop.com/ballen Brock, The autopost back feature in ASP.Net 1.1 doesn't seem to be compatible with Firefox. The problem seems to arise when you have a user control: http://www.hardwarehank.com/search/default.aspx?t=cat I had to implement my own autopostback in order to support Firefox Arne "Brock Allen" wrote: So if you don't want to do a conversion at the source code level, then I'd suggest just moving the code to a ASP.NET 2.0 app and let it run (so no recompile). ASP.NET 2.0 is supposed to be 100% backwards compat with ASP.NET 1.x, but the problems you might run into is if you're using a framework API that's specifically not backwards compatible in 2.0. These APIs are covered in the list of breaking changes from .NET 1.1 to 2.0.
As for the IDs and how they are generated in the client, as long as you don't hard code the IDs in your client side javascript you're ok. You shouldn't have done that in 1.x anyway... the ClientID property was there in 1.x for that purpose.
-Brock DevelopMentor http://staff.develop.com/ballen > Brock Allen, > No I don't want to convert my project to VS 2005 this week. That > will > come > later. First I would like to know if I have any issues with > ASP.Net > 2.0. I > have issues with user controls. The name and ID that ASP.Net > returns > to the > browser has changed from 1.1 to 2.0. Sometimes I need to access > these > names > directly with javascript and sometimes I need these name at the > server. > Arne > "Brock Allen" wrote: >> ASP.NET 1.x app shouldn't need to be recompiled -- in theory it >> should run fine under a 2.0 configuration. If you need/want to >> recompile and you use VS.NET, then open your VS.NET 2003 project >> with VS.NET 2005 and it should convert the project. Once you've >> done that (and sorted any problems) then you can precompile with >> aspnet_compiler .exe or the Build->Publish menu pick in VS.NET. If >> your ASP.NET 1.x app didn't use VS.NET to compile, then you can >> just deploy it as-is and let the demand compile take care of >> things, or again run aspnet_compiler .exe to precompile. >> >> -Brock >> DevelopMentor >> http://staff.develop.com/ballen >>> I am porting a website to ASP.net 2.0. Temporarily I compile >>> with Visual Studio 2003 and deploying to ASP.net 2.0. How do I >>> compile my website under ASP.Net 2.0? I know it can compile each >>> page as I touch it. During the beta there used to be something >>> like mywebsite.com/compile.??? that you could run. Does it still >>> exist? >>> This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: janeaustine50 |
last post by:
Python's InteractiveInterpreter uses the built-in compile function.
According to the ref. manual, it doesn't seem to concern about the
encoding of the source string.
When I hand in an unicode object, it is encoded in utf-8 automatically.
It can be a problem when I'm building an interactive environment using
"compile", with a different encoding from utf-8. IDLE itself has the
same problem. ( '<a string with non-ascii-encoding>' is...
|
by: Carmine Cairo |
last post by:
Hi,
I'm working on a project and today I've note a little problem during the
compile fase.
Here a little piece of code:
// 1st version
welldone = 0;
size = p->getSize();
backbone = new rightType;
|
by: Brice Prunier |
last post by:
Here under 4 schemas i'm working with ( it may be long: sorry...)
The context is the following :
Resident.xsd imports Person.xsd and includes Common.xsd ( anonimous schema:
no TargetNamespace )
Person.xsd includes Common-Naming.xsd ( anonimous schemas )
Common-Naming.xsd includes common.xsd ( both are anonimous schemas )
Compilation of Resident.xsd raise the following exception:
"System.Xml.Schema.XmlSchemaException: The attribute 'oid'...
|
by: Chris LaJoie |
last post by:
Our company has been developing a program in C# for some time now, and we
haven't had any problems with it, but just last night something cropped up
that has me, and everyone else, stumped.
I have a struct that contains several different types of data. This struct
is used throuout the program. Now, when I compile, I get 6 errors, all of
them "Use of possibly unassigned field 'awayTime'" or "Use of possibly
unassigned field 'intlTime'"....
|
by: Thomas Connolly |
last post by:
I have 2 pages referencing the same codebehind file in my
project. Originally the pages referenced separate code
behind files. Once I changed the reference to the same
file, everything worked fine while the file was in the
project directory. When the obsolete file was removed
from the project directory, my application will no longer
compile. Can someone please help with this issue?
Thank in advance,
Tom
| |
by: steve yee |
last post by:
i want to detect if the compile is 32 bits or 64 bits in the source
code itself. so different code are compiled respectively. how to do
this?
|
by: desktop |
last post by:
I have read that using templates makes types know at compile time and
using inheritance the types are first decided at runtime. The use of
pointers and casts also indicates that the types will first be know at
runtime.
But is there some strict definitions that defines runtime code and
compile time code that can be used in general?
|
by: brianrpsgt1 |
last post by:
Newbie here....
I have been able to successful pull info from a MySQL DB, get the
results and output them in an HTML format using Cheetah to the screen
using IDLE. I am doing this on a Windows Laptop, running WinXP,
Python 2.5 and the latest version of Cheetah.
I have two questions:
1. How and where do you compile Cheetah templates in Windows? The
command in the docs is cheetah compile a, however, I believe that this
|
by: NvrBst |
last post by:
Right now I have C99 code in .c extensions.
I compile it in VSC++ and it complains about a lot of errors.
I change the extensions to .cpp and compile in VSC++ and it succeeds.
Is there a way to keep my extensions .c, but tell VSC++ (through an
project option) to compile as C++98 code (as if it had .cpp
extensions).
|
by: Ed Leafe |
last post by:
I've noticed an odd behavior with compile() and code that does not
contain a trailing newline: if the last line is a comment inside of
any block, a syntax error is thrown, but if the last line is a non-
comment Python statement, there is no error. Here's an example (using
2.5.1 on OS X)
.... def foo():
.... print 'bar' """
<code object <moduleat 0x79608, file "", line 2>
|
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...
| |
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,...
|
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,...
|
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...
|
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();...
|
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...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
| |
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: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
| |