SharePoint 2019 is it worth it?

Introducing SharePoint 2019: Unleash the power of collaboration and productivity. Are you wondering if it’s worth the investment? We have the answer. Experience a new level of efficiency with our latest SharePoint version. Seamlessly integrate your team’s workflow, streamline document management, and enhance communication like never before. Whether you’re a small business or a large enterprise, SharePoint 2019 is designed to meet your unique needs. Discover the advantages of this cutting-edge platform and unlock the full potential of your organization today!

Entity Framework Core: Initialize and Create Database

When you have finished defining your EF model the first time and you want to create the actual database and tables. First you will need to install the EF Core command line tools, you can do this in the .NET Core CLI or inside Visual Studio. But this post I will be focusing on Visual Studio only. So open your Package Manager Console and enter the following commands.

Install-Package Microsoft.EntityFrameworkCore.Tools

The Install-Package command will install the command tools for you, before you can continue to the next command.

Add-Migration InitialCreate

Add-Migration command will create the migration to generate the initial sets of tables for the model.

Update-Database

Update-Database command will create the database and applies the new migration to it.

SharePoint Prerequisite Installation Can’t Install Web Server Role

If you are trying to install the prerequisite for SharePoint 2013 or 2016 and you come across an error message saying it can’t install the web server role. Most likely the issue is that you haven’t installed .NET Framework 3.5 feature on the server.

Go to Server Manager and select Add roles and features, click next till you see a list of features and then select .NET Framework 3.5 Features and continue. After you have done this, install the prerequisite again.

 

Samsung Galaxy Note 7 Recall

samsung-note-7-colors

So it’s been 2 weeks since we were contacted by Harvey Norman to recall our Note 7 mobile phone due to the internal battery exploding issue that is going around. So we took it back for a new replacement which will be available on 21st September 2016.

Harvey Norman and other resellers are also offering a courtesy Samsung J1 Mini phone that we get to keep, or get a loan S7 and swap it back for your Note 7 when it arrives. Also we get to keep all the accessories that came with the Note 7 inside the box too! So now I have an extra fast charger to USB-C and headphones.

I’m still considering if I should get a full refund while still waiting for the new replacement. The reason is because I have a feeling that when the phone goes back on sale to the public in October the price might drop.

I recommend that you go to Samsung’s web site for more information on the recall process, or contact the place of purchase.

 

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.

 

SharePoint: Web Application Creation Fails

If you have noticed after you have created a few web applications in SharePoint Central Administration, your new web application doesn’t complete it’s process normally and at the end you see an error message in a dialog saying it can’t find the following URL address.

But if you think that your site has been created successfully, well don’t keep your hopes up because it didn’t. The reason for this is because the more web application is created the time in which it takes to create a web application increases.  As part of the creation process, IIS is reset and by default, the application pool allows 90 seconds for the connections to close off before shutting down. When the number of web application grows above 90 seconds its not enough time for the provisioning to complete. You should have an idea or know how to use Microsoft SharePoint for collaboration to help your organization be more efficient and collaborative.

Don’t worry, I have done some searching around and found a resolution, by increasing the time longer before it shutdowns:

  1. On the same server that is hosting Central Administration, open IIS Manager.
  2. Expand the Application Pools section.
  3. Find the SharePoint Central Administration  application pool. Right click and choose Advance Settings.
  4. In the Process Model section set the Shutdown Time Limit to a higher value. Eg. 300
  5. Restart IIS.

Mini DisplayPort 1.2 to HDMI 2.0 UHD

So I have been trying to buy this adapter for months because Club3D ran out of stock, So just a couple a weeks ago I saw this available on Amazon, so I quickly bought one for my Surface Pro 4, for $30 US dollars plus shipping to Australia.

14052016_02

So you’re asking why did I buy it? Well in one of my previous posts, I blogged about my new 41.5 inch Ultra High Definition (UHD) TV which I am currently using as a monitor, but I was able to get the max resolution of 3840 x 2160 at 30Hz refresh rate. This resolution was just okay for coding and general use. But the problem appears when I’m trying to play some of the games I have in full screen with the max resolution, the game gets really slow.

14052016_03

This is an active adapter which will convert the Mini DisplayPort 1.2 signal to HDMI 2.0 with 60Hz. So now playing all the games in full resolution is awesome, everything runs really smooth and streaming games from my Xbox One.

Click Here if you want to buy one of these from Amazon.

 

Lumia 640, 5 months later…

So I have been actively using the Lumia 640 as my main mobile phone for 5 months now, with Windows 10 Insider’s Preview installed. I taken it overseas, to work, basically everywhere!

14052016_00I have been receiving regular updates for Windows 10 Mobile. Unfortunately not all features are currently working 100% and some are still buggy, which I completely understand. For exampleBluetooth on my car’s hands-free sometimes get cut out and back during the conversation and some custom lock screen features don’t work. But those are just some of the common features I use mostly on daily basis. (more…)

SharePoint: How To Create a SharePoint Permission Group and Add Users Programmatically

Using C# and SharePoint Object Model I will show you how to add a user to an existing or newly created SharePoint Permission Group.

I was working on a project that requires a domain user to be added to the site’s visitors group automatically base on events, and my project is developed in Microsoft Visual Studio so I need write some code to achieve this.

Below is an example code snippet that will show you how to to use SiteGroups.Add() to create a new SharePoint Group and assign the Read permission level by using RoleDefinitionBindings.Add(), add a default user and a group owner:

using (var spSite = new SPSite("SiteURL"))
{
	using (var web = spSite.OpenWeb())
	{
		var groupName = "Group Name";
		var groupDescription = "Group Description";
		var groupOwner = "contoso\\\jbloggs";
		var defaultUser = "contoso\\\jdoe";
		
		
		web.SiteGroups.Add(groupName, groupOwner, defaultUser, groupDescription);
		
		var group = web.SiteGroups[groupName];
		var spRoleAssignment = new SPRoleAssignment(group);
		var permissionName = "Read";
		
		spRoleAssignment.RoleDefinitionBindings.Add(web.RoleDefinitions[permissionName]);
		web.RoleAssignments.Add(spRoleAssignment);

		web.Update();
	}
}

(more…)

My Lumia 640

So last month my mobile contract finished and have been thinking about buying a new mobile phone. I have been looking at getting the Windows Lumia 640 for a while, so I did some research and reading up a lot on reviews.

20160124_020637Just at the beginning of the new year 2016 Dicksmith was clearing out the Lumia 640 prepaid phone for only $99.

Since I have moved over to Optus as my provider, I made the jump and bought myself a new mobile phone.

Straight away I downloaded the Microsoft Insider’s App and upgraded my mobile to Windows 10. The look and feel is consistent with the desktop version, but the only disappointment I had was the lack of apps for windows mobile compared to Android and iOS. I was so disappointed that I couldn’t find any of the apps I used to have on my old Android phone. (more…)

Shares