473,763 Members | 6,772 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 2920
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******** *************@b 28g2000cwb.goog legroups.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******** *************@b 28g2000cwb.goog legroups.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
2014
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 virtual directory on my pc the directory does not exist. If i create the folder from explorer then select hide/show files within vs.net I see the directory I just created. When I include that directory in my project by right clicking and selecting...
4
2304
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 something like this. I bring up the first site and navigate around. Everything is okay. The stylesheets are correct and so on and so forth. When I click on a link to go to the other site from the first site (I create a new instance of the browser),...
3
2776
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
1473
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 problems: 1. I am using the code below to create a directory:
3
1958
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 appears that the project files get created in the URL specified Location field on the New Project dialog box. This makes sense to me. What is confusing is that the solution file gets created in a folder with the same name as the location folder (the...
4
2953
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 DirectoryInfo = New DirectoryInfo(path) Listing.DataSource = di.GetFileSystemInfos() Listing.DataBind() ---- Anyone can help me about how to list the virtual directory.
2
5388
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 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.
2
1535
by: Jeff Dege | last post by:
We have two different websites, both written in ASP.NET 2.0/C#, running in different virtual directories on the same server. They both use forms authentication. Their FormsAuthenticationTicket cookies seem to overwrite each other. -- When cryptography is outlawed, bayl bhgynjf jvyy unir cevinpl.
7
1992
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 browsing the website from the local machine. While investigating the problem, we added a second copy of the website, created a second virtual directory in IIS, tried to access it, and it worked. The original website was still not responding. ...
4
3410
by: Siyodia | last post by:
How to deploy an asp.net website in IIS6.0 Creating Websites not virtual directories
0
9997
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
9937
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9822
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...
0
8821
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7366
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
6642
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
5405
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3917
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
3
3522
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.