Re: MVVM in a navigational paradigm

2010-11-03 Thread silky
On Wed, Nov 3, 2010 at 7:02 PM, Winston Pang winstonp...@gmail.com wrote:
 Hey guys,

 I'm trying to apply MVVM in the WPF navigation model.

 I was just doing some thoughts around it

 Apart from the rule that the view model shouldn't know about the view, how
 would a particular view spawn another view, and push it to the navigation
 service for example? I've been playing around with some ideas of holding a
 mapping between the View and ViewModel in a global list in App. Then have
 App register against the messenger/mediator to respond to any other view
 model's wanting to spawn a new view and navigating it to it. I'm not sure if
 I'm on the right track.

 Would love to see how some other people have done it on here?

A colleague of mine (much smarter than me) implemented a generic
workflow system that was when used by several views
(Silverlight/Mobile/Web/WPF).

Basically, there was just a core workflow API, with was then held by
each of the areas, and they would then implement/subclass appropriate
items to render the various items (next/previous buttons, rendering of
content in the certain type of question/input/whatever).

I think this fits into your requirements. But I know I haven't given a
lot of real detail. I can't quite remember exactly how it was
implemented, and I don't work there anymore, but contact me offlist
perhaps and I can tell you what I remember.

The point is, a global mapping sounds bad. I think a strict sort of
composition-based approach seems nice, with views being based of the
core workflow system and rendered in some dynamic fashion.

Hope this is reasonably useful.


 Thanks.

 --Winston

-- 
silky

http://dnoondt.wordpress.com/

Every morning when I wake up, I experience an exquisite joy — the joy
of being this signature.


TFS Feedaback? Anyone moved away from it?

2010-11-03 Thread Les Hughes

Hi All,

I was just looking to get a little feedback on CVS tools/etc?

I am to start another project with a small team, and was wondering is 
TFS is worth using (I haven't even seen it run yet... wondering if it is 
worth the time...)


Also, has anyone after using TFS decided to go back to subversion/etc? 
If so, why?


Thanks :)
--
Les Hughes
l...@datarev.com.au


RE: MVVM in a navigational paradigm

2010-11-03 Thread Paul Stovell
In Magellan a ViewModel has access to an INavigator service, which it can use 
to navigate to other ViewModels or controllers. For example:

private void SaveCommandExecuted()
{
 Navigator.NavigateMyController(c = c.Save(this));
}

The controller action might be:

public ActionResult Save(MyViewModel vm)
{
// Save data from vm
return Page(ThanksForSaving, new ThanksForSavingViewModel());
}

The latest Magellan release also has the ability to navigate between VM's 
without using controllers at all.

I guess it comes as no surprise that my response would be WPF + navigation = 
Magellan :) But if you're rolling your own you could look at that approach.

In more composite applications I use a pub/sub eventing system to navigate - it 
might be:

events.Publish(new NavigateEventTViewModel(vm = vm.Initialize(x,y), 
Shell-TopLeftRegion));

The navigation mechanism would subscribe to that event and figure out where to 
show the corresponding view.

Paul


From: ozwpf-boun...@list.ozwpf.com [mailto:ozwpf-boun...@list.ozwpf.com] On 
Behalf Of Winston Pang
Sent: Wednesday, 3 November 2010 6:03 PM
To: ozDotNet; ozWPF
Subject: MVVM in a navigational paradigm

Hey guys,

I'm trying to apply MVVM in the WPF navigation model.

I was just doing some thoughts around it

Apart from the rule that the view model shouldn't know about the view, how 
would a particular view spawn another view, and push it to the navigation 
service for example? I've been playing around with some ideas of holding a 
mapping between the View and ViewModel in a global list in App. Then have App 
register against the messenger/mediator to respond to any other view model's 
wanting to spawn a new view and navigating it to it. I'm not sure if I'm on the 
right track.

Would love to see how some other people have done it on here?


Thanks.


--Winston


RE: MVVM in a navigational paradigm

2010-11-03 Thread Paul Stovell
Re: mapping views to view models, I like to use a convention to map view models 
to views (e.g., FooViewModel should expect a .xaml file named FooPage, FooView 
or FooWindow). So you shouldn't have to store the mapping explicitly.

In Magellan with just MVVM it goes something like this:


1.   You tell an INavigator that you want to navigate, specifying:

