Your SlideShare is downloading. ×
0
Building CLR/H Registration Site with ASP.NET MVC4 and EF4CodeFirst
Building CLR/H Registration Site with ASP.NET MVC4 and EF4CodeFirst
Building CLR/H Registration Site with ASP.NET MVC4 and EF4CodeFirst
Building CLR/H Registration Site with ASP.NET MVC4 and EF4CodeFirst
Building CLR/H Registration Site with ASP.NET MVC4 and EF4CodeFirst
Building CLR/H Registration Site with ASP.NET MVC4 and EF4CodeFirst
Building CLR/H Registration Site with ASP.NET MVC4 and EF4CodeFirst
Building CLR/H Registration Site with ASP.NET MVC4 and EF4CodeFirst
Building CLR/H Registration Site with ASP.NET MVC4 and EF4CodeFirst
Building CLR/H Registration Site with ASP.NET MVC4 and EF4CodeFirst
Building CLR/H Registration Site with ASP.NET MVC4 and EF4CodeFirst
Building CLR/H Registration Site with ASP.NET MVC4 and EF4CodeFirst
Building CLR/H Registration Site with ASP.NET MVC4 and EF4CodeFirst
Building CLR/H Registration Site with ASP.NET MVC4 and EF4CodeFirst
Building CLR/H Registration Site with ASP.NET MVC4 and EF4CodeFirst
Building CLR/H Registration Site with ASP.NET MVC4 and EF4CodeFirst
Building CLR/H Registration Site with ASP.NET MVC4 and EF4CodeFirst
Building CLR/H Registration Site with ASP.NET MVC4 and EF4CodeFirst
Building CLR/H Registration Site with ASP.NET MVC4 and EF4CodeFirst
Building CLR/H Registration Site with ASP.NET MVC4 and EF4CodeFirst
Building CLR/H Registration Site with ASP.NET MVC4 and EF4CodeFirst
Building CLR/H Registration Site with ASP.NET MVC4 and EF4CodeFirst
Building CLR/H Registration Site with ASP.NET MVC4 and EF4CodeFirst
Building CLR/H Registration Site with ASP.NET MVC4 and EF4CodeFirst
Building CLR/H Registration Site with ASP.NET MVC4 and EF4CodeFirst
Building CLR/H Registration Site with ASP.NET MVC4 and EF4CodeFirst
Building CLR/H Registration Site with ASP.NET MVC4 and EF4CodeFirst
Building CLR/H Registration Site with ASP.NET MVC4 and EF4CodeFirst
Building CLR/H Registration Site with ASP.NET MVC4 and EF4CodeFirst
Building CLR/H Registration Site with ASP.NET MVC4 and EF4CodeFirst
Building CLR/H Registration Site with ASP.NET MVC4 and EF4CodeFirst
Upcoming SlideShare
Loading in...5
×

Thanks for flagging this SlideShare!

Oops! An error has occurred.

×
Saving this for later? Get the SlideShare app to save on your phone or tablet. Read anywhere, anytime – even offline.
Text the download link to your phone
Standard text messaging rates apply

Building CLR/H Registration Site with ASP.NET MVC4 and EF4CodeFirst

1,370

Published on

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

No Downloads
Views
Total Views
1,370
On Slideshare
0
From Embeds
0
Number of Embeds
0
Actions
Shares
0
Downloads
8
Comments
0
Likes
1
Embeds 0
No embeds

Report content
Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
No notes for slide

Transcript

  • 1. Building CLR/H Registration Site withASP.NET MVC4 and EF4.1 Code First
  • 2. Requirements of registration site.• Attendees can do registration from Web. – Entry name, e-mail, twitter id ...• Share attendees list only within CLR/H staffs. – The list is used by staff at reception.
  • 3. Today’s key words ASP.NET MVC4 Visual StudioWeb Pages View 11 Beta “Razor” Syntax ASP.NET AppHarbor Web API NuGet Git Entity Framework 4.1 Code First Twitter Bootstrap SQL Server 2012 LocalDB
  • 4. Live DemoCreate It!
  • 5. Next step...Publish to internet It!
  • 6. Why AppHarbor?• The most reason is... I interested in it! :)• Second reason, it is low cost at start up. – Form $0 for ASP.NET Web Site hosting. – From $0 fot Rent SQL Server (20MB limited).
  • 7. Notice• You must store the all NuGet packages which installed into Git repository. – I tried “NuGet Package Restore” feature, but it didn’t work.• EF4CodeFirst “DropDatabase” initializer doesn’t work. – Because the database is not mine. It is only rental. So, we can not drop it. – You must use “CreateTablesOnly” initializer. (install from NuGet.)
  • 8. Live DemoPublish to internet It!
  • 9. Next step...Authenticate & Authorize It!
  • 10. How toauthentication?
  • 11. Windowsauthentication?
  • 12. No.It is internet site,not intranet.
  • 13. Formsauthentication?
  • 14. Sorry.I do not chooseFormsauthenticationtoday.
  • 15. My choice is...
  • 16. HTTPBasicAuthentication!
  • 17. Why HTTP Basic Authentication?• Becase, it is HTTP standard.• So that, we can authenticate any clients by standard way.• For example... Microsoft Excel “Web Query” feature!
  • 18. How to add in Basic auth functionin your Web app?• Not use IIS function. – It depend on Windows local user account, or Active Directoy.• Instead, install “HTTP Auth Module” from NuGet.
  • 19. Live DemoAuthenticate & Authorize It!
  • 20. Next step...Provide web api!
  • 21. Live DemoProvide web api!
  • 22. Next step...Extra Stage!
  • 23. I think, it is not Best solution...• There is no function to manage user account s, yet... – We can configure HTTP Auth Module to use MembershipProvider, but...• Excel Web Query is Very convenient, but it is not full automatic. – We have to sync manualy.
  • 24. I have an idea :)
  • 25. GoogleSpread Sheet :P
  • 26. Using Google Spread as a Database• Install “GDataDB” from NuGet!• Then, you can use Google Spread Sheet as a Database. – Spread Sheet Documents = Databases – Work Sheets = Tables – Rows = Entities – Columns = Properties of Entity – Column name mapped to property name.
  • 27. Live DemoStore into Google It!
  • 28. Advantage• Easy to share and access control. – Based on Google Documet platform.• Nothing to do. – “Sync” is not required.• But... It is very slow :( – It is not “real” database.
  • 29. At last...Conclusion.
  • 30. • VS11 is very powerfull, and EF41CodeFirst allows you to develop rapidly!• You can get anything you want from NuGet! – Many many usefull libraries, modulues... – Many many nice girl friends...• Excel Web Query is nice feature! – Keep the way to HTTP standard.• You can publish your Web apps without cost by AppHarbor! – With SQL Server, not only Web app hosting!
  • 31. Thank you!

×