Visual Studio 2010 makes it really easy to add and deploy solutions when you
are developing, but you may eventually want to deploy those solution packages
elsewhere right? We can still use stsadm, but that is effectively
considered deprecated now in favor of PowerShell. In the past to add a
solution, we used an stsadm command like the one below. In today’s
example, we’ll be working with a package called SharePointProject2.wsp on
my server named sp2010.
stsadm –o addsolution –name SharePointProject2.wsp
To get started with PowerShell, run the SharePoint 2010 Management Console
located in your Microsoft SharePoint 2010 Products folder on your start
menu. This automatically loads the Microsoft.SharePoint.PowerShell snappin
so that we can execute SharePoint commands. To install a solution we use
the Add-SPSolution command. If you are using a Sandboxed solution you... (more)
SharePoint on Ulitzer
SharePoint 2010 brings a few new master pages that you may want to know
about. There are additional master pages to accommodate both the old and
new versions of UI. There are also some simplified pages to take note in.
The first master page we will talk about is v4.master. This is the default
team site master page used with version 4 (obviously) of the UI. This will
be the master page you typically use. It provides the ribbon bar and all of
the other new visual UI changes such as the site actions menu on the left
side.
If you did an upgrade to SharePoin... (more)
For those that know me, I am a die hard supporter of my Surface RT. Back in
February, I wrote a post about why I chose it over a Surface Pro. The
device wasn’t perfect and there were a number of issues that people had
with it. With Window RT 8.1, a lot of those issues have been put to rest
and that’s pretty exciting.
This device isn’t for everyone, but if you have a similar use case to mine,
you might find it a highly useful device. What is my use case? Well,
first of all, I travel. A lot. I often find myself working from atypical
office settings including the airport, ai... (more)
One thing that is getting a lot of attention in SharePoint 2010 is the use of
PowerShell. It’s too cool and you really have a lot of power (no pun
intended) to automate just about anything in SharePoint. In fact Kyle Kelin
(@spkyle) is speaking this weekend about it at SharePoint Saturday Houston
(#spshou). The Microsoft.SharePoint.PowerShell snapin comes with over 500
commands, but you might want to create your own. Today’s post will show
you how to get started. There are a lot of great posts out there on how to
build a regular PowerShell cmdlet, but I wanted to build one tha... (more)
By now, you have heard about how the SharePoint 2010 development experience
has been improved. We can easily deploy web parts and other code without
having to manually manipulate any XML files. What about under partial trust
though? Many of you that know me know that I have pushed using Code Access
Security quite a bit through a series of blog posts and talks. So it would
be irresponsible of me not to talk about how we can do that in Visual Studio
2010. The good news is that it is a lot easier.
Let’s start by creating a new SharePoint project in Visual Studio 2010 and
creat... (more)