473,403 Members | 2,338 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,403 software developers and data experts.

Creating and Getting list of websites/Virtual Directories

Hello Guys,
after long long time. i'm back again with some questions.

right now i'm developing a code that fetch the list of websites from
IIS 5.0 or later and also cretes the Virtual Directory for a website in
IIS 5.0 or later.

interesting thing is i don't know how to do it. i tried to find out
namespace or library in VS.NET 2.0, if there is any, but i failed to
found one.
and finally i compelled to ask you gurus for help.

the functions i need to develop are :

-- Get list of the websites/Virtual directories in IIS 5.0 or later.
-- Create virtual Directory in IIS 5.0 or later
Tools information:

C#.NET/VB.NET 2.0 (VS.NET 2.0)
IIS 5.0 OR LATER

Please let me know if you need anymore information.

Please guys, i'm in need of some information regarding the issues as i
searched on the google but nothing satsfactory i found.

thanks,
Lucky

Aug 15 '06 #1
2 5366
when I googled "c# iis virtual directories" these are the first 2 results:
http://blogs.officezealot.com/charle...0/26/3191.aspx
http://dotnetjunkies.com/WebLog/razo.../15/37118.aspx

Mike
http://www.seeknsnatch.com

"Lucky" <tu************@gmail.comwrote in message
news:11**********************@p79g2000cwp.googlegr oups.com...
Hello Guys,
after long long time. i'm back again with some questions.

right now i'm developing a code that fetch the list of websites from
IIS 5.0 or later and also cretes the Virtual Directory for a website in
IIS 5.0 or later.

interesting thing is i don't know how to do it. i tried to find out
namespace or library in VS.NET 2.0, if there is any, but i failed to
found one.
and finally i compelled to ask you gurus for help.

the functions i need to develop are :

-- Get list of the websites/Virtual directories in IIS 5.0 or later.
-- Create virtual Directory in IIS 5.0 or later
Tools information:

C#.NET/VB.NET 2.0 (VS.NET 2.0)
IIS 5.0 OR LATER

Please let me know if you need anymore information.

Please guys, i'm in need of some information regarding the issues as i
searched on the google but nothing satsfactory i found.

thanks,
Lucky

Aug 15 '06 #2
Hey Michael,
that was great help dude. i did some search but i didn't know how to
put those things togather but with your help i solved my problem.

thanks,
Lucky

Michael wrote:
when I googled "c# iis virtual directories" these are the first 2 results:
http://blogs.officezealot.com/charle...0/26/3191.aspx
http://dotnetjunkies.com/WebLog/razo.../15/37118.aspx

Mike
http://www.seeknsnatch.com

"Lucky" <tu************@gmail.comwrote in message
news:11**********************@p79g2000cwp.googlegr oups.com...
Hello Guys,
after long long time. i'm back again with some questions.

right now i'm developing a code that fetch the list of websites from
IIS 5.0 or later and also cretes the Virtual Directory for a website in
IIS 5.0 or later.

interesting thing is i don't know how to do it. i tried to find out
namespace or library in VS.NET 2.0, if there is any, but i failed to
found one.
and finally i compelled to ask you gurus for help.

the functions i need to develop are :

-- Get list of the websites/Virtual directories in IIS 5.0 or later.
-- Create virtual Directory in IIS 5.0 or later
Tools information:

C#.NET/VB.NET 2.0 (VS.NET 2.0)
IIS 5.0 OR LATER

Please let me know if you need anymore information.

Please guys, i'm in need of some information regarding the issues as i
searched on the google but nothing satsfactory i found.

thanks,
Lucky
Aug 17 '06 #3

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

Similar topics

3
by: dave | last post by:
I am using vs.net 2003 on windows xp. After clicking on a project within my solution and selecting create new folder vs.net responds back with , the "directory already exists". If i look at the...
4
by: Rahul Chatterjee | last post by:
Hello All I have 2 websites both using different style sheets (.css). The stylesheets are stored in a session variable and get set at the time the site gets invoked. What is happening is...
3
by: Abhi | last post by:
Hi- I'm looking for C# code sample that will extract the list of websites from the IIS manager. anyone? Thanks!
3
by: Stelrad Doulton | last post by:
Hi, I am having a strange problem on IIS 6.0. I am trying to create directories under a virtual directory on the fly to which I will upload files and retrieve these files later. I am having 2...
3
by: epigram | last post by:
I've been creating some toy ASP.NET apps in an effort to understand the technology. I've something odd with regards to project/solution creation. If you create a new asp.net application, it...
4
by: david | last post by:
I basically use the following code to display the directory and file names in the WWWROOT, but can not show the virtual directory. ---- Dim path As String = Server.MapPath(x) Dim di As...
2
by: lucky | last post by:
Hello Guys, after long long time. i'm back again with some questions. right now i'm developing a code that fetch the list of websites from IIS 5.0 or later and also cretes the Virtual Directory...
7
by: mills.toby | last post by:
We have a Windows 2003 Server, serving an asp.net (2.0) website. Recently the website stopped responding. When trying to access the website, no response is received at all. This includes when...
4
by: Siyodia | last post by:
How to deploy an asp.net website in IIS6.0 Creating Websites not virtual directories
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
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,...
0
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,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...

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.