Develop a Quick and Dirty Web interface to your database

3,921 views

Published on

So you want to develop to your database? Do you have your own tools to check performance? Does Chris Shaw's Utility Database sound like a tool you have and want a web interface, but don’t want to write a lot of code? I will demonstrate how a simple ASP.Net MVC site can be developed and deployed against your database. See firsthand how easy we can use Shaw's utility database and access across the web over a mobile device so you may manage performance online whilst zipping your drink of choice.

Published in: Technology
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
3,921
On SlideShare
0
From Embeds
0
Number of Embeds
157
Actions
Shares
0
Downloads
27
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

Develop a Quick and Dirty Web interface to your database

  1. Develop a Quick and Dirty Webinterface to your database:for the DBA and other non-developers Gabriel Villa @extofer extofer@gmail.com www.extofer.com
  2. @extofer Page 2
  3. Objective… Answer the question: What is ASP.Net MVC?…Set you on your way to develop to your owndatabase…And Write less code Page 3
  4. Microsoft’s Web Evolution Page 4
  5. Microsoft’s Web Evolution • DHTML • Active Server Pages • ASP.Net Web Forms • ASP.Net MVC Page 5
  6. What is ASP.Net MVC? Model View Controller Pattern Coordinates User inputs Controller and outputs User BusinessInterface Logic View Model ASP.Net Page 6
  7. Programming code… moi? • HTML 5 • CSS3 View • Scripts • Razor • C#/VB.Net Controller Model • Any other .Net CLR Page 7
  8. What is needed?• .Net Framework 4.x• Microsoft Visual Studio• Visual Web Developer 2010 Express• Entity Framework• Db Context Generator• Initializr• Utility Database• Windows Phone Emulator• Version Control Page 8
  9. Page 9
  10. Open Source Community • Distributed Revision Control • Fork a project • Pull request and participate • Rapid Application development Page 10
  11. OS Version Control Hosting • Code Plex • http://www.codeplex.com/ • Google Code • http://code.google.com • BitBucket • https://bitbucket.org/ • GitHub • https://github.com/ Page 11
  12. TFS Mercurial Git SVN OtherCode Plex X X XBitBucket X XGoogle X XCodeGit Hub X Page 12
  13. Obligatory Image of Bacon Page 13
  14. ASP.Net MVC Directory Structure App_Data – physical data store Content – CSS, images Controller – class files for each controller, each named in the same convention, i.e “HomeController” Models – business logic classes Scripts – client side scripts to support application, such as Jquery and AJAX Views – location of the view files Page 14
  15. Resources• .Net Framework 4.x • Download: Microsoft .NET Framework 4 (Web Installer) - Microsoft Download Center - Download Details http://bit.ly/J1pJ5s• Visual Web Developer 2010 Express • Free Developer Tools - Visual Studio 2010 Express | Microsoft Visual Studio http://bit.ly/J1pUh2• Nuget or Extention Manager • Entity Framework • Db Context Generator• Initializr • Start an HTML5 Boilerplate project in 15 seconds! http://bit.ly/J1qCLc Page 15
  16. Resources .. cont’d • Utility Database • Authored by Chris Shaw • http://chrisshaw.wordpress.com • Windows Phone Emulator • WP SDK 7.1 - Microsoft Download Center - Download Details http://bit.ly/J1r1xc • Version Control • Getting Started With TFS 11 Express Beta - Chaks SharePoint Corner - Site Home - MSDN Blogs http://bit.ly/J1rorA • Git - Fast Version Control System http://bit.ly/J1ruQe • TortoiseSVN http://bit.ly/J1rBLF • Mecurial http://mercurial.selenic.com/ Page 16
  17. Was it good for you?We answered what ASP.Net MVC isSet you on your way to develop to your owndatabaseWe wrote less codeOpen Source CommunityDeployed Page 17
  18. Thank you! Gabriel Villa www.extofer.com @extoferYou can download the project on GitHub: https://github.com/extofer/MUDBug Page 18

×