Tag Archives: development

Surface Pro 3 for General and SharePoint Development

I bought my Surface Pro 3 in April 2015 as my dedicated development computer for .NET and SharePoint development. The Surface Pro 3 has 8GB of RAM, 512GB of storage and i7 CPU. Compared to my previous desktop setup, I had 16GB of RAM, 2TB of HDD Storage, and AMD Quad Core CPU.

Surface-Pro-3 Continue reading

SharePoint 2013: WebParts and Basic AngularJS

 

SharePoint2013_AngularJS_Logo

In this post I am going to show you how to apply AngularJS to your Visual WebParts in SharePoint.

Create a SharePoint 2013 Solution.

From Visual Studio menu File->New->Project and then use the SharePoint 2013 – Empty Project Template. Name the project DemoSite1 and the solution SharePoint2013 and click OK to continue. While Visual Studio is preparing your solution why not go and make yourself some coffee!

SP2013_WebParts_AngularJS_00

Right click on the DemoSite1 project and from the popup menu select Add->SharePoint “Layouts” Mapped Folder. After you have created the Layouts folder you will see another sub folder  called DemoSite1. So in the Layouts folder create a Scripts folder, and then create another Scripts folder inside the DemoSite1 folder.

Continue reading

Binding SPList to Binding Controls.

To bind a SPList to a binding control list for example the DetailsView data control you will need to provide a DataSource to it. The problem is SPList doesn’t implment the IDataSource interface, but I have discovered that there is a SPDataSource which allows you to pass a SPList object as a parameter in the constructor. Below is a code

var spList = SPContext.Current.Web.Lists["List Name"];
var ds = new SPDataSource(spList);
DetailsView1.DataSource = ds;
DetailsView1.DataBind();

Deploying Assembly Files With Your Sharepoint Solution

Recently I have been working on a Sharepoint 2010  and I had created a Class Library project that will contain some classes and methods. One of the custom webparts I had created was calling a method from one of the class, but when I press F5 to deploy and test my web part I got an error and my assembly file was missing in Sharepoint. I realised that my Class Library assembly file was not deployed. 

Below is a simple step by step instruction on how to include a assembly file in your Sharepoint package.

For example here I have a solution with a Sharepoint 2010 and a class library project. In the Sharepoint 2010 project there is a package folder containing a file called Package.package

visual studio 2010 solution

Continue reading

Arduino UNO Development Kit

Arduino Logo

Received my Arduino UNO development kit today it came with extra electronic components that will get me started on some simple projects. I bought this on eBay for around $40 AUD and I recommend that you get yours from eBay because if you buy yours locally you are only getting the development board for the same price. The kit came with a breadboard, breadboard wires, some LEDs, switches, sensors, LCD panel, resistors and a USB cable for connecting it my computer.

So you asked what can I do with this thing? You do a lot with this, if you go and search Arduino on the net you see a lot of interesting projects. This development kit is using a ATmega328 microcontroller and on the circuit board has all the components to make it a functional device. So what I did was downloaded the IDE from Adruino web site and compiled an example program and uploaded to the microcontroller and in a few seconds I was able to make an LED (light emitting diode) flash!

You can download the IDE for the Mac OS X, Windows and Linux, and if you are using Ubuntu 11.04 like me you can download the IDE directly from the Ubuntu Software Centre.

 

Arduino UNO
My Arduino UNO Development Board