Posts

Showing posts from November, 2015

Create Visual Studio project for Sharepoint

Image
Many time we, Developers, gets a dev environment with a SP farm and need to get to work. it usually comes in 2 stages, 1st is to create a new WebApplication up to having an actual site running, and that is covered here. this is the 2nd part where we create a new Visual Studio project for Sharepoint and connect it to our brand new site :). 1. Open Visual Studio (da...) 2. Click "New Project", enter "sharepoint" in the search box, and choose "SharePoint 2013 - Empty Project" 3. in the opened dialog box, enter the domain url for your new site, and choose "Farm Solution" 4. Create new item 5. in the search box enter "webpart" to see available webparts templates, in this tutorial we will add a visual webpart. notice that in SP2010 the resutls will be a bit different. BTW, i prefer the UC/SmartPart template like in SP2010 and still use it since its much easier to change an .ascx file, while with this template even the ...

Create New Sharepoint Web Application all the way to the site tutorial

Image
Many time we, Developers, gets a dev environment with a SP farm and need to get to work. it usually comes in 2 stages, 1st create a new WebApplication up to having an actual site running, and thats whats this post is about. 2dn part here. 1. Open Central Admin 2. Go to "Manage Web Applications" 3. Click in the ribbon on "New" to create a new WebApplication 4. Fill the following and when you scroll down also     and after a long wait... 5. Click "Create Site Collection: so that you get this window, and fill the relevant inputs 6. while this is going, you'll need to teach your local DNS the address for you new site, so open the "Run" window by pressing the window key + R and input "drivers" 7. open the "etc" folder 8. edit the "hosts" file. note that in some versions of Window you must either open "notepad" as administrator or copy the file outside this director...