Creating a Sharepoint work environment on Windows 7 - sharepoint

I want to learn sharepoint.Can I create a work environment for sharepoint in Windows7? Is there any other options to work with Sharepoint on our laptop?

You can, but maybe you shouldn't, anyway its up to you at the end so here are some guides with the steps to do it:
http://www.disruptivei.com/Blogg/Inl%C3%A4gg/6/Install-SharePoint-2013-on-Windows-7-8-8-1
http://community.bamboosolutions.com/blogs/sharepoint-2013/archive/2014/08/21/guest-blog-by-jonas-nilsson-install-sharepoint-2013-on-windows-7-8-8-1.aspx
https://www.youtube.com/watch?v=HZZkgu0BiGk
I have done it with SP 2010 but never tried with SP 2013, I never required to do so, either because the clients had environments or because you can develop everything you need with SP Online by using Apps, the second one is the biggest reason.
In case you want to know the alternatives proposed by Microsoft here are them:
https://msdn.microsoft.com/en-us/library/office/ee554869.aspx
https://msdn.microsoft.com/en-us/library/office/fp179924.aspx
The second one is the one I recomend because is for App development on SP Online.
Here is a previous discussion about this topic:
installing-sharepoint-2013-windows-7

Related

Provisioning Sites, Lists, Libraries etc within SharePoint

Previously when provisioning list, libraries, site columns, content types, list definitions etc in SharePoint I typically used SharePoint features, deployed via a WSP - or used PowerShell scripts. This meant I had a package that could be deployed to DEV / TEST / PROD.
I'm working with SharePoint within Office 365 and unsure on the best way to provision lists / libraries / features within SharePoint.
Options:
No Code Sandboxed Solutions
Trying to avoid using these as the information from Microsoft on whether they are deprecated is flaky - however sandboxed solutions would allow me to deploy features with list definitions etc. I know sandboxed solutions with c# are definitely deprecated, but the info around no code solutions is poor.
Apps
I know apps can provision at both the app and host web level, but creating lists, libraries etc using the CSOM seems like a lot of effort and a step backwards.
PowerShell
The SP Online PowerShell is nowhere near as powerful as on-prem SP. I can provision site collections through this, but not lists or libraries...
I'm keen to know how other developers are deploying to Office 365, specifically around provisioning sites with specific list definitions, libraries, content types and so on...
Thanks
Microsoft did clarify the position on No Code Sandbox solutions - http://blogs.msdn.com/b/sharepointdev/archive/2014/01/14/deprecation-of-custom-code-in-sandboxed-solutions.aspx
Also if you are looking at using Powershell to deploy then you might want to go down the route of using CSOM from within PowerShell - SharePoint Client Browser for SharePoint 2013 is good for setting up a session also very good for viewing the content of a 365 tenant - http://spcb.codeplex.com/
I have been using code based provision for almost two years without any issues at all.
Server side model works just fine, CSOM has some limitation but stil cool one and JSOM could deliver the same feature set as both CSOM and SSOM, sorta 95% :)
PowerShell is not the best option as it hard to integrate into CI, put some unit testing and regressions.
As you mentioned, this is "step back", but if only you don't have any framework or foundation for that. My libraries are internal one, but there is SPGenesis at codeplex and SPMeta2.
As community don't really care, need or with such libraries for provisioning (yep, let's face it), there are much such libraries at all, but there are lots of "MVP" samples sorta "hello world" level.
Finally, what I would suggest is to invest your time and effort in code based provision.
This is a future, that's it ;)
UPD
Struggling with SharePoint's API inconsistency, bugs, "by-design" behaviour, unaffordable amount of time to write, support and upgrade WSP packages and XML, a team of passionate SharePoint professionals decided to come up with robust, testable and repeatable way to deploy such artifacts like fields, content types, libraries, pages and many more.
Enjoy and let us know how it goes.
SPMeta2 at GitHub
SPMeta2 at Nuget
SPMeta2 Documentation Wiki
SPMeta2 Bugtracker

Practice with sharepoint 2010 online

I want to learn sharepoint 2010. To setup environment it costs nearly 20,000 INR for me. Instead of that is there any site to give access to their machines and give an opportunity to practice the sharepoint development and features etc. I know this is not relevant question here to ask, but this is only site in which masters can give quick response.
Thanks
Try this one. I too just found it.
Virtual Machine
Here we are able to access the sharepoint 2010 and visual studio as well.
Office 365 will give you some end user functionality testing but if you are going to be doing sharepoint development you really need a localized environment. Sandboxed solutions will get you far but only a portion of what it takes to truly do sharepoint development.
I'd suggest starting with sharepoint foundation on a localized environment. This can be installed on a windows 7 computer with SQL Server express and does not require any licensing other than the host machine of windows 7 and can run with 4gb of memory.
http://www.cloudshare.com/
Create Pro Account which is free for 14 days
set up your own environment by selecting suitable templates
If you want to play with SharePoint without the costs of setting up your own SharePoint environment, you might have some luck with Office365
http://www.microsoft.com/en-us/office365/sharepoint-online.aspx#fbid=QOhSDqk0-P4
EDIT: Looks like that link isn't around anymore, if you are reading this now then try here:
https://products.office.com/en-us/sharepoint/sharepoint-online-collaboration-software
Cloud share is best to practice for 14 days otherwise setting up VM is a good option
Regards,
Harika

What is a low-cost way to study Sharepoint?

I want to study Sharepoint. But if I create a project in VS 2010 it will shows an error message like "Sharepoint server is not installed in this machine". So is there any free Sharepoint server or service available? Is there any other way to start learning sharepoint 2010.
SharePoint is a very demanding platform to work with, ensure you have hardware matching the specifications, http://technet.microsoft.com/en-us/library/cc262485.aspx.
Working with crappy hw, virtual drives and so on will cause a lot of pain and consume loads of time. Think of learning SharePoint and SharePoint development as an investment.
However, if you just want to play with it for a bit follow this guide for installing SP on Windows 7
http://msdn.microsoft.com/en-us/library/ee554869.aspx
It do require x64
Download SharePoint 2010 Foundation since it's free. http://technet.microsoft.com/en-us/sharepoint/ee263910.aspx#tab=1
Cheers
Cloudshare (www.cloudshare.com) is the easiest and fastest way to get setup using SharePoint. It's about $60/month, but you get a machine pre-installed with SharePoint, SQL Server, and Windows Server. All you need, and you don't have to do a thing!
Also, if you're looking for something a bit cheaper, try Office365 w/SharePoint. It won't give you every feature, but it's less than $10/month per user, so it might be what you're looking for?
Two avenues to try:
Free sharepoint service: http://www.freesharepoint.com/
Trial Sharepoint 2010: http://sharepoint.microsoft.com/en-us/Pages/Try-It.aspx
Have a look here. There are VHDs available for download to have a play with.
[edit] If you can't find your way around VHDs best place to start would be getting your hands on WSS4 (Microsoft Sharepoint Foundation). WSS is a free version of sharepoint as opposed to full whack MOSS (Microsoft Office Sharepoint Server) and a good place to start playing.
I highly recommend SharePoint 2010 Developer Training Course from Microsoft.
A SharePoint development rig can be pricey. Check out the free trial at cloudshare.com. money well spent...currently 49 a month.. Removes the headaches of maintaining the environment so u can focus on Dev work.
As mentioned in the other posts you should have a look at MSDN to get started with the SharePoint Framework itself.
Cloudshare.com is offering SharePoint developer systems hosted in the cloud. There is a 14 day trialversion.
Cloudshare is great, it's fast and it's offering a lot of templates for SharePoint developer Farms.
One of the best books for SharePoint development is "Inside Microsoft SharePoint" from Microsoft Press.
NothingButSharePoint.com is also a great point to get started with SharePoint regardless to your profession. There is a lot of content for Users/IT-Pros/Developers
Thorsten
There is a really useful script which helps to setup all the environment you need to start development for SP (SP2010 trial, VS, SPD, Office and so on). So, you can just start it, enter some input details and right after it finishes you can start development.
It is absolutely free (if my memory serves me well, it is 180 days trial).
I highly recommend it for quick start.
SharePoint 2010 Easy Setup Script

Begin with Sharepoint technology

I am new to SharePoint technology. I don't have any idea where to start and how to proceed. So can anyone suggest me how I should proceed to know about the technology?
Your question is very open ended and will probably gather some criticism for being so but here's the 2 best suggestions I can provide you;
First - Read Books!
The first thing to understand is that Sharepoint comes in two flavours. You have the free to use Windows Sharepoint Services (WSS) which is the core of the product. This part is free and you can start developing using it right now! The second part is MOSS which is the commercial extensions of WSS. This contains loads of really cool features and additional controls such as the Content Query Webpart.
I'd recommend that you start with a good WSS book to understand the fundamentals. To this end I'd recommend Inside Microsoft Windows Sharepoint Services
Second - Do the virtual labs. These allow you experiments with the main topics of Sharepoint in a controlled environment without even having to install or configure it yourself.
See: Sharepoint Virtual Labs
Finally, here's a good site for covering some additional topics
Microsoft Sharepoint References

How to test sharepoint web parts and other sharepoint development locally?

I have been investigating building web parts for sharepoint 2010 and currently have a single instance of SP2010 on the work servers. I would very much like to be able to test them locally (on my laptop) if possible, without having to install sharepoint 2010 on my laptop (is this even possible?!)
Is there a way to test web parts and do I need to install all/part of sharepoint on my laptop?
Thanks
If your Web part is simply displayed in a SharePoint page, without using the SP API, you could simply host it in an ASP.NET page on your laptop, but this is not a common scenario.
One new feature of SP 2010 is the client API, i.e. a subset of the full API that can be used outside of the farm. If your usage of the API fits in this subset, this could be useful, but you will still need to access a SP server somewhere.
Another option is to put all the code that uses the SP API in something similar to a Database Access Layer which talks to SP on one hand and returns business objects (not lists or lists items). This way, you could simulate this part on your laptop and concentrate on the look of the Web part and its business rules, without SP. If this part is in its own DLL, the only reference to SP DLLs would be there, so the project on your laptop would not need to reference the SP DLLs.
There are two ways: the good one and old-school.
The good way is to install Sharepoint Services (http://technet.microsoft.com/en-us/windowsserver/sharepoint/default.aspx) and deploy WP locally. It works only if you have Windows Vista or Seven. It is the most productive way so i recomend it.
Another way comes from SP2003 era... The idea is to develop custom Web Control, test it locally with IIS or just development server, and then to embed it into web part. The method is described here - http://www.reflectionit.nl/SmartPart.aspx . It's an old and painful method. Unfortunately we can't use (without troubles) Microsoft.Sharepoint.dll etc
P.S. Sorry for my English...
This came up at our office and we ended up installing Sharepoint Foundation on each developer's PC, which allows us to develop and debug locally. Here is the link that I used to get this working.
Setup Dev Env. For Sharepoint Foundation on Win 7
I would say get a virtual machine.. but I dont think you can run 64bit VM's on a 32bit OS.
You'll have to upgrade to 64bit.
I don't think there is a good way around this; you will spend a lot of time on something of questionable value if you do not install SharePoint either on your laptop or in a VM and do it the proper way.
You can just swap out the inheritance from the SharePoint Web Part to the ASP.NET equivalent and back again - all the functionality is the same because the newer version was designed with backwards compatibility in mind. Use the ASP.NET version when testing on your laptop.
Here is some more info :-)
http://weblogs.asp.net/scottgu/archive/2006/09/02/Writing-Custom-Web-Parts-for-SharePoint-2007.aspx

Resources