473,602 Members | 2,751 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Is Visual Studio .NET ideal for ASP.NET + HTML site?

Hi All!

First of all I would like to say that VS.NET is one of the finest IDE I've
used in years. It really helps me code quickly. Workspace management using
auto hide windows, minimizing and maximizing of code segments, TO-DO list
management and automatic documentation (to name a few) are all superb. So I
really want to make the VS.NET IDE the primary development tool for me.

However, when it comes to developing ASP.NET websites, I have some
confusions. For instance, when I develop websites in ASP.NET, I want some of
them to be HTML and others to be ASPX. But the Solution Explorer only shows
ASPX files and other limited set of files. So I have to use Notepad or
Dreamweaver to edit the HTML and other files. This is really a pain when
rapidly developing ASPX websites.

Also it is hard to distinguish and manage the website files (ASPX and HTML
files) with VS.NET project files (vbproj, vbproj.webinfo and sln files to
name a few). In Classic ASP, all the development was done separately on VB6
or C++ and only the resulting DLL file is ported to the web directory so no
issues of mixing up project files and web files (but of course DLL hell is
there :P).

I must admit that my knowledge of VS.NET is only beginner level so that I'm
hoping someone to shed some light on this.

Many Thanks!
Don
Nov 18 '05 #1
22 1144
"Don Wash" <do*@wash.com > wrote in message
news:%2******** ********@TK2MSF TNGP10.phx.gbl. ..
However, when it comes to developing ASP.NET websites, I have some
confusions. For instance, when I develop websites in ASP.NET, I want some of them to be HTML and others to be ASPX. But the Solution Explorer only shows ASPX files and other limited set of files. So I have to use Notepad or
Dreamweaver to edit the HTML and other files. This is really a pain when
rapidly developing ASPX websites.


1) If you haven't added the HTML files to your project, they won't display
in the Solution Explorer unless you click the Show All Files button.

2) To add a new HTML file into an ASP.NET project, right-click the project
name, select Add, then Add HTML page.

3) To add an existing HTML file into an ASP.NET project, simply drag it into
the project from Windows Explorer, into a folder if you want.
Nov 18 '05 #2
"Don Wash" wrote ...

Hi Don,
For instance, when I develop websites in ASP.NET, I want some of
them to be HTML and others to be ASPX. But the Solution Explorer only shows ASPX files and other limited set of files. So I have to use Notepad or
Dreamweaver to edit the HTML and other files. This is really a pain when
rapidly developing ASPX websites.
Right-click on your project - choose 'Add new item' - scroll down a bit and
you'll see a HTML page option - it adds files as page.htm for example.
Also it is hard to distinguish and manage the website files (ASPX and HTML
files) with VS.NET project files (vbproj, vbproj.webinfo and sln files to
name a few).
In VS you can hide most of the file types or show them, such as the aspx.vb
and and aspx.res - the button to toggle is above your solution name in
Solution Explorer - 3rd in from the left..
I must admit that my knowledge of VS.NET is only beginner level so that I'm hoping someone to shed some light on this.


Mine too - but at least point 1 above should help :o)

Regards

Rob
Nov 18 '05 #3
<<<So I have to use Notepad or Dreamweaver to edit the HTML and other files.
This is really a pain when rapidly developing ASPX websites.>>

Don - I feel your pain!

I agree that VS.NET is superb and I use it for all of my code-behind work
and testing/debugging.

BUT

When I'm doing any serious development work I switch back and forth between
VS.NET and Dreamweaver. The reason for this is that when you are editing
HTML, VS.NET may decide to completely rearrange your HTML code (in your ASPX
or HTML files). It doesn't simply give you your original page layout but
with different HTML - it actaully gives you a brand new layout - and one you
probably won't like that in no way resembles your original layout (and no
way to undo the re arrangement).

This is a well-known and big-time issue with developers that Microsoft is
plenty aware of and they're promising to fix it in the next release of
Visual Studio - so there's no need to start yet another heated debate over
this issue here. In any case the first time it happens to you, you'll be
running for Dreamweaver or Notepad.

Separately, VS.NET is not designed nor intended to provide many of the site
management features packed into Dreamweaver.

Don't get rid of Dreamweaver quite yet.

-D

Nov 18 '05 #4
Thanks Ron,

Any ideas on the problem I've presented to Mark?

Cheers,
Don

"Rob Meade" <ro**********@N OSPAMubht.swest .nhs.uk> wrote in message
news:uG******** ********@tk2msf tngp13.phx.gbl. ..
"Don Wash" wrote ...

Hi Don,
For instance, when I develop websites in ASP.NET, I want some of
them to be HTML and others to be ASPX. But the Solution Explorer only shows
ASPX files and other limited set of files. So I have to use Notepad or
Dreamweaver to edit the HTML and other files. This is really a pain when
rapidly developing ASPX websites.


Right-click on your project - choose 'Add new item' - scroll down a bit

and you'll see a HTML page option - it adds files as page.htm for example.
Also it is hard to distinguish and manage the website files (ASPX and HTML files) with VS.NET project files (vbproj, vbproj.webinfo and sln files to name a few).
In VS you can hide most of the file types or show them, such as the

aspx.vb and and aspx.res - the button to toggle is above your solution name in
Solution Explorer - 3rd in from the left..
I must admit that my knowledge of VS.NET is only beginner level so that

I'm
hoping someone to shed some light on this.


Mine too - but at least point 1 above should help :o)

