 |
BOOK: Beginning ASP.NET 3.5 : in C# and VB BOOK ISBN: 978-0-470-18759-3
 | This is the forum to discuss the Wrox book Beginning ASP.NET 3.5: In C# and VB by Imar Spaanjaars; ISBN: 9780470187593 |
|
Welcome to the p2p.wrox.com Forums.
You are currently viewing the BOOK: Beginning ASP.NET 3.5 : in C# and VB BOOK ISBN: 978-0-470-18759-3 section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
|
|
|
|
|

December 2nd, 2009, 10:01 AM
|
|
Authorized User
|
|
Join Date: Oct 2009
Posts: 31
Thanks: 11
Thanked 0 Times in 0 Posts
|
|
Hosting ASP website
Hi Imar...
After completing working out this book, i have created a website which i have to host now...
The website has got databases, global.asax, videos, pictures and text files...
I have got domain name and all...
How should i proceed to host my site on net economically...
Plz give me a general idea...
Thanking you in advance...
|
|

December 2nd, 2009, 01:34 PM
|
|
Authorized User
|
|
Join Date: Oct 2008
Posts: 23
Thanks: 0
Thanked 1 Time in 1 Post
|
|
You need to find a window server with .NET framework 3.5 (if you following the book) to host your website with backend MS SQL server (assuming you are using MS SQL server). You can still host your website with .NET Framework 2.0, however some features might not working properly, forexample you can not use LINQ to connect to your database and AJAX won't work on 2.0 as well.
You can host it yourself, but my personal opinion, if you just have 1 site, find some else to host it for you, save yourself some headache to keep the server updated witl all the security measures:)
|
|
The Following User Says Thank You to melania For This Useful Post:
|
|
|

December 2nd, 2009, 01:39 PM
|
 |
Wrox Author
|
|
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
|
|
Hi varunbwj,
In addition to what melania said, you may also want to take a look here:
http://www.asp.net/(S(sf10gzjodvrpce...ial-01-cs.aspx
Cheers,
Imar
|
|
The Following User Says Thank You to Imar For This Useful Post:
|
|
|

December 2nd, 2009, 04:40 PM
|
|
Friend of Wrox
|
|
Join Date: Feb 2009
Posts: 194
Thanks: 5
Thanked 3 Times in 3 Posts
|
|
I use this company to host websites that require .NET technologies , they have good 24hour support and an uptime guarantee.
This isn't intended as advertising so message me privately if you want some more information regarding this.
|
|
The Following User Says Thank You to Will For This Useful Post:
|
|
|

December 3rd, 2009, 01:23 AM
|
|
Authorized User
|
|
Join Date: Oct 2009
Posts: 31
Thanks: 11
Thanked 0 Times in 0 Posts
|
|
ASP website Hosting
Thanks a lot Melania, Imar and Will....
I ll study all the info and links you have sent me....
Thanks a lot for helping me out...
Thanks again.... 
|
|

January 21st, 2010, 08:53 PM
|
|
Registered User
|
|
Join Date: Feb 2009
Posts: 8
Thanks: 1
Thanked 0 Times in 0 Posts
|
|
Hosting In a Virtual Directory
I have taken the final step for this book and uploaded my site to a virtual directory with my hosting company.
The problem is that my url displays the virtual directory folder name.
example:
www.mywebdesigncompany.com/foldername/default.aspx
When I place my site in the root hosting folder it displays fine.
example:
www.mywebdesigncompany.com/default.aspx
The hosting company believes that I have scripted my site to show the folder name.
My question, is it possible that I have somehow included code to do that or have I possibly used improper paths for the root?
Thanks,
tompatamcat
|
|

January 22nd, 2010, 04:13 AM
|
 |
Wrox Author
|
|
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
|
|
Hi there,
I am not sure I see what the problem is. When you upload files to a Virtual Directory, that Virtual Directory is in your path. If you upload files to the root, the end up in the root. So, what you're describing seems to make perfect sense to me.
What were you expecting instead?
Imar
|
|

January 22nd, 2010, 09:55 AM
|
|
Registered User
|
|
Join Date: Feb 2009
Posts: 8
Thanks: 1
Thanked 0 Times in 0 Posts
|
|
Hi Imar,
Thanks for your wonderful book!
I was expecting my previous experience where the domain I have mapped to the virtual directory folder does include the folder name.
I uploaded another site to the same virtual directory and the directory folder name was not in the url.
To test it further, I uploaded the book final source code.
The directory folder name was again visible in the url.
Right now I am changing all my "~/" paths to "/" and will test it that way.
I'll let you know if it makes any difference.
Thanks,
tompatamcat
|
|

January 22nd, 2010, 10:13 AM
|
 |
Wrox Author
|
|
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
|
|
Hi there,
Quote:
|
Right now I am changing all my "~/" paths to "/" and will test it that way.
|
You shouldn't have to do that. ~/ refers to the *application root*. So, if you access your site like this:
www.domainname.com
and have a folder called Images, then
~/Images/SomeImage.gif refers to www.domainname.com/Images/SomeImage.gif
If you setup IIS with a virtual directoy, called App1 for example, then:
~/Images/SomeImage.gif
ends up as www.domainname.com/App1/Images/SomeImage.gif
The ~ syntax is designed specifically to avoid these kind of issues when switching between a root-based and a VD based application.
To set up your site without a VD, point the root of the web site in IIS to your application's root folder (e.g. the one containing web.config). Don't create a new Virtual Directory in IIS, and don't point the IIS root to a folder above your web site's root.
Hope this helps,
Imar
|
|

January 23rd, 2010, 10:13 AM
|
|
Registered User
|
|
Join Date: Feb 2009
Posts: 8
Thanks: 1
Thanked 0 Times in 0 Posts
|
|
Hi Imar,
The following did not make any difference.
"Right now I am changing all my "~/" paths to "/" and will test it that way."
I'm going to stick with root based hosting.
Thanks for you time,
tompatamcat
|
Similar Threads
|
| Thread |
Thread Starter |
Forum |
Replies |
Last Post |
| asp.net hosting error |
compad |
ASP.NET 2.0 Professional |
0 |
September 16th, 2008 03:25 AM |
| free asp hosting |
aprnip |
Classic ASP Databases |
2 |
September 6th, 2004 01:23 AM |
|
 |