|
 |
aspx thread: ASP.net
Message #1 by "Mats Boberg" <mats.boberg@n...> on Wed, 6 Dec 2000 15:06:53 -0000
|
|
There is some diffrences in programming web apps with vs.net.
Either you can write .aspx pages only
or either you can devide the functionality and design in .aspx and .cs
files.
What is recomended?
Message #2 by Joshua Little <josh.little@x...> on Wed, 6 Dec 2000 09:08:25 -0600
|
|
My understanding is that it is similar to COM as it stands now. That is,
use ASPX pages for your presentation logic and compiled components (.cs are
class files in C#) for the business logic.
--Josh
> -----Original Message-----
> From: Mats Boberg [mailto:mats.boberg@n...]
> Sent: Wednesday, December 06, 2000 9:07 AM
> To: ASP+
> Subject: [aspx] ASP.net
>
>
> There is some diffrences in programming web apps with vs.net.
>
> Either you can write .aspx pages only
>
> or either you can devide the functionality and design in .aspx and .cs
> files.
>
> What is recomended?
>
>
Message #3 by "Christine Anwar" <christine.anwar@i...> on Wed, 6 Dec 2000 07:17:46 -0800
|
|
It is recommended that u define your design in the aspx file and the
functianality in the .cs file..
-----Original Message-----
From: Mats Boberg [mailto:mats.boberg@n...]
Sent: Wednesday, December 06, 2000 7:07 AM
To: ASP+
Subject: [aspx] ASP.net
There is some diffrences in programming web apps with vs.net.
Either you can write .aspx pages only
or either you can devide the functionality and design in .aspx and .cs
files.
What is recomended?
Message #4 by Susan Warren <swarren@m...> on Wed, 6 Dec 2000 07:27:35 -0800
|
|
.cs (or .vb) is a compiled class file. VS.NET puts the *UI* logic for the
page ("populate this listbox, handle that click") in a class file associated
with the page. However, you would still want to put your business logic in
a separate class file.
Re recommendations, it's sort of a lifestyle choice. The 2-file arrangement
supported by VS provides a better separation of code for declarative stuff
like html, tags and static text. But some folks prefer working with the
1-file version since there are fewer files to manage.
-----Original Message-----
From: Joshua Little [mailto:josh.little@x...]
Sent: Wednesday, December 06, 2000 7:08 AM
To: ASP+
Subject: [aspx] RE: ASP.net
My understanding is that it is similar to COM as it stands now. That is,
use ASPX pages for your presentation logic and compiled components (.cs are
class files in C#) for the business logic.
--Josh
> -----Original Message-----
> From: Mats Boberg [mailto:mats.boberg@n...]
> Sent: Wednesday, December 06, 2000 9:07 AM
> To: ASP+
> Subject: [aspx] ASP.net
>
>
> There is some diffrences in programming web apps with vs.net.
>
> Either you can write .aspx pages only
>
> or either you can devide the functionality and design in .aspx and .cs
> files.
>
> What is recomended?
>
Message #5 by "Anders Lundholm" <lundholm@s...> on Wed, 6 Dec 2000 16:59:42 +0100
|
|
Hello!
> It is recommended that u define your design in the aspx file and the
> functianality in the .cs file..
Yes, but you could do without it! =o)
with regards
anders lundholm · lundholm@s...
the sphereworx / monoliner experience
--
Message #6 by "Christine Anwar" <christine.anwar@i...> on Wed, 6 Dec 2000 08:20:17 -0800
|
|
u can but i think it is more profissional and organized if u devide them
-----Original Message-----
From: Anders Lundholm [mailto:lundholm@s...]
Sent: Wednesday, December 06, 2000 8:00 AM
To: ASP+
Subject: [aspx] RE: ASP.net
Hello!
> It is recommended that u define your design in the aspx file and the
> functianality in the .cs file..
Yes, but you could do without it! =o)
with regards
anders lundholm · lundholm@s...
the sphereworx / monoliner experience
|
|
 |