CSLA 3.5 and Vista Ultimate+VS2008?

CSLA 3.5 and Vista Ultimate+VS2008?

Old forum URL: forums.lhotka.net/forums/t/4917.aspx


LucaF posted on Thursday, May 29, 2008

Exploring the possibility of using CSLA.NET as an Application Framework for our Intranet.

I downloaded version 3.5 and the ProjectTracker sample. Whereas I'm able to compile the framework just fine, I cannot however get ProjectTracker to run. I am only interested in PTWeb with WCF services.

I followed the instructions on how to build ProjectTracker but they're way too outdated.

I am using Vista Ultimate and Visual Studio 2008. Has anyone out there been able to successfully run the PTWeb app with WFC under Vista? Can you help?

Thanks in advance.

RockfordLhotka replied on Thursday, May 29, 2008

I do most of my work in Vista Ultimate these days (for better or worse).

The instructions are a bit dated, but the requirements remain consistent. Vista doesn't change any of the rules or steps - just the tooling you use to do some steps (most notably steps 3 and 4):

  1. You must have IIS installed.
  2. You must have ASP.NET configured to work with IIS.
  3. You must create a virtual root for PTWeb.
  4. You must ensure that the virtual root allows anonymous users.
  5. You must set up VS to start the web site in the IIS host.
  6. You can run the WCF data portal in the dev server.
  7. But you should check the WCF dev server port, because you may need to change the URL for the data portal in PTWeb's web.config.

 

LucaF replied on Friday, May 30, 2008

Rocky, thanks for your quick reply. It was the WCF port mismatch in PTWeb's web.config.

 

tmg4340 replied on Friday, May 30, 2008

RockfordLhotka:

I do most of my work in Vista Ultimate these days (for better or worse).

OK... this sorta, kinda, in a roundabout sort of way applies to this posting...

I've been contemplating moving to Vista at home for a little while now.  I haven't done it, for a variety of reasons - one of them being that I have heard several conflicting accounts of getting VS2005 and VS2008 to work within Vista.  Several issues have been raised, some UAC-related, some not.  For folks who don't have an issue, they either aren't willing to share what they did to get a stable environment, or I get a "I didn't do anything special" response.  Other folks who "didn't do anything special" never get things to work right, and end up hating Vista more than their mother-in-law...  Smile [:)]

A search for resources online relating to this doesn't turn up much.  Given all the "wildness" of what I've found, I'm hesitant to make the jump.  So, Rocky, since you work in Vista - what did you have to do to get it to work?  Would you recommend it to anyone?

- Scott

LucaF replied on Friday, May 30, 2008

Excellent post Scott! I am just as curious as you are since the only way I've been able to get things running and debugging is to log on as "Administrator" which I guess is a big "no-no" in Vista.

Waiting for the light to shine on this issue.

RockfordLhotka replied on Friday, May 30, 2008

http://www.lhotka.net/weblog/MyVistaExperienceThusFar.aspx

tmg4340 replied on Friday, May 30, 2008

RockfordLhotka:
http://www.lhotka.net/weblog/MyVistaExperienceThusFar.aspx

*sigh*... I find it somewhat disconcerting that a quad-core, 4-GB memory, high-end-GPU machine runs Vista "quite adequately".  I realize that developers tend to be "power users", and perhaps he doesn't mean what I think it means - but for that kind of power, I would expect more than a "quite adequately" when describing my OS performance.  Add in to that the fact that the stated bottlenecks require even more hardware outlay to get past, and maybe I will wait until Windows 7... if I have to justify an additional hardware cost for a desktop that's a little over a year old, I don't think "switching to Vista" is gonna do it.

- Scott

ajj3085 replied on Friday, May 30, 2008

If it helps, I run VS2005/8 on Vista Ultimate at home, on a machine with 1GB (DDR1) Athlon X2 3800+ (dual core), and it runs just fine.  Haven't seen any slowdown from XP... not that I've testing framerates.  maybe it's because I have an FX 5700 graphics card?  I dunno..  I've been quite happy with it.  So maybe all you need is a few year old graphics card.

VS2008 runs just fine as a non-admin.  I only need to Run as Admin if I'm trying to debug the server side of a remoting portal hosted in IIS.  You need admin privs to connect to the wp3.exe process.

VS2005 always requires it for some reason, even if you patch it properly.  My big annoyance here is that I store my "good" release version assemblies on a network drive, and while it may be connected as my normal user, it's not when VS is Run As Admin.  So my workaround is to open the Add References dialog, and type the drive mapping "r:"  Don't need to add any references, just get the directly listing.  Beyond that, it seems to work fine.  Oh.. you won't be able to drag files from a normal user Explorer window and drop them onto VS2005 either.  Another minor annoyance.

webjedi replied on Friday, May 30, 2008

I should clarify a little...on my old laptop Vista Ultimate and VS2005/8 was great...unless I was running the SQL service...then things started to go pear shaped and memory became a problem.  But if you are just running VS2005/8 and turn down some of the UI glitz then it's not a big deal at all...solid performance even on older hardware (within reason).

LucaF replied on Saturday, May 31, 2008

What an interesting discussion this turned out to be. Thanks for all your feedback everyone!

webjedi replied on Friday, May 30, 2008

My experiences are pretty similar to Rocky's.  I also echo his sentiment that we should be using it in the same way our users will be using it.  The security model in Vista will be around a while...the next Windows coming in 2009 (already...I know) will continue to use it.

I did however decide that I needed to upgrade my machines to be really happy with it...my desktop is now a Core 2 Duo E8500 and I went and bought that expensive DDR3 memory, it runs Vista and VS2008 very nicely.  Though it's a shame I had to go that route to get the same performance feel as XP...but such is life.  Like Rocky I'm using 32bit I'm just not brave enough to take the 64bit plunge.

On my laptop I was running Vista on an older Dell 1505 Dual Core 1.8ghz...it ran it well enough for me not to be brutally mad at it, but was definately a distant second choice to my desktop.  I've since switched to the Dark Side and bought a new Mac Book Pro and have installed Vista Ultimate on it...so far so good...though this was last night.  Tonight I'll be installing VS2008 and SQL Server.  So I'll be putting it through it's paces at TechEd next week.

Ryan

webjedi replied on Friday, May 30, 2008

LucaF:

Excellent post Scott! I am just as curious as you are since the only way I've been able to get things running and debugging is to log on as "Administrator" which I guess is a big "no-no" in Vista.

Waiting for the light to shine on this issue.

You don't have to log on as Administrator...if your right click the short cut icon in your menu you can select Run As Administrator.  That way you stay logged on in the context of a 'normal' user (good).

Ryan

Copyright (c) Marimer LLC