o   The name of the ViewModel (foo)

o   Any parameters (customerID=36)

2.   The INavigator maps it to a handler

3.   The MVVM handler resolves the VM from the IOC container

4.   The MVVM handler looks for an Initialize() method on the view mode 
that takes the navigation parameters - e.g.,
public void Initialize(int customerId) {...}

5.   A view is found for the ViewModel based on the conventions above

6.   The view's DataContext is set to the ViewModel

The process is different if you're using MVC controllers, but not too 
different. The VM also implements an IViewAware interface and is notified about 
view lifetime events (e.g., activated, deactivating (closing) and deactivated). 
And each step uses interfaces and strategies to make it easy to plug in to, 
like ASP.NET MVC.

Paul


From: ozwpf-boun...@list.ozwpf.com [mailto:ozwpf-boun...@list.ozwpf.com] On 
Behalf Of Winston Pang
Sent: Wednesday, 3 November 2010 6:03 PM
To: ozDotNet; ozWPF
Subject: MVVM in a navigational paradigm

Hey guys,

I'm trying to apply MVVM in the WPF navigation model.

I was just doing some thoughts around it

Apart from the rule that the view model shouldn't know about the view, how 
would a particular view spawn another view, and push it to the navigation 
service for example? I've been playing around with some ideas of holding a 
mapping between the View and ViewModel in a global list in App. Then have App 
register against the messenger/mediator to respond to any other view model's 
wanting to spawn a new view and navigating it to it. I'm not sure if I'm on the 
right track.

Would love to see how some other people have done it on here?


Thanks.


--Winston


Re: TFS Feedaback? Anyone moved away from it?

2010-11-03 Thread Joseph Cooney
I've used TFS on and off since about 2006 (mostly because I was working at
MS, as they are fond of TFS), but haven't used TFS 2010. It's biggest
strength IMO is integration - requirements, work items, bugs, builds, source
code and project documentation all from within Visual Studio. It's biggest
weakness is that it's not a distributed version control system (git,
mercurial). If you're just going to use it as a revision control system
you're missing out on 80-90% of what TFS has to offer (and thus it might not
be worth it). TFS 2010 is a major update to the product (v2 really, since
2008 was really a v1.1) so I'm doubtless overlooking some cool features
there 'cause I haven't used it.

Joseph

On Wed, Nov 3, 2010 at 10:31 PM, Les Hughes l...@datarev.com.au wrote:

 Hi All,

 I was just looking to get a little feedback on CVS tools/etc?

 I am to start another project with a small team, and was wondering is TFS
 is worth using (I haven't even seen it run yet... wondering if it is worth
 the time...)

 Also, has anyone after using TFS decided to go back to subversion/etc? If
 so, why?

 Thanks :)
 --
 Les Hughes
 l...@datarev.com.au




-- 

w: http://jcooney.net
t: @josephcooney


OT - So, what's new in the world of programming?

2010-11-03 Thread silky
Anything interesting? Anyone doing cool things with cool stuff that I
would have absolutely no idea about? Interested to know.

-- 
silky

http://dnoondt.wordpress.com/

Every morning when I wake up, I experience an exquisite joy — the joy
of being this signature.


Why DVCS, was Re: TFS Feedaback? Anyone moved away from it?

2010-11-03 Thread silky
On Thu, Nov 4, 2010 at 6:26 AM, Joseph Cooney joseph.coo...@gmail.com wrote:
 I've used TFS on and off since about 2006 (mostly because I was working at
 MS, as they are fond of TFS), but haven't used TFS 2010. It's biggest
 strength IMO is integration - requirements, work items, bugs, builds, source
 code and project documentation all from within Visual Studio. It's biggest
 weakness is that it's not a distributed version control system (git,
 mercurial).

Without sounding too argumentative; exactly why should I care that
version control is distributed?

The stated arguments seem to be that you don't need to be online to do
commits, or that there is a local history, or some other such things.
I really just don't ever find the need for anything like that; am I
doing something significantly different to everyone else?

I mean, I've glanced over this:
http://betterexplained.com/articles/intro-to-distributed-version-control-illustrated/
and it seems none of the benefits are really appropriate in a
'typical' environment.

