473,396 Members | 2,098 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,396 software developers and data experts.

Web application defined?

Ian
Hi there,

I have been learning c# for a while now, although mainly the language and I
am little confused about the completed picture.

I am creating a website, part of it is standard html files, some are aspx
files without any code behind files but inline coding and others are proper
aspx files with code behind.

I am of course creating standard html files using dreamweaver as this is my
preference.

Can anyone explain what the standard way of creating a so called "web
application" i.e. should I create several web application for each part of
my website which consists of code or should the complete website also be
wrapped within a web application.

i.e. The webapplication is VS would also consist of html..??

I hope I have explained it correctly, as you can see I am a little
confused...

Any help or guidance would be really appreciated

Thanks

Ian
Nov 18 '05 #1
3 1163
The standard .NET web page with "code behind" has an ASPX extension. You
can use a language of your preference for the "code behind". These pages
would more than likely go within a project and you can have multiple
projects for 1 "solution" depending on how you wish to organize everything.

HTH,
VB Programmer

"Ian" <ia*********@hotmail.com> wrote in message
news:%2****************@TK2MSFTNGP10.phx.gbl...
Hi there,

I have been learning c# for a while now, although mainly the language and I am little confused about the completed picture.

I am creating a website, part of it is standard html files, some are aspx
files without any code behind files but inline coding and others are proper aspx files with code behind.

I am of course creating standard html files using dreamweaver as this is my preference.

Can anyone explain what the standard way of creating a so called "web
application" i.e. should I create several web application for each part of
my website which consists of code or should the complete website also be
wrapped within a web application.

i.e. The webapplication is VS would also consist of html..??

I hope I have explained it correctly, as you can see I am a little
confused...

Any help or guidance would be really appreciated

Thanks

Ian

Nov 18 '05 #2
Ian
Thanks for the reply....

I am using VS for asp.net files with code behind...

and dreamweaver for everything else..

So basically have the aps.net code behind in a project and keep everything
else out of it ...??

I suppose that sounds logical... I was just a little confused :-)

Thanks

Ian
"VB Programmer" <I-*********@Nowhere.com> wrote in message
news:uM*************@TK2MSFTNGP11.phx.gbl...
The standard .NET web page with "code behind" has an ASPX extension. You
can use a language of your preference for the "code behind". These pages
would more than likely go within a project and you can have multiple
projects for 1 "solution" depending on how you wish to organize everything.
HTH,
VB Programmer

"Ian" <ia*********@hotmail.com> wrote in message
news:%2****************@TK2MSFTNGP10.phx.gbl...
Hi there,

I have been learning c# for a while now, although mainly the language and
I
am little confused about the completed picture.

I am creating a website, part of it is standard html files, some are

aspx files without any code behind files but inline coding and others are

proper
aspx files with code behind.

I am of course creating standard html files using dreamweaver as this is

my
preference.

Can anyone explain what the standard way of creating a so called "web
application" i.e. should I create several web application for each part of my website which consists of code or should the complete website also be
wrapped within a web application.

i.e. The webapplication is VS would also consist of html..??

I hope I have explained it correctly, as you can see I am a little
confused...

Any help or guidance would be really appreciated

Thanks

Ian


Nov 18 '05 #3
Ian
Ahh.. Thanks dave,

I come from an old vs vbscript days and this is the way I used to do it
then, have everything all in one project... Learning c# ... just confused me
a little...

Great so create the web applicaiton in the root of my IIS directory which VS
does for me but I don't have to use the root for the main asp aplication...
I can create directory under directory and start from there..

Great stuff thanks

Ian
"David Coe, MCP" <an*******@discussions.microsoft.com> wrote in message
news:13**********************************@microsof t.com...
The best way to implement what you are doing is to include all of your files (.hmtl, .aspx, .cs) in one project. A project can have multiple
directories in it without a problem. If you are using Visual Studio, then
it is better to use the code behind support (I've been where you are, and,
trust me, it's a lot nicer because of the Intellisense, code completion,
etc.).
The web application will create a virtual directory in IIS, which is what

..NET uses to define a "web application." If you were going to try to create
several web applications underneath (like if you made each folder an
application), it turns out pretty messy when you want to share state between
pages.
Nov 18 '05 #4

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

Similar topics

4
by: M?rten O | last post by:
Hello! I have a problem with managed C++ and the Application class I want to use Application::CommonAppDataPath but the only answer I get is "D:\Documents and Settings\All Users\Application...
3
by: Sushil Srivastava | last post by:
Hi Guys, Would you be able to help me using C# GUI (with user interface component) in my MFC application. I have used managed extension, COM-interops, etc but problem is this C# component has...
4
by: Keith Chadwick | last post by:
I am having some trouble referencing an Application("myVar") variable from within a module.vb file on my ASP.NET site. According to the documentation I should be able to reference...
5
by: z. f. | last post by:
Hi, I'm working on a web project and i create classes to do business logic and connect to DB. i also need a windows application to do the same functionality as defined in classes inside the...
1
by: Srini | last post by:
Hi, What is the best method to share the application defined errors in C# ASP.NET application. Basically I would like to have all the errors defined in one place and share those between modules...
10
by: Steve Taylor | last post by:
I am having trouble understanding the ASP.NET application boundaries. Here's my setup: 1. Win2003 Server with IIS 6 and an application defined at the root "SalesNow" (www.salesnow.com). 2. A...
3
by: xycos | last post by:
Hello. I apologize for asking this question as the information I need is availible via the MSDN library, however I cannot seemt o understand what I need to do, so I'm asking here. I have created...
1
by: Integra | last post by:
I have developed a VB application with Access running very well except some systems which doesnt installed VB. Created the setup with Innosetup. But its working in some systems eventhough vb not...
4
by: Dave | last post by:
I have a global.asax file with Application_Start defined and create some static data there and in another module used in the asp.net application and I realize that static data is shared amongst...
7
by: JFKJr | last post by:
Hi! I am a new beginner to MS Access VBA, I wrote the following VBA code in Access which deletes blank columns and rows in excel file. But, the code works fine for sometimes and sometimes it displays...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

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.