RE: ozdotnet vs ozwinrt etc

2011-09-26 Thread Jake Ginnivan
ozXaml makes sense to me.

WPF and Silverlight are not legacy, WinRT and Metro apps are win8 metro only as 
far as I understand. WPF and Silverlight still have a place. All of these 
things are Xaml based. Pretty easy to just put [WPF], [SL], [Metro] in front of 
your post if it is specific to a stack.

Jake

From: ozdotnet-boun...@ozdotnet.com [mailto:ozdotnet-boun...@ozdotnet.com] On 
Behalf Of Scott Barnes
Sent: Tuesday, 27 September 2011 7:22 AM
To: ozDotNet
Subject: Re: ozdotnet vs ozwinrt etc

WinUX - lol.. didn't think of the Linux...so True :)

how about ozwindev? ozwindl? (distribution list), ozXAML ?




---
Regards,
Scott Barnes
http://www.riagenic.com

On Tue, Sep 27, 2011 at 9:07 AM, David Richards 
ausdot...@davidsuniverse.commailto:ausdot...@davidsuniverse.com wrote:
ozwinux?  Sounds like an unholy alliance between windows and linux.  I
think the universe would implode.

I see nothing wrong with creating a new list but I wouldn't force or
even encourage migration.  I would advertising its existence rather
than say its a replacement.  Let people migrate if they choose to.
Either people will warm to the idea and stop posting on the current
lists or they wont bother with the new list.

Just my opinion.

David

If we can hit that bullseye, the rest of the dominoes
 will fall like a house of cards... checkmate!
 -Zapp Brannigan, Futurama




On Tue, Sep 27, 2011 at 09:00, Scott Barnes 
scott.bar...@gmail.commailto:scott.bar...@gmail.com wrote:
 I'd probably shoot for ozwinux. If your main goal is to discuss the future
 of .NET looking at the architecture breakdown i'm not sure everyone is going
 to rush completely over into the WinRT way of life especially given how slow
 enterprises around Australia have been in adoption in both Windows 7 vs
 Windows XP and WPF/Silverlight.
 I think there is still quite a few years to go before we start really seeing
 a massive departure in current thinking. I think that consolidating the
 WPF/SL space could also be a bit of a win today given i'm on both lists and
 haven't found either to be high in traffic (that is to say they seem to have
 equally reasonable levels of discussion and yet low enough to not
 really justify a partitioned community)
 Something like ozwinx or ozwinux is really a focused discussion now around
 User Experience Platforms in Microsoft Tech... WinRT, Win32 etc.
 ?
 ---
 Regards,
 Scott Barnes
 http://www.riagenic.com


 On Tue, Sep 27, 2011 at 8:48 AM, Preet Sangha 
 preetsan...@gmail.commailto:preetsan...@gmail.com wrote:

 ozwindows?

 On 27 September 2011 11:41, David Connors 
 da...@codify.commailto:da...@codify.com wrote:

 Howdy,
 Given the architectural changes in Windows, I am canvasing what we should
 be doing with a number of these lists. WinRT is the new replacement for
 Win32 moving forward. WPF an SL become marginalised/legacy with XAML on
 WinRT being the new way forward.
 So, any thoughts on new list structures and so on to inflect the
 new/pending reality?
 My thinking is that:

 ozdotnet, ozwpf and ozsilverlight would end up being legacy toward the
 release of Win8.
 ozwinrt (registered it last night) would be a point of unifying the
 audiences from the above three lists.

 Thoughts, comments?
 David.

 --
 David Connors | da...@codify.commailto:da...@codify.com | 
 www.codify.comhttp://www.codify.com
 Software Engineer
 Codify Pty Ltd
 Phone: +61 (7) 3210 6268tel:%2B61%20%287%29%203210%206268 | Facsimile: 
 +61 (7) 3210 6269tel:%2B61%20%287%29%203210%206269 | Mobile: +61 417
 189 363
 V-Card: https://www.codify.com/cards/davidconnors
 Address Info: https://www.codify.com/contact




 --
 regards,
 Preet, Overlooking the Ocean, Auckland





RE: How to diagnose WCF 'NotFound'

2011-09-20 Thread Jake Ginnivan
Add a WCF error handler behaviour which changes the http return code to 200 
even if there is an error (on the server side).

The browser sees the http 500 return code which WCF returns when an exception 
is thrown, which the browser gets before Silverlight, then all Silverlight sees 
is a http 404.

See http://msdn.microsoft.com/en-us/library/ee844556(v=vs.95).aspx for more 
info on how to actually implement it. Although I have implemented using 
http://msdn.microsoft.com/en-us/library/system.servicemodel.dispatcher.ierrorhandler.aspx
 as I change specific exceptions into particular fault contracts globally 
