Results 1 to 7 of 7

Thread: NEWBIE: ASP.NET Questions

  1. #1
    Join Date
    May 2003

    NEWBIE: ASP.NET Questions

    I'm going to be converting all of my applications from ASP to ASP.NET, but I have a few questions about this process. I'm also going to be using XML in the future, so some of these questions are related to both. Here they are:

    1) Should I use ASP.NET and XML together, or one over the other?
    2) What about all of the apps that I've created with ASP. Will simply changing the file extension from ".asp" to ".aspx" correct this issue, or sill some of my applications still not work?
    3) We are getting a new IIS 6.0 webserver with ASP.NET. Will ASP pages still work after this migration? If not, what will I need to do to get them to work?
    4) What language is best to use with ASP.NET, VB.NET or JScript?
    NOTE: I know JScript but not VB.NET. But I want to go with the language that will have the most resources available to me.

    I'm really nervous about this process, as I've never received training in ASP.NET. Everything that I've learned so far has been from w3schools tutorial and online forums, so I don't feel like I have a solid grasp on what does need to be changed with this migration, and what I can wait to do at a later time. Any & all help will be appreciated. Thanks.
    Last edited by kwilliams; 10-01-2004 at 10:14 AM.
    It's the end of the world as we know it...and I feel fine

  2. #2
    Join Date
    Nov 2002
    Auburn, AL
    xml and asp.net are different things. Xml its self is not really a server side language, there are no scripts. Infact xml is a markup language... extensible markup language. I use xml with asp.net, but I use xml mainly for configuration. Xml can also be used for data storage, rss, soap, etc etc etc.

    Canging a .asp extention to a .aspx extention will fail. Asp and asp.net run differently, they are fundamentally different. For instance all of the languages used to do asp.net are oo, none of the languages used to code asp are oo. Asp.net can not be done in vbscript, its done in vb.net. But asp and asp.net can run side by side so you do not neccessarily need to change all of the files at one time.

    They should still work just fine.

    jscript cannot even be used to do asp.net. Jscript.net is available, but the support (you will not find many articles) for that is very lousy because it is not a commonly used language. I would say c# is your best bet because it is very popular and has a similar syntax.

    w3schools cannot help you anymore, atleast not for asp.net. W3schools does not talk a lot about code there, their asp.net section is lousy. I love their asp section and their html and css stuff, but their asp.net is basically nothing. A good site to go to is www.4guysfromrolla.com , they have tons of good stuff. Their articles are very very well written.

  3. #3
    Join Date
    May 2003
    Hello PeOfEo,

    Thanks for all of the great information. I got all of those ideas about ASP.NET from w3schools, so that makes sense that I'd be wrong on a few of them.

    I'm somewhat nervous about switching to a completely new syntax by using C# instead of JScript, but I understand what you're saying about support. So I think that it will eventually be the best thing for me and my users.

    But I have a few more questions that I wanted to ask concerning your statement:
    But asp and asp.net can run side by side so you do not neccessarily need to change all of the files at one time.
    ...so what you're saying is that we can move our site onto the new IIS 6.0 server with ASP.NET, but the ASP code will all still work properly. I can then go into each of the applications at my leisure, and change them from ASP to ASP.NET without any problems. Am I understanding that right? Do I need to change the file extensions for all of those pages to ".aspx", or should I keep them as ".asp" until they're changed to ASP.NET?

    Thanks for your help...it's greatly appreciated!
    It's the end of the world as we know it...and I feel fine

  4. #4
    Join Date
    Nov 2002
    Auburn, AL
    Keep them as asp while you are using asp, when a page is redone with asp.net change the extention to .aspx. The extention difference tells the server what to do, asp and asp.net run very differently. You do not even need to switch whole applications over to asp.net at one time, you should be able to keep some pages in an application asp and some asp.net and still be able to pass some variables inbetween them with hidden inputs and query strings. I do not believe (but have not tried) to move cookies or session values between the two though.

  5. #5
    Join Date
    Sep 2004
    Northeast, FL

    I thought you should take a look at the tutorials section of www.asp.net. They cover basic syntax for vb.net as well as the basics of ASP.net in multiple langauges vb, c#, and jscript. I still go back to it from time to time to refresh my memory. 4guysfromrolla is an great site, especially once you know the basics.

  6. #6
    Join Date
    Jan 2003
    Dundee, Scotland
    here is a good artical for showing you what old asp code would need changing to migrate your page to asp.net


  7. #7
    Join Date
    May 2003
    Thanks for the referenced article. It looks like it will help me to get a good start on the eventual conversion from ASP to ASP.NET. I appreciate all of your suggestions & help
    It's the end of the world as we know it...and I feel fine

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
HTML5 Development Center



X vBulletin 4.2.2 Debug Information

  • Page Generation 0.11311 seconds
  • Memory Usage 2,903KB
  • Queries Executed 13 (?)
More Information
Template Usage (33):
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_global_above_footer
  • (1)ad_global_below_navbar
  • (1)ad_global_header1
  • (1)ad_global_header2
  • (1)ad_navbar_below
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (1)ad_thread_first_post_content
  • (1)ad_thread_last_post_content
  • (1)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)headinclude_bottom
  • (7)memberaction_dropdown
  • (1)navbar
  • (4)navbar_link
  • (1)navbar_moderation
  • (1)navbar_noticebit
  • (1)navbar_tabs
  • (2)option
  • (7)postbit
  • (7)postbit_onlinestatus
  • (7)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available (6):
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files (26):
  • ./showthread.php
  • ./global.php
  • ./includes/class_bootstrap.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/functions_navigation.php
  • ./includes/class_friendly_url.php
  • ./includes/class_hook.php
  • ./includes/class_bootstrap_framework.php
  • ./vb/vb.php
  • ./vb/phrase.php
  • ./includes/functions_facebook.php
  • ./includes/functions_calendar.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_notice.php
  • ./packages/vbattach/attach.php
  • ./vb/types.php
  • ./vb/cache.php
  • ./vb/cache/db.php
  • ./vb/cache/observer/db.php
  • ./vb/cache/observer.php 

Hooks Called (70):
  • init_startup
  • friendlyurl_resolve_class
  • init_startup_session_setup_start
  • database_pre_fetch_array
  • database_post_fetch_array
  • init_startup_session_setup_complete
  • global_bootstrap_init_start
  • global_bootstrap_init_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • load_show_variables
  • load_forum_show_variables
  • global_state_check
  • global_bootstrap_complete
  • global_start
  • style_fetch
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • strip_bbcode
  • friendlyurl_clean_fragment
  • friendlyurl_geturl
  • forumjump
  • cache_templates
  • cache_templates_process
  • template_register_var
  • template_render_output
  • fetch_template_start
  • fetch_template_complete
  • parse_templates
  • fetch_musername
  • notices_check_start
  • notices_noticebit
  • process_templates_complete
  • friendlyurl_redirect_canonical
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • bbcode_parse_start
  • postbit_imicons
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • memberaction_dropdown
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • build_navigation_data
  • build_navigation_array
  • check_navigation_permission
  • process_navigation_links_start
  • process_navigation_links_complete
  • set_navigation_menu_element
  • build_navigation_menudata
  • build_navigation_listdata
  • build_navigation_list
  • set_navigation_tab_main
  • set_navigation_tab_fallback
  • navigation_tab_complete
  • fb_like_button
  • showthread_complete
  • page_templates