SlideShare a Scribd company logo
1 of 18
Sandeep Sachan
By: www.sandeepsachan.com
i@sandeepsachan.com
 Introduction –Who Am I?
 Model-View-Controller pattern & ASP.NET MVC
 NHibernate, Fluent NHibernate & MVCcontrib
 The S#arpArchtecture Project
 Building a S#arpArchitectureApplication
 Summary
 Additional Resources
 4Years Development Experience
 Contributing couple of tech articles at
codetechniques.com, ipowercode.com–
 MCTS, MCPD Certifications
 MODEL – Business logic plus
one or more data sources such
as a relational database.
 VIEW –The user interface that
displays information about the
model to the user.
 CONTROLLER –The flow-
control mechanism means by
which the user interacts with
the application.
 ReleasedApril 9, 2009
 Alternative to ASP.NETWebForms
 Built for testability
 User-friendly (and SEO-friendly) URLs
 Clear separation of concerns
 Lacks rich control set available with
WebForms
 Demo – ASP.NET MVC 1.0 Project Structure
 Object-Relational Mapping
(ORM)Tool
 Map data to your domain
objects (.hbm.xml mapping
files)
 Manipulate persistent data
 Handle transactions and
concurrency
 An alternative to NHibernate's standard XML
mapping files.
 Write mappings in strongly typed C# code.
 Benfits:
 Refactoring
 Readability
 Concise
 Fluent mapping
 Automapping
 Fluent database configuration
 Adds functionality on top of the MVC Framework
 UI Helpers
 Routing
 Filters
 View Engines
 Lots More…
 http://mvccontrib.org
 Owner & Creator: Billy McCafferty
 Project Members
 Frank Laub
 Simone Busoli
 Kyle Baley
 Rapidly build maintainable web applications.
 LeverageASP.NET MVC, NHibernate and
Spring.NET.
 Ignore infrastructure. Focus on domain and
UX.
 DDD-Focused
 Loosely Coupled
 PreconfiguredArchitecture
 Open-Ended Presentation
 jQuery
 Yahoo UIWidgets
 ASP.NET AJAX
 Detailed Documentation in S#arpArchitecture
Reference Guide document.
 Software Prerequisites
 Visual Studio 2008 SP1
 NUnit v2.4.8
 T4Toolbox v9.1.20.1
 ASP.NET MVC 1.0
 InstallVisual Studio S#arpArchitecture Project
Template
 Configuring IIS
 Demo - Configuration
 Music Store
 Chinook Database 1.1
(www.codeplex.com/ChinookDatabase)
 Index will list data for entities
 Artists
 Albums
 Tracks
 Playlists
 Customers
 Invoices
 Create/Edit records
 Demo – Create the Project
 Manual Mapping
 XML Mapping
 Fluent NHibernate
 CRUD Scaffolding
 Demo – Mapping Data
 FilteringView Data
 Using CustomView Data to Access Multiple
Repositories (Entity Lists)
 Support for DifferentView Engines
 Add some jQuery flair
 Submit via AJAX
 Add Edit-in-Place
 Add jQuery UI tabs
 jQuery Grid Options
 Demo – Feature Options
 Feel free to visit my blog 
 Follow me on twitter @ ipowercode
 Thank you!
 S#arp Architecture on Google Code: http://code.google.com/p/sharp-architecture/
 S#arp Architecture Discussion Group: http://groups.google.com/group/sharp-architecture?pli=1
 S#arp Architecture Community Site: http://www.sharparchitecture.net/
 S#arp Architecture Wiki: http://wiki.sharparchitecture.net/default.aspx
 Billy McCafferty’s Blog: http://devlicio.us/blogs/billy_mccafferty/default.aspx
 Virtual ALT.NET S#arp Architecture Presentation – 04/22 @ 10pm: http://twurl.nl/e8i3u0
 DimeCasts.NET Episodes by Kyle Baley: http://www.dimecasts.net
 Episode #75: Introduction to S#arp Architecture
 Episode #97: Another look at Sharp Architecture: Validation, Design Decisions and Automapping
 Episode #102:Taking a look at how to modify theT4 templates used by Sharp Architecture
 NHibernate Best Practices with ASP.NET:
