473,327 Members | 2,074 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,327 software developers and data experts.

Basic Steps for Creating ASP.NET app.

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.
Nov 18 '05 #1
1 1472
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" <tr*****@yahoo.com> wrote in message
news:37**************************@posting.google.c 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.

Nov 18 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: deploying visual basic .net application | last post by:
Hi There, I'm trying to create a setup for a Windows application to install my application I developed using Visual basic .net. I'm using Visual Studio .net Professional. When I use the Set up...
0
by: deploying visual basic .net application | last post by:
Hi There, I'm trying to create a setup for a Windows application to install my application I developed using Visual basic .net. I'm using Visual Studio .net Professional. When I use the Set up...
0
by: JT | last post by:
Hi, I've just realized that I'm not as smart as I thought I was. I have no problem creating Windows apps, class libraries, using windows references, etc. But, I absolutely cannot create and...
21
by: Al Christoph | last post by:
I posted this last week end in the MSDN forums. No luck there. Let's see what the experts here have to say:-)))) I have a rather convoluted project. The distributable will come in eight...
3
by: solargovind | last post by:
Hi, I am New to this forum. I need steps that i do in creating subform. In main form, i have one table fields like vendor,account,due amount,balance amount and Requisition_id which is...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.