1 / 25

Twitter & NoSQL Integration with MVC4 Web API

Twitter & NoSQL Integration with MVC4 Web API. Sarfraz Ahmed khan Senior Developer MCPD web applications MCTS –MS SharePoint & MS Project ITILv3 User Group Speaker – Microsoft Technology Practices User Group http://meetup.com/mstpug Website: http://prosarfraz.wordpress.com

ailani
Télécharger la présentation

Twitter & NoSQL Integration with MVC4 Web API

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Twitter & NoSQL Integration with MVC4 Web API Sarfraz Ahmed khan Senior Developer MCPD web applications MCTS –MS SharePoint & MS Project ITILv3 User Group Speaker – Microsoft Technology Practices User Group http://meetup.com/mstpug Website: http://prosarfraz.wordpress.com Twitter: @prosarfraz Linkedin: http://pk.linkedin.com/in/proSarfraz Email: SarfrazAhmed@live.com

  2. Agenda • What is NoSQL • Introduction to MongoDB. • Demo 1 – Connecting to MongoDB via .NET • Introduction to Twitter API • Demo 2- Using Twitter API via .NET • What is MVC4 • Introduction to Web API • Demo 3 – Connecting the dots

  3. What is No-SQL • SQL = Structured • NoSQL = Messy • - No Tables , No Joins • - No Traditional Queries • - Less ACID-ity • + Fault Tolerant • + Distributed • + Highly available - RQL • + key value stores • + Document store • + Graph database

  4. Introduction to MongoDB • Basics • C++ • Language Drivers • Cloud Web development Platform • Documents • Collections • Based on documents • Flexible Schema • Documents with Variable Fields • Any field for Any Data type • Capped Collections • Data Format : BSON • Faster than JSON ?

  5. Data Modeling Considerations • Data growth & change over time • Queries • Normalization / de-normalization • Indexes • Data representation in BSON

  6. MongoDB Document

  7. Why MongoDB • Data vs Relations • Highly optimized for retrieval / appending operations • Statistical or real-time analysis of growing lists of elements such as Social Media sources

  8. Demo 1 MongoDB Instance Connecting to MongoDB via .NET

  9. Who was Mongo ?

  10. Production Deployments

  11. Social Media

  12. Twitter API Version 1 & 1.1 (https://dev.twitter.com/docs/api/1.1) TfW – Twitter for Websites Search API - Streaming API – Data Intensive Needs REST API – Core Twitter Objects

  13. Supported Formats XML JSON RSS Atom

  14. Key Constructs OAuth Access Token Consumer Key Consumer Secret Callback URL ( http://myweb.com/default)

  15. Authentication Basic Authentication

  16. OAuth Authentication

  17. Demo 2 Using Twitter API via .NET

  18. MVC

  19. Evolution

  20. MVC 4 Refreshed and modernized default project templates New mobile project template asynchronous methods Azure SDK Database Migrations Bundling & Minifications Web API.

  21. Web API Build Richer Apps Reach more clients JQuery, JavaScript , SilverLight , Flash Devices & Platforms. RESTful

  22. Demo 3 Creating .Net Web API Project Unit Testing Web API

  23. Applications Social Media Analytics Sentiment Analysis

  24. Revisiting Agenda. Using MongoDB via .Net Using Twitter API via .NET Web API

More Related