I guess what I'm asking is - is anyone, working in an office or alone,
getting specific benefits from git or whatever, that come *purely*
from it being significantly different from SVN, and exactly what are
they?


 If you're just going to use it as a revision control system
 you're missing out on 80-90% of what TFS has to offer (and thus it might not
 be worth it). TFS 2010 is a major update to the product (v2 really, since
 2008 was really a v1.1) so I'm doubtless overlooking some cool features
 there 'cause I haven't used it.
 Joseph

 w: http://jcooney.net
 t: @josephcooney

-- 
silky

http://dnoondt.wordpress.com/

Every morning when I wake up, I experience an exquisite joy — the joy
of being this signature.


Re: OT - So, what's new in the world of programming?

2010-11-03 Thread silky
On Thu, Nov 4, 2010 at 9:32 AM, Peter Gfader pe...@gfader.com wrote:
 I came across Mutation testing 2 weeks ago. And loved the idea.
 But didn't dig into it too much yet.

 The Idea of Mutation testing

 How can you trust your tests?

 Let a tool change your app a little and run all tests.

 If 1 test fails, because of that change, you had good tests in place...

Heh, that's pretty cute, some sort of fuzzing applied to tests. Don't
mind that. Nice one.


 More here
 http://en.wikipedia.org/wiki/Mutation_testing
 and a .NET implementation here
 http://www.simple-talk.com/dotnet/.net-tools/mutation-testing/

 .peter.gfader.
 http://blog.gfader.com

-- 
silky

http://dnoondt.wordpress.com/

Every morning when I wake up, I experience an exquisite joy — the joy
of being this signature.


Re: .NET Developer's Guide to Directory Services Programming

2010-11-03 Thread Hitman Hoss
There were some additions made in .NET 3.5 with
System.DirectoryServices.AccountManagement.  Makes working with users and
groups pretty easy.  Check it out to see if it meets your needs.

On Thu, Nov 4, 2010 at 9:59 AM, Dylan Tusler 
dylan.tus...@sunshinecoast.qld.gov.au wrote:

 __
 [image: Sunshine Coast Regional Council]http://www.sunshinecoast.qld.gov.au/

 The .NET Developer's Guide to Directory Services Programming

 Some years ago we purchased this book. I've had a look at the book's
 website, and it hasn't been updated since 2007, and the Amazon reviews tail
 off around 2008 too.

 Just curious to know whether there have been any advances in directory
 services programming since then, or whether the book is still relevant.

 We are about to commence work on a small project that will involve some
 complex LDAP queries, and wondering whether to use the book as a reference,
 or bin it?

 There is a sample chapter from the book available at
 http://www.awprofessional.com/content/images/0321350170/samplechapter/Kaplan_ch10.pdf


 Dylan Tusler

 --
 To find out more about the Sunshine Coast Regional Council, visit your
 local office at Caloundra, Maroochydore, Nambour or Tewantin or visit us
 online at www.sunshinecoast.qld.gov.au.  If correspondence includes
 personal information, please refer to Council's Privacy 
 Policyhttp://www.sunshinecoast.qld.gov.au/sitePage.cfm?code=disclaimer
 .

 This email and any attachments are confidential and only for the use of the
 addressee.  If you have received this email in error you are requested to
 notify the sender by return email or contact council on 1300 00 7272 and are
 prohibited from forwarding, printing, copying or using it in anyway, in
 whole or part. Please note that some council staff utilise Blackberry
 devices, which results in information being transmitted overseas prior to
 delivery of any communication to the device. In sending an email to Council
 you are agreeing that the content of your email may be transmitted overseas.
 Any views expressed in this email are the author's, except where the email
 makes it clear otherwise. The unauthorised publication of an email and any
 attachments generated for the official functions of council is strictly
 prohibited. Please note that council is subject to the Right to Information
 Act 2009 (Qld) and Information Privacy Act 2009 (Qld).



Re: OT - So, what's new in the world of programming?

2010-11-03 Thread Simon Reed
Not exactly new but I don't remember seeing it mentioned on here before Pex
automated white box testing. Unit testing for people who don't like writing
endless unit tests. Also moles for delegate testing. Been playing around
with it for a while and the time savings are good but the learning curve to
get the most out of it can be a bit steep.

Simon

http://research.microsoft.com/en-us/projects/pex/