Regards

Rob

Nov 18 '05 #5
Hi Mark,

Thanks for the reply! I can now see the HTML files and other files. However,
how can I solve the problem that VS.NET project files are mixing with web
files? Obviously I don't want them to be uploaded to the web server.

Thanks again,
Don

"Mark Rae" <ma**@mark-N-O-S-P-A-M-rae.co.uk> wrote in message
news:ed******** ******@TK2MSFTN GP09.phx.gbl...
"Don Wash" <do*@wash.com > wrote in message
news:%2******** ********@TK2MSF TNGP10.phx.gbl. ..
However, when it comes to developing ASP.NET websites, I have some
confusions. For instance, when I develop websites in ASP.NET, I want
some of
them to be HTML and others to be ASPX. But the Solution Explorer only shows
ASPX files and other limited set of files. So I have to use Notepad or
Dreamweaver to edit the HTML and other files. This is really a pain when
rapidly developing ASPX websites.


1) If you haven't added the HTML files to your project, they won't display
in the Solution Explorer unless you click the Show All Files button.

2) To add a new HTML file into an ASP.NET project, right-click the project
name, select Add, then Add HTML page.

3) To add an existing HTML file into an ASP.NET project, simply drag it

into the project from Windows Explorer, into a folder if you want.

Nov 18 '05 #6
"Don Wash" wrote ...
Any ideas on the problem I've presented to Mark?


Just replied to that...

:o)

Rob
Nov 18 '05 #7
"Don Wash" wrote ...
Thanks for the reply! I can now see the HTML files and other files. However, how can I solve the problem that VS.NET project files are mixing with web
files? Obviously I don't want them to be uploaded to the web server.


Hi Don,

When you finish your project you can specify which files get sent to the
destination - you can specify all files associated to this project, or only
files needed to run this project etc etc..

I dont typically worry about whats on my localhost machine when developing
something, when I send it up I just fire off the files needed to run the
projects and its always been happy so far...

It was a bit odd to get to grips with initially, one of the classics was
when I dropped files manually into the directory it had already put my
project files in - I then opened VS to find that they were displayed -
having spent over an hour going back and forth, back and forth and swearing
quite a lot - comments regarding VS, comments regarding .Net I evenutally
found the "add items" options and realised what I had to do...

Bare with it - it does get easier ;o)

Regards

Rob
Nov 18 '05 #8
> This is a well-known and big-time issue with developers that Microsoft is
plenty aware of and they're promising to fix it in the next release of
Visual Studio - so there's no need to start yet another heated debate over
this issue here. In any case the first time it happens to you, you'll be
running for Dreamweaver or Notepad.


The "Auto Format" feature you speak of can be configured or even turned off
from within the Tools...Options dialogs.
Nov 18 '05 #9
> The "Auto Format" feature you speak of can be configured or even turned
off
from within the Tools...Options dialogs.

Really - where specifically is it? Can you tell me exactly how to turn it
off?

I'm especially interested being that there (1) I didn't find it there - and
I have looked carefully (2) online help doesn't mention it, and (3) are many
discussions in this very group mention how it's a big problem that Microsoft
is addressing. I have previously asked about it in this group as have many
others and the response has always been the same - "...wait for the 2005
version - until then, don't throw away your favorite HTML editor..."
Nov 18 '05 #10

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

Similar topics

17
1556
by: Don Wash | last post by:
Hi All! First of all I would like to say that VS.NET is one of the finest IDE I've used in years. It really helps me code quickly. Workspace management using auto hide windows, minimizing and maximizing of code segments, TO-DO list management and automatic documentation (to name a few) are all superb. So I really want to make the VS.NET IDE the primary development tool for me. However, when it comes to developing ASP.NET websites, I...
16
2576
by: TB | last post by:
Hi all: If you think that the following comments are absolute amateurish, then please bear with me, or simply skip this thread. A couple of months back I made the decision to initiate a gradual upgrade of my web programming skills from Classic ASP / VBS to ASP.NET / VB.NET. While the study of the language differences and all the new features in .NET has so far not been a traumatic experience, I am a bit shell-schocked after
8
16276
by: William LaMartin | last post by:
I just received my Visual Studio upgrade to 2005 and tried to create a new web site via File | New Web Site with location http. Unfortunately I received the following error: "Visual Web Developer does not support creating Web sites on a SharePoint Web server" If I create a new server extensions 2002 web in IIS and mark it as an application and try to use it from Visual Studio I receive the same error.
12
5893
by: Nathan Sokalski | last post by:
I recently upgraded to from Visual Studio .NET 2003 to Visual Studio .NET 2005. In Visual Studio .NET 2003 when I would select 'Build' it would add a *.dll with the name of the Project to a /bin/ folder in the same directory as the source code. However, in Visual Studio .NET 2005 when I selected 'Publish Web Site' and selected a target location to place it in, it placed the following files in it: All *.aspx files All *.html files
1
19825
by: bharathreddy | last post by:
This Article gives an introduction to VSTS Team Foundation & fundamental difference between Visual Source Safe (VSS) and VSTS Team Foundation. Team Foundation is a set of tools and technologies that enable a team to collaborate and coordinate a project (software or non software projects). The team collaboration is achieved by several tools and features available as part of "Team Foundation". Team Foundation Server The Team...
0
7920
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8401
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
8404
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
8268
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
5867
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
3900
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
2418
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
1
1510
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
1254
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.