Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

Start/Stop Individual Site, Virtual Directories and more
daughtkom
#1 Posted : Wednesday, November 29, 2006 11:39:50 AM(UTC)
Groups: Member
Joined: 11/29/2006(UTC)
Posts: 4

A few suggestions:
1 - The ability to start and stop a site. As in IIS, I may need to keep a site's configuration stored, but have the site be disabled for one reason or another (releasing resources, disabling access, etc.)
2 - Virtual directory support would be wonderful. For example, if I have a script library that I share between sites, but do not want to have multiple copies for each site.
3 - Ability to export/import site settings between machines. It's not hard to add new sites in Web Server Explorer, but would be even easier if each site's settings could be exported to an XML file, so that I could potentially include it in the solution or source control for team members to import.

The product looks pretty good overall, and I think it will work ou well for my development team. Thanks for your efforts.
Ultidev Team
#2 Posted : Wednesday, November 29, 2006 12:17:15 PM(UTC)
Ultidev Team

Groups: Administration
Joined: 11/3/2005(UTC)
Posts: 2,253

Thanks: 28 times
Was thanked: 60 time(s) in 59 post(s)
Hi there.

Thank you for the feedback. We are trying to give something useful to the community.

Items 1 and 2 are on our internal wish list too. Starting and stopping a site is possible even without http.sys - that would atke unloading appdomain hosting the app. Virtual folders are something we have doubts about - properly written ASP.NET app should not rely on being in any particular folder.

All that said, we are mindful of the fact that adding more features to Cassini has a flip side - it increases complexity. We want to follow 80-20 rule and keep the product very simple.

Items 3. Your solution's custom build steps can use Cassini in command line mode ro register/unregister an application. This way all your developers would have an app ready to go after the build. Better yet, don't register the app with Cassini when developing - just run it under Cassini in command line mode. The only difference when running an app like that is security context: when running as a service Cassini is under Local System account, but when running in comman mode - Cassini and you app under current interactive user account.

We hope this help.

Best regards,
UltiDev Team.
Please donate at http://www.ultidev.com/products/Donate.aspx to help us improve our products.
daughtkom
#3 Posted : Wednesday, November 29, 2006 12:52:15 PM(UTC)
Groups: Member
Joined: 11/29/2006(UTC)
Posts: 4

Thanks. For clarification on virtual directories, I wasn't talking about running my app in a virtual directory. Rather I'd like to add other virtual directories to my app. For example, when running on a Windows 2003 server with IIS 6, there is usually a virtual directory for aspnet_client on each site. Or many sites may share a common javascript library or CSS library. It would be poor app design on my part to require a copy of these libraries to be placed in each site if they are all supposed to be the same and kept in sync.

That aside, I disagree and believe that even a "properly written" application can have expectations on its path relative to the webroot. It may not be ideal for some situations, such as drop-anywhere-and-run portability, but it is often the most logical choice for other applications, such as very apps with ASPX and ASCX files at multiple directory "levels", especially when these apps have one single "home" and will never be moved to another location. Think of www.microsoft.com as an example -- it's not moving to www.microsoft.com/somedirectory, so it would be silly to require extra effort from the developers and designers to make it directory agnostic. Maybe not the best example, but it illustrates my point.

For item 3, I'll have to look into that. Without being extremely familiar with this product, I would think that I would look into registering the app in command line mode over running it in command line mode at debug time. The security context may be an issue, but what I am more concerned with for our dev team is the accessibility of the application. In other words, do I have to be debugging to run the application? I would think that with the "better yet" portion of your answer I would have to be actively debugging in order to keep the app running. Correct? If not, then that definitely sounds easiest.

Thanks
Ultidev Team
#5 Posted : Thursday, November 30, 2006 1:48:56 AM(UTC)
Ultidev Team

Groups: Administration
Joined: 11/3/2005(UTC)
Posts: 2,253

Thanks: 28 times
Was thanked: 60 time(s) in 59 post(s)
Thank you for the feedback.

On virtual folder matter, nested applications doesn't seem to be a common use case for a redistributable web server. Cassini's main advantage over IIS is being redistributable. If Cassini is not used as a part of a setup package IIS may be a better choice. For redistributable non-enterprise (non-IIS) ASP.NET applications supporting nested virtual folders/applications is not a critical requirement.

