This is the slide deck for my presentation about building SharePoint apps using Visual Studio 2013, MVC, SignalR and WebAPI.
With the release of Visual Studio 2013, Microsoft also added a very nice MVC template for remote SharePoint Apps. This is a slightly modifed version of the default MVC5 template, which doesn’t, for example, contain an own authentication provider, but does contain all the stuff like bootstrap and the latest jquery version. Some extra helper files have been added (via a nuget package) to assist in the communication with SharePoint 2013. This does work perfectly with the Actions defined in MVC controllers, but the code doesn’t work together with ApiControllers. Yet This blogpost shows us how (roughly) the same functionality can be implemented for use with the WebApi controller! At the end, the full source code is provided, it works in azure, as well as with high trust solutions. A good read on the basics of the SharePointContextProvider can be found here and here
Note: the provided code is by no means production ready! I didn’t test it thoroughly, but the basic scenario’s do work!
With the introduction of the SharePoint App model, it becomes more and more interesting to convert existing applications in your organisation from a “plain” MVC application to a SharePoint app. This makes it easy to integrate SharePoint capabilities such as Search, UserProfiles and newsfeeds within your application, to make it even cooler! This blogpost describes the steps that are required to convert a MVC application to a SharePoint 2013 app using Visual Studio 2013
Sometimes, when creating new SharePoint applications, the following error occurs:
CorrelationId: 014b8442-57e1-41ef-9172-db01d9482844 3> ErrorDetail: There was a problem with activating the app web definition. 3> ErrorType: App 3> ErrorTypeName: App Related 3> ExceptionMessage: Exception from HRESULT: 0x81070964 3> Source: AppWeb 3> SourceName: App Web Deployment
With the introduction of Apps for SharePoint 2013 and the expansion of the SharePoint API, a whole new world opened for us, the SharePoint developers. This blogpost describes on how to integrate SignalR 2.0 into a SharePoint 2013 MVC app, with the possiblity to use SignalR from your hostweb! We will end up with a nifty SharePoint application that makes use of signalR and a remote event receiver, which uses the signalR hub to push through new items to every registred client. An example solution is provided at the end of the document, but imagine what you could do with this. I personally always include signalR solutions when building apps, to monitor all events that I am interested in when debugging/fixing apps.
SharePoint 2013 brought great things: great new social features, the API got a major extension and of course, the new introduced app model. A feature that I really missed though, was the ability to post documents to your newsfeed from the context menu. This blogpost describes how to do this.
November 13th is the day that Visual Studio 2013 officially will be launched to the public during a virtual Launch Event. InfoSupport organizes, toghether with the Microsoft communities a special event around this Launch, with the theme:
Step into the world of apps and cloud with Visual Studio 2013
All attendees will together watch the official Launch, live streamed from New York. After the stream 6 sessions are planned which will share technical details about Visual Studio 2013 and the Microsoft Platform: I’ll present one of these: Building SharePoint 2013 and Office Apps with Visual Studio 2013
Welcome to my new blog! I had to make a move to a new domain and CMS, because my old host wasn’t able to fullfill the requirements that I had. This blog doesn’t contain all posts yet, but they will be migrated at a later time.
This is the second post as part of a blog series about the integration of using SharePoint 2013 as a datasource for windows 8 apps.Find the index at SharePoint 2013 and Windows 8 apps – better together Part 1: Introduction, background and considerations
This is the first post as part of a blog series about the integration of using SharePoint 2013 as a datasource for windows 8 apps.
- Part 1: Introduction, Background and Considerations (this post)
- Part 2: Platform choice, using the right API and data access
- Part 3: Integrating Search using REST
- Part 4: Authentication
On 8 march 2013, my colleague Ad Reijngoudt (Windows 8 App developer, follow him on twitter: @Areijngoudt) and I spoke on the dutch Techdays on the subject: “SharePoint 2013 and windows 8 app – better together”. After this session, we got a lot of questions on several subjects, so I decided to write some blogposts on these subjects.