Presentations

RESTFul Services in Silverlight - CT Code Camp June 2009

Downloade the Presentation and Code 

The Connecticut User Group organized a full day code camp event in Bloomfield, CT. The topic I presented on was “RESTFul Services and Silverlight”. The presentation was organized around the following main topics:

  • Web Services via SOAP
  • RESTFul Services
  • Creating a WCF RESTFul Service
  • Consuming a Custom WCF RESTFul Service in Silverlight

The attached slide deck will provide you with highlights on each topic. The code samples revolve around the AdventureWorks Database. I have partitioned the code into Data Access, Service Layer and a UI Layer.

  • Database: AdventureWorksDB from code plex. You can download it from here: http://www.codeplex.com/MSFTDBProdSamples
  • Data Access: Used Nettiers and Codesmith to Generate the CRUD methods to access Adventure Works.
  • Service Layer: WCF, ASMX and WCF REST service examples. I have also included a sample service from John Papa’s Data Services with Silverlight book. I would recommend this book for who ever is working with Siverlight
  • UI Layer: Consists of a ASP.NET web site that houses the silverlight controls and the silverlight controls themselves. The services are conusmed by silverlight.

During the actual presentation, i also created a simple WCF Service and demo’ed how to use a simple SOAP WCF service in a silverlight client using the Asynchronous pattern.

Check the samples out!

Happy coding

Reddy (reddy.kadasani@tallan.com)

.NET Framework
Presentations
User Groups
WCF

Comments (0)

Permalink

Content from LINQ Code Camp Presentation (6/13/09)

On June 13, 2009 I was privileged to give a presentation at the Hartford Code Camp at New Foundations in Bloomfield, CT.   The event was a great success, with 29 presenters,  35 sessions, and more than 150 people in attendance.  I’d like to say thank you to anyone who was able to attend my session on LINQ, my group was great and had a lot of insightful and pointed questions.

As promised, I’m posting the content from the presentation including the PowerPoint files and Demo Code.

If anyone has any questions about the content, please feel free to e-mail me at mgerety@tallan.com

Presentation and Content Files: LINQ Presentation And Files

.NET Framework
Presentations

Comments (0)

Permalink

Creating Databound Silverlight 2.0 Web Applications

This topic was presented during the February CTDOTNET user group meeting in Farmington, CT.
The attached presentation (Slide Deck) and source code (Source Code) provide an introduction to creating databound application using silverlight 2.0

Requirements

  • Visual Studio 2008
  • Silveright Tools (SDK, Controls, Templates). http://silveright.net/GetStarted
  • SQl Server 2005 and AdventureWorks Sample Database: To run the web service example.

Overview

  • Basic Data Binding
    • Data Context
    • BindingProperty
  • Data Binding Concepts
    • One Way Data Binding
    • Two Way Data Binding
    • One Time Data Binding
    • INotifyChangeHandler
    • Data Binding Collections
  • Tiered Development
    • Create Web or WCF Services for Data Access
    • Create a ClientAccessPolicy.xml file. Otherwise silverlight will not be able to access the web service.
    • Note: Only basicHttpBinding is supported in Silverlight
    • Note: You cannot create references to Non-Silverlight libraries in a Silverlight Application or Silverlight Class Library project
    • As a result you have to create a service layer to consume your existing entities and data access tiers in a silverlight application

Sample Code Structure

  • AdventureWorks.Nettiers.Data: Data Access Layer
  • AdventureWorks.Nettiers.Data.SqlClient: Data Access Layer
  • AdventureWorks.Nettiers.Entities: Entities or Domain Objects
  • DALUnitTestApp: Unit test Library
  • DataBindingBasics and DataBindingBasics.Web: Silverlight Sample Code that shows Databinding Basic Examples
  • ListBindingBasics and ListBindingBasics.Web: Silverlight Sample Code that shows Databinding Lists/Collections Examples
  • ProductService: ASMX web service consumed by ListBindingBasics. Look in ListBindingBasics\Page2.xaml how the service is used

- Reddy

.NET Framework
Presentations
User Groups

Comments (0)

Permalink

ASP.NET MVC presentation materials from Code Camp 10

Hi all,

Acouple of weekends ago at Code Camp 10, I presented on the ASP.NET Model View Controller (MVC) Framework. As promised, I have attached the presentation for all to see.

I would like to thank my co-worker Stan Kennedy for his assistance with the slide deck (actually, he deserves most, if not all of the credit for it) and everyone that showed up to the presentation. I hope everyone learned something - I certainly did as well.

I would like to direct everyone over to the ASP.NET MVC site, which is an excellent resource for anyone wanting to know more about it - and would recommend anyone who wants to start out with it to view Stephen Walther’s How-to videos on the subject (also on the ASP.NET MVC site) as well.

Additionally, I know there were some questions around REST and what it had to do with the Model View Controller. From what I understand, REST is simply an architectural style, which is usually applied to an entire website. REST stands for Representational State Transfer and in the case of a website, each page represents a state, and each link represents a state transfer. Since each page is its own state, the state transfer takes place by loading up a new URL on the page. The ASP.NET MVC Framework allows a developer to build their website in a RESTful architecture from the ground up from the framework’s normal usage patterns. There is a bit more to the architecture, so for the curious, I would recommend heading to wikipedia to get additional information or to this other site, which I think summarizes REST quite well.

Thanks, and enjoy

Max

Powerpoint slides: mvc-mweber-code-camp-10

.NET Framework
Presentations

Comments (0)

Permalink

Hartford Code Camp - Spring.NET Presentation Material

This Saturday was the first Hartford Code Camp. I presented on SpringFramework.NET specifically regarding Inversion of Control (IOC).

The presentation is in PowerPoint and discusses some of the basic concepts that need to be understood prior to understanding Spring.NET.

The source code is what was demonstrated during the presentation. It contains two solution folders.

  • TightlyCoupledClasses - Example of normal C# development where classes are tightly coupled together with manual instantiation.
  • LooselyCoupledClasses - Similar code loosely coupled using Spring.NET IOC. Includes various NUnit tests utilizing mock objects showing the ability to isolate tests with manual injection of mock objects.

PowerPoint Slides

Source Code

If you have any question feel free to post questions or comments here or email me directly at lrodgers@tallan.com.

Presentations
User Groups

Comments (0)

Permalink

Hartford Code Camp

This weekend was the first Hartford area Microsoft Code Camp. It was very successful with well over 150 attendees and over 22 presenters. We presented the following topics:

  • Lee Rodgers - Spring.NET & IOC
  • Reddy Kadasani - Silverlight - Lighting up the Web

Presentation content and demo content will be posted to this site in the next few days, so please check back.

Addition information about the code camp can be found at the Conneticut .NET user group website (http://ctdotnet.org).

Presentations
User Groups

Comments (0)

Permalink