(DomainException becomes DomainFault etc).

Regards,
Jake Ginnivan
Readify | Senior Developer | MVP (VSTO)
M: +61 403 846 400 | E: 
jake.ginni...@readify.netmailto:jake.ginni...@readify.net | W: 
www.readify.nethttp://www.readify.net/

From: ozdotnet-boun...@ozdotnet.com [mailto:ozdotnet-boun...@ozdotnet.com] On 
Behalf Of Greg Keogh
Sent: Tuesday, 20 September 2011 12:58 PM
To: 'ozDotNet'
Subject: How to diagnose WCF 'NotFound'

Folks, I have a WCF service hosted in IIS that is called by an SL4 app to send 
client files to the server. Years ago I updated various configuration values to 
allow up to 20MB transfer. This is on the server side:

binding name=Bind1 maxBufferSize=20971520 maxReceivedMessageSize=20971520
maxBufferPoolSize=20971520
readerQuotas maxArrayLength=131072 maxBytesPerRead=20971520 
maxDepth=20971520
maxStringContentLength=20971520 maxNameTableCharCount=131072/

On the client side I set:

public const int MaxBufferSize = 20971520;
:
bind.MaxBufferSize = LaserMetrics.MaxBufferSize;
bind.MaxReceivedMessageSize = LaserMetrics.MaxBufferSize;

However I just reproduced a problem where a 7MB file is causing an exception 
inside the WCF call. It dies on the WCF method asynch callback with this error:

System.ServiceModel.CommunicationException occurred
  Message=The remote server returned an error: NotFound.

There is nowhere I can break to find out what's going on, so I was wondering if 
there is a trick to get more out of the underlying exception. There's probably 
an obscure config settings I haven't found yet. I presume there is some size 
related config option that I've missed somewhere, but where.

Perhaps I should use some sort of streaming technique between SL4 and the 
service, but I've not needed it before and haven't read up on exactly how it's 
done. I believe there is a way of sending a Stream that can be read in chunks 
and allow progress reporting. Is that right? Anyone done it?

Cheers,
Greg




RE: Detect whether asp.net or winform

2011-09-14 Thread Jake Ginnivan
Sorry to answer with a suggestion to do it differently, but..

If (winforms) seems like a code smell to me.

If you have a class (say an error handler), then I would suggest you allow some 
additional handlers to be injected at runtime by the hosting application. So 
instead of if (winforms) you have.

//doing stuff

Foreach (var handler in additionalHandlers)
  Handler(context); //winforms can inject an additional hander?

A class library should not care what context it is running in really. If you 
give a bit more information am happy to suggest how you could shift the 
responsibility elsewhere.

Regards,
Jake Ginnivan
Readify | Senior Developer | MVP (VSTO)
M: +61 403 846 400 | E: 
jake.ginni...@readify.netmailto:jake.ginni...@readify.net | W: 
www.readify.nethttp://www.readify.net/

From: ozdotnet-boun...@ozdotnet.com [mailto:ozdotnet-boun...@ozdotnet.com] On 
Behalf Of Anthony Mayan
Sent: Wednesday, 14 September 2011 12:24 PM
To: ozDotNet
Subject: Re: Detect whether asp.net or winform

true...have class that will take a screen shot if a windows form...ok..my 
question should be

How do i determine if the code is running on winforms?
On Wed, Sep 14, 2011 at 1:19 PM, David Kean 
david.k...@microsoft.commailto:david.k...@microsoft.com wrote:
What's the scenario? What if you are in a windows service, console, WPF or 
Windows 8 App?

Sent from my Windows Phone

From: Anthony Mayan
Sent: Tuesday, September 13, 2011 8:08 PM
To: ozDotNet
Subject: Re: Detect whether asp.nethttp://asp.net/ or winform

yep..thats what i was thinking to do also...thanks
On Wed, Sep 14, 2011 at 12:55 PM, Raghu Rana 
raghur...@gmail.commailto:raghur...@gmail.com wrote:
I suppose you can check in your class library if HttpContext.Current is null ?

On Wed, Sep 14, 2011 at 12:52 PM, Anthony Mayan 
ifum...@gmail.commailto:ifum...@gmail.com wrote:
Is it possible to detect whether the code is runing on asp.nethttp://asp.net/ 
or winforms from a class library?

Anthony



--
Raghu Rana
Mobile: +61 432 139 301tel:%2B61%20432%20139%20301
Email: raghur...@gmail.commailto:raghur...@gmail.com




RE: Writing a CMS in asp.net MVC

2011-09-05 Thread Jake Ginnivan
Check out FunnelWeb. It isn't a full blown CMS, but is kinda a lightweight 
CMS/Wiki/Blog Engine using MVC3 and Razor.

The code is much simpler than something like Orchard, so it could be a good 
place to start.

We have our own theme engine, and you can select page templates (essentially a 
different master page) for each page, and also remove the blog chrome.

http://funnelweblog.com/

Regards,
Jake Ginnivan
Readify | Senior Developer | MVP (VSTO)
M: +61 403 846 400 | E: 
jake.ginni...@readify.netmailto:jake.ginni...@readify.net | W: 
www.readify.nethttp://www.readify.net/

From: ozdotnet-boun...@ozdotnet.com [mailto:ozdotnet-boun...@ozdotnet.com] On 
Behalf Of Michael Ridland
Sent: Tuesday, 6 September 2011 1:04 PM
To: ozDotNet
Subject: Writing a CMS in asp.net MVC

Hi

I'm struggling(well I have done for a long time) to get my head around how you 
would write a CMS in Asp.net MVC.

It's really easy to understand how you do this in webforms, this is how I 
understand it and how I've done it before.
1. A CMS page is requested, I look up the information for a page
2. Locate the custom master page and set it
3. I iterate through the page details and then add the appropriate controls to 
the appropriate section on the master page

I just don't understand how I would do this in ASP.NEThttp://ASP.NET MVC.

How would/have you done this sort of solution in ASP.NEThttp://ASP.NET MVC?

Michael Ridland | ThinkSmart Digital
Managing Director
P. 0404 865 350
E. mich...@thinksmartdigital.com.aumailto:mich...@thinksmartdigital.com.au
W. www.thinksmartdigital.com.auhttp://www.thinksmartdigital.com.au
T. www.twitter.com/rid00zhttp://www.twitter.com/rid00z
L. au.linkedin.com/in/michaelridlandhttp://au.linkedin.com/in/michaelridland


http://au.linkedin.com/in/michaelridland



RE: Anyone using Prism?

2011-08-25 Thread Jake Ginnivan
I don't agree that both MEF and Autofac are IoC containers. Sure they both 
perform dependency injection, but MEF was never designed to solve the same 
issues that today's IoC containers solve. MEF is more about architecture and 
extensibility, where the IoC containers help us manage a set of static 
resources and relationships between those resources.
Mef has no support for Open Generics, Automatic factories, parameterised 
construction, AOP and the lifetime support is more basic.

I would use mef to discover, and let me know when there are more modules, then 
use new ContainerBuilder().. register new components, 
_container.Update(containerBuilder);

Regards,
Jake Ginnivan
Readify | Senior Developer | MVP (VSTO)
M: +61 403 846 400 | E: 
jake.ginni...@readify.netmailto:jake.ginni...@readify.net | W: 
www.readify.nethttp://www.readify.net/

From: ozdotnet-boun...@ozdotnet.com [mailto:ozdotnet-boun...@ozdotnet.com] On 
Behalf Of David Kean
Sent: Thursday, 25 August 2011 10:58 PM
To: ozDotNet
Subject: RE: Anyone using Prism?

I would either use MEF or I would use Autofac. I wouldn't mix them together. 
They are both IoC containers, and are both around to solve the same problems.

I personally use MEF, but I worked on it so I'm a little bias. I would use MEF 
if you don't want to take a dependency on something outside of the framework, 
otherwise, I would evaluate all the good IoC containers (Castle Windsor, 
StructureMap, Autofac, Unity) out there and pick the one you feel most 
comfortable with.

From: ozdotnet-boun...@ozdotnet.commailto:ozdotnet-boun...@ozdotnet.com 
[mailto:ozdotnet-boun...@ozdotnet.com]mailto:[mailto:ozdotnet-boun...@ozdotnet.com]
 On Behalf Of Matt Siebert
Sent: Thursday, August 25, 2011 5:44 AM
To: ozDotNet
Subject: Re: Anyone using Prism?

Take a look at http://code.google.com/p/autofac/wiki/MefIntegration

It's not a tutorial but shows how you could use MEF with Autofac.

I haven't tried it yet but I'm about to start using MEF (and probably Autofac 
too) in my current project.

On Thursday, August 25, 2011, Kirsten Greed 
kirst...@jobtalk.com.aumailto:kirst...@jobtalk.com.au wrote:
 Thanks Jake

 Do you know of any good tutorials on MEF and Autofac?

 Kirsten



 

 From: ozdotnet-boun...@ozdotnet.commailto:ozdotnet-boun...@ozdotnet.com 
 [mailto:ozdotnet-boun...@ozdotnet.commailto:ozdotnet-boun...@ozdotnet.com] 
 On Behalf Of Jake Ginnivan
 Sent: Thursday, 25 August 2011 1:50 PM
 To: ozDotNet
 Subject: RE: Anyone using Prism?



 Quite good timing actually, here is a post which backs up my point about 
 staying away from unity if you want a well performing app:



 http://philipm.at/2011/0808/



 Another negative side effect of Prism is that modules have a single Run 
 method. Which you have to do your container registrations and resolve your 
 dependencies.



 Internally when you resolve, if you have performed any registrations since 
 you last resolved the container has to rebuild it's dependency tree, which is 
 costly. Autofac forces you to create a ContainerBuilder then build the 
 container from that, so you mentally separate registration and resolutions, 
 this has the advantage that Autofac does not have to lock the container when 
 you perform a Resolve, reducing contention and once again speeding the 
 container up. Unity has to lock on all operations.



 Regards,

 Jake Ginnivan
 Readify | Senior Developer | MVP (VSTO)

 M: +61 403 846 400 | E: 
 jake.ginni...@readify.netmailto:jake.ginni...@readify.net | W: 
 www.readify.nethttp://www.readify.net http://www.readify.net/



 From: ozdotnet-boun...@ozdotnet.commailto:ozdotnet-boun...@ozdotnet.com 
 [mailto:ozdotnet-boun...@ozdotnet.commailto:ozdotnet-boun...@ozdotnet.com] 
 On Behalf Of J


RE: Anyone using Prism?

2011-08-25 Thread Jake Ginnivan
Thanks for that David,

That was quite interesting =) I must admit I haven't used MEF in any heavy way, 
my experience is using it in FunnelWeb for extensibility. I have the 
opportunity in a few weeks to give MEF a spin in Silverlight as I am breaking a 
codebase apart to make it modular. I will give it a shot of replacing what I 
have done in Autofac with MEF to improve my understanding.

Appreciate the detailed response.

Regards,
Jake Ginnivan
Readify | Senior Developer | MVP (VSTO)
M: +61 403 846 400 | E: 
jake.ginni...@readify.netmailto:jake.ginni...@readify.net | W: 
www.readify.nethttp://www.readify.net/

From: ozdotnet-boun...@ozdotnet.com [mailto:ozdotnet-boun...@ozdotnet.com] On 
Behalf Of David Kean
Sent: Friday, 26 August 2011 9:28 AM
To: ozDotNet
Subject: RE: Anyone using Prism?

Everyone's opinion on what defines an IoC container differs  - even guys well 
known in the DI area don't agree on what makes an IoC container. I know this 
because we involved a lot of them throughout the development of MEF - some 
worked on our team, Nick (Autofac) and Hammet (Windsor), and others were on the 
MEF insiders group that we used to call monthly.

Where do you think Nick got the inspiration for that relationship zoo post he 
blogged about? MEF has a representation for every one of those dependency 
relationships, Autofac actually added some of them after MEF. :)

I'm actually using MEF as my mainline IoC container. In the next update of MEF 
(I believe we've got a preview drop on the codeplex site), some of the major 
things missing have been added in the box (open generics, fluent interface - 
registration builder), factories and parameterized construction have been there 
since day v1, ExportFactory was added to v2 (Silverlight).

When I do find things that are missing, I usually just end up writing an 
ExportProvider or Catalog that enables it. For example, we have a bunch of 
legacy IServiceProvider provided services in VS - I plugged in my own 
ExportProvider, now all of sudden I can start [Import]ing them, and not have my 
components touch the IServiceProvider.

We don't have AOP, and I don't think we'll ever add it - we of the opinion that 
this sort of thing needs to happen at compile time (think in PostSharp, CCI, 
and compiler-as-a-service terms), not at runtime. Lifetime is limited, but we 
wanted to keep it that way. What do you think is missing? Blast away and I'll 
file some suggestions internally.

From: ozdotnet-boun...@ozdotnet.commailto:ozdotnet-boun...@ozdotnet.com 
[mailto:ozdotnet-boun...@ozdotnet.com]mailto:[mailto:ozdotnet-boun...@ozdotnet.com]
 On Behalf Of Matt Siebert
Sent: Thursday, August 25, 2011 6:04 PM
To: ozDotNet
Subject: Re: Anyone using Prism?

I agree.  This issue is discussed several times on MEF's CodePlex site:

http://mef.codeplex.com/discussions/35083
http://mef.codeplex.com/discussions/43823
http://mef.codeplex.com/discussions/43424

Admittedly, these may be a little dated but some of Glenn Block's comments are 
very enlightening.

The following post is also worth reading:
http://blogs.msdn.com/b/nblumhardt/archive/2009/03/16/hosting-mef-extensions-in-an-ioc-container.aspx

On Fri, Aug 26, 2011 at 10:24 AM, Jake Ginnivan 
jake.ginni...@readify.netmailto:jake.ginni...@readify.net wrote:
I don't agree that both MEF and Autofac are IoC containers. Sure they both 
perform dependency injection, but MEF was never designed to solve the same 
issues that today's IoC containers solve. MEF is more about architecture and 
extensibility, where the IoC containers help us manage a set of static 
resources and relationships between those resources.
Mef has no support for Open Generics, Automatic factories, parameterised 
construction, AOP and the lifetime support is more basic.

I would use mef to discover, and let me know when there are more modules, then 
use new ContainerBuilder().. register new components, 
_container.Update(containerBuilder);

Regards,
Jake Ginnivan
Readify | Senior Developer | MVP (VSTO)
M: +61 403 846 400tel:%2B61%20403%20846%20400 | E: 
jake.ginni...@readify.netmailto:jake.ginni...@readify.net | W: 
www.readify.nethttp://www.readify.net/

From: ozdotnet-boun...@ozdotnet.commailto:ozdotnet-boun...@ozdotnet.com 
[mailto:ozdotnet-boun...@ozdotnet.commailto:ozdotnet-boun...@ozdotnet.com] On 
Behalf Of David Kean
Sent: Thursday, 25 August 2011 10:58 PM

To: ozDotNet
Subject: RE: Anyone using Prism?

I would either use MEF or I would use Autofac. I wouldn't mix them together. 
They are both IoC containers, and are both around to solve the same problems.

I personally use MEF, but I worked on it so I'm a little bias. I would use MEF 
if you don't want to take a dependency on something outside of the framework, 
otherwise, I would evaluate all the good IoC containers (Castle Windsor, 
StructureMap, Autofac, Unity) out there and pick the one you feel most 
comfortable with.

From: ozdotnet-boun...@ozdotnet.commailto:ozdotnet-boun...@ozdotnet.com

RE: Anyone using Prism?

2011-08-24 Thread Jake Ginnivan
I would vote against using it, it is very closely tied to Unity which is not a 
very good IoC container. We removed Unity and majority of our use of prism from 
a large app I was working on. We dropped our startup time from 30-40 seconds to 
about 10 seconds by rolling our own, and switching to Autofac. Plus the code 
was a heap cleaner and easier to maintain. Because of the legacy of prism there 
were areas of the codebase that we had no alternative other than using the 
ServiceLocator =(

My vote would be to use MEF and Autofac to bring the modules together then do 
the composition yourself. Or use Magellan to do the composition 
(http://www.paulstovell.com/magellan-composite-wpf).

Regards,
Jake Ginnivan
Readify | Senior Developer | MVP (VSTO)
M: +61 403 846 400 | E: 
jake.ginni...@readify.netmailto:jake.ginni...@readify.net | W: 
www.readify.nethttp://www.readify.net/

From: ozdotnet-boun...@ozdotnet.com [mailto:ozdotnet-boun...@ozdotnet.com] On 
Behalf Of Kirsten Greed
Sent: Thursday, 25 August 2011 10:53 AM
To: 'ozDotNet'
Subject: Anyone using Prism?

Hi All
Anyone using Prism in anger? I would like to know your experience.
Are there other composite application frameworks ( apart from CAB ) that are 
alternatives to it?
Thanks
Kirsten


RE: Anyone using Prism?

2011-08-24 Thread Jake Ginnivan
Quite good timing actually, here is a post which backs up my point about 
staying away from unity if you want a well performing app:

http://philipm.at/2011/0808/

Another negative side effect of Prism is that modules have a single Run method. 
Which you have to do your container registrations and resolve your dependencies.

Internally when you resolve, if you have performed any registrations since you 
last resolved the container has to rebuild it's dependency tree, which is 
costly. Autofac forces you to create a ContainerBuilder then build the 
container from that, so you mentally separate registration and resolutions, 
this has the advantage that Autofac does not have to lock the container when 
you perform a Resolve, reducing contention and once again speeding the 
container up. Unity has to lock on all operations.

Regards,
Jake Ginnivan
Readify | Senior Developer | MVP (VSTO)
M: +61 403 846 400 | E: 
jake.ginni...@readify.netmailto:jake.ginni...@readify.net | W: 
www.readify.nethttp://www.readify.net/

From: ozdotnet-boun...@ozdotnet.com [mailto:ozdotnet-boun...@ozdotnet.com] On 
Behalf Of Jake Ginnivan
Sent: Thursday, 25 August 2011 11:07 AM
To: ozDotNet
Subject: RE: Anyone using Prism?

I would vote against using it, it is very closely tied to Unity which is not a 
very good IoC container. We removed Unity and majority of our use of prism from 
a large app I was working on. We dropped our startup time from 30-40 seconds to 
about 10 seconds by rolling our own, and switching to Autofac. Plus the code 
was a heap cleaner and easier to maintain. Because of the legacy of prism there 
were areas of the codebase that we had no alternative other than using the 
ServiceLocator =(

My vote would be to use MEF and Autofac to bring the modules together then do 
the composition yourself. Or use Magellan to do the composition 
(http://www.paulstovell.com/magellan-composite-wpf).

Regards,
Jake Ginnivan
Readify | Senior Developer | MVP (VSTO)
M: +61 403 846 400 | E: 
jake.ginni...@readify.netmailto:jake.ginni...@readify.net | W: 
www.readify.nethttp://www.readify.net/

From: ozdotnet-boun...@ozdotnet.commailto:ozdotnet-boun...@ozdotnet.com 
[mailto:ozdotnet-boun...@ozdotnet.com]mailto:[mailto:ozdotnet-boun...@ozdotnet.com]
 On Behalf Of Kirsten Greed
Sent: Thursday, 25 August 2011 10:53 AM
To: 'ozDotNet'
Subject: Anyone using Prism?

Hi All
Anyone using Prism in anger? I would like to know your experience.
Are there other composite application frameworks ( apart from CAB ) that are 
alternatives to it?
Thanks
Kirsten


RE: Anyone using Prism?

2011-08-24 Thread Jake Ginnivan
Not really, I haven't actually used that in anger in a WPF app. But if I had to 
choose I would either spike something up with MEF and autofac to see how I 
could do it, or just use Magellan which is a MVC framework for WPF and Paul has 
already put a lot of thought into this area and blogged about it.

Sorry I can't help more with how to actually do it, I just don't think that 
prism is that good an option anymore. A good place to start though would be 
http://nblumhardt.com/2010/01/the-relationship-zoo/
I love this post and share it whenever I can, because if you think like this, 
you will find things fall into place much easier.

Regards,
Jake Ginnivan
Readify | Senior Developer | MVP (VSTO)
M: +61 403 846 400 | E: 
jake.ginni...@readify.netmailto:jake.ginni...@readify.net | W: 
www.readify.nethttp://www.readify.net/

From: ozdotnet-boun...@ozdotnet.com [mailto:ozdotnet-boun...@ozdotnet.com] On 
Behalf Of Kirsten Greed
Sent: Thursday, 25 August 2011 12:05 PM
To: 'ozDotNet'
Subject: RE: Anyone using Prism?

Thanks Jake
Do you know of any good tutorials on MEF and Autofac?
Kirsten


From: ozdotnet-boun...@ozdotnet.commailto:ozdotnet-boun...@ozdotnet.com 
[mailto:ozdotnet-boun...@ozdotnet.com]mailto:[mailto:ozdotnet-boun...@ozdotnet.com]
 On Behalf Of Jake Ginnivan
Sent: Thursday, 25 August 2011 1:50 PM
To: ozDotNet
Subject: RE: Anyone using Prism?

Quite good timing actually, here is a post which backs up my point about 
staying away from unity if you want a well performing app:

http://philipm.at/2011/0808/

Another negative side effect of Prism is that modules have a single Run method. 
Which you have to do your container registrations and resolve your dependencies.

Internally when you resolve, if you have performed any registrations since you 
last resolved the container has to rebuild it's dependency tree, which is 
costly. Autofac forces you to create a ContainerBuilder then build the 
container from that, so you mentally separate registration and resolutions, 
this has the advantage that Autofac does not have to lock the container when 
you perform a Resolve, reducing contention and once again speeding the 
container up. Unity has to lock on all operations.

Regards,
Jake Ginnivan
Readify | Senior Developer | MVP (VSTO)
M: +61 403 846 400 | E: 
jake.ginni...@readify.netmailto:jake.ginni...@readify.net | W: 
www.readify.nethttp://www.readify.net/

From: ozdotnet-boun...@ozdotnet.commailto:ozdotnet-boun...@ozdotnet.com 
[mailto:ozdotnet-boun...@ozdotnet.com]mailto:[mailto:ozdotnet-boun...@ozdotnet.com]
 On Behalf Of Jake Ginnivan
Sent: Thursday, 25 August 2011 11:07 AM
To: ozDotNet
Subject: RE: Anyone using Prism?

I would vote against using it, it is very closely tied to Unity which is not a 
very good IoC container. We removed Unity and majority of our use of prism from 
a large app I was working on. We dropped our startup time from 30-40 seconds to 
about 10 seconds by rolling our own, and switching to Autofac. Plus the code 
was a heap cleaner and easier to maintain. Because of the legacy of prism there 
were areas of the codebase that we had no alternative other than using the 
ServiceLocator =(

My vote would be to use MEF and Autofac to bring the modules together then do 
the composition yourself. Or use Magellan to do the composition 
(http://www.paulstovell.com/magellan-composite-wpf).

Regards,
Jake Ginnivan
Readify | Senior Developer | MVP (VSTO)
M: +61 403 846 400 | E: 
jake.ginni...@readify.netmailto:jake.ginni...@readify.net | W: 
www.readify.nethttp://www.readify.net/

From: ozdotnet-boun...@ozdotnet.commailto:ozdotnet-boun...@ozdotnet.com 
[mailto:ozdotnet-boun...@ozdotnet.com]mailto:%5bmailto:ozdotnet-boun...@ozdotnet.com%5d
 On Behalf Of Kirsten Greed
Sent: Thursday, 25 August 2011 10:53 AM
To: 'ozDotNet'
Subject: Anyone using Prism?

Hi All
Anyone using Prism in anger? I would like to know your experience.
Are there other composite application frameworks ( apart from CAB ) that are 
alternatives to it?
Thanks
Kirsten


RE: Good looking WinForms apps

2011-08-17 Thread Jake Ginnivan
+1 would be very interested to know what constraints would cause you to choose 
winforms over wpf..

From: ozdotnet-boun...@ozdotnet.com [mailto:ozdotnet-boun...@ozdotnet.com] On 
Behalf Of Grant Molloy
Sent: Thursday, 18 August 2011 1:05 PM
To: ozDotNet
Subject: Re: Good looking WinForms apps

I think that you should also explain in more detail the constraints of the 
situation which are causing you extra work and why this has made you believe 
that WPF is not the correct choice.

Grant
On Thu, Aug 18, 2011 at 2:33 PM, Matt Siebert 
mlsieb...@gmail.commailto:mlsieb...@gmail.com wrote:
Hi folks,

Can anyone point out some particularly good looking WinForms apps?  Screenshots 
will do, a working app I could show someone would be better.

This is a bit of a strange request so I should probably explain a little...

We've built a product using WPF but we have lots of constraints imposed by the 
environment we're coding for.  This has caused a lot of extra work with more to 
come.  As such, I don't think WPF is the right choice and I'm trying to 
convince my manager that it's worth considering switching to WinForms which is 
much better suited to this environment.  He's not a developer and is fairly 
visually oriented, and he's worried that if we were to use WinForms then we may 
not be able to produce a good GUI / UX.  I've assured him that this isn't the 
case but some good examples would help.

Cheers.



RE: [OT] Perth Broadband

2011-07-05 Thread Jake Ginnivan
I am with Amnet, they rock.. They used to only do corporate (Amcom) and are 
responsible for most of the point to point fibre in WA, then they started Amnet 
to leverage their fibre network for consumers.

Their tech support is awesome and they know what they are talking about.

I have a Billion Router as well, which I can't complain about either.

Regards
Jake Ginnivan
Readify | Senior Developer | MVP (VSTO)
M: +61 403 846 400 | E: 
jake.ginni...@readify.netmailto:jake.ginni...@readify.net | W: 
www.readify.nethttp://www.readify.net/

From: ozdotnet-boun...@ozdotnet.com [mailto:ozdotnet-boun...@ozdotnet.com] On 
Behalf Of Stephen Liedig
Sent: Wednesday, 6 July 2011 10:52 AM
To: ozDotNet
Subject: [OT] Perth Broadband

Hello folks,

just wanted to get a feel for peoples opinions on braodband providers in the 
Perth area. Been looking at iiNet/westnet (I think they are iinet now by the 
looks of it), but didn't want to discount any others, like Amnet etc. I used to 
be with iiNet a couple of years ago and founfd them to be ok, but since I've 
come back from the UK heard a few complaints, particularly about this BoB 
router phone they mke you get.

Anyway just thought I'd did into the pool of collective thought for some 
feedback.

Cheers,

Steve


RE: Windows Phone Foundations

2011-07-05 Thread Jake Ginnivan
They actually work hand in hand and very much complement each other.

One of the issues with MVVM is it does not deal with Navigation between views 
very well, its strengths lie in a View with a ViewModel and nice interactions 
on a single view. It actually doesn't help you navigate between views using 
MVVM.

For example:

Grid
   !-- Lots of xaml --
   Button Commands:Navigate.To=Home.AboutPage
Content=About Me /
/Grid

This gives you navigation between views without handling the click event (ootb 
Navigator is only available on the view), or even without creating a Command on 
your viewmodel. The above example will navigate to a controller named 
HomeController and an action called About or AboutPage by convention.

In short MVC will give you the best of both worlds =)

Regards
Jake Ginnivan
Readify | Senior Developer | MVP (VSTO)
M: +61 403 846 400 | E: 
jake.ginni...@readify.netmailto:jake.ginni...@readify.net | W: 
www.readify.nethttp://www.readify.net/

From: Jake Lin [mailto:jakeli...@gmail.com]
Sent: Wednesday, 6 July 2011 11:19 AM
To: ozDotNet; Jake Ginnivan
Subject: Re: Windows Phone Foundations

Hi Jake

I am doing some Windows Phone Development using MVVM. I want to ask a stupid 
questing. Can we use MVVM and MVC together, seems MVVM more native to XAML 
because it uses data binding, And MVC uses name conversions as far as I know, 
not good at it.

Cheers,
Jake


On 18 June 2011 15:15, Jake Ginnivan 
jake.ginni...@readify.netmailto:jake.ginni...@readify.net wrote:
Hey all,

For anyone doing phone development, myself and a few others have put together 
http://windowsphonefoundations.net/

Currently it has 4 projects on it.

Windows Phone Essentials - Phone Abstractions, Settings Provider, Async helpers 
etc. Basically code helpers
Windows Phone MVC - MVC for windows phone, type safe nav, and a heap of other 
cool things
Windows Phone MVP - Inspired from web forms MVP, if you like the MVP pattern 
rather than MVC.

Both the MV* frameworks rely on essentials, that way you can have the same sort 
of feature set no matter the pattern you enjoy working with.

The last project is MetroPimp which helps you implement push notifications 
easily.

So if you are doing phone dev, I would love some feedback =)

Cheers,
Jake



Windows Phone Foundations

2011-06-17 Thread Jake Ginnivan
Hey all,

For anyone doing phone development, myself and a few others have put together 
http://windowsphonefoundations.net/

Currently it has 4 projects on it.

Windows Phone Essentials - Phone Abstractions, Settings Provider, Async helpers 
etc. Basically code helpers
Windows Phone MVC - MVC for windows phone, type safe nav, and a heap of other 
cool things
Windows Phone MVP - Inspired from web forms MVP, if you like the MVP pattern 
rather than MVC.

Both the MV* frameworks rely on essentials, that way you can have the same sort 
of feature set no matter the pattern you enjoy working with.

The last project is MetroPimp which helps you implement push notifications 
easily.

So if you are doing phone dev, I would love some feedback =)

Cheers,
Jake


RE: Business Intelligence Development Studio (BIDS) vs VS2010

2011-06-14 Thread Jake Ginnivan
That's correct, we are using SSRS 2008 R2, and it is indeed using VS 2008 as 
the shell for the BI tools.

Cheers,
Jake

From: ozdotnet-boun...@ozdotnet.com [mailto:ozdotnet-boun...@ozdotnet.com] On 
Behalf Of William Luu
Sent: Tuesday, 14 June 2011 9:18 AM
To: ozDotNet
Subject: Re: Business Intelligence Development Studio (BIDS) vs VS2010

Hi Greg,

You could always install BIDS locally by installing the SQL Server 2008 R2 
Developer Edition? It's probably not installed by default, but I think it is 
available.

We're currently still targetting SSRS 2005, so i'm not 100% sure on this. But 
my past research indicated that you can author SSRS 2008 R2 reports using 
Visual Studio 2008.

From memory I think BIDS (for 2008 R2) is actually just VS 2008 with the 
addition of some Reporting Services add-ins. We currently author our SSRS 2005 
reports in a copy of Visual Studio 2005 with the Reporting Services add-ins.


Will
On 14 June 2011 11:06, Greg Keogh g...@mira.netmailto:g...@mira.net wrote:
Folks, after many months absence from the subject I have returned to the task 
of writing some SQL 2008 R2 server-side reports. I previously had to perform 
the onerous task of uninstalling SQL Server 2008 from my server then 
reinstalling SQL Server with Advanced Tools so I could get BIDS to write 
reports. I was fascinated to find that BIDS is actually a stripped-down version 
of VS2010 with just a report designer and facility to deploy, and I proved that 
it works to my satisfaction.

But now I have to spend hours writing reports, and it looks like I have to sit 
at my server (jammed in the corner of the room with a small virtualised screen) 
so I can fire up BIDS to work with the *.rptproj projects. Web searches hint 
that VS2010 is unable to edit rptproj files and I see a few people complaining.

I just want to check that this is in fact the way things are, and perhaps I'm 
not missing some productivity tricks other know about.

Cheers,
Greg