On Thu, Nov 4, 2010 at 6:35 AM, silky michaelsli...@gmail.com wrote:

 On Thu, Nov 4, 2010 at 9:32 AM, Peter Gfader pe...@gfader.com wrote:
  I came across Mutation testing 2 weeks ago. And loved the idea.
  But didn't dig into it too much yet.
 
  The Idea of Mutation testing
 
  How can you trust your tests?
 
  Let a tool change your app a little and run all tests.
 
  If 1 test fails, because of that change, you had good tests in place...

 Heh, that's pretty cute, some sort of fuzzing applied to tests. Don't
 mind that. Nice one.


  More here
  http://en.wikipedia.org/wiki/Mutation_testing
  and a .NET implementation here
  http://www.simple-talk.com/dotnet/.net-tools/mutation-testing/
 
  .peter.gfader.
  http://blog.gfader.com

 --
 silky

 http://dnoondt.wordpress.com/

 Every morning when I wake up, I experience an exquisite joy — the joy
 of being this signature.



RE: TFS Feedaback? Anyone moved away from it?

2010-11-03 Thread Dylan Tusler
We're in the process of migrating from TFS 2008 to TFS 2010. I don't think we'd 
look at any other system now. We use the work item integration with source code 
control quite heavily, even though the dev team is quite small. We also use 
modified work item for our Change Control system, and that has worked out well 
too.

We have even used the Sharepoint repositories a bit, though somewhat 
sporadically, and for a couple of projects we've even used the build server, 
for which I was quite grateful.

Previously we had a mix of SourceSafe and CVS in use here.

There is definitely an improvement in TFS2010 in terms of Work Item 
hierarchies, that we have been sorely missing here. Looking forward to it!

Dylan.


 

-Original Message-
From: ozdotnet-boun...@ozdotnet.com [mailto:ozdotnet-boun...@ozdotnet.com] On 
Behalf Of Les Hughes
Sent: Wednesday, 3 November 2010 10:32 PM
To: michaelsli...@gmail.com; ozDotNet
Subject: TFS Feedaback? Anyone moved away from it?

Hi All,

I was just looking to get a little feedback on CVS tools/etc?

I am to start another project with a small team, and was wondering is TFS is 
worth using (I haven't even seen it run yet... wondering if it is worth the 
time...)

Also, has anyone after using TFS decided to go back to subversion/etc? 
If so, why?

Thanks :)
--
Les Hughes
l...@datarev.com.au

-
To find out more about the Sunshine Coast Regional Council, visit your local 
office at Caloundra, Maroochydore, Nambour or Tewantin or visit us online at 
www.sunshinecoast.qld.gov.au.  If correspondence includes personal information, 
please refer to Council's Privacy Policy at http://www.sunshinecoast.qld.gov.au 
.

This email and any attachments are confidential and only for the use of the 
addressee.  If you have received this email in error you are requested to 
notify the sender by return email or contact council on 1300 00 7272 and are 
prohibited from forwarding, printing, copying or using it in anyway, in whole 
or part. Please note that some council staff utilise Blackberry devices, which 
results in information being transmitted overseas prior to delivery of any 
communication to the device.  In sending an email to Council you are agreeing 
that the content of your email may be transmitted overseas. Any views expressed 
in this email are the author's, except where the email makes it clear 
otherwise. The unauthorised publication of an email and any attachments 
generated for the official functions of council is strictly prohibited. Please 
note that council is subject to the Right to Information Act 2009 (Qld) and 
Information Privacy Act 2009 (Qld).


RE: .NET Developer's Guide to Directory Services Programming

2010-11-03 Thread Chris Walsh
Yeah the AccountManagement DLL helps you access PrincipalContext  
GroupPrincipal.  Works wonders when you're manipulating a few groups.

From: ozdotnet-boun...@ozdotnet.com [mailto:ozdotnet-boun...@ozdotnet.com] On 
Behalf Of Hitman Hoss
Sent: Thursday, 4 November 2010 10:04 AM
To: ozDotNet
Subject: Re: .NET Developer's Guide to Directory Services Programming

There were some additions made in .NET 3.5 with 
System.DirectoryServices.AccountManagement.  Makes working with users and 
groups pretty easy.  Check it out to see if it meets your needs.

On Thu, Nov 4, 2010 at 9:59 AM, Dylan Tusler 
dylan.tus...@sunshinecoast.qld.gov.aumailto:dylan.tus...@sunshinecoast.qld.gov.au
 wrote:
