Can anyone clarify what the difference between these two choices is
when developing website? I have IIS installed too, so I can pick this
too if there is a reason.
From the point of view of sharing the code with other developers and
keeping source in VSS File System seems to be more flexible choice.
However, my current understanding is that when you keep it in the File
System and start it from Visual Studio it runs on Web Server built in
in VS, and if it is created on local IIS then it runs on local IIS
(please correct me if I am wrong). In production it will of course run
on IIS so if there are some differences in behavior between Web Server
built in VS and IIS they may not become obvious during development,
which is not a good thing.
Is there any difference in functionality of Web Server built in in VS
and IIS? I wouldn't be surprised if Web Server built in VS has reduced
functionality compared to IIS.
One approach that I found is to create a virtual directory in IIS that
point to the folder in the File System containing the website. Website
is then created on local IIS but physical location is wherever I
choose. This approach seems to be the best to me. 2 2414
Hi,
your assumptions are pretty much correct. One main difference is that while
developing in IIS, the application runs under ASPNET / NETWORK SERVICE
account, but with web dev server it runs under your account, so if you're
administrator, the app runs under admin privileges. That can bring
unexpected problems when deploying to production if your application does
something which requires higher than normal privileges.
--
Teemu Keiski
AspInsider, ASP.NET MVP http://blogs.aspadvice.com/joteke http://teemukeiski.net
<Jo******@inbox .ruwrote in message
news:15******** *************** ***********@e39 g2000hsf.google groups.com...
Can anyone clarify what the difference between these two choices is
when developing website? I have IIS installed too, so I can pick this
too if there is a reason.
From the point of view of sharing the code with other developers and
keeping source in VSS File System seems to be more flexible choice.
However, my current understanding is that when you keep it in the File
System and start it from Visual Studio it runs on Web Server built in
in VS, and if it is created on local IIS then it runs on local IIS
(please correct me if I am wrong). In production it will of course run
on IIS so if there are some differences in behavior between Web Server
built in VS and IIS they may not become obvious during development,
which is not a good thing.
Is there any difference in functionality of Web Server built in in VS
and IIS? I wouldn't be surprised if Web Server built in VS has reduced
functionality compared to IIS.
One approach that I found is to create a virtual directory in IIS that
point to the folder in the File System containing the website. Website
is then created on local IIS but physical location is wherever I
choose. This approach seems to be the best to me.
There are scenarios where you have to use IIS. An example is when your code
is referring to a virtual directory. I don't know how to declare a virtual
directory on the file system server.
An advantage of not using IIS is that you don't have to configure it which
can be sometimes painful. On other hand, sooner or later you will have to
face production issues anyway. You may still use the file system server for
quick prototyping.
--
Eliyahu Goldin,
Software Developer
Microsoft MVP [ASP.NET] http://msmvps.com/blogs/egoldin http://usableasp.net
<Jo******@inbox .ruwrote in message
news:15******** *************** ***********@e39 g2000hsf.google groups.com...
Can anyone clarify what the difference between these two choices is
when developing website? I have IIS installed too, so I can pick this
too if there is a reason.
From the point of view of sharing the code with other developers and
keeping source in VSS File System seems to be more flexible choice.
However, my current understanding is that when you keep it in the File
System and start it from Visual Studio it runs on Web Server built in
in VS, and if it is created on local IIS then it runs on local IIS
(please correct me if I am wrong). In production it will of course run
on IIS so if there are some differences in behavior between Web Server
built in VS and IIS they may not become obvious during development,
which is not a good thing.
Is there any difference in functionality of Web Server built in in VS
and IIS? I wouldn't be surprised if Web Server built in VS has reduced
functionality compared to IIS.
One approach that I found is to create a virtual directory in IIS that
point to the folder in the File System containing the website. Website
is then created on local IIS but physical location is wherever I
choose. This approach seems to be the best to me.
This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Chad Crowder |
last post by:
Getting the following error on my production server whether the file exists
or not:
"System.IO.IOException: Cannot create a file when that file already exists."
Here's the code generating the error (seems to be happening when I try
creating a directory)
If dirmgr.Exists("s:\blah\" & txt_name.Text) Then
lblerror.Text = lblerror.Text & "Unable to build physical path. " &
|
by: Pranab |
last post by:
On my local sandbox , in IIS I created some Websites .
Now when I try to create a ASP.NET web application , it tries to create it
in the
website last created and fails .
But my requirement is to create it in the Default We Site mapped to
C:\Inetpub\wwwroot
Can anybody guide me how to do that ?
|
by: Amjad |
last post by:
Hi,
I just wrote a test Windows Service that creates a text file on startup
(please see my code below). The file is never created.
Protected Overrides Sub OnStart(ByVal args() As String)
Dim swLog As StreamWriter = File.CreateText("C:\myLog.txt")
swLog.WriteLine("My Windows Service has just started.")
swLog.Close() : swLog.Flush()
End Sub
|
by: sangitaraj |
last post by:
Hello,
I have created a website in ASP.net 2.0 and published it on the
webserver. The following error message is displayed.
Compiler Error Message: CS0246: The type or namespace name 'Utilities'
could not be found (are you missing a using directive or an assembly
reference?)
where utilities.cs is a class file placed in APP_CODE folder in the
|
by: DBLWizard |
last post by:
Howdy All,
Is it possible to have Visual Studio 2005 create a project form an
existing hosted website? In other words I want to be able connect via
ftp to my website structure and have it pull down all the files and
create a local project from it?
I know things like DreamWeaver will do this ... and I have been poking
around VS 2005 and haven't seen anything that jumps out at me.
| |
by: Mich |
last post by:
Hi,
i'm building an web application for anonymous users. They can take a look in
the website, nothing more. In order to perform other actions, the anonymous
user must be logged. So i create an aspx page with the CreateUserWizard
control. The user can fill his username, password etc ....
My problem is: when an user fills everything and clicks on button "create an
account", nothing happens (no error, but no user account created).
I...
|
by: =?Utf-8?B?TGVvbg==?= |
last post by:
Hi Everybody.
I am running VS 2005 with Service Pack on Windows 2003 server.
All I was trying to do is to create a new website.
I am getting an error message:
Unable to create the Web 'http://MySite'. Could not find a Webserver at
'MySite'. Please check to make sure that the web server is valid and your
proxy settings are set correctly. If you are sure that everything is correct,
the Web server may be temporarily out of service.
Does...
|
by: Vlad |
last post by:
I am having problems using the file.create method within a function
that is called when looping through an array of filepaths.
If I call my function with a hardcoded file path --C:\Temp.txt the
function creates the file as expected.
When I loop through my array I get the error - "ArgumentException was
unhandled - Illegal characters in path"
The value "C:\Temp.txt" is the first value in the array - as it works
|
by: Elavarasi |
last post by:
( all in my websites) I am opening a database (stored in ftp -- ms access database) ..
after retrieving i want to write to a file in local machine... (something .. c:\test.txt)
its work fine while i am running in local host.. but in net .. its showing error...
i want to know if i want to create a file.. from website.. whether i have to provide any permission.. (security concern)
please answer
regards
ela
|
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
|
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
| |
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...
|
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,...
|
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...
|
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...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
|
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
| |
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
| |