zaterdag, april 26, 2014

The future of .NET in conjunction with SharePoint

With the introduction of the app model and the further expansion of the client-side object model, the classic SharePoint .NET components look like to get the status of deprecation.

What would be the best way for Microsoft to keep enabling developers to develop fullblown SharePoint portals? Should they continue the ASP.NET framework and the tight integration with the SharePoint platform? Or should they introduce a new web development framework for SharePoint portal development?

In its current state Microsoft needs to do something, as developers are now confronted with two models they need to support: the tighly integrated SharePoint .NET platform which a rich set of components on the one hand, and an agnostic CSOM based world with little standardization on the other hand.

My bet is that the classic platform will be downsized, keeping only the essential core components, and around this core a new set of standard Html5/JavaScript and .NET based tooling will arise, fully based on a rich CSOM.

So, what do you think?

Cross-posted on http://social.msdn.microsoft.com/Forums/en-US/46f574fd-cf2a-4c0b-af7f-4354dcdffc44/the-future-of-net-in-conjunction-with-sharepoint

woensdag, april 16, 2014

Strange access denied in publishing sites

Recently one of my clients had some strange behavior on their production farm. Team sites no worries, but when they started using publishing sites things went bad. Suddenly unexpected access denieds were showing up, even users with full control webapp rights were not able to access the site. Mostly when checking out pages, or changing the navigation settings.

Luckily we got a helpful hint: we should review the super user full control and super user read accounts for the object cache, as described on the following page:

http://technet.microsoft.com/en-us/library/ff758656(v=office.15).aspx

By default the users are as follows:

  • Super User Full Control: the site’s System Account;
  • Super User Read: NT Authority\Local Service.

In a claims authentication application, this default Super User Read cannot be resolved, which automatically leads to an access denied for the object cache.

Solution:

As described in the page above. You can also use this excellent script of Stef van Hooijdonk dating back from 2010, available via:

http://www.sharepoint2010blog.nl/2010/07/07/Claims+Based+Authentication+And+The+PublishingCache.aspx

dinsdag, januari 21, 2014

VMWare image performance

If you are using an HP laptop like me, you might experience performance issues when you are using virtualized images.

One solution is to let VMWare create your swapfile in memory instead of on disk. In this case, use the following settings in your vmx file:

MemTrimRate = "0"

mainMem.useNamedFile = "FALSE"

sched.mem.pshare.enable = "FALSE"

prefvmx.useRecommendedLockedMemSize = "TRUE"