__
http://www.sunshinecoast.qld.gov.au/
The .NET Developer's Guide to Directory Services 
Programminghttp://www.sunshinecoast.qld.gov.au/
 http://www.sunshinecoast.qld.gov.au/
Some years ago we purchased this book. I've had a look at the book's website, 
and it hasn't been updated since 2007, and the Amazon reviews tail off around 
2008 too.http://www.sunshinecoast.qld.gov.au/
 http://www.sunshinecoast.qld.gov.au/
Just curious to know whether there have been any advances in directory services 
programming since then, or whether the book is still 
relevant.http://www.sunshinecoast.qld.gov.au/
 http://www.sunshinecoast.qld.gov.au/
We are about to commence work on a small project that will involve some complex 
LDAP queries, and wondering whether to use the book as a reference, or bin 
it?http://www.sunshinecoast.qld.gov.au/
 http://www.sunshinecoast.qld.gov.au/
There is a sample chapter from the book available at 
http://www.awprofessional.com/content/images/0321350170/samplechapter/Kaplan_ch10.pdfhttp://www.sunshinecoast.qld.gov.au/
 http://www.sunshinecoast.qld.gov.au/

Dylan Tuslerhttp://www.sunshinecoast.qld.gov.au/

http://www.sunshinecoast.qld.gov.au/

To find out more about the Sunshine Coast Regional Council, visit your local 
office at Caloundra, Maroochydore, Nambour or Tewantin or visit us online at 
www.sunshinecoast.qld.gov.au.  If correspondence includes personal information, 
please refer to Council's Privacy Policy.http://www.sunshinecoast.qld.gov.au/

This email and any attachments are confidential and only for the use of the 
addressee.  If you have received this email in error you are requested to 
notify the sender by return email or contact council on 1300 00 7272 and are 
prohibited from forwarding, printing, copying or using it in anyway, in whole 
or part. Please note that some council staff utilise Blackberry devices, which 
results in information being transmitted overseas prior to delivery of any 
communication to the device. In sending an email to Council you are agreeing 
that the content of your email may be transmitted overseas.
Any views expressed in this email are the author's, except where the email 
makes it clear otherwise. The unauthorised publication of an email and any 
attachments generated for the official functions of council is strictly 
prohibited. Please note that council is subject to the Right to Information Act 
2009 (Qld) and Information Privacy Act 2009 
(Qld).http://www.sunshinecoast.qld.gov.au/
 http://www.sunshinecoast.qld.gov.au/


It's a question of Generics...

2010-11-03 Thread Clint Colefax
Just playing around with some generics, and I'm getting one bit that I'm
not happy with. I thought I had this working, but I've changed something
and now it doesn't. 

 

 

I have an interface 

Interface IBase(Of T, E)

 

And a child interface

Interface ILevel1

 

And a Class

Class Level1

Implements ILevel1

Implements IBase(of string, integer)

 

Then I have a factory with a method as such

 

 

Function GetALevel(Of TLevel(Of T, E)() As IBase(Of T, E)

 

In another class, I want to call the following

 

Dim foo as Factory = new Factory

Dim bar as foo.GetALevel(Of ILevel1)()

 

I think that the type of T and E should be inferred from the ILevel
interface. I'm sure I had this working, then a made a number of changes
all around this code, then noticed it wasn't working anymore.

 

Can anyone explain this better?


Thanks

Clint Colefax



Re: Why DVCS, was Re: TFS Feedaback? Anyone moved away from it?

2010-11-03 Thread Joseph Cooney
argumentative? silky? GTFO! Most of my experience with DVCS has been with
mercurial (hg) which I've used for about the last 2 years for my personal
stuff. Before that I used SVN. I think the difference (from my point of
view) is that hg works well in a super-set of configurations to TFS/SVN. If
you were a solo developer with TFS installed locally then hg probably
wouldn't be that much better (it certainly handles branching, merging and
backing up more cleanly than TFS/SVN). But most people don't work that  way
- the server is remote. If you want to look at the 'history' for a file or
do a diff it's a network operation. Checking out is a network operation (at
least for TFS it is...not sure about SVN). In the case of TFS 2008 when the
server was off-line work ground to a halt. With hg sometimes there _is_ no
central server. I've had good experiences collaborating with other devs
using hg with no central server set up, just sending patches back and forth
for synchronization. You can set up your development processes such that
your DVCS is fairly centralized (like things would be with TFS/SVN) - devs
commit and push/pull often. Then you just get the perf wins of local disk
I/O vs. network I/O and better merging capabilities.

