SharePoint: Configure App Domain on Host Header Environments
So I have configured a host header web application and the application domain (apps.domain.com). I was able to download and install apps from the apps store, but when I click on the app the I get an error 404 Not Found.
While doing some digging around on the Internet I discovered there is a PowerShell cmdlet that I can run to configure app domain and web application. If have already created a app domain in your DNS, you will need to create a new host header web application using the app domain name (http://apps.domain.com).
To configure your app domain use the following cmdlet:
New-SPWebApplicationAppDomain -AppDomain <AppDomain> -WebApplication <WebApplicationID> -Zone <Zone> -Port <Port> -SecureSocketsLayer
Where:
- <AppDomain> is the URI of the app domain. This parameter is required.
- <WebApplicationID> is the GUID, URI, or name of the web application for which the app domain is being configured. This parameter is required.
- <Zone> is the security zone to which the app domain will be assigned. Possible values are “Default”, “Intranet”, “Internet”, “Custom”, or “Extranet”. If no value is specified “Default” will be applied. This parameter is optional.
- <Port> is the IIS port number to which the app domain will be assigned. If no value is specified, the same port that is used by the web application for the zone will be applied. This parameter is optional.
- -SecureSocketsLayer is a parameter to specify that the app domain will use Secured Sockets Layer (SSL) security. If no value is specified, no SSL security will be used.This parameter is optional.
To remove the app domain use the following cmdlet:
Remove-SPWebApplicationAppDomain -WebApplication <WebApplicationID> -Zone <Zone>
Where:
- <WebApplicationID> is the GUID, URI, or name of the web application for which the app domains will be removed. This parameter is required.
- <Zone> is the security zone from which the app domain will be removed. Possible values are “Default”, “Intranet”, “Internet”, “Custom”, or “Extranet”. If no value is specified, all of the app domains for the web application will be removed. This parameter is optional.
How to Convert JSON to a Class in C#
I have been working on .Net projects where I need to work with JSON to a class in C#. I came across a web site created by Jonathan Keith using the popular JSON.Net library by James Newton-King.
The web site allows me to copy and paste JSON code to a form and by pressing the generate button I was able to get back a class that I can copy and use in my .Net project. This web site is very useful to me since I am also using the JSON.Net library in my current project to Deserialise JSON data in to an object.
Scrum in 10 Minutes
Blogging Client For Linux
Since I have migrated to the Linux world, I needed a WYSIWYG blogging client software to post my blogs. I needed something similar to Windows Live Writer.
I did some searching on Google and came across Blogilo and it looks attractive and has a lot of features.