Can i use VS .Net 2003 to develop w/ ASP.NET 2.0?

G

Guest

I am somewhat confused with what tool i need to develop Web applications w/
ASP.NET 2.0. Is it possible to use VS .Net 2003, or do i need to use the Beta
versions of 2005 - Visual Web Developer Express?

Thanks,
 
K

Kevin Spencer

Only VS.Net 2005 works with the 2.0 platform.

--
HTH,

Kevin Spencer
Microsoft MVP
..Net Developer
What You Seek Is What You Get.
 
J

Juan T. Llibre

Actually, you could use Notepad.
2.0 applications will run fine if developed with Notepad.

You won't be able to develop 2.0 apps with VS.NET 2003.

You'll need either any beta of VS.NET 2005,
or any beta of VWD if you want to use MS Beta Tools.

No apps which run under a previous version of the
..Net Framework will work if you want to target *later*
versions of the Framework.
 
S

Steve C. Orr [MVP, MCSD]

No, you cannot develop ASP.NET 2.0 applications with VS.NET 2003.
You'll need to use Visual Studio 2005 or Visual Web Developer Express, which
are now in beta.
(or you *could* use notepad...)
 
S

Shawn H. Mesiatowsky

In regards to Notepad, I heard the framework compiles any changed code at
run time. Is this done through the framework, or through the VS Compiler? if
it's done through the Framework, I am guessing you don't even need a
compiler to make asp.net 2.0 web apps. Is this correct?
 
B

Brock Allen

ASP.NET does compilation in one of three ways:

1) It's all done on the webserver. You deploy all your ASPX, ASCX, ASAX,
cs, vb, etc files and it does all the compilation at runtime.

2) You precompile everything. You run aspnet_compiler.exe to precompile all
your ASPX, ASCX, ASAX, cs, vb, etc files. You end up with empty ASPX files
that act as placeholders and a bunch of DLLs that get deployed into ~/bin.

3) You precompile all the cs, vb files into DLLs that go into ~/bin. The
ASPX, ASAX, ASCX, etc files all get compiled on the fly by ASP.NET on the
live server. This is very much like the model today except aspnet_compiler.exe
is what's used to do this compilation.
 
J

Juan T. Llibre

It's done via whichever language you've written your code in.
That's what JIT compiling does.

You *do* need a compiler to make, not only asp.net 2.0 apps,
but to be able to run *any* asp.net version's apps.

If you want to compile assemblies, though, you'll need
to invoke the same compiler with the "target:library" switch.





Shawn H. Mesiatowsky said:
In regards to Notepad, I heard the framework compiles any changed code at
run time. Is this done through the framework, or through the VS Compiler?
if it's done through the Framework, I am guessing you don't even need a
compiler to make asp.net 2.0 web apps. Is this correct?
 
B

Brock Allen

2) You run aspnet_compiler.exe to precompile
Only good in ASP.NET 2.0, I'm afraid.

That was the question, no? Or was I mistaken? If so, then my reply was moot.
 
J

Juan T. Llibre

I thought the question was :
Is it possible to use VS .Net 2003, or do i need to use the Beta versions
of 2005 - Visual Web Developer Express?

The way you phrased it, made it seem like running
aspnet_compiler.exe would work with all versions.

You said :
"ASP.NET does compilation in one of three ways:"
but, only ASP.NET 2.0 pre-compiles.

It's OK, Brock, I've made slightly sloppy posts, too. ;-)

btw, what's with the underscored *_*.exe names ?

A name like "aspnet_compiler.exe" would
have been unthinkable in earlier days... ;-)
 
B

Brock Allen

It's OK, Brock, I've made slightly sloppy posts, too. ;-)

You saying I'm making sloppy posts? Gah! A pox upon thee! :p
 
J

Juan T. Llibre

heh, heh...

I implied you made *one* slightly sloppy post.

I've really been enjoying your extensive
knowledge of .Net and ASP.NET, btw.

:)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,755
Messages
2,569,536
Members
45,014
Latest member
BiancaFix3

Latest Threads

Top