Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > Basic Steps for Creating ASP.NET app.

Reply
Thread Tools

Basic Steps for Creating ASP.NET app.

 
 
Niks
Guest
Posts: n/a
 
      12-16-2003
Hi,

I am new to ASP.NET. I have to develop a SIMPLE web based project in
ASP.NET.
I have a few questions reagarding that -

1) Do we need to create a new project by selecting ASP.NET web
application from VS.NET or can we directly create it manually like
typical ASP app. and create all other files like web.config manually ?

2) Do I need to use Code Behind for all .aspx files I develop. I
understand that Code Behind, is the core concept of ASP.NET to
differentiate HTML and server side code. ?

3) Can I use the connection string for my app in Web.Config and call
it on each page (Import System.Configuration) or is there a better way
?

4) If I use Code Behind, do I need to build the entire project every
time I make changes while developing ? or can I just save the file and
test the app. like classic asp's ?

5) What is the best way to pass variables from one form to another
(Form, Querystring, Containers) in .NET ?

5) What is the best way to copy the final App from one server to
another ?

Thanks.
 
Reply With Quote
 
 
 
 
Steve C. Orr [MVP, MCSD]
Guest
Posts: n/a
 
      12-17-2003
That's a lot of questions. If you want detailed answers you'd be better off
posting them separately. But here's a quick summary for you:

1) You can create them manually, but why would you want to? VS. NET makes
it much quicker.

2) You don't need to use code behinds, but once again VS.NET makes this
technique much easier & more efficient.

3) Yes, put your connection string in your web.config. It's the standard
way.

4) If you click the run button your entire project will be built by default.
As an alternative you can right click on your page in solution explorer and
select "Open"

5) There are a lot of ways you can use. Here are some articles on the
subject to help you choose:
http://msdn.microsoft.com/msdnmag/is...e/default.aspx
http://www.aspalliance.com/kenc/passval.aspx
http://www.dotnetjunkies.com/tutoria...tutorialid=600
http://www.dotnetbips.com/displayarticle.aspx?id=79

6) Under the Project drowndown menu there is a "Copy Project..." menu item.
Select it, and a nice friendly dialog box pops up with instructions and help
links and the works.

--
I hope this helps,
Steve C. Orr, MCSD, MVP
http://Steve.Orr.net
Hire top-notch developers at http://www.able-consulting.com





"Niks" <> wrote in message
news: om...
> Hi,
>
> I am new to ASP.NET. I have to develop a SIMPLE web based project in
> ASP.NET.
> I have a few questions reagarding that -
>
> 1) Do we need to create a new project by selecting ASP.NET web
> application from VS.NET or can we directly create it manually like
> typical ASP app. and create all other files like web.config manually ?
>
> 2) Do I need to use Code Behind for all .aspx files I develop. I
> understand that Code Behind, is the core concept of ASP.NET to
> differentiate HTML and server side code. ?
>
> 3) Can I use the connection string for my app in Web.Config and call
> it on each page (Import System.Configuration) or is there a better way
> ?
>
> 4) If I use Code Behind, do I need to build the entire project every
> time I make changes while developing ? or can I just save the file and
> test the app. like classic asp's ?
>
> 5) What is the best way to pass variables from one form to another
> (Form, Querystring, Containers) in .NET ?
>
> 5) What is the best way to copy the final App from one server to
> another ?
>
> Thanks.



 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
ASP NET 2.0 Wizard Control - creating dynamic steps =?Utf-8?B?QmlsbCBHYXV2ZXk=?= ASP .Net 0 10-17-2005 06:15 PM
What is the difference between Visual Basic.NET and Visual Basic 6? Jimmy Dean Computer Support 3 07-25-2005 07:05 AM
Re: Python interpreter in Basic or a Python-2-Basic translator. rrr@ronadam.com Python 0 05-02-2005 01:48 PM
Python interpreter in Basic or a Python-2-Basic translator. Engineer Python 6 05-01-2005 10:16 PM
Upgrading Microsoft Visual Basic 6.0 to Microsoft Visual Basic .NET Jaime MCSD 2 09-20-2003 05:16 AM



Advertisments