High-level summary (from my POV) - DVCS well in a super-set of
configurations to old skool SVN/TFS/CVS

Joseph

On Thu, Nov 4, 2010 at 8:28 AM, silky michaelsli...@gmail.com wrote:

 On Thu, Nov 4, 2010 at 6:26 AM, Joseph Cooney joseph.coo...@gmail.com
 wrote:
  I've used TFS on and off since about 2006 (mostly because I was working
 at
  MS, as they are fond of TFS), but haven't used TFS 2010. It's biggest
  strength IMO is integration - requirements, work items, bugs, builds,
 source
  code and project documentation all from within Visual Studio. It's
 biggest
  weakness is that it's not a distributed version control system (git,
  mercurial).

 Without sounding too argumentative; exactly why should I care that
 version control is distributed?

 The stated arguments seem to be that you don't need to be online to do
 commits, or that there is a local history, or some other such things.
 I really just don't ever find the need for anything like that; am I
 doing something significantly different to everyone else?

 I mean, I've glanced over this:

 http://betterexplained.com/articles/intro-to-distributed-version-control-illustrated/
 and it seems none of the benefits are really appropriate in a
 'typical' environment.

 I guess what I'm asking is - is anyone, working in an office or alone,
 getting specific benefits from git or whatever, that come *purely*
 from it being significantly different from SVN, and exactly what are
 they?


  If you're just going to use it as a revision control system
  you're missing out on 80-90% of what TFS has to offer (and thus it might
 not
  be worth it). TFS 2010 is a major update to the product (v2 really, since
  2008 was really a v1.1) so I'm doubtless overlooking some cool features
  there 'cause I haven't used it.
  Joseph
 
  w: http://jcooney.net
  t: @josephcooney

 --
 silky

 http://dnoondt.wordpress.com/

 Every morning when I wake up, I experience an exquisite joy — the joy
 of being this signature.




-- 

w: http://jcooney.net
t: @josephcooney


Re: OT - So, what's new in the world of programming?

2010-11-03 Thread Peter Gfader
+1 to Pex
It is awesome for generating test inputs.

If another dev comes to you and says: I am done
You run Pex over those methods and get quite a lot of exceptions ;-)

.peter.gfader.
http://blog.gfader.com



On Thu, Nov 4, 2010 at 11:55 AM, silky michaelsli...@gmail.com wrote:

 On Thu, Nov 4, 2010 at 10:04 AM, Simon Reed
 simon.spectre.l...@gmail.com wrote:
  Not exactly new but I don't remember seeing it mentioned on here before
 Pex
  automated white box testing. Unit testing for people who don't like
 writing
  endless unit tests. Also moles for delegate testing. Been playing around
  with it for a while and the time savings are good but the learning curve
 to
  get the most out of it can be a bit steep.

 Cool; also from the list of VS Power Tools; this looks pretty cool:


 http://visualstudiogallery.msdn.microsoft.com/en-us/271d0904-f178-4ce9-956b-d9bfa4902745


  Simon
 
  http://research.microsoft.com/en-us/projects/pex/

 --
 silky

 http://dnoondt.wordpress.com/

 Every morning when I wake up, I experience an exquisite joy — the joy
 of being this signature.




-- 

.peter.gfader.
http://blog.gfader.com/
http://twitter.com/peitor


Re: OT - So, what's new in the world of programming?

2010-11-03 Thread Simon Reed
Yeah the first time I ran it over my own code I nearly had a heart attack!

