27
Full Trust Code is NOT Dead Apps, Mobility, BYOD and the Future of Work SharePoint & Cloud Computing succeed

Full trust code is not dead

Embed Size (px)

DESCRIPTION

It is well known that with the release of SharePoint 2013, Microsoft is shifting its recommended method for customizing and building applications to a client side “App Model” development paradigm. This has caused many organizations to invest large amounts of time and energy in rewriting solutions or to stop customizing SharePoint and building solutions altogether. In this session we will cover: - The current limitations with developing enterprise solutions using the App Model and only client side technologies - The key decision points when architecting your solutions - How to determine when the App Model approach is the right solution for your project, when it may NOT be the right solution. - How to architect and deliver full trust solutions in a way that will allow you to convert your solution and move to the cloud in a seamless and low impact way.

Citation preview

Page 1: Full trust code is not dead

Full Trust

Code is NOT

Dead

Apps, Mobility, BYOD and

the Future of Work

SharePoint & Cloud

Computing

succeed

Page 2: Full trust code is not dead

About Me

• MCPD – SharePoint 2010

• MCPD – ASP.NET

• MCITP – SharePoint 2010

• MCTS – MOSS/WSS 2007

• VTSP - Microsoft

• Certified Scrum Master

• SharePoint Guidance http://Microsoft.com/spg

Shawn P. BeesonSr. Solutions Engineer / Evangelist

NewsGator Technologies

Denver, CO

Page 3: Full trust code is not dead
Page 4: Full trust code is not dead

All characters and events in this show-even

those based on real people--are entirely

fictional. All celebrity voices are

impersonated...poorly. The following

presentation contains coarse language and

due to its content it should not be viewed...by

anyone.

Page 5: Full trust code is not dead
Page 6: Full trust code is not dead
Page 7: Full trust code is not dead

Page 8: Full trust code is not dead

Scenarios SSOM CSOM

Administration Yes No

Content management Yes Yes

Site management Yes Yes

Site branding Yes No

Synchronous execution Yes Yes

Asynchronous execution No Yes

Batched requests No Yes

Page 9: Full trust code is not dead

Are You are Listening to What “They” Say?

“The Next Version of SharePoint will be Cloud Only” – They

“Microsoft is Going to Stop Supporting On-Prem Deployments” - They

“You Shouldn’t Build Full Trust Solutions Anymore” - They

“Only SPO will Receive Regular Patches / Updates” - They

“Microsoft will not provide support for server-side customizations”-They

“New Releases Won’t Even Have a Server Side API”-They

Page 10: Full trust code is not dead

*Don’t Believe Everything You Here

Microsoft will ALWAYS* support On-Premises Deployments

The Server Side API’s will NOT be removed

Expect Tighter Server Side Run Time Security

Don’t Expect Additional VS Tool Development

Full Trust Solution Development is Supported in VS 2012 +

Private Cloud Providers are NOT As Restrictive as MSFT

MSFT will Continue to Support Customized Environments

Page 11: Full trust code is not dead

“A Forrester Research Inc. survey of IT decision makers

shows 62 percent plan to deploy SharePoint 2013 on-

premises, while only 8 percent will do so in a

Microsoft datacenter, presumably via Office 365. Only

4 percent will run SharePoint in the datacenter of a

Microsoft partner, while 26 percent will deploy

SharePoint in a hybrid mode, both on-premises and

online. “ - SharePoint 2013, Cloud vs. On-Premises:

What You Need To Know- Redmond Magazine

"There will always be large organizations and

governments that will never move their servers off-

site. They'll want control, but this technology is

moving at such a fast pace that in seven to 10 years

the majority will be in the cloud. Certainly SMBs will

be 100 percent in the cloud and the large majority of

enterprises will be in the cloud, as well, but hybrid will

have a long life " SharePoint MVP Christian Buckley,

director of product evangelism Axceler.

“…62 percent are using at least one cloud-based product

but only 8 percent said it was SharePoint and 7 percent are

