ASP.NET

  • Thread starter Thread starter dancer
  • Start date Start date
Dancer,

It depends, if it is a kind of install, html, css, javascript, pluggins etc
question than you are probably the best off in the newsgroup as Scott
stated.

Is it clearly a Net program language question than you can better ask it in
one of the language newsgroups as

microsoft.public.dotnet.languages.vb (or csharp or vc or withouth languages
jsharp)

If it has to do with data (adonet) than
microsoft.public.dotnet.framework.adonet

If it has to do with non adonet data than one of the data newsgroups as
microsoft.public.dotnet.languages.vb.data

Be aware that ASPNet can be used in version before 2005 in 4 ways and in
version 2005 in 6 those are:
Using the code in a kind of Scripting way inside the HTML code not
structured.
Using the code in a kind of Scripting way inside the HTML code structured.
With code behind not compiled (versions before 2005 and 2005 with project
addition)
With codefile not compiled (version 2005 without project addition)
Both last but than with compiled DLL's.

If you use it in the first two ways, than your newsgroup is mostly as Scott
stated.

I hope this helps

Cor
 
Cor,
You appear very knowledgeable and very able to explain clearly. Can you
help me? I am trying to learn asp.net. - from the very beginning. I have
IIS installed and am able to create ASP files and see the results on my
personal server.
I downloaded and installed the Microsoft.NET Framework. I saved it on my
computer and then installed it.

But I cannot see the results of an aspx file on my computer, even though I
can see the results of the SAME file published on my website.

I have an XP Professional and the path to the files is
c:\WINNT\Microsoft.net\framework v.1.14322. Also there is the folder
v1.0.3705.

I see the result of asp files I create at http:/localhost/. I try to do the
same with the aspx files, but I only get a blank page.

How can I try out my files without going to the trouble of publishing to the
website?

Thank you!
 
Dancer,

The results of your asp page should be the same as your aspx.
But why you use the framework 1.x while I get the idea that you are starting
and can use 2.0.
For that is as well a free ASPX Web page/site creating tool available.

http://msdn.microsoft.com/vstudio/express/vwd/

I hope this helps,

Cor


A good help site while using the
 
ASP net must be registered with IIS by running: ASPREGIIS -i

This is located in your framework/bin folder.
 
How do I do that?
I have a file aspnet_regiis.exe in the path
C:\WINNT\Microsoft.NET\Framework\v1.1.4322. Would I just click on that
file? Is there any danger it would damage a system file?

What is the difference in framework 1. and framework 2.0?
If I register what I have, will I have to UNinstall before using 2.0?

Thank you for your help!
 
Dancer,

Scott is probably right you can try that therefore just execute that.
(Although it should not be needed can it be because of the sequence of
installation). You can without any problem add the Net 2.0 framework beside
Net 1.x

Cor
 
You need to run it with the -i switch.

From the start menu, choose Run.
In the textbox, type (or copy):

C:\WINNT\Microsoft.NET\Framework\v1.1.4322\asnet_regiis -i

This will install ASP.NET processing and create the ASPNET user account that
it used to process ASP.NET web pages.
 
Thank you, Scott! 5 more questions:
1. What does the -i switch do?

2. There is no way that this will harm a system file?

3. Would it be better to download framework 2.0 instead of learning 1.x?

4. If I download framework 2.0, do I follow the same command for the regiis?

5. If I download framework 2.0 later, do I have to undo something?


Scott M. said:
You need to run it with the -i switch.

From the start menu, choose Run.
In the textbox, type (or copy):

C:\WINNT\Microsoft.NET\Framework\v1.1.4322\asnet_regiis -i

This will install ASP.NET processing and create the ASPNET user account
that it used to process ASP.NET web pages.
 
1. What does the -i switch do?

install
2. There is no way that this will harm a system file?

It will install ASP.NET processing and create the ASPNET user account.
Whatever files it creates/overwrites will not damage anything that already
exists.
3. Would it be better to download framework 2.0 instead of learning 1.x?

That's up to you. The 2.0 Framework requires VS.NET 2005 or a 2005
Express Edition. The 1.x Framework requires VS.NET 2003.
4. If I download framework 2.0, do I follow the same command for the
regiis?

Either framework is going to have an aspnet_regiis file. Running a
particular one, registers that particular framework with IIS.
5. If I download framework 2.0 later, do I have to undo something?

No, but you'll need to run aspnet_regiis -i that is in THAT framework
folder.
 
5. If I download framework 2.0 later, do I have to undo something?
No, but you'll need to run aspnet_regiis -i that is in THAT framework
folder.
Scott, I never did that.
But it does probably not hurt,

Cor
 
Normally, you don't need to run this...ever. But, it's the first thing I
check when I hear the symptoms described here and it is usually the fix for
it. And, as you say, it doesn't hurt.
 
Scott M. said:
It will install ASP.NET processing and create the ASPNET user account.
Whatever files it creates/overwrites will not damage anything that already
exists.


That's up to you. The 2.0 Framework requires VS.NET 2005 or a 2005
Express Edition. The 1.x Framework requires VS.NET 2003.


Either framework is going to have an aspnet_regiis file. Running a
particular one, registers that particular framework with IIS.


No, but you'll need to run aspnet_regiis -i that is in THAT framework
folder.
 
Thank you. Your answers were very clear. Just one thing. You say
Framework requres VS.NET. When I typed in code in notepad and then
published the file to my website, it worked as it was expected to. So why
do I need VS.NET ( I assume this is Visual Studio?)
 
Well, technically no, Visual Studio .NET is not absolutely required. Your
code can be created in any text editor and you can compile your code
manually, at the command line, using the Visual Basic .NET compiler
(vbc.exe). It doesn't sound like you have used this yet, so your code isn't
going to run as efficeintly as it could by compiling it ahead of time.

But without some kind of development environment, you won't get color
coding, IntelliSense, debugging and other important features. What you are
working on right now, sounds like it is simple web pages. As your pages
become more complex, you'll grow tired of working in a text editor.
 
I have been using FrontPage to create web pages. But although my server (a
Windows server) supports FP extensions, it does not support the password
capabilities in FP. I also need to have more interactive pages. That's why
I started investigating asp.net. Is Visual Studio anything like Front Page?
Also, there are so many Visual Studio products. Which one would I purchase?
Thank you.
 
Somebody,

I would not say so, FrontPage is more pointed to the desinger, while ASPNet
to the developer.

ASPNet is probably more sufficient in interactive Websites (busines,
communictacion etc), while Frontpage is very good to make very nice
websites.

But you can try the free webdeveloper tool Express to try that.
http://msdn.microsoft.com/vstudio/express/vwd/

Just my idea,

Cor
 
I have both. I use FP when I need to make client-side changes to a page.
FP is very good and this. But for server-side code, VS.NET is the way to
go.

Cor has provided a link to a good FREE tool to get you started. Visual
Studio does come in several "flavors". First, you need to decide which
version (2003 or 2005) you want/need and then you can pick the flavor right
for you.
 
Back
Top