|
 |
aspx_beginners thread: How to start in aspx.
Message #1 by "Munish Arora" <m_6900@y...> on Fri, 10 May 2002 06:39:48
|
|
Hi All
I have downloaded the sdk.
Can anybdy tell how to make my first as[px.
and see it running.
Regards
M A
Message #2 by "Sri Vidya" <svsvidya@i...> on Fri, 10 May 2002 13:39:47 +0530
|
|
Hi Munish,
Install the SDK Framework. This will automatically put all the
necessary files on your system. COnfigure a web server (comes as a
component with windows 2000).
OPen NOtepad. Copy the following code and save it as greetings.aspx
under \inetpub\wwwroot directory.
<script runat="server">
Sub Button_Click(s as Object, e as EventArgs)
lblGreet.Text = "Hello World !"
end sub
</Script>
<html>
<head> <title> greetings.aspx </title> </head>
<body>
<form runat="server">
Greeting appears here
<asp:Label id="lblGreet" Runat="server" />
<P>
<asp:Button Text="Click Here" OnClick="Button_Click" Runat="server" />
</form>
</body>
</html>
Open your browser and type http://{your system name}/greetings.aspx
This will display one label and one button with "Click Here" Written
on it. Click the button. Now "Hello World" message will appear in
front of "Greeting appears here"
For further reference on ASP.NET refer to ASP.NET UNLEASHED from
Techmedia publications (for Indian Subcontinent only). this is an
excellent book for asp.net beginners.
Hope that helps.
Cheers,
Vidya.
On Fri, 10 May 2002 06:39:48
"Munish Arora" <m_6900@y...> wrote:
>Hi All
>I have downloaded the sdk.
>Can anybdy tell how to make my first as[px.
>and see it running.
>
>Regards
>M A
---------------------------------------------
http://mail.indiainfo.com
India's first ISO certified portal
Check world time at http://time.indiainfo.com
Message #3 by "Dan McKinnon" <mddonna@q...> on Sat, 11 May 2002 21:55:05
|
|
Hello Mr. Arora --
Although Mr. Vidya's answer to you is complete and well done, I can't
help but put in a plug for a Wrox book here. Wrox has offices in India,
and I am assuming that Wrox books are available to you. I hope this is
the case.
I have two .NET books, but the one that has helped me the most
is "Beginning ASP.NET Using VB.NET" by Ollie Cornes, Chris Goode, Juan T
Llibre, et al. This is an excellent tutorial from the ground up, and
covers all you need to install the framework and get it running. By the
end of the book you are writing some fairly sophisticated .NET Web
applications.
The real beauty of the book as far as I'm concerned is that you can do
all the exercises in it using only a text editor. You do not need Visual
Studio .NET at all, so all the applications you build are free because
the framework download is free.
I was into ASP 3.0 somewhat and enjoyed that, and I am excited about the
possibilities of .NET. I have converted my ASP 3.0 to .NET and am happy
with the results, especially how fast it loads, which is what .NET is all
about with its compiled code. This page http://discovery-
community.net/mycalendar.aspx is right out of the book I mentioned above.
I will go out on a limb here and use this space to editorialize a bit.
Pardon me. I am a bit disappointed with VS.NET, but this is more a
reflection of where I'm at than where the capable software engineers at
MS are at. During my most pessimistic times I see it as a glorified
FrontPage editor. I am not saying this as a person who has not bought it.
I shelled out my half a grand for it (upgrade price), and now all I use
it for is as a reference and to see what kind of code it writes when I
get stuck in my regular coding, to see if it can help me or give me an
idea. But this is just me at this stage of the game. I may have to repent
from the sentences above as I get more into .NET. It is certainly a
powerful program, taking me two hours to install with a fast CD-ROM. I
guess I am the type of person who likes to know how things work, and
VS.NET doesn't let me do that as much as I'd like. My frustration with it
is for the same reason I don't like or use WYSIWYG editors for html. On
the other hand, .NET is so complicated that the code-writing features of
the program can help you also.
Sorry for the rant, and I hope this helps,
Dan
Message #4 by "Glenn Euloth" <eulothg@h...> on Sat, 11 May 2002 23:58:43 -0300
|
|
Thanks for the "rant", Dan. Frankly, I've felt the same way about Visual
Studio when coding ASP. I really like the colour coding and the
auto-complete but it's a little pricey for an editor.
Also, you seem to have the same take on HTML coding (and by extension
probably, VB.NET) as I have. The WYSIWIG editors tend to make crappy code
and I also like to know how it works so I can fix it when it breaks!
Thanks for the heads up on the book, too. I'll keep my eyes out for it!
Regards, Glenn Euloth
> -----Original Message-----
> From: Dan McKinnon [mailto:mddonna@q...]
> Sent: May 11, 2002 9:55 PM
...snip...
> VS.NET doesn't let me do that as much as I'd like. My frustration with it
> is for the same reason I don't like or use WYSIWYG editors for html. On
> the other hand, .NET is so complicated that the code-writing features of
> the program can help you also.
>
> Sorry for the rant, and I hope this helps,
> Dan
>
Message #5 by "Sri Vidya" <svsvidya@i...> on Mon, 13 May 2002 09:17:13 +0530
|
|
Hi Dan,
Your "rant" was very educative. Thanks for the tips. My logic
behind suggesting ASP.NET UNLEASHED was the cost. Wrox Press books are
very very expensive in India compared to other books. Some can cost as
high as $20, which is still considered expensive.
I have bought the Wrox Press books and have liked them immensely.
They are very helpful too.
PS: It is not "Mr. Vidya", but "Ms. Vidya".
Thanks for the thoughts,
Vidya.
On Sat, 11 May 2002 23:58:43 -0300
"Glenn Euloth" <eulothg@h...> wrote:
>Thanks for the "rant", Dan. Frankly, I've felt the same way about
>Visual
>Studio when coding ASP. I really like the colour coding and the
>auto-complete but it's a little pricey for an editor.
>
>Also, you seem to have the same take on HTML coding (and by extension
>probably, VB.NET) as I have. The WYSIWIG editors tend to make crappy
>code
>and I also like to know how it works so I can fix it when it breaks!
>
>Thanks for the heads up on the book, too. I'll keep my eyes out for
>it!
>
>Regards, Glenn Euloth
>
>> -----Original Message-----
>> From: Dan McKinnon [mailto:mddonna@q...]
>> Sent: May 11, 2002 9:55 PM
>...snip...
>> VS.NET doesn't let me do that as much as I'd like. My frustration
>>with it
>> is for the same reason I don't like or use WYSIWYG editors for html.
>>On
>> the other hand, .NET is so complicated that the code-writing
>>features of
>> the program can help you also.
>>
>> Sorry for the rant, and I hope this helps,
>> Dan
>>
>
>
---------------------------------------------
http://mail.indiainfo.com
India's first ISO certified portal
Check world time at http://time.indiainfo.com
Message #6 by "Minh T. Nguyen" <nguyentriminh@y...> on Sun, 12 May 2002 22:58:53 -0700
|
|
Hey folks,
I am just adding my two cents here, just my personal opinion. I
love VS.NET (okay, I must admit, my company pays for it), but I don't
think of VS.NET as a WYSIWYG editor. In fact, I hate to use the drag and
drop feature of HTML controls, as that doesn't render under Netscape,
but VS.NET is much more than that. The ability to debug your code, to
drag and drop databases from SQL Server, edit XML files in Excel look,
quickly add any event handler for controls, ability to collapse code
regions, color coding, comments generation, see debug statements,
IntelliSense and description of each methods and much much more makes
VS.NET almost a mandatory tool for me.
Minh.
PS: I don't work for MS, no.
-----Original Message-----
From: Glenn Euloth [mailto:eulothg@h...]
Sent: Saturday, May 11, 2002 7:59 PM
To: aspx_beginners
Subject: [aspx_beginners] Re: How to start in aspx.
Thanks for the "rant", Dan. Frankly, I've felt the same way about
Visual
Studio when coding ASP. I really like the colour coding and the
auto-complete but it's a little pricey for an editor.
Also, you seem to have the same take on HTML coding (and by extension
probably, VB.NET) as I have. The WYSIWIG editors tend to make crappy
code
and I also like to know how it works so I can fix it when it breaks!
Thanks for the heads up on the book, too. I'll keep my eyes out for it!
Regards, Glenn Euloth
> -----Original Message-----
> From: Dan McKinnon [mailto:mddonna@q...]
> Sent: May 11, 2002 9:55 PM
...snip...
> VS.NET doesn't let me do that as much as I'd like. My frustration with
it
> is for the same reason I don't like or use WYSIWYG editors for html.
On
> the other hand, .NET is so complicated that the code-writing features
of
> the program can help you also.
>
> Sorry for the rant, and I hope this helps,
> Dan
>
Message #7 by "Dan McKinnon" <mddonna@q...> on Thu, 16 May 2002 08:32:02
|
|
Hi Minh -
I can honestly say that because you are a much more advanced programmer
than I am, I value your opinion regarding VS.NET more than my own. I will
remain open to it.
I echo Ms. Ruby's sentiments regarding you.
Thanks,
Dan
> Hey folks,
I am just adding my two cents here, just my personal opinion. I
love VS.NET (okay, I must admit, my company pays for it), but I don't
think of VS.NET as a WYSIWYG editor. In fact, I hate to use the drag and
drop feature of HTML controls, as that doesn't render under Netscape,
but VS.NET is much more than that. The ability to debug your code, to
drag and drop databases from SQL Server, edit XML files in Excel look,
quickly add any event handler for controls, ability to collapse code
regions, color coding, comments generation, see debug statements,
IntelliSense and description of each methods and much much more makes
VS.NET almost a mandatory tool for me.
Minh.
PS: I don't work for MS, no.
|
|
 |