简体   繁体   中英

Is there a way to run an ASP.NET 1.1 web application completely self-contained (without IIS or SQL Server)?

I have an ASP.NET application that we are currently hosting for an external client which is built with .net 1.1 running on IIS and SQL Server 2000. However, I don't want to host this application any longer and want to give it to the client so they can run it on their local machine. Is there a way that they can run this application on their local machine without the need for IIS? I've looked at this solution http://www.codeproject.com/KB/aspnet/LightIIS.aspx but I'm not sure it works with .net 1.1. What's the best way to accomplish a locally hosted .net 1.1 web application?

Here's an old skool article that talks about hosting the ASP.NET runtime. You might be able to make this work. http://msdn.microsoft.com/en-us/magazine/cc188791.aspx

Check out Cassini . On the website they say it can host .net 1.1 applications. You can probably use ms sql express for the database.

Why not install IIS on the client's local machine?
If its OS is some kind of Windows Server, it has IIS installed anyway.
Even if it's a normal client machine - Win XP Professional comes with IIS out of the box.

Concerning SQL Server:
If your app doesn't use any special SQL Server features, you can try to use MSDE (the Express version of SQL Server 2000) instead (download here ).
If you do use features of the full SQL Server 2000, your client will need the full version on his local machine as well.


EDIT:

Now I'm reading your question again, and I'm thinking that I may have misunderstood the part about the client's "local machine":

Do you mean:

  1. your client has one local machine ("local" as in "in his local network") that will serve the app in the future?
  2. your client has no server, but one or more guys sitting in front of client machines...and each of these guys should be able to just copy your app on his local machine and run it from there?

When I wrote my answer above, I thought of the first case. If it's only one machine, then it should be no problem to install IIS and MSDE/SQL Server on it.

Or did you really mean the second case, running a complete copy of the app on each client?

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM