2012

ASP.NET Web API: Extending content negotiation with new formats

My last post about ASP.NET Web API content negotiation support gave you basic idea about what content negotiation is and how it works out-of-box. In this post I will show you how to extend Web API content negotiation support and make Web API to output contact data in vCard format.

ASP.NET Web API: How content negotiation works?

One cool new feature that ASP.NET Web API introduces is support for content negotiation. Content negotiation is mechanism that allows web server to serve content in different format using same URL. In this posting I will show you how to use ASP.NET Web API to serve content in JSON and XML formats.

ASP.NET MVC 4: Short syntax for script and style bundling

ASP.NET MVC 4 introduces new methods for style and scripts bundling. I found something brilliant there I want to introduce you. In this posting I will show you how easy it is to include whole folder with stylesheets or JavaScripts to your page.

Error: The value cannot be an empty string. Parameter name: xmlFile

You may get the following error when building publishing sites hierarchy: “Provisioning did not succeed. Details: Failed to completely create the subsite ‘http://siteurl’. OriginalException: Invalid value. The value cannot be an empty string. Parameter name: xmlFile” Here’s the solution.

Creating gadget-like blocks for Windows Home Server 2011 web add-in user interface

To keep user interface of your Windows Home Server 2011 (WHS) web add-in similar to other parts of UI you may need styled blocks like shown on WHS web interface home page. In this post I will show you HTML mark-up and CSS you need to create your own gadget block.

Writing simple named pipes server in C#

I solved a little problem last night when playing with named pipes. I created named pipe that writes all output to file. Named pipe is opened for all users in machine. In this posting I will show you simple class that works as pipe server.

Setting up Windows Home Server 2011 development environment

For Windows Home Server 2011 (WHS) there are new API-s available you can use to extend WHS web and desktop interfaces. Actually there is no Windows Home Server SDK anymore – now we have common Windows Server Solutions (WSS) SDK that works also for Windows Small Business Server, Windows Storage Server and Windows MultiPoint Server. In this posting I will show you how to create development environment for Windows Home Server 2011.

Just released: WHS YouTube Downloader beta

I just released to Codeplex the first beta of my Windows Home Server 2011 web add-in called WHS YouTube Downloader. Log in to WHS web interface, add YouTube videos to download queue, do something useful while home server downloads videos and watch them later when downloads are done. Sounds easy? Well, okay, it is easy!

Hide ribbon using SPSecurityTrimmedControl

In one of my current SharePoint 2010 Foundation projects I needed to hide ribbon from anonymous users. Visitors, contributors etc must see ribbon on all pages where it shown by default. In this posting I will show you how to hide ribbon usingSPSecurityTrimmedControl.

Making SharePoint 2010 Foundation top menu using submenu popups

By default SharePoint 2010 Foundation menus are not hierarchical and we have to move from site to site using top menus or quick launch menus. In this posting I will show you how to make SharePoint 2010 Foundation top menu hierarchical so it shows submenus when user moves over menu items with mouse.

Creating custom menus to SharePoint sites

Sometimes we need custom menus in our SharePoint sites. In this posting I will show you how to add custom xml-based menu to your master page and make it work with SharePoint.

Windows Home Server needs new licensing scheme

Fast development of technology and quickly spreading fast internet with new devices and technology open new ways for us to connect our homes with other family members. Windows Home Server is product that needs heavy refresh and one thing that Windows Home Server team must take seriously is changing current very limited licensing scheme. Here is the overview of situation and what needs to be done to get better licensing that fits for families better today.

Creating dynamic pivot reports on SQL Server

In one of my current projects I have some pivot reports that show count of issues in different states. Grouping depends on report. States are dynamic – admins can define new states and save them to states table. This means that I cannot hardcode names of states to queries. Instead I need dynamic pivots. In this posting I will show you how to write reporting procedures that offer dynamic pivoting capabilities.

Next posts