Presentation is loading. Please wait.

Presentation is loading. Please wait.

Access to Azure EXTENDING OFFICE 365 INTO THE CLOUD George Young Dawson Butte Software SHAREPOINT SATURDAY DENVER 2015 – JANUARY.

Similar presentations


Presentation on theme: "Access to Azure EXTENDING OFFICE 365 INTO THE CLOUD George Young Dawson Butte Software SHAREPOINT SATURDAY DENVER 2015 – JANUARY."— Presentation transcript:

1 Access to Azure EXTENDING OFFICE 365 INTO THE CLOUD George Young Dawson Butte Software gcyoung@dawsonbutte.net SHAREPOINT SATURDAY DENVER 2015 – JANUARY 2015 - DENVER, CO

2 Access Web Apps  A new app type for SharePoint and a(nother) foray onto the web for Access  Access is just the “designer”  UI is HTML forms  Data is in SQL Server  HTML hosted in SharePoint  SQL database is hosted in Windows Azure (Azure SQL Database)  There is no client code! SHAREPOINT SATURDAY DENVER 2015 – JANUARY 2015 - DENVER, CO

3

4

5 Access Web App Pros and Cons  Pros  Standardized User Interface  One-click Deployment  SQL Server (Azure SQL Database) Backend  Authentication handled by SharePoint  Cons  Limited User Interface Options  No VBA (just macros)  Requires SharePoint or Office 365 for Business  No inherent Report functionality SHAREPOINT SATURDAY DENVER 2015 – JANUARY 2015 - DENVER, CO

6 Extending into the Cloud  Azure SQL Database means that the data is now available from anywhere  UI can be anything that can access a SQL Server database  The application can live outside of SharePoint  SharePoint / Office 365 / Active Directory authentication can be used, if desired SHAREPOINT SATURDAY DENVER 2015 – JANUARY 2015 - DENVER, CO

7 Extending Examples  SQL Server Management Studio  Excel Charts  Active Directory Authenticated ASP.NET MVC Application  Windows 8 Phone App (Web API) SHAREPOINT SATURDAY DENVER 2015 – JANUARY 2015 - DENVER, CO

8 SQL Server Management Studio SHAREPOINT SATURDAY DENVER 2015 – JANUARY 2015 - DENVER, CO  We can view our Web App data in Azure SQL Database in SSMS  If you haven’t already specified access From Any Location in your Web App:  Click FILE to open the “Back Stage”  Click the Manage button in the Connections section  Indicate From Any Location  Click the Manage button again and select View Connection Information  Copy that information somewhere handy (and secure, if production)  Open SSMS to a new connection and enter the credentials  Make sure to enter the database name on the Options tab  NOTE: Schema is managed in the Access designer, not in SSMS (unlike “normal” SQL Server)

9 SHAREPOINT SATURDAY DENVER 2015 – JANUARY 2015 - DENVER, CO

10 Excel Reports SHAREPOINT SATURDAY DENVER 2015 – JANUARY 2015 - DENVER, CO  We can view visualizations of the data in Excel  Create a new ODBC Connection  Click the Data tab, select From Other Data Sources > From Data Connection Wizard  Select Other/Advanced, then select SQL Server Native Client 11.0  Enter the credentials  Uncheck Connect to a Specific Table  In the Select Table, check Enable selection of multiple tables  Import your data to the desired format (Table, PivotTable Report, etc)  Design your report

11 SHAREPOINT SATURDAY DENVER 2015 – JANUARY 2015 - DENVER, CO

12 Extending Access using Visual Studio SHAREPOINT SATURDAY DENVER 2015 – JANUARY 2015 - DENVER, CO  Two examples:  ASP.NET web app (MVC)  Windows 8 Phone App consuming an ASP.NET Web API interface to database  ASP.NET web apps can live on any IIS server  Visual Studio 2013 Professional or Express Web/Phone (free)