using Office 365 as a complete software-as-a-service

application. Twenty percent said they're using Exchange

Online and 39 percent are using the cloud version of Lync. “

- Are Dark Clouds Forming Over SharePoint?- Redmond

Magazine

“We remain committed to delivering support and solutions

for our customers whether in the cloud or on-premises,

through cumulative updates, future service packs and

content to ensure that wherever you have SharePoint

deployed, behind the firewall or in the cloud, customers will

continue to have the support they need to ensure the

continued success and benefit of constant innovation.” –Bill

Baer

“SharePoint is better as a platform than a product. The

reason adoption lags with SharePoint is because it always

requires customization to make it relevant, efficient and

truly usable for the end user. –Shawn Beeson-Knucklehead

Page 12: Full trust code is not dead

You will Likely Have “Something” in the Cloud in the Near Future

Probably Wont Be Your Core SharePoint Environment

Expect Some Piece of SharePoint will be in the Cloud (Extranet, MySites)

Microsoft will Continue to Make it Easier to Spin Up Non Essential Business Scenarios in the Cloud

You Will Likely Have to Solve Cloud > On-Premises Authentication Issues Anyway

On-Prem Support for Deployments and Upgrades is NOT Going Anywhere

If On-Prem isn’t Going Anywhere, then Neither are FTS’s

MSFT Cannot and Will Not Abandon Clients, Partners and Vendors with Server Customizations

Almost Everyone Will Have a Hybrid Environment at Some Point

Page 13: Full trust code is not dead

Why is the “App Model” Story So Bad• 80% of the Fortune 500 is using SharePoint

• Most Current SharePoint Customers Have Server Side Customizations (3rd Party or In-House)

• Its Nearly Impossible to Build a Truly Enterprise Solution Using Apps.

• Migrating Existing WSPs to the App Model will be Costly, Time Consuming, Error Prone (If Possible)

• Development Time is Higher (at Least Currently)

• Doesn’t Fit Existing SDLC/ALM Processes

Page 14: Full trust code is not dead
Page 15: Full trust code is not dead
Page 16: Full trust code is not dead

Do You Have a Cloud Strategy?

^^^^^Ask This one Again ^^^^^

Is SharePoint Part of Your Cloud Strategy?

What is Your Mobile Strategy? BYOD?

What does Your Talent Landscape Look Like?

Is Public Cloud an Option?

What Does Your SharePoint Ecosystem Look Like Today?^^^^^Ask This one Again ^^^^^

Page 17: Full trust code is not dead
Page 18: Full trust code is not dead

Do We Have A Cloud Strategy?

Customizing SharePoint 2013

Yes

Is SharePoint Part of that Strategy?

No Use Full Trust Code!

Hybrid Only

Public Cloud

NoUse Full Trust Code! Yes Public Cloud YesExisting

Customizations

No

Existing Customizations

No

Use The App Model/ Full Trust If Required

YesMicrosoft

DataCenter?

No

Use Full Trust Code

YesUse The App Model/Full Trust if Required

YesMigrate Existing Solutions to App

Model!

No

Use The App Model

NoUse Full Trust Code

Yes

Use Full Trust Code

Page 19: Full trust code is not dead

Web Developers are Cheaper Than SharePoint Developers

Tooling and Resources for HTML5 / CSS 3 is limited

Do You Have a Solid SDLC / ALM Process? (Server Side Code)

Will You Be Developing Mobile Applications?

How Will You Manage Mobile Applications / Devices?

Do You Have Existing Customizations That Need to Be Migrated?

How Will You Manage External Users?

Browser Compatibility Can Be a Real Pain

The Softer Decision Criteria

Have You Considered 3rd Party Private Cloud Options SPO-D (Dedicated SharePoint in the MSFT Cloud)

Page 20: Full trust code is not dead
Page 21: Full trust code is not dead

Protect Yourself – Be Ready for Cloud and Mobile

Move To Client Development / API’s When Possible