You are right, expectation of being in a certain subfolder can be totally legitimate. However, in 99% of cases we deal with users who simply never bothered to use "~/" based path instead of "/MyVirtualFolder/" based path. Sorry, we have made an incorrect assumption about the reason you asked for virtual folder support. Again, it comes down to the distictive feature of our Cassini, which is an ease of redistribution, and redistributable applications almost never include a hierarchy of nested apps. Because of that implementing virtual folders is not really on Cassini roadmap for now.

For item 3, we are not clear what is the objective. From the original request it looked like the issue is an ease of building the solution and having the app ready for being run by developers for (we assumed) debugging purposes. Debugging of registered Cassini application can be done by attaching to the Cassini service process. If the app can be debugged under interactive user account it's more convenient to debug an application under Cassini if Cassini started as a regular EXE, because it does not require registering of the app with Cassini. Please let us know if this tip helped, or help us understand your case so we could suggest most optimal way of achieving your goal.

Best regards,
UltiDev Team.
Please donate at http://www.ultidev.com/products/Donate.aspx to help us improve our products.
df
#4 Posted : Sunday, December 17, 2006 1:41:01 PM(UTC)
Groups: Member
Joined: 12/17/2006(UTC)
Posts: 15

daughtkom wrote:
Thanks. For clarification on virtual directories, I wasn't talking about running my app in a virtual directory. Rather I'd like to add other virtual directories to my app. For example, when running on a Windows 2003 server with IIS 6, there is usually a virtual directory for aspnet_client on each site. Or many sites may share a common javascript library or CSS library. It would be poor app design on my part to require a copy of these libraries to be placed in each site if they are all supposed to be the same and kept in sync.

That aside, I disagree and believe that even a "properly written" application can have expectations on its path relative to the webroot. It may not be ideal for some situations, such as drop-anywhere-and-run portability, but it is often the most logical choice for other applications, such as very apps with ASPX and ASCX files at multiple directory "levels", especially when these apps have one single "home" and will never be moved to another location. Think of www.microsoft.com as an example -- it's not moving to www.microsoft.com/somedirectory, so it would be silly to require extra effort from the developers and designers to make it directory agnostic. Maybe not the best example, but it illustrates my point.

Thanks


I have to say that Virtual Directory is a reseaonable requirement.I event consider that an Application should stand as a Virtual Directory,instead of individual Port/Root.
Ultidev Team
#6 Posted : Sunday, December 17, 2006 6:53:05 PM(UTC)
Ultidev Team

Groups: Administration
Joined: 11/3/2005(UTC)
Posts: 2,253

Thanks: 28 times
Was thanked: 60 time(s) in 59 post(s)
If you had to prioritize following hypothetical features of the future Cassini releases, what would it be? Here's the wishlist:
- SSL;
- Logging;
- Compression;
- Applications/Virtual Folders;
- CGI support;
- ISAPI support;
- NTLM Authentication;

In your replies please list features starting from the most important ending with the least important.

Thank you for the feedback!
UltiDev Team.
Please donate at http://www.ultidev.com/products/Donate.aspx to help us improve our products.
df
#7 Posted : Monday, December 18, 2006 3:31:22 AM(UTC)
Groups: Member
Joined: 12/17/2006(UTC)
Posts: 15

Represent only my own opinion.

- Applications/Virtual Folders;
- Logging;
- NTLM Authentication;
- ISAPI support;

/*
- SSL;
- Compression;
- CGI support;
*/

Last 3 features I have commented out are not necessary according your 80/20-rule,in my own opinion. We would rather regard Cassini as a portable Web Server,for real world,in cheap environment---sometime is not meaning power hardware&OS,only by the consideration of maintaining cost. For example,some of our customers can hardly carry some of full-duty IT technology supporting,just for one server,by some little but,well necessary feature. Windows XP is the most environment they are familiar with,this will need Cassini or something like that very much.

As for developing or debug environment in another hand,for we professinal person,Windows 2003/IIS is not so hard to get.I think we can live without other Web Servers excepting IIS,here is not the real place of Cassini.
Rss Feed  Atom Feed
Users browsing this topic
Guest (4)
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You can vote in polls in this forum.