IIS and .NET in a very small image

  • Thread starter Andrea De Nardis
  • Start date
A

Andrea De Nardis

Hi all,
I need to deploy a very tiny image (< 110MB) with IIS and .NET Framework
inside.
I do not need any graphics capability and all the configs would be done via
network.
Is it possible to include only core services and let the image stay in
110MB?
Including the IIS macro component and no effort on size reduction I made a
150MB but had Outlook Express included!!! I won't use it so I wish to remove
it!!! Maybe it is sufficient to put some DLL that are part of the Outlook
express component.
Can anyone help me?
Thanx a lot.
Andrea
 
K

Kesavan

Andrea ,

You need to include the Outlook express for IIS to get itself up.Now
just including dlls's Im not sure.However you may track inorder to see
what files are being reffered for the same.Its worth going for
it.Otherwise there shouldnt be nay problem in including the core
services.
Check the size of the dependency components.The dependency components
would be the ones that eat up more space .btw how much size does the
IIS and the .Net framework bring up to ?

Regards,
Kesavan
 
A

Andrea De Nardis

Kesava,
the size is 139MB compressed, that's not too far to my target. Basically
I need a 90/100MB image.
The core services require Outlook Express, too, and this let me think only a
few modules are shared between the two.
regards,
Andrea
 
S

Sean Gahan

Andrea,
Keep in mind the IIS that ships with XPe is the light version and will only
allow for a few sessions (I think it's 10) and then stops working. A
possible solution is the Cassini web server found at the asp.net site:
http://www.asp.net/Default.aspx?tabindex=7&tabid=41 . Additionally, I do
not think there is a dependency on Outlook Express.

Regards,

Sean Gahan
 
K

KM

Sean,
Keep in mind the IIS that ships with XPe is the light version and will only
allow for a few sessions (I think it's 10) and then stops working.

Is it the XPe IIS limitation or general XP/XPe concurrent network connection limit?
A possible solution is the Cassini web server found at the asp.net site:
http://www.asp.net/Default.aspx?tabindex=7&tabid=41 . Additionally, I do
not think there is a dependency on Outlook Express.

Regards,
KM
 
S

Sean Gahan

KM,
There is a limit on the number of simultaneous connections:
"IIS 5.1 for Windows XP Professional is designed for users developing a Web
service for home or for office use. It can service only 10 simultaneous
client connections, only one Web site, and it does not have all the features
of the server versions. IIS replaces the Personal Web Service (PWS), which
was found in earlier client versions of Windows."
http://www.microsoft.com/windowsxp/pro/evaluation/overviews/iis.asp

Regards,

Sean Gahan
 
K

KM

Sean,

I see.. Thanks for the link!

I was just wondering what is behind the IIS limitation in 10 connection.
 
A

Andrea De Nardis

Hi all,
please consider that in XPE world 10 connection can be sufficient. Most
of the programs I know in my application field written for XPE does not
allow no more than 1 connection at a time!!!
Does Cassini require ASP.NET and .NET framework component?
..NET framework is even worse in dependencies. I in fact need both the two
component since I am developing a web service. If you do not need .NET, you
can use apache web server by Heidi Linda, it's wonderful!! But .net web
services require IIS and .NET (is it STRICTLY true?).
Regards,
Andrea
 
S

Sean Gahan

Andrea,
IIS actually uses sessions, so for example, if you accessed the web server
multiple times in a short span of time you could exceed the maximum number
of available "connections." If you have developed an ASP.NET app on a
machine that is running XP Pro, then you know what I am talking about. You
will have to continually restart the IIS Admin service when you session
limit is reached. The Cassini web server does not have a connection limit,
and I am aware of only one limitation; you can run one web application per
port. I know that it requires the .NET Framework and you will need the
gacutil.exe to register the dlls. Additionally, I believe the Cassini web
server will run web services, although this is a guess and has not been
tested yet.

Regards,

Sean Gahan
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Top