On Thu, Nov 4, 2010 at 9:38 AM, Peter Gfader pe...@gfader.com wrote:

 +1 to Pex
 It is awesome for generating test inputs.

 If another dev comes to you and says: I am done
 You run Pex over those methods and get quite a lot of exceptions ;-)

 .peter.gfader.
 http://blog.gfader.com



 On Thu, Nov 4, 2010 at 11:55 AM, silky michaelsli...@gmail.com wrote:

 On Thu, Nov 4, 2010 at 10:04 AM, Simon Reed
 simon.spectre.l...@gmail.com wrote:
  Not exactly new but I don't remember seeing it mentioned on here before
 Pex
  automated white box testing. Unit testing for people who don't like
 writing
  endless unit tests. Also moles for delegate testing. Been playing around
  with it for a while and the time savings are good but the learning curve
 to
  get the most out of it can be a bit steep.

 Cool; also from the list of VS Power Tools; this looks pretty cool:


 http://visualstudiogallery.msdn.microsoft.com/en-us/271d0904-f178-4ce9-956b-d9bfa4902745


  Simon
 
  http://research.microsoft.com/en-us/projects/pex/

 --
 silky

 http://dnoondt.wordpress.com/

 Every morning when I wake up, I experience an exquisite joy — the joy
 of being this signature.




 --

 .peter.gfader.
 http://blog.gfader.com/
 http://twitter.com/peitor





RE: TFS Feedaback? Anyone moved away from it?

2010-11-03 Thread Alastair Waddell
Hi Les,

I have used a few (Source safe / TFS / Borland Starteam / Subversion) in
my dealings as a contractor, and have to say I am very happy with TFS.

I guess it all depends on what you are after - Just source control or
the full ALM?

At the office we use TFS 2008 to get bug tracking, reports etc, but for
my personal stuff I am using TFS2010 basic on a Windows home server just
for source control.

Install was a breeze and it just works! I can access everything remotely
and It feels like a first class citizen in VS.

I wouldn't consider going back myself.

That said though, we do have issues with TFS at the office with a team
of devs - but almost always it's the developer's actions that cause the
problems.

Things like changing files outside VS (so TFS doesn't know its changed),
or overwriting the server version instead of merging, leaving files
exclusively locked, and it has taken a bit of time to educate on good
Project structure for source control and the branching and merging
strategies, but these are going to be issues with any system.

It does help to have the power tools and I also use Team foundation
sidekicks to manage the office install.

So is it worth the time? - Yes


Alastair

-Original Message-
From: ozdotnet-boun...@ozdotnet.com
[mailto:ozdotnet-boun...@ozdotnet.com] On Behalf Of Les Hughes
Sent: Wednesday, 3 November 2010 8:32 PM
To: michaelsli...@gmail.com; ozDotNet
Subject: TFS Feedaback? Anyone moved away from it?

Hi All,

I was just looking to get a little feedback on CVS tools/etc?

I am to start another project with a small team, and was wondering is
TFS is worth using (I haven't even seen it run yet... wondering if it is

worth the time...)

Also, has anyone after using TFS decided to go back to subversion/etc?
If so, why?

Thanks :)
--
Les Hughes
l...@datarev.com.au





Important Notice
This email contains information which is confidential and intended solely for 
the use of the individual or entity to whom it is addressed.  Please notify the 
sender immediately if you have received this e-mail by mistake and delete this 
email from your system.  If you are not the intended recipient, any form of 
distribution, copying or use of this communication or the information contained 
or attached is strictly prohibited.  Although Disability Services Commission 
has taken reasonable precautions to ensure no viruses are present in this 
email, the Commission cannot accept responsibility for any loss or damage 
arising from the use of this email or attachments.




RE: TFS Feedaback? Anyone moved away from it?

2010-11-03 Thread Maddin, Peter
We (both of us) are using TFS Workgroup edition basically for source code 
control only at present.
Will be using other features such as adding tasks for bugs etc when UA testing 
gets under way.

I am quite happy with it. Occasionally a few things do get screwed up due to 
our inexperience but we have not had any problems recovering from these (just 
sweated a bit).

Would like to use the other features but we don't have the time at present.

If we weren't using it we would be using Subversion of which I have heard good 
things.

Regards Peter Maddin
Applications Development Officer
PathWest Laboratory Medicine WA
Phone : +618 9473 3944
Fax : +618 9473 3982
E-Mail : peter.mad...@pathwest.wa.gov.au
The contents of this e-mail transmission outside of the WAGHS network are 
intended solely for the named recipient's), may be confidential, and may be 
privileged or otherwise protected from disclosure in the public interest. The 
use, reproduction, disclosure or distribution of the contents of this e-mail 
transmission by any person other than the named recipient(s) is prohibited. If 
you are not a named recipient please notify the sender immediately.