13 Quick Aside: What is MVC? SHAREPOINT SATURDAY DENVER 2015 – JANUARY 2015 - DENVER, CO

14 Active-Directory Authenticated MVC Application ACCESS DAY – OCTOBER 2014 - DENVER, CO  Now, web applications that may be accessed anywhere (not just in SharePoint)  We can allow  Open (unauthenticated) access  Individual user access (stand-alone or federated)  Cloud Active Directory (SharePoint/Office 365) authentication  Azure Active Directory can be used to augment SharePoint/Office 365 Active Directory)  On-Premise Active Directory  We’ll build an ASP.NET MVC web application using cloud Active Directory  Select Web > ASP.NET Web Application  Specify MVC  Specify Organizational Authentication and enter your domain credentials  Generate site as for App for SharePoint  The web app is on the public internet, but access requires Active Directory authentication

15 SHAREPOINT SATURDAY DENVER 2015 – JANUARY 2015 - DENVER, CO

16

17

18

19

20

21

22

23

24

25

26

27

28

29

30

31 Windows Phone 8 App SHAREPOINT SATURDAY DENVER 2015 – JANUARY 2015 - DENVER, CO  We can also interact with our Access Web App database in mobile device apps  Two components:  Back end data interface: ASP.NET WebAPI  Front-end user interface: Windows Phone 8 (Databound App)

32 Windows Phone 8 App Backend: ASP.NET Web API ACCESS DAY – OCTOBER 2014 - DENVER, CO  Almost identical to MVC web application  Development:  New Project > Web > ASP.NET Web Application  Select Web API  Change Authentication to No Authentication  Generate Model as for App for SharePoint  Remove “virtual” keyword from generated classes  Add > New Scaffolded Item > Web API 2 Controller with actions  Run  Publish to Azure: Right click on project name > Publish

33 SHAREPOINT SATURDAY DENVER 2015 – JANUARY 2015 - DENVER, CO

34

35

36

37

38

39

40 Windows Phone 8 App Frontend: Databound App  Windows Phone 8 Databound App  Broadest reach  Lots of churn in Universal Apps right now  Development:  New Project > Store Apps > Windows Phone Apps > Databound App (Windows Phone Silverlight)  Add Model class  Edit ItemViewModel.cs and MainViewModel.cs  Edit MainPage.xaml and DetailsPage.xaml  Run SHAREPOINT SATURDAY DENVER 2015 – JANUARY 2015 - DENVER, CO

41

42

43

44

45

46

47 Summary  Access 2013/365 opens new scenarios for Access developers to extend their applications to:  SharePoint and Office 365  Public and authenticated web sites  Mobile device applications  Access/Office/SharePoint developers might consider acquiring basic Visual Studio / MVC skills (or partnering with someone having them) to offer these new scenarios to their customers.  Developers and their clients may benefit from “thinking outside of the box”.  The “classic” Access client forms application can still be at the center of this new web-based extensible set of applications. SHAREPOINT SATURDAY DENVER 2015 – JANUARY 2015 - DENVER, CO

48 Resources  Please see the following web site for:  A list of resources for learning more about the applications covered in this talk  The sample Northwind Orders database used in these demos  A copy of this PowerPoint presentation http://www.dawsonbutte.com/accesstoazure/ http://www.dawsonbutte.com/accesstoazure/  For additional questions or comments, please email me at: gcyoung@dawsonbutte.netgcyoung@dawsonbutte.net  Thank you for attending! SHAREPOINT SATURDAY DENVER 2015 – JANUARY 2015 - DENVER, CO

49 Q&A SHAREPOINT SATURDAY DENVER 2015 – JANUARY 2015 - DENVER, CO


Download ppt "Access to Azure EXTENDING OFFICE 365 INTO THE CLOUD George Young Dawson Butte Software SHAREPOINT SATURDAY DENVER 2015 – JANUARY."

Similar presentations


Ads by Google