Mail Merge Documents With Aspnet
Upcoming SlideShare
Loading in...5
×
 

Mail Merge Documents With Aspnet

on

  • 3,085 views

Slide deck from my presentation at the Rocky Mountain Tech Trifecta, February 27, 2010.

Slide deck from my presentation at the Rocky Mountain Tech Trifecta, February 27, 2010.

Statistics

Views

Total Views
3,085
Views on SlideShare
3,073
Embed Views
12

Actions

Likes
0
Downloads
5
Comments
0

1 Embed 12

http://www.slideshare.net 12

Accessibility

Categories

Upload Details

Uploaded via as Microsoft PowerPoint

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

Mail Merge Documents With Aspnet Mail Merge Documents With Aspnet Presentation Transcript

  • Creating Personalized Documents with a Mashup of Technologies
    …and some other nifty stuff
    James Johnson
    Founder and President, Inland Empire .NET User’s Group
    Microsoft MVP
    e: james@iedotnetug.org t:@latringo
    www.duringlunch.com
  • Been around for a hundred bazillion years
    Well actually since 2002
    Build controls for
    Web forms, MVC, Windows Forms
    Silverlight, WPF
    Testing Tools
    A whole boatload of stuff
    www.telerik.com
    Telerik
  • Founder and President of the Inland Empire .NET User’s Group
    Independent Consultant
    Microsoft MVP
    ADHD/ADD/OCD when it comes to new technology
    Can’t stay away from the shiny new stuff.
    About Me
  • Built custom system to generate large mail merge documents.
    Needed way to integrate SQL Server, document editing, mail merge capabilities, and saving in Office 2007 format in an “access from anywhere” format.
    Um… ok
    Overview
  • SQL Server 2008 for data storage
    Entity Framework for data access
    ASP.NET MVC for “access anywhere”
    jQuery for building client functionality
    TelerikRadEditor for document editing
    OpenXML SDK for creating Office 2007 format docs
    Architecture
  • Ok, let’s see this wonderful thing
    Demo
  • Can take some time to grok
    Somewhat similar to LINQ to SQL
    But different
    Main gotcha
    Need to check for and load relationships of the entity
    if (!doc.MergeDocumentTypeReference.IsLoaded)
    doc.MergeDocumentTypeReference.Load();doc.MergeDocumentType.DocumentTypeId
    Entity Framework
  • So, yet something else to learn?
    Demo
  • Easy – to modify interface
    Lots of Ajaxy goodness
    Able to access from anywhere with a well known technology
    Fast development
    Just ‘cause
    ASP.NET MVC
  • A popular Rich Text Editor control for ASP.NET
    Customizable, but with some pain
    Formats text with CSS
    Client side access to properties and methods
    TelerikRadEditor
  • But I don’t want it to look like that!
    I want it to look like this!
    Demo
  • “OpenXMLis based on XML, which confers the benefits of preservation, interoperability, and extensibilty. It is designed to support the existing features of word-processing documents, presentations, and spreadsheets.”
    www.openxml.biz
    Format for generating Office 2007+ documents
    Can use on a server
    Easy, POCO functionality
    OpenXML
  • There must be something wrong. It can’t be *this* easy.
    Demo
  • Questions?
  • Win the Telerik controls suiteTweet #telerik#rmtechtrifecta