-Original Message-
From: ozdotnet-boun...@ozdotnet.com [mailto:ozdotnet-boun...@ozdotnet.com] On 
Behalf Of Les Hughes
Sent: Wednesday, 3 November 2010 8:32 PM
To: michaelsli...@gmail.com; ozDotNet
Subject: TFS Feedaback? Anyone moved away from it?

Hi All,

I was just looking to get a little feedback on CVS tools/etc?

I am to start another project with a small team, and was wondering is 
TFS is worth using (I haven't even seen it run yet... wondering if it is 
worth the time...)

Also, has anyone after using TFS decided to go back to subversion/etc? 
If so, why?

Thanks :)
--
Les Hughes
l...@datarev.com.au


RE: .NET Developer's Guide to Directory Services Programming

2010-11-03 Thread Maddin, Peter
The .NET Developer's Guide to Directory Services Programming  by Joe Kaplan 
and Ryan Dunn
I am looking at my copy as I type.

Used it mainly for looking at user account attributes from AD.
Have not  used it for a while.

System.DirectoryServices.AccountManagement  makes this so much easier for what 
I wanted than what I found in the book,  but the book nevertheless provides a 
good insight.

When first starting out with LDAP, I found Softerra's free LDAP Browser 
http://www.ldapadministrator.com/download.htm very useful.

Regards Peter Maddin
Applications Development Officer
PathWest Laboratory Medicine WA
Phone : +618 9473 3944
Fax : +618 9473 3982
E-Mail : peter.mad...@pathwest.wa.gov.au
The contents of this e-mail transmission outside of the WAGHS network are 
intended solely for the named recipient's), may be confidential, and may be 
privileged or otherwise protected from disclosure in the public interest. The 
use, reproduction, disclosure or distribution of the contents of this e-mail 
transmission by any person other than the named recipient(s) is prohibited. If 
you are not a named recipient please notify the sender immediately.

From: ozdotnet-boun...@ozdotnet.com [mailto:ozdotnet-boun...@ozdotnet.com] On 
Behalf Of Hitman Hoss
Sent: Thursday, 4 November 2010 7:04 AM
To: ozDotNet
Subject: Re: .NET Developer's Guide to Directory Services Programming

There were some additions made in .NET 3.5 with 
System.DirectoryServices.AccountManagement.  Makes working with users and 
groups pretty easy.  Check it out to see if it meets your needs.

On Thu, Nov 4, 2010 at 9:59 AM, Dylan Tusler 
dylan.tus...@sunshinecoast.qld.gov.aumailto:dylan.tus...@sunshinecoast.qld.gov.au
 wrote:
__
The .NET Developer's Guide to Directory Services Programming

Some years ago we purchased this book. I've had a look at the book's website, 
and it hasn't been updated since 2007, and the Amazon reviews tail off around 
2008 too.

Just curious to know whether there have been any advances in directory services 
programming since then, or whether the book is still relevant.

We are about to commence work on a small project that will involve some complex 
LDAP queries, and wondering whether to use the book as a reference, or bin it?

There is a sample chapter from the book available at 
http://www.awprofessional.com/content/images/0321350170/samplechapter/Kaplan_ch10.pdf


Dylan Tusler


To find out more about the Sunshine Coast Regional Council, visit your local 
office at Caloundra, Maroochydore, Nambour or Tewantin or visit us online at 
www.sunshinecoast.qld.gov.auhttp://www.sunshinecoast.qld.gov.au/.  If 
correspondence includes personal information, please refer to Council's Privacy 
Policyhttp://www.sunshinecoast.qld.gov.au/sitePage.cfm?code=disclaimer.

This email and any attachments are confidential and only for the use of the 
addressee.  If you have received this email in error you are requested to 
notify the sender by return email or contact council on 1300 00 7272 and are 
prohibited from forwarding, printing, copying or using it in anyway, in whole 
or part. Please note that some council staff utilise Blackberry devices, which 
results in information being transmitted overseas prior to delivery of any 
communication to the device. In sending an email to Council you are agreeing 
that the content of your email may be transmitted overseas.
Any views expressed in this email are the author's, except where the email 
makes it clear otherwise. The unauthorised publication of an email and any 
attachments generated for the official functions of council is strictly 
prohibited. Please note that council is subject to the Right to Information Act 
2009 (Qld) and Information Privacy Act 2009 (Qld).