VB.NET and web applications

Discussion in 'Programming' started by zac439, Jul 28, 2007.

  1. #1
    Do I need a windows server for VB.net to work with web applications?

    I will be starting a project soon that will need a program of mine to connect to a database on my server. I am for some reason under the impression that a linux server wouldn't be compatible.

    And I would have to use .asp to work with vb.net and webpages, correct?
     
    zac439, Jul 28, 2007 IP
  2. sunpost

    sunpost Peon

    Messages:
    23
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #2
    sunpost, Jul 28, 2007 IP
  3. zac439

    zac439 Notable Member

    Messages:
    3,074
    Likes Received:
    214
    Best Answers:
    0
    Trophy Points:
    260
    #3
    Can I use this on a shared server? I won't have access to the server settings of course.
     
    zac439, Jul 28, 2007 IP
  4. AstarothSolutions

    AstarothSolutions Peon

    Messages:
    2,680
    Likes Received:
    77
    Best Answers:
    0
    Trophy Points:
    0
    #4
    No, mono has to be installed on the server for it to run. Does your database server accept remote connections? If it does then you can run the .Net on a seperate machine (windows or *nix + mono) and call across to the db.

    Be careful with mono as it is a reverse engineering job and so not 100% compatible with .Net - fine if you are used to developing for it or have time to test modules as you build but more of a pain if you are trying to deploy an off the shelf solution.
     
    AstarothSolutions, Jul 30, 2007 IP
    zac439 likes this.
  5. zac439

    zac439 Notable Member

    Messages:
    3,074
    Likes Received:
    214
    Best Answers:
    0
    Trophy Points:
    260
    #5
    Ah, thanks for the advice, I repped you.

    I'm just going to go with a windows server. Hopefully I won't have to learn a lot from its differences with linux servers.
     
    zac439, Jul 30, 2007 IP
  6. AstarothSolutions

    AstarothSolutions Peon

    Messages:
    2,680
    Likes Received:
    77
    Best Answers:
    0
    Trophy Points:
    0
    #6
    The 2 disadvantages of .Net/ IIS over *nix/ Apache is that they do not have support for .htaccess and cron jobs.

    Both of these can be partially achieved using .Net and no configuration changes to IIS but to gain the full functionality you need to make changes to the server itself which most shared webhosting wont allow.

    Of cause there are a lot of advantages of .Net over *nix based solutions too but I dont want to start the usual arguements of which is ultimately the better solution. Our developers can use PHP, CFM, JSP, classic ASP & .Net but we exclusively program in .Net for a reason ;) (the next version of PHP however is looking promising so we may revisit that decision)
     
    AstarothSolutions, Jul 31, 2007 IP
  7. zac439

    zac439 Notable Member

    Messages:
    3,074
    Likes Received:
    214
    Best Answers:
    0
    Trophy Points:
    260
    #7
    Wow, that is fairly disabling to a webmaster...no .htaccess?

    Maybe I won't make the switch after all. I'll just stick to smaller projects until I have the resources to get my own linux server to run the compatibility program with!

    thanks!
     
    zac439, Jul 31, 2007 IP
  8. AstarothSolutions

    AstarothSolutions Peon

    Messages:
    2,680
    Likes Received:
    77
    Best Answers:
    0
    Trophy Points:
    0
    #8
    As I said, there are other ways to achieve the results so having no .htaccess doesnt disable a webmaster they simply need to learn how to use the web.config file instead
     
    AstarothSolutions, Aug 1, 2007 IP