473,805 Members | 2,028 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

The ASP.NET FAQ...

Welcome to the ASP.NET FAQ.

Thank you for reading this FAQ!
Use it to improve your online experience.

The Microsoft Public Newsgroups allow users of Microsoft products to exchange technical
information and expertise. Please avoid personal attacks, slurs and profanity in your posts.

A FAQ is a list of Frequently Answered Questions;
This is a guide to using this newsgroup intelligently in order to find answers to your ASP.NET questions.

The kind of answer you get to your questions depends on the way
you ask the questions as well as on the difficulty of writing the answer.

This FAQ will show you how to ask questions in a way that is likely to get you the answer you want to get : the right answer.

You have to do your part, too, if this is going to work out in such a way
that you *learn* what you need to learn, instead of getting ready-made answers
which you will promptly forget and need to ask for them again.

With that in mind, the first FAQ recommendation is that you use search engines
to find out if the question you intend to ask has been already answered in newsgroups.

Use resources like :

Google Groups Advanced Search ( http://groups.google.com/advanced_group_search )
MSN Search ( http://www.msn.com/ )

to search for the text of the problem which is stumping you,
and save everybody the waste of time that asking a FAQ entails.

Remember : thousands of programmers will read your post. Be considerate of their time.

1. General ASP.NET Questions

1.1 What is ASP.NET?

ASP.NET is a technology for creating dynamic Web pages which uses the ..Net Framework.

You can author applications in any .NET compatible language, including Visual Basic .NET,
C#, and JScript .NET, and many others listed at http://www.dotnetpowered.com/languages.aspx .

1.2 Where can I get ASP.NET?

You can get ASP.NET by installing the Microsoft .NET Framework on a computer which has IIS installed.
The .NET Framework is available in either a redistributable or SDK format.

ASP.NET 2.0, currently in Beta, will be released the first week in November, 2005.

1.3 I've installed the .NET Framework, but ASP.NET doesn't seem to work.
What can I do to fix it?

You must install IIS before you install the .NET Framework.

If you install IIS after you install the .NET Framework,
you must then register the ASP.NET extensions with IIS.

You can do this by running the aspnet_regiis executable from:
%windows root directory%\Micr osoft.NET\Frame work\%version of the .NET Framework%\aspn et_regiis -i

Where %windows root directory% is the directory Windows is installed to
(normally c:\windows or c:\winnt) and %version of the .NET Framework%
is the version of the .NET Framework you have installed.

The directory for .NET 1.0 is v1.0.3705 ; for 1.1 it's v1.1.4322 and for Beta 2, it's v2.0.50215.

It's always a good idea to try to find the answer to your question by reading the documentation.
Yes, Read The Manual! The ASP.NET Quickstarts have many answers and samples.

You can install a local copy of the QuickStarts by installing the ASP.NET SDK.

The ASP.NET 1.1 SDK is available at :
http://www.microsoft.com/downloads/d...displaylang=en

The ASP.NET 2.0 SDK comes with the VS.NET Beta :
http://lab.msdn.microsoft.com/vs2005/

If you can't install local copies of the ASP.NET QuickStart,

the ASP.NET 1.1 QuickStart is available online at :
http://www.asp.net/Tutorials/quickstart.aspx

The ASP.NET 1.1 Starter Kits are available at :
http://www.asp.net/Default.aspx?tabindex=8&tabid=47

The ASP.NET 2.0 QuickStart is available online at :
http://beta.asp.net/quickstart/aspnet/Default.aspx

The ASP.NET Beta 2 Starter Kits are available at :
http://www.asp.net/vwd/starterkits.a...dex=4&tabId=46

Always try to find an answer by experimenting with the code.
The .NET Framework Class Browser is of great assistance to help you do this.

The .NET Framework 1.1 Class Browser is available at :
http://www.dotnetjunkies.com/samples...ssBrowser.aspx
and also at :
http://www.csharpfriends.com/quickst...ssbrowser.aspx

The .NET Framework 2.0 Class Browser is available at :
http://beta.asp.net/quickstart/util/classbrowser.aspx

MSDN has all the ASP.NET documentation and Knowledge Base articles online.

Search MSDN for ASP.NET and .Net Framework questions at: http://msdn.microsoft.com/netframework/

Search the MSDN Visual Studio Beta 2 documentation at: http://msdn2.microsoft.com/library/default.aspx

2. Newsgroup Questions

2.1 What subjects are appropriate in this newsgroup?

Any subject which relates to programming, installing or configuring ASP.NET.
Please don't post questions unrelated to ASP.NET.

ASP.NET is not the same as ASP. If you have questions relating to "Classic ASP",
post them in the ASP newsgroups, e.g. microsoft.publi c.inetserver.as p.general.

We encourage the posting of links to free ASP.NET controls/assemblies you have developed,
but request that commercial product availabilities be sent to :

microsoft.publi c.dotnet.framew ork.aspnet.anno uncements

Otherwise, your post will be deleted as SPAM.

2.2 How to write your post

a. Make the "Subject" a short, relevant summary of your problem

b. Make sure you describe your problem accurately.
Please post the exact code which is failing/generating your error.
That will help others find the solution to your problem.

c. Deal with one problem at a time.
If you have more than one problem, post it separately.

d. Make sure you include the version of ASP.NET and the
operating system you are using. This *really* helps others help you!

If the problem is a browser-related problem, include the relevant
browser identity and operating system information.

e. If you are getting an error message, include the error number and its text.

f. Tell us what you have already tried to do to solve the problem.

2.3 How not to write your post

a. Avoid cross-posting, unless your problem applies to more than one newsgroup.

b. Never post identical messages with different subjects.
This is a sure way to get your posts ignored.

c. Don't post your message in ALL CAPITALS. It's very hard to read.
This is another sure way to get your posts ignored.

d. Don't use unclear subject lines which don't summarize a problem, like these:

HEEEELLLLPPP!!! !!
Need help please.
Any experts here?

This is yet another sure way to get your posts ignored.

e. Don't ask for an email reply. The basis for peer-to-peer help newsgroups
like this one is for *everybody* to be helped by the answers provided.

f. Don't flame anyone, period. Nobody needs that in technical newsgroups.
If something, or someone, irks you, ignore the post.

Please treat all participants with respect, valuing divergent views and contrary opinions.
Be polite. Share your perspectives to question ideas and stimulate interesting discussions.

g. The ASP.NET newsgroups, like all Microsoft public ng's, are unmoderated.

From time to time, there will be totally off-topic posts from trolls, spammers,
pornographers, etc. Please don't reply to these posts, as it's a waste of time.

Instead, killfile the poster if the post bothers you.

Microsoft has an anti-spam program in effect, and spam messages
are eliminated by a community program, but it's difficult to detect
some SPAM messages. Have patience and don't reply to any SPAM message.

We will get to it, and delete it.

2.4 Dealing with replies to your post

a. Trim unnecessary text from the replies to your posts, leaving just enough to
get the context of the reply and the original problem. This is greatly
appreciated by the people who are trying to help you, since it saves them time.

b. Analyze the suggestion you were given, and test to see whether it solves the problem.

c. If the problem isn't solved by the suggestion, explain why in a follow-up reply.

2.5 After you get your answer...

a. Confirm whether the proposed solution worked or not.

b. Thank the poster who gave you the answer to your question.

For people who spend their free time, unpaid, helping others in
peer-to-peer newsgroups, there's nothing better than to get a "Thank you".

ASP.NET links :

Learning ASP.NET : http://msdn.microsoft.com/asp.net/learn/

ASP.NET Developer Center : http://msdn.microsoft.com/asp.net/

ASP.NET Developer Center Archive : http://msdn.microsoft.com/asp.net/archive/default.aspx

ASP.NET Forums : http://forums.asp.net/ ( Online ASP.NET Forum )

ASP.NET 1.1 Support Center : http://support.microsoft.com/ph/6351

ASP.NET Security Practices : http://msdn.microsoft.com/library/en...ctices0001.asp

ASP.NET Security How Tos : http://msdn.microsoft.com/library/en...owTosIndex.asp

ADO.NET Support Center : http://support.microsoft.com/adonet

SQL Server Developer Center : http://msdn.microsoft.com/SQL/

IIS Tips and Hints : http://www.asp.net/Default.aspx?tabindex=9&tabid=48

Please ask VS2005 questions at http://forums.microsoft.com/msdn/ , and not in this ASP.NET newsgroup.

ASP.NET 2.0 questions can be posted either here or at : http://forums.asp.net/default.aspx?ForumGroupID=26

Official FAQs and Developer Resources :

ASP.NET Beta 2 FAQ : http://msdn.microsoft.com/asp.net/be...q/default.aspx

..NEt Framework Developer Center : http://msdn.microsoft.com/netframework/

VB Developer Center : http://msdn.microsoft.com/vbasic/

C# Developer Center : http://msdn.microsoft.com/vcsharp/

J# Developer Center : http://msdn.microsoft.com/vjsharp/

New ASP.NET Developer? See : http://msdn.microsoft.com/asp.net/le...todevelopment/

Free Learning Courses from Microsoft : http://lab.msdn.microsoft.com/vs2005/learning/

Selected MSDN Technical Articles on ASP.NET : http://msdn.microsoft.com/asp.net/articles/default.aspx

Full Index to MSDN ASP.NET articles : http://msdn.microsoft.com/asp.net/archive/default.aspx

Free Online Book : Improving .Net Application Performance and Scalability:
http://msdn.microsoft.com/library/en...l/scalenet.asp

Dedicated ASP.NET newsgroups at msnews.microsof t.com ( Microsoft's public nntp server ):

microsoft.publi c.dotnet.framew ork.aspnet
microsoft.publi c.dotnet.framew ork.aspnet.secu rity
microsoft.publi c.dotnet.framew ork.aspnet.cach ing
microsoft.publi c.dotnet.framew ork.aspnet.webs ervices
microsoft.publi c.dotnet.framew ork.aspnet.buil dingcontrols
microsoft.publi c.dotnet.framew ork.aspnet.webc ontrols
microsoft.publi c.dotnet.framew ork.aspnet.data gridcontrol
microsoft.publi c.dotnet.framew ork.aspnet.anno uncements

The general .NET Framework newsgroup is : microsoft.publi c.dotnet.framew ork

The ADO.Net newsgroup is : microsoft.publi c.dotnet.framew ork.adonet

The newsgroups for SQL Server and MSDE are :
microsoft.publi c.sqlserver.ser ver and microsoft.publi c.sqlserver.msd e

If you have a question which would fit better at one of the
above newsgroups, consider posting it in the appropiate one(s).

You can also use the HTML interface to the Microsoft Discussion Groups :
http://www.microsoft.com/communities...s/default.aspx

Other FAQs and Developer Resources :

Connection Strings : http://www.connectionstrings.com/

SQL Server Forums : http://www.sqlmonster.com/

DotNetJunkies : http://www.dotnetjunkies.com/

W3Schools ASP.NET Tutorial : http://www.w3schools.com/aspnet/default.asp

Egghead Cafe : http://www.eggheadcafe.com/default.asp

..Net Framework FAQ : http://www.andymcm.com/dotnetfaq.htm

C# FAQ : http://www.andymcm.com/csharpfaq.htm

Free eBook : VB.NET Fundamentals, Sheriff and Getz :
http://platform.innerworkings.com/pu...ndamentals.msi

ASP.NET Version Switcher : http://www.denisbauer.com/NETTools/A...nSwitcher.aspx

We are working on a FAQ for specific programming questions.
When it's ready, we will include a link to it in this FAQ.

The online version of this FAQ is at http://asp.net.do/faq/
Nov 19 '05 #1
2 1229
Good article! will this be reposted regularly (so that new readers will see it also?)

An addition to 2.5 b:
It's not only nice to get a "thank you", it is also helpful to others reading
about this problem: they see that the solution *did* work.

Other C# articles + newsgroup FAQ: http://www.yoda.arachsys.com/csharp/
Hans Kesting
Nov 19 '05 #2
re:
Good article!
Thank you. I've been working ( a lot ) on it... ;-)

re: will this be reposted regularly (so that new readers will see it also?)
Yes!

I will post it again in about 15 days,
and then plan to post it once a month.

Thank you for your suggestions.
The C# + FAQ link is very good.

Juan T. Llibre
ASP.NET MVP
http://asp.net.do/foros/
Foros de ASP.NET en Español
Ven, y hablemos de ASP.NET...
=============== =======

"Hans Kesting" <ne***********@ spamgourmet.com > wrote in message
news:uS******** ******@TK2MSFTN GP14.phx.gbl... Good article! will this be reposted regularly (so that new readers will see it also?)

An addition to 2.5 b:
It's not only nice to get a "thank you", it is also helpful to others reading
about this problem: they see that the solution *did* work.

Other C# articles + newsgroup FAQ: http://www.yoda.arachsys.com/csharp/
Hans Kesting

Nov 19 '05 #3

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

Similar topics

3
11256
by: William C. White | last post by:
Does anyone know of a way to use PHP /w Authorize.net AIM without using cURL? Our website is hosted on a shared drive and the webhost company doesn't installed additional software (such as cURL) on the server because of that. Our site will have an SSL certificate next week, so I would like to use AIM instead of SIM, however, I don't know how to send data via POST over https and recieve data from the Authorize.net server over an https...
2
5849
by: Albert Ahtenberg | last post by:
Hello, I don't know if it is only me but I was sure that header("Location:url") redirects the browser instantly to URL, or at least stops the execution of the code. But appearantely it continues to execute the code until the browser send his reply to the header instruction. So an exit(); after each redirection won't hurt at all
3
23045
by: James | last post by:
Hi, I have a form with 2 fields. 'A' 'B' The user completes one of the fields and the form is submitted. On the results page I want to run a query, but this will change subject to which field is completed.
0
8502
by: Ollivier Robert | last post by:
Hello, I'm trying to link PHP with Oracle 9.2.0/OCI8 with gcc 3.2.3 on a Solaris9 system. The link succeeds but everytime I try to run php, I get a SEGV from inside the libcnltsh.so library. 354 roberto@ausone:Build/php-4.3.2> ldd /opt/php4/bin/php libsablot.so.0 => /usr/local/lib/libsablot.so.0 libstdc++.so.5 => /usr/local/lib/libstdc++.so.5 libm.so.1 => /usr/lib/libm.so.1
1
8615
by: Richard Galli | last post by:
I want viewers to compare state laws on a single subject. Imagine a three-column table with a drop-down box on the top. A viewer selects a state from the list, and that state's text fills the column below. The viewer can select states from the drop down lists above the other two columns as well. If the viewer selects only one, only one column fills. If the viewer selects two states, two columns fill. Etc. I could, if appropriate, have...
4
18312
by: Albert Ahtenberg | last post by:
Hello, I have two questions. 1. When the user presses the back button and returns to a form he filled the form is reseted. How do I leave there the values he inserted? 2. When the user comes back to a page where he had a submitted POST data the browser keeps telling that the data has expired and asks if repost. How to avoid that? I tried registering all POST and GET vars as SESSION vars but
1
6877
by: inderjit S Gabrie | last post by:
Hi all Here is the scenerio ...is it possibly to do this... i am getting valid course dates output on to a web which i have designed ....all is okay so far , look at the following web url http://www.mis.gla.ac.uk/biquery/training/ but each of the courses held have maximum of 8 people that could be
2
31451
by: Jack | last post by:
Hi All, What is the PHP equivilent of Oracle bind variables in a SQL statement, e.g. select x from y where z=:parameter Which in asp/jsp would be followed by some statements to bind a value to :parameter I dont like the idea of making the SQL statement on the fly without binding parameters as I dont want a highly polluted SQL cache.
3
23607
by: Sandwick | last post by:
I am trying to change the size of a drawing so they are all 3x3. the script below is what i was trying to use to cut it in half ... I get errors. I can display the normal picture but not the results of the picture half the size. The PHP I have installed support 1.62 or higher. And all I would like to do is take and image and make it fit a 3x3. Any suggestions to where I should read or look would be appreciated.
0
9718
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9596
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
10613
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
10107
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
7649
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
6876
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5678
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4327
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
2
3846
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.