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

Notification

Icon
Error

UltiDev Cassini and Visual WebGui
opendave
#1 Posted : Tuesday, December 29, 2009 3:49:11 PM(UTC)
Groups: Member
Joined: 12/29/2009(UTC)
Posts: 4

Hi All,

I have just started experimenting with VWG and it works fine inside the development web server of VS2008. I was having trouble getting any deployed apps to run (trying to add as an application to an existing site), and figured a standalone Cassini would be the answer to all my troubles. And sure enough, google brought me here.

Now my issue is with running a VWG app in the UltiDev Cassini -- is anyone doing this? I do not see a place to register the wgx extension...

If someone could point me in the right direction, it would be much appreciated.

Thanks,
Dave
Ultidev Team
#2 Posted : Friday, January 1, 2010 1:13:34 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, Dave.

We are not familiar with VWG, so if you tell us what registration of WGX extensions entails, we may be able to help.

Best regards,
UltiDev Team.
Please donate at http://www.ultidev.com/products/Donate.aspx to help us improve our products.
opendave
#3 Posted : Saturday, January 2, 2010 5:11:58 AM(UTC)
Groups: Member
Joined: 12/29/2009(UTC)
Posts: 4

If UD Cassini could handle WGX natively, that would be awesome! Right now, I did get my project working, but to do so I had to resort to an index.aspx file that redirects to my MainForm.wgx page.

WGX is handled identically to ASPX in IIS. In fact, to setup the mapping you actually copy the path/executable from ASPX and paste it into an entry for WGX. If you make UD Cassini treat wgx as though it were aspx, I think that is all it would take. The only CATCH is that there is no actual WGX file. It is a virtual file, created dynamically when you pull up the page. So UD Cassini will need to allow the default file specified to not exist.

It should be a minor change, but it would simplify deployement for the VWG developers. Let me know if you have any questions...

Thanks!
opendave
#4 Posted : Saturday, January 2, 2010 5:15:48 AM(UTC)
Groups: Member
Joined: 12/29/2009(UTC)
Posts: 4

This is a link to deployment on IIS 6, and at the very bottom are details on setting the 'extension mapping' & 'verify file exists' options:
http://www.visualwebgui....rlight-application.aspx
Ultidev Team
#5 Posted : Saturday, January 2, 2010 1:59:50 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)
Dave,

We'd suggest just running your app with UltiDev Cassini and see what happens. Our web server is pretty close to WebDev (VS internal server), so there is a chance it may just work. You probably won't need to register .wgx extension to route requests to ASP.NET isapi.dll, because UltiDev Cassini routes all requests to ASP.NET by default, which is one of the biggest differences between Cassini and IIS.

Please let us know what you have found.

Best regards,
UltiDev Team.
Please donate at http://www.ultidev.com/products/Donate.aspx to help us improve our products.
opendave
#6 Posted : Saturday, January 2, 2010 4:47:05 PM(UTC)
Groups: Member
Joined: 12/29/2009(UTC)
Posts: 4

Ultidev Team wrote:
We'd suggest just running your app with UltiDev Cassini and see what happens.


If I manually update CassiniMetabase.xml, and change the default document to MainForm.wgx (my apps starting page), then it does indeed work.

That means, if you change Cassini Web Server Explorer to allow default documents that do not exist on the file system, then it will work. Instead of prohibiting saving if the default document does not exist, maybe just warn the user?

Thanks,
David
Ultidev Team
#7 Posted : Sunday, January 3, 2010 1:16:41 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)
David,

Thank you for your feedback. This issue has been logged and will be addressed in a future release of the product.

Meanwhile, if you need to bundle and distribute your application with UltiDev Cassini, Cassini Configuration and Application Registration API will register your application without checking whether default document file exists.

Best regards,
UltiDev Team.
Please donate at http://www.ultidev.com/products/Donate.aspx to help us improve our products.
Rss Feed  Atom Feed
Users browsing this topic
Guest (9)
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.