Jeffrey Palermo – TDD, DI, and SoC with ASP.NET MVC

Triangle .NET User Group
Wednesday, August 13, 2008 , 5:00 PM – 8:00 PM

INETA Speaker Jeffrey Palermo will
be presenting at TRINUG August meeting in Raleigh, NC. Registration is required for
this event which is being held at ECPI.

dive into how to design a presentation layer using ASP.NET MVC. 
In today’s industry, TDD, DI, and SoC are proven concepts that lead to more maintainable
applications.  Along with demonstrating how to use these techniques with
we will discuss just what concerns should be separated.  This talk provides a
unique perspective on separation of concerns and uses TDD and DI to make it happen. 
MvcContrib is used in all the demos.

get more info visit the TRINUG

Tags: , , ,

Silverlight Control Contest

South Carolina Silverlight Superstar Page Brooks has
put together an awesome contest with some great prizes!

“The Silverlight Control Builder Contest is all about contributing to
the Silverlight Community. We hope this contest will serve as a catalyst for an expanding
Silverlight control developer community.”

I look forward to seeing the innovation from the community, and will hopefully get
something of my own submitted.

tags: , ,

Silverlight Styles, Skinning, and Visual State Manager

For those of you that attended by recent talk at the SoCal
Code Camp
in San Diego, here is the code sample that I used including my one page
text file that I used instead of Power Point


It’s called Code Camp, not Power Point Camp for a reason right? (No hard feelings
against anybody planning to attend or previously attended a power point related event)


In this sample I start off taking a basic look at some of the controls available in
Silverlight 2 (Beta 2 at this point) and then move into Control Styling.  In
the SilverlightCotrolStyling project you can see that basic use of “Property Bag Styling”,
or defining a style to set the available properties of a control.

 <StackPanel Orientation="Horizontal" Margin="20,20">  <Button  Content="Default" Height="55" Width="160"/>  <Canvas Width="80"
><!-- Just used to take up some space
--></Canvas>  <!--
This second button is styled using the "FancyButtonStyle" Static resource from app.xaml-->  <Button Content="Fancy" Height="55" Width="160" Style="{StaticResource FancyButtonStyle}"/>  </StackPanel>

The result gives us a styled button, that can be used consistently throughout the


In the next example, SilverlightControlSkinning I take a look at defining my own template
to completely replace the visuals of a control, in this case a button.

 <StackPanel Orientation="Horizontal" Margin="50">  <Button  Content="Button" Height="55" Width="160"/>  <Canvas Width="80"></Canvas>  <!--
This button uses the template "SubmitButtonTemplate" from app.xaml -->  <Button Template="{StaticResource SubmitButtonTemplate}" Content="Submit"/> </StackPanel>

This gives us complete control over the visuals of the control, while maintaining
the existing logic.




In the Silverlight CustomControl project, I put a number of these concepts (Including
a UserControl and Custom Layout Panel) together to create a new visual appearance
for a list box containing planets and their associated info.



I will be posting some more details on specifics of the projects, but wanted to get
it posted for those that attended. Please feel free to contact by with any comments
or questions. I’ll dive into the Visual State Manager project tomorrow.