Expose Custom Server / Full Trust Code via Web Services

ASMX Services are Deprecated, Develop RESTful, WCF Services

Minimize Customizations in the Cloud

Determine Your Mobility Strategy

Understand Your Internal & External Auth. Strategy

Don’t Be Afraid To Offload What Makes Sense.

Consider Full Trust Proxies for Administration Code (ex: Timer Jobs)

Sandbox Solutions are Still in Play (but be careful)

Page 22: Full trust code is not dead

Customer Azure Tenancy

On Premises Tunnel Service

Mobile Endpoint Service

Mobile Client

Provider Hosted App

Page 23: Full trust code is not dead

One Way Outbound Topology

MICROSOFT DATA CENTER INTERNET INTRANET

SharePoint Online CANNOT QUERY SharePoint Server

2013

SharePoint Online

Site collection

Search portal: Local search results ONLY

Search: One-way outboundBCS: Not supportedDuet: Not supported

SharePoint Server 2013 CAN QUERY SharePoint

Online

Primary web application

Search portal: Local + Remote search results

Outbound

Inbound

Office 365 Tenant SharePoint Server 2013

Local Local/Remote

SUPPORTS

SharePoint SearchFrom on-premises: On-premises SharePoint Server 2013 users can see both local and remote search results.

From SharePoint Online: Users of the SharePoint Online Search portal can see only local results.

Page 24: Full trust code is not dead

One Way Inbound Topology

MICROSOFT DATA CENTER INTERNET INTRANET

SharePoint Online CAN QUERY SharePoint Server

2013

SharePoint Online

Site collection

Search portal: Local search results ONLY

Search: One-way inboundBCS: SupportedDuet: Supported

SharePoint Server 2013 CANNOT QUERY

SharePoint Online

Primary web application

Office 365 Tenant SharePoint Server 2013

PERIMETER NETWORK

Reverse proxy

CUSTOMER NETWORK

Outbound

Inbound

Local

Search portal: Local + Remote search results

Local/Remote

SharePoint SearchFrom on-premises: On-premises SharePoint Server 2013 users can see only local search results.

From SharePoint Online: Users of the SharePoint Online Search portal can see both local and remote results.

The SharePoint on-premises farm trusts SharePoint Online (Office 365)

Reverse proxy device

SUPPORTS

REQUIRES

Page 25: Full trust code is not dead

Bi-Directional Topology

MICROSOFT DATA CENTER INTERNET INTRANET

SharePoint Online CAN QUERY SharePoint Server

2013

SharePoint Online

Site collection

Search: BidirectionalBCS: SupportedDuet: Supported

SharePoint Server 2013 CAN QUERY SharePoint

Online

Primary web application

Office 365 Tenant SharePoint Server 2013

PERIMETER NETWORK

Reverse proxy

CUSTOMER NETWORK

Outbound

Inbound

Search portal: Local + Remote search results

Local/Remote

Search portal: Local + Remote search results

Local/Remote

Business Connectivity Services

Duet Enterprise Online

From SharePoint Online: Users can perform both read and write operations. The BCS service connects to an on-premises SharePoint Server 2013 farm. The BCS service configured on the on-premises farm brokers the connection to on-premises OData Service endpoints.

Requires an app for SharePoint or an external list installed on the SharePoint Online site collection.

From SharePoint Online: Users can perform read and write operations against an on-premises SAP system.

Requires an app for SharePoint on the SharePoint Online site collection or a Duet Enterprise Online feature.

SharePoint SearchFrom on-premises: On-premises SharePoint Server 2013 users can see both local and remote results.

From SharePoint Online: Users of the SharePoint Online Search portal can see both local and remote results.

Extranet users: If you configure extranet authentication services, extranet users can log in remotely with an on-premises Active Directory account and use all available hybrid functionality.

Two-way trust between environments

Reverse proxy device

SUPPORTS

REQUIRES

Page 26: Full trust code is not dead
Page 27: Full trust code is not dead