SharePoint 2010 RealWorld Samples - sharepoint

I have seen 101 on ASP.NET and C# and many other sample real world applications on ASP.NET.
I am trying to find out if there are any similar Samples available for SharePoint 2010. Mostly around creating deploying SharePoint components (not custom web parts of course).

Check out the SharePoint Guidance content from Microsoft. I hear it is really good. I know some of the people that developed it so I believe it is good.
http://msdn.microsoft.com/en-us/library/dd203468.aspx

Related

Guidance on the most effective way to learn sharepoint

I am a .NET developer with a few years of experience in Winforms, WPF and some ASP.NET with C#. What would be the best way for me to go about learning sharepoint, as a developer? I would be Learning on my spare time, My work currently has nothing to do with sharepoint, but I have seen a bit of what sharepoint can do and I felt that It is a technology worth investing my time in.
I am interested In books, videos, possible training, webcasts, videos, blogs, forums, communities and any advice you may have.
I made a pretty detailed list here that I have accumulated over the past 5 years trying to learn SharePoint - I hope it helps:
Best way to learn SharePoint
I always receive the emails about SharePoint training. But it needs to pay $100+.
Here is the one.
http://elearning.left-brain.com/event/preparing-for-sharepoint-v15?code=EP3328D1
One of the ways to get started learning about SharePoint is to use Sharepoint Hands Labs. You can read about it here SharePoint 2010 Hands on Labs. Also interesting tutorials are Sharepoint Labs on Codeplex and
SharePoint Server Virtual Labs on MSDN.
Good luck!
I took the official Microsoft SharePoint 2010 developer course and that was very useful. Several different companies offer it but it isn't cheap. Also SharePoint 2010 Development with Visual Studio 2010 was a big help as well. Also find out if your city has a SharePoint user group in it. Mine does and it is a great way to network with other SharePoint users and developers.
Here are a couple resources that may help you get started.
http://msdn.microsoft.com/en-us/sp2010devtrainingcourse.aspx
http://msdn.microsoft.com/en-us/library/ee557253.aspx (Download for the examples is near the top)
And I would likely start with either a custom event receiver or a visual web part and just work on accessing data in a list.
http://msdn.microsoft.com/en-us/library/ff728093.aspx (Custom event receiver that prevents deletes on a list).
For books I like
Inside Microsoft SharePoint 2010
Professional SharePoint 2010 Development
Real World SharePoint 2010: Indispensable Experiences from 22 MVPs
Also as a first step you should install SharePoint and get a feel for it, once you do that look at SharePoint designer as it can accomplish a lot of tasks that users normally want.

SharePoint 2007/2010

I'm a developer with 5 years of MCMS development and without a single know how with SharePoint.
I want to use the CMS capabilities of Sharepoint to migrate my applications but I DONT KNOW HOW TO START!!!!!!
In my actual projects i have a Visual Studio solution with all my code, my templates and my usercontrols...
I cannot see how can i do the same thing with Sharepoint :(
I want to customise my site like i did before, i want to create pages based on templates like i did before.
Anyone knows where i can find a walkthrough that explains me that?
Thank U All.
Unfortunately I think you are going to have to learn SharePoint. Even the WCM features are a big topic, and probably the best book is Andrew Connell's "SharePoint 2007 Web Content Management Development" - I don't think a 2010 version is available yet. The good news is that I think the MCMS product had a big influence on how the SharePoint WCM features were architected, so the underlying principles will be similar.
SharePoint 2010 has a Visual Web Part that will encapsulate a user control which might make the transition easier. Also see my answer to this question about converting an ASP.NET site to SharePoint which might have some relevant information.
Most of the information about converting from MCMS to SharePoint is for the 2007 version of the product. This two-part article on MSDN seems to be the best starting point.
I cannot see how can i do the same thing with Sharepoint :( I want to customise my site like i did before, i want to create pages based on templates like i did before.
Problem is, SharePoint is not MCMS, no matter how Microsoft tries to brand it as its successor.
Creating sites in SharePoint is almost opposite of how things we were done in MCMS were you build from the ground up using ASPX templates, user controls and placeholders. In SharePoint, you'll have to strip out most of the OOB stuff you don't need. The recommended approach to custom development is through web parts, CAML, and the SharePoint APIs.

What are the "cool" use cases for SharePoint?

I went to the Microsoft Visual Studio 2010 launch event in Minneapolis yesterday and was slightly surprised by how much they were trotting out SharePoint and improved SharePoint development in Visual Studio 2010.
SharePoint is something I've largely ignored over the years as a web developer and solution architect on a small development team. I was always under the impression that SharePoint was used mostly for intranets in large corporations, and that if you were developing for SharePoint, it meant that a corporate decision had been made to use it and you as a developer probably had few (if any) options.
I realize this assumption is probably incorrect. So, what are the "cool" uses for SharePoint? What unique business problems have you solved using it? What could make a developer excited to be working on something for SharePoint?
Document libraries in a Microsoft environment. There are many nice out-of-the-box features for managing documents.
Intranet sites that have permissions setup in such a way to allow business entities to control use of the site within their group.
Project requirements lists. List in SharePoint can be customized to some degree without ever programming.
As a conclusion so far, SharePoint is a blessing and a curse. It has a lot of value-adds, though anything outside that box is difficult change, but there are indeed many 'hooks' to do just that. WSS3.0 is free for Windows Server 2003, as is SP 2010 Foundation for Server 2008, so you can get quite a bit out of that without upgrading to MOSS or 2010 equivalent.
It's probably best used in intranet/extranet scenario's, true. There's many public facing internet sites built on it as well, if you find that cool :)
See http://www.topsharepoint.com/ (I built one of the top-10 sites ;)
It's definately not the best web content management platform but it is not bad and companies like people who have learned to manage their intranet to be able to seamlessly do the same for the internet site.
Personally I find it "cool" that I can deliver functionality quickly and without building the world from scratch (I've built enough document management solutionettes and prefer not to do it ever again). But if I have to custom build there's many footholds for customization and all of the .NET platform is available. There's workflow solutions that allow business users to customize their own workflows and not bug me with them. I'm sure there's plenty of other solutions out there that can do something similar but the integration with Microsoft Office and the rest of the Microsoft world is quite good IMHO.
I don't understand the antagonism against SharePoint and find it's mostly fueled by ignorance and people trying to use the platform for something it wasn't meant to do (like being a relational database). You will have to learn it; it's not like adding ELMAH to your project, it's a really big layer in your architecture.

Newbie Sharepoint website question

I am used to building java web applications.
I am used to MCV.
As I learn how to build a Sharepoint site, is it ok to think of building Sharepoint sites similarly, particulary where there is business logic layer, that, for instance, would grab data from various DBs, do some logic, then go to a certain page?
SharePoint and MVC do not play well together, not in a supported way at least. This isn't going to change for 2010 either. It's an ASP.Net Web Forms app, and so acts accordingly.
There is a Open Source Project for SharePoint MVC but you need to understand the plataform first, with some SharePoint for Developers tutorials.

How hard is it to build CMS driven websites in WSS/MOSS?

We build CMS's with ASP.NET using tools such as Umbraco and DotNetNuke etc
A client is asking us if we can build a site in WSS which I think is Windows Sharepoint Services.
Are there any experienced MOSS people out there who can tell me how hard we would find this?
Would it be just like learning another CMS?
Or will it be a nightmare?
Also, what software do we need to build the site in house for testing?
We don't have a MSDN subscription and use free Microsoft tools (Visual Studio Express and SQL Server Express)
Sharepoint is great for use with its own document management features, and it integrates well with Office products.
It's not such a good platform for development. The API is a nightmare, web parts are incomprehensible, and the database has a terrible structure (fields are named NumericField1, TextField2, etc. Yuck).
If you eventually need a web-facing server, MOSS is very expensive.
I will preface this by saying I am currently finally wrapping up a more-than-2 3-year project building one of the largest WCM sites deployed on MOSS in the world. We're talking thousands and thousands of content editors, nearly a million pages, millions of hits per day.
Depending on what you need, it could be moderately painful or extremely painful. MOSS is never a pleasure to use, so at the very least it will be an unpleasant exercise to deploy an out-of-the-box WCM site and make it look kinda like the design you want. However it should not be too terribly time-consuming or overly difficult.
If your needs look more like ours - do you need complex cross-loaded content on your pages? Content syndication and connected content? Flexible editor-controlled layouts? XHTML-compliant markup? Pixel-perfect design? If so, trying to use MOSS will absolutely be a nightmare.
Take note that WSS is not MOSS. WSS is the free version of SharePoint and MOSS is the paid version. MOSS is also the version designed for public facing CMS web sites.
With a bit of reading you should find MOSS relatively straight forward to develop a CMS site on top of. JP's link is a good one and I also recommend reading Andrew Connell's book Professional SharePoint 2007 Web Content Management Development: Building Publishing Sites with Office SharePoint Server 2007.
Depending on your requirements, in most cases you can work out-of-the-box with MOSS and SharePoint Designer. If you find you need more than what these can provide your learning curve will jump by quite a lot so tread carefully!
For development you will need at least a MOSS and SharePoint Designer license (as JP suggests MSDN is better and also gives you the option of using Visual Studio). Your client is going to need to fork out the licensing costs for MOSS. I think there are additional costs for public facing web sites but check with your Microsoft account manager.
See some cool stuff you can with public-facing web sites for the product at Top SharePoint.
It's not that hard. I don't find it as easy as DotNetNuke, but it's still fairly straight forward once you have some of the concepts down. There is a really great intro to CMS on MOSS at Web Content Management with SharePoint MOSS 2007. You are going to need least the lowest level subscription to MSDN because CMS is part of MOSS not WSS. Search around for deals on MSDN.
Actually if you are aware of the share point technology , then wont find it difficult to built CMS using it. Designing content management system using share point is actually possible.

Resources