http://www.codeproject.com/KB/architecture/NHibernateBestPractices.aspx
 Summer of NHibernate Screencast Series: http://www.summerofnhibernate.com/
 Rob Conery’s MVC Storefront Project: http://blog.wekeroad.com/mvc-storefront/mvc-storefront-
part-1/
 Stephen Walther’s ASP.NET MVC Application Building Series:
http://stephenwalther.com/blog/category/2.aspx
 James Gregory’s Blog (Fluent NHibernate): http://blog.jagregory.com/2008/08/08/introducing-
fluent-nhibernate/
 Great ASP.NET MVC & NHibernate Bloggers: Phil Haack, Scott Guthrie, Scott Hanselman, Simone
Chiaretta, Keyvan Nayyeri, Nick Berardi, Oren Eini, DerikWhittaker,Tim Barcz, Ben Scheirman,
and more…
ASP.NET MVC with
S#arp Architecture
Sandeep Sachan
Email: i@sandeepsachan.com
Website:
www.sandeepsachan.com

More Related Content

What's hot

Supercharge Your Sirius Web Apps!
Supercharge Your Sirius Web Apps!Supercharge Your Sirius Web Apps!
Supercharge Your Sirius Web Apps!Obeo
 
Forge - DevCon 2016: Implementing Rich Applications in the Browser
Forge - DevCon 2016: Implementing Rich Applications in the BrowserForge - DevCon 2016: Implementing Rich Applications in the Browser
Forge - DevCon 2016: Implementing Rich Applications in the BrowserAutodesk
 
Esri Scotland Conf 2016 Web AppBuilder
Esri Scotland Conf 2016   Web AppBuilderEsri Scotland Conf 2016   Web AppBuilder
Esri Scotland Conf 2016 Web AppBuilderEsri UK
 
Unity Connect Haarlem 2016 - The Lay of the Land of Client-Side Development c...
Unity Connect Haarlem 2016 - The Lay of the Land of Client-Side Development c...Unity Connect Haarlem 2016 - The Lay of the Land of Client-Side Development c...
Unity Connect Haarlem 2016 - The Lay of the Land of Client-Side Development c...Marc D Anderson
 
Deploy, manage, and customize with SharePoint Patterns and Practices tools an...
Deploy, manage, and customize with SharePoint Patterns and Practices tools an...Deploy, manage, and customize with SharePoint Patterns and Practices tools an...
Deploy, manage, and customize with SharePoint Patterns and Practices tools an...SharePoint Patterns and Practices
 
Forge - DevCon 2016: Introduction to Forge 3D Print API Through Sample Applic...
Forge - DevCon 2016: Introduction to Forge 3D Print API Through Sample Applic...Forge - DevCon 2016: Introduction to Forge 3D Print API Through Sample Applic...
Forge - DevCon 2016: Introduction to Forge 3D Print API Through Sample Applic...Autodesk
 
Summit Australia 2019 - Supercharge PowerPlatform with AI - Dipankar Bhattach...
Summit Australia 2019 - Supercharge PowerPlatform with AI - Dipankar Bhattach...Summit Australia 2019 - Supercharge PowerPlatform with AI - Dipankar Bhattach...
Summit Australia 2019 - Supercharge PowerPlatform with AI - Dipankar Bhattach...Andrew Ly
 
ECS 19 Bert Jansen - Taking your SharePoint to the next level – Transforming ...
ECS 19 Bert Jansen - Taking your SharePoint to the next level – Transforming ...ECS 19 Bert Jansen - Taking your SharePoint to the next level – Transforming ...
ECS 19 Bert Jansen - Taking your SharePoint to the next level – Transforming ...European Collaboration Summit
 
Hypermedia APIs from Event-Driven CQRS Systems
Hypermedia APIs from Event-Driven CQRS SystemsHypermedia APIs from Event-Driven CQRS Systems
Hypermedia APIs from Event-Driven CQRS SystemsMatt Bishop
 
Stock portfolio analysis with Cloud Foundry and AI services - Cloud Foundry Days
Stock portfolio analysis with Cloud Foundry and AI services - Cloud Foundry DaysStock portfolio analysis with Cloud Foundry and AI services - Cloud Foundry Days
Stock portfolio analysis with Cloud Foundry and AI services - Cloud Foundry DaysVidyasagar Machupalli
 
Summit Australia 2019 - PowerApps Component Framework (PCF) - Andrew Ly & Aun...
Summit Australia 2019 - PowerApps Component Framework (PCF) - Andrew Ly & Aun...Summit Australia 2019 - PowerApps Component Framework (PCF) - Andrew Ly & Aun...
Summit Australia 2019 - PowerApps Component Framework (PCF) - Andrew Ly & Aun...Andrew Ly
 
HTML Hypermedia APIs and Adaptive Web Design - Nordic APIs
HTML Hypermedia APIs and Adaptive Web Design - Nordic APIsHTML Hypermedia APIs and Adaptive Web Design - Nordic APIs
HTML Hypermedia APIs and Adaptive Web Design - Nordic APIsGustaf Nilsson Kotte
 
Sharepoint 2010: Practical Architecture from the Field
Sharepoint 2010: Practical Architecture from the FieldSharepoint 2010: Practical Architecture from the Field
Sharepoint 2010: Practical Architecture from the FieldTihomir Ignatov
 
Scott Schuster Portfolio 04262011
Scott Schuster Portfolio 04262011Scott Schuster Portfolio 04262011
Scott Schuster Portfolio 04262011schusco12
 
C# Code Samples
C# Code SamplesC# Code Samples
C# Code Samplesastruck
 

What's hot (18)

Supercharge Your Sirius Web Apps!
Supercharge Your Sirius Web Apps!Supercharge Your Sirius Web Apps!
Supercharge Your Sirius Web Apps!
 
Forge - DevCon 2016: Implementing Rich Applications in the Browser
Forge - DevCon 2016: Implementing Rich Applications in the BrowserForge - DevCon 2016: Implementing Rich Applications in the Browser
Forge - DevCon 2016: Implementing Rich Applications in the Browser
 
Esri Scotland Conf 2016 Web AppBuilder
Esri Scotland Conf 2016   Web AppBuilderEsri Scotland Conf 2016   Web AppBuilder
Esri Scotland Conf 2016 Web AppBuilder
 
Unity Connect Haarlem 2016 - The Lay of the Land of Client-Side Development c...
Unity Connect Haarlem 2016 - The Lay of the Land of Client-Side Development c...Unity Connect Haarlem 2016 - The Lay of the Land of Client-Side Development c...
Unity Connect Haarlem 2016 - The Lay of the Land of Client-Side Development c...
 
Deploy, manage, and customize with SharePoint Patterns and Practices tools an...
Deploy, manage, and customize with SharePoint Patterns and Practices tools an...Deploy, manage, and customize with SharePoint Patterns and Practices tools an...
Deploy, manage, and customize with SharePoint Patterns and Practices tools an...
 
Forge - DevCon 2016: Introduction to Forge 3D Print API Through Sample Applic...
Forge - DevCon 2016: Introduction to Forge 3D Print API Through Sample Applic...Forge - DevCon 2016: Introduction to Forge 3D Print API Through Sample Applic...
Forge - DevCon 2016: Introduction to Forge 3D Print API Through Sample Applic...
 
Summit Australia 2019 - Supercharge PowerPlatform with AI - Dipankar Bhattach...
Summit Australia 2019 - Supercharge PowerPlatform with AI - Dipankar Bhattach...Summit Australia 2019 - Supercharge PowerPlatform with AI - Dipankar Bhattach...
Summit Australia 2019 - Supercharge PowerPlatform with AI - Dipankar Bhattach...
 
ECS 19 Bert Jansen - Taking your SharePoint to the next level – Transforming ...
ECS 19 Bert Jansen - Taking your SharePoint to the next level – Transforming ...ECS 19 Bert Jansen - Taking your SharePoint to the next level – Transforming ...
ECS 19 Bert Jansen - Taking your SharePoint to the next level – Transforming ...
 
Edge
EdgeEdge
Edge
 
Hypermedia APIs from Event-Driven CQRS Systems
Hypermedia APIs from Event-Driven CQRS SystemsHypermedia APIs from Event-Driven CQRS Systems
Hypermedia APIs from Event-Driven CQRS Systems
 
Stock portfolio analysis with Cloud Foundry and AI services - Cloud Foundry Days
Stock portfolio analysis with Cloud Foundry and AI services - Cloud Foundry DaysStock portfolio analysis with Cloud Foundry and AI services - Cloud Foundry Days
Stock portfolio analysis with Cloud Foundry and AI services - Cloud Foundry Days
 
Summit Australia 2019 - PowerApps Component Framework (PCF) - Andrew Ly & Aun...
Summit Australia 2019 - PowerApps Component Framework (PCF) - Andrew Ly & Aun...Summit Australia 2019 - PowerApps Component Framework (PCF) - Andrew Ly & Aun...
Summit Australia 2019 - PowerApps Component Framework (PCF) - Andrew Ly & Aun...
 
HTML Hypermedia APIs and Adaptive Web Design - Nordic APIs
HTML Hypermedia APIs and Adaptive Web Design - Nordic APIsHTML Hypermedia APIs and Adaptive Web Design - Nordic APIs
HTML Hypermedia APIs and Adaptive Web Design - Nordic APIs
 
Sharepoint 2010: Practical Architecture from the Field
Sharepoint 2010: Practical Architecture from the FieldSharepoint 2010: Practical Architecture from the Field
Sharepoint 2010: Practical Architecture from the Field
 
Scott Schuster Portfolio 04262011
Scott Schuster Portfolio 04262011Scott Schuster Portfolio 04262011
Scott Schuster Portfolio 04262011
 
Euroscipy2018
Euroscipy2018Euroscipy2018
Euroscipy2018
 
intern
internintern
intern
 
C# Code Samples
C# Code SamplesC# Code Samples
C# Code Samples
 

Viewers also liked

ASP.NET MVC Development with S#arp Architecture
ASP.NET MVC Development with S#arp ArchitectureASP.NET MVC Development with S#arp Architecture
ASP.NET MVC Development with S#arp ArchitectureSandeep Sachan
 
10 Insightful Quotes On Designing A Better Customer Experience
10 Insightful Quotes On Designing A Better Customer Experience10 Insightful Quotes On Designing A Better Customer Experience
10 Insightful Quotes On Designing A Better Customer ExperienceYuan Wang
 
How to Build a Dynamic Social Media Plan
How to Build a Dynamic Social Media PlanHow to Build a Dynamic Social Media Plan
How to Build a Dynamic Social Media PlanPost Planner
 
SEO: Getting Personal
SEO: Getting PersonalSEO: Getting Personal
SEO: Getting PersonalKirsty Hulse
 
Lightning Talk #9: How UX and Data Storytelling Can Shape Policy by Mika Aldaba
Lightning Talk #9: How UX and Data Storytelling Can Shape Policy by Mika AldabaLightning Talk #9: How UX and Data Storytelling Can Shape Policy by Mika Aldaba
Lightning Talk #9: How UX and Data Storytelling Can Shape Policy by Mika Aldabaux singapore
 

Viewers also liked (6)

ASP.NET MVC Development with S#arp Architecture
ASP.NET MVC Development with S#arp ArchitectureASP.NET MVC Development with S#arp Architecture
ASP.NET MVC Development with S#arp Architecture
 
10 Insightful Quotes On Designing A Better Customer Experience
10 Insightful Quotes On Designing A Better Customer Experience10 Insightful Quotes On Designing A Better Customer Experience
10 Insightful Quotes On Designing A Better Customer Experience
 
How to Build a Dynamic Social Media Plan
How to Build a Dynamic Social Media PlanHow to Build a Dynamic Social Media Plan
How to Build a Dynamic Social Media Plan
 
SEO: Getting Personal
SEO: Getting PersonalSEO: Getting Personal
SEO: Getting Personal
 
Lightning Talk #9: How UX and Data Storytelling Can Shape Policy by Mika Aldaba
Lightning Talk #9: How UX and Data Storytelling Can Shape Policy by Mika AldabaLightning Talk #9: How UX and Data Storytelling Can Shape Policy by Mika Aldaba
Lightning Talk #9: How UX and Data Storytelling Can Shape Policy by Mika Aldaba
 
Succession “Losers”: What Happens to Executives Passed Over for the CEO Job?
Succession “Losers”: What Happens to Executives Passed Over for the CEO Job? Succession “Losers”: What Happens to Executives Passed Over for the CEO Job?
Succession “Losers”: What Happens to Executives Passed Over for the CEO Job?
 

Similar to Build ASP.NET MVC Apps with S#arp Architecture

Best of barcelona symposium experience
Best of barcelona symposium experienceBest of barcelona symposium experience
Best of barcelona symposium experienceThe Reference
 
Onion Architecture with S#arp
Onion Architecture with S#arpOnion Architecture with S#arp
Onion Architecture with S#arpGary Pedretti
 
Enhancing SharePoint with Responsive Web Design
Enhancing SharePoint with Responsive Web DesignEnhancing SharePoint with Responsive Web Design
Enhancing SharePoint with Responsive Web DesignEric Overfield
 
Programming is Fun with ASP.NET MVC
Programming is Fun with ASP.NET MVCProgramming is Fun with ASP.NET MVC
Programming is Fun with ASP.NET MVCIan Carnaghan
 
Nasdanika Foundation Server
Nasdanika Foundation ServerNasdanika Foundation Server
Nasdanika Foundation ServerPavel Vlasov
 
apidays LIVE Paris 2021 - Building an analytics API by David Wobrock, Botify
apidays LIVE Paris 2021 - Building an analytics API by David Wobrock, Botifyapidays LIVE Paris 2021 - Building an analytics API by David Wobrock, Botify
apidays LIVE Paris 2021 - Building an analytics API by David Wobrock, Botifyapidays
 
Design & Deploy a data-driven Web API in 2 hours
Design & Deploy a data-driven Web API in 2 hoursDesign & Deploy a data-driven Web API in 2 hours
Design & Deploy a data-driven Web API in 2 hoursRestlet
 
Cloud-Native .Net des applications containerisées .Net sur Linux, Windows e...
 Cloud-Native .Net des applications containerisées .Net sur Linux, Windows e... Cloud-Native .Net des applications containerisées .Net sur Linux, Windows e...
Cloud-Native .Net des applications containerisées .Net sur Linux, Windows e...VMware Tanzu
 
ASP.NET Presentation
ASP.NET PresentationASP.NET Presentation
ASP.NET PresentationRasel Khan
 
Building modern web sites with ASP .Net Web API, WebSockets and RSignal
Building modern web sites with ASP .Net Web API, WebSockets and RSignalBuilding modern web sites with ASP .Net Web API, WebSockets and RSignal
Building modern web sites with ASP .Net Web API, WebSockets and RSignalAlessandro Pilotti
 
SharePoint 2010 Developer 101
SharePoint 2010 Developer 101SharePoint 2010 Developer 101
SharePoint 2010 Developer 101Nick Hadlee
 
Getting Started with ASP.NET Core 1.0 (formerly ASP.NET 5)
Getting Started with ASP.NET Core 1.0 (formerly ASP.NET 5)Getting Started with ASP.NET Core 1.0 (formerly ASP.NET 5)
Getting Started with ASP.NET Core 1.0 (formerly ASP.NET 5)Arrow Consulting & Design
 
ITCamp 2012 - Alessandro Pilotti - Web API, web sockets and RSignal
ITCamp 2012 - Alessandro Pilotti - Web API, web sockets and RSignalITCamp 2012 - Alessandro Pilotti - Web API, web sockets and RSignal
ITCamp 2012 - Alessandro Pilotti - Web API, web sockets and RSignalITCamp
 
The future of web development write once, run everywhere with angular js an...
The future of web development   write once, run everywhere with angular js an...The future of web development   write once, run everywhere with angular js an...
The future of web development write once, run everywhere with angular js an...Mark Leusink
 
The future of web development write once, run everywhere with angular.js and ...
The future of web development write once, run everywhere with angular.js and ...The future of web development write once, run everywhere with angular.js and ...
The future of web development write once, run everywhere with angular.js and ...Mark Roden
 
2015-05-19-resume
2015-05-19-resume2015-05-19-resume
2015-05-19-resumeLee Norris
 

Similar to Build ASP.NET MVC Apps with S#arp Architecture (20)

Best of barcelona symposium experience
Best of barcelona symposium experienceBest of barcelona symposium experience
Best of barcelona symposium experience
 
Onion Architecture with S#arp
Onion Architecture with S#arpOnion Architecture with S#arp
Onion Architecture with S#arp
 
Enhancing SharePoint with Responsive Web Design
Enhancing SharePoint with Responsive Web DesignEnhancing SharePoint with Responsive Web Design
Enhancing SharePoint with Responsive Web Design
 
Architecting RIAs
Architecting RIAsArchitecting RIAs
Architecting RIAs
 
Databasecentricapisonthecloudusingplsqlandnodejscon3153oow2016 160922021655
Databasecentricapisonthecloudusingplsqlandnodejscon3153oow2016 160922021655Databasecentricapisonthecloudusingplsqlandnodejscon3153oow2016 160922021655
Databasecentricapisonthecloudusingplsqlandnodejscon3153oow2016 160922021655
 
Programming is Fun with ASP.NET MVC
Programming is Fun with ASP.NET MVCProgramming is Fun with ASP.NET MVC
Programming is Fun with ASP.NET MVC
 
MSDN Dec2007
MSDN Dec2007MSDN Dec2007
MSDN Dec2007
 
Nasdanika Foundation Server
Nasdanika Foundation ServerNasdanika Foundation Server
Nasdanika Foundation Server
 
apidays LIVE Paris 2021 - Building an analytics API by David Wobrock, Botify
apidays LIVE Paris 2021 - Building an analytics API by David Wobrock, Botifyapidays LIVE Paris 2021 - Building an analytics API by David Wobrock, Botify
apidays LIVE Paris 2021 - Building an analytics API by David Wobrock, Botify
 
Design & Deploy a data-driven Web API in 2 hours
Design & Deploy a data-driven Web API in 2 hoursDesign & Deploy a data-driven Web API in 2 hours
Design & Deploy a data-driven Web API in 2 hours
 
Cloud-Native .Net des applications containerisées .Net sur Linux, Windows e...
 Cloud-Native .Net des applications containerisées .Net sur Linux, Windows e... Cloud-Native .Net des applications containerisées .Net sur Linux, Windows e...
Cloud-Native .Net des applications containerisées .Net sur Linux, Windows e...
 
ASP.NET Presentation
ASP.NET PresentationASP.NET Presentation
ASP.NET Presentation
 
Building modern web sites with ASP .Net Web API, WebSockets and RSignal
Building modern web sites with ASP .Net Web API, WebSockets and RSignalBuilding modern web sites with ASP .Net Web API, WebSockets and RSignal
Building modern web sites with ASP .Net Web API, WebSockets and RSignal
 
SharePoint 2010 Developer 101
SharePoint 2010 Developer 101SharePoint 2010 Developer 101
SharePoint 2010 Developer 101
 
Getting Started with ASP.NET Core 1.0 (formerly ASP.NET 5)
Getting Started with ASP.NET Core 1.0 (formerly ASP.NET 5)Getting Started with ASP.NET Core 1.0 (formerly ASP.NET 5)
Getting Started with ASP.NET Core 1.0 (formerly ASP.NET 5)
 
ITCamp 2012 - Alessandro Pilotti - Web API, web sockets and RSignal
ITCamp 2012 - Alessandro Pilotti - Web API, web sockets and RSignalITCamp 2012 - Alessandro Pilotti - Web API, web sockets and RSignal
ITCamp 2012 - Alessandro Pilotti - Web API, web sockets and RSignal
 
The future of web development write once, run everywhere with angular js an...
The future of web development   write once, run everywhere with angular js an...The future of web development   write once, run everywhere with angular js an...
The future of web development write once, run everywhere with angular js an...
 
The future of web development write once, run everywhere with angular.js and ...
The future of web development write once, run everywhere with angular.js and ...The future of web development write once, run everywhere with angular.js and ...
The future of web development write once, run everywhere with angular.js and ...
 
2015-05-19-resume
2015-05-19-resume2015-05-19-resume
2015-05-19-resume
 
Angular js workshop
Angular js workshopAngular js workshop
Angular js workshop
 

Build ASP.NET MVC Apps with S#arp Architecture

  • 2.  Introduction –Who Am I?  Model-View-Controller pattern & ASP.NET MVC  NHibernate, Fluent NHibernate & MVCcontrib  The S#arpArchtecture Project  Building a S#arpArchitectureApplication  Summary  Additional Resources
  • 3.  4Years Development Experience  Contributing couple of tech articles at codetechniques.com, ipowercode.com–  MCTS, MCPD Certifications
  • 4.  MODEL – Business logic plus one or more data sources such as a relational database.  VIEW –The user interface that displays information about the model to the user.  CONTROLLER –The flow- control mechanism means by which the user interacts with the application.
  • 5.  ReleasedApril 9, 2009  Alternative to ASP.NETWebForms  Built for testability  User-friendly (and SEO-friendly) URLs  Clear separation of concerns  Lacks rich control set available with WebForms  Demo – ASP.NET MVC 1.0 Project Structure
  • 6.  Object-Relational Mapping (ORM)Tool  Map data to your domain objects (.hbm.xml mapping files)  Manipulate persistent data  Handle transactions and concurrency
  • 7.  An alternative to NHibernate's standard XML mapping files.  Write mappings in strongly typed C# code.  Benfits:  Refactoring  Readability  Concise  Fluent mapping  Automapping  Fluent database configuration
  • 8.  Adds functionality on top of the MVC Framework  UI Helpers  Routing  Filters  View Engines  Lots More…  http://mvccontrib.org
  • 9.  Owner & Creator: Billy McCafferty  Project Members  Frank Laub  Simone Busoli  Kyle Baley  Rapidly build maintainable web applications.  LeverageASP.NET MVC, NHibernate and Spring.NET.  Ignore infrastructure. Focus on domain and UX.
  • 10.  DDD-Focused  Loosely Coupled  PreconfiguredArchitecture  Open-Ended Presentation  jQuery  Yahoo UIWidgets  ASP.NET AJAX
  • 11.
  • 12.  Detailed Documentation in S#arpArchitecture Reference Guide document.  Software Prerequisites  Visual Studio 2008 SP1  NUnit v2.4.8  T4Toolbox v9.1.20.1  ASP.NET MVC 1.0  InstallVisual Studio S#arpArchitecture Project Template  Configuring IIS  Demo - Configuration
  • 13.  Music Store  Chinook Database 1.1 (www.codeplex.com/ChinookDatabase)  Index will list data for entities  Artists  Albums  Tracks  Playlists  Customers  Invoices  Create/Edit records  Demo – Create the Project
  • 14.  Manual Mapping  XML Mapping  Fluent NHibernate  CRUD Scaffolding  Demo – Mapping Data
  • 15.  FilteringView Data  Using CustomView Data to Access Multiple Repositories (Entity Lists)  Support for DifferentView Engines  Add some jQuery flair  Submit via AJAX  Add Edit-in-Place  Add jQuery UI tabs  jQuery Grid Options  Demo – Feature Options
  • 16.  Feel free to visit my blog   Follow me on twitter @ ipowercode  Thank you!
  • 17.  S#arp Architecture on Google Code: http://code.google.com/p/sharp-architecture/  S#arp Architecture Discussion Group: http://groups.google.com/group/sharp-architecture?pli=1  S#arp Architecture Community Site: http://www.sharparchitecture.net/  S#arp Architecture Wiki: http://wiki.sharparchitecture.net/default.aspx  Billy McCafferty’s Blog: http://devlicio.us/blogs/billy_mccafferty/default.aspx  Virtual ALT.NET S#arp Architecture Presentation – 04/22 @ 10pm: http://twurl.nl/e8i3u0  DimeCasts.NET Episodes by Kyle Baley: http://www.dimecasts.net  Episode #75: Introduction to S#arp Architecture  Episode #97: Another look at Sharp Architecture: Validation, Design Decisions and Automapping  Episode #102:Taking a look at how to modify theT4 templates used by Sharp Architecture  NHibernate Best Practices with ASP.NET: http://www.codeproject.com/KB/architecture/NHibernateBestPractices.aspx  Summer of NHibernate Screencast Series: http://www.summerofnhibernate.com/  Rob Conery’s MVC Storefront Project: http://blog.wekeroad.com/mvc-storefront/mvc-storefront- part-1/  Stephen Walther’s ASP.NET MVC Application Building Series: http://stephenwalther.com/blog/category/2.aspx  James Gregory’s Blog (Fluent NHibernate): http://blog.jagregory.com/2008/08/08/introducing- fluent-nhibernate/  Great ASP.NET MVC & NHibernate Bloggers: Phil Haack, Scott Guthrie, Scott Hanselman, Simone Chiaretta, Keyvan Nayyeri, Nick Berardi, Oren Eini, DerikWhittaker,Tim Barcz, Ben Scheirman, and more…
  • 18. ASP.NET MVC with S#arp Architecture Sandeep Sachan Email: i@sandeepsachan.com Website: www.sandeepsachan.com