Thursday, June 27, 2013

Free Private Git Repository Using TFS Online Git Integration

If you’re looking for a way to have a free private (and hosted) Git repository, Team Foundation Services Online is a great way to go. Last time I checked, GitHub was charging for private repositories.

www.geeklit.com TFS Online Git Integration

You can use Visual Studio if you want, but you can treat your Git repository just like any other, so you don’t have to use VS.

image

Read the detailed instructions for creating a new Git project in TFS online and Getting Started with Git in Visual Studio and Team Foundation Service for more info.

BTW – TFS online also has some really cool project management features (e.g., Kanban board), so it’s not just source control.

Tuesday, May 21, 2013

SharePoint 2013: Quick Launch Heading Without a URL

There are occasions when you’d want to create a heading in the SharePoint Quick Launch navigation without your heading being navigable. In the past, I believe it was possible to create a heading without specifying a URL, but in SharePoint 2013, the URL field is mandatory—at least from the Site Settings interface. (See below for update.)

Option 1: enter “#” as the URL from Site Settings > Look and Feel > Quick Launch

Option 2: Use the “EDIT LINKS” option under the Quick Launch and leave the URL field empty. Although, the URL field is mandatory from Site Settings, you can leave it blank from this interface.

image

Both of these options create a link to the site’s home page, but they allow you to create a heading without using an absolute URL to some random page.

Update: Option 3:

There is actually a way to do it the old fashioned way; it’s just not that intuitive if you happen to try the UI for editing the Quick Launch above. Go to Site Settings > Navigation and then scroll down to the Structural Navigation: Editing and Sorting section.

image

Monday, April 29, 2013

Linux (Ubuntu) Virtual Machine on Windows Azure

Creating (it’s hard to write “installing”) a Linux virtual machine on Windows Azure is remarkably simple. It’s just a matter of choosing the O/S and configuration you want from a gallery of options.

The whole process takes a few minutes and under the BizSpark start-up program, it’s possible to get access to Windows Azure for free.

AzureLinuxVMCreate
- choosing to create an Ubuntu virtual machine in Windows Azure

After creating the VM, you can connect easily from Windows by downloading PuTTy SSH.

PuttyConnected
- connecting to Linux on Azure using PuTTy

Full instructions for creating a Linux Virtual Machine on Windows Azure can be found on the Windows Azure website.

Monday, April 22, 2013

SPAM Green is people! It’s people!

I’ve heard that some people refer to the excessive mail that comes in from legitimate sources (e.g., your airline plan, Groupon and hotel plans) as “Bacon.” In other words, it’s not SPAM, it’s bacon. I don’t think that’s a good term because why would you associate something negative with bacon?

Anyway, the issue that I have been complaining about for a long time is not the volume of email from accounts that are genuine, but SPAM that comes as a result of human error. Someone mistyped in the address somewhere along the way and now you get their mail. I’ve decided to call this type of email “SPAM Green.” Why? Because it’s people! SPAM Green is people!

If that doesn’t make any sense to you, you really need to watch Soylent Green.

I have a relatively short email address (6 characters), so this happens to me all the time—I mean every week I get mail that’s for someone else. Much of the time, there’s an unsubscribe option, so I just do that, but sometimes there is no way to unsubscribe so I have to just mark it as junk. The funniest ones are the messages that include login details for their account. Of course, I don’t use that information for evil, but one time I got messages from some shady “have an affair” site, so I did use the info to go in and delete the account.

Thursday, March 21, 2013

World Water Day 2013: What is your water footprint?

Check out Stu Hamilton’s blog post on the Aquatic Informatics website about World Water Day 2013.

2013logo_en1-e1363904910326

“To mark World Water Day at Aquatic Informatics we watched the movie ‘Last Call at the Oasis’. In discussion about the issues raised by this movie one of our senior developers expressed surprise at the magnitude of the water footprint for everyday products.

For example, the water footprint for a t-shirt was given as 700 gallons!

I don’t know whether the notion of accounting for your water footprint will catch on or not. A few years ago the idea of calculating your carbon footprint got quite a bit of press and even though carbon calculators have never caught on the notion that your carbon footprint matters seemed to stick. Equating energy use with a carbon footprint is intuitive – if I turn on a light my footprint grows whereas if I walk to work my footprint shrinks.”

image

Wednesday, February 27, 2013

Running Mono 3.0.5 Beta on Windows

Mono is a really cool concept. It’s a C# compiler/framework that works cross-platform. C# is fantastic, so I really like the idea of being able to develop C# (potentially with Visual Studio) and target any device. Until Mono came along, C# was only used on Windows because it uses the Microsoft .NET framework. (Mono also boasts the MonoGame platform and the MonoDevelop IDE for Linux coding.)

image

Here is the introduction from the Mono Wikipedia page:

Mono is a free and open source project led by Xamarin (formerly by Novell and originally by Ximian) to create an Ecma standard compliant .NET Framework-compatible set of tools including, among others, a C# compiler and a Common Language Runtime.

The stated purpose of Mono is not only to be able to run Microsoft .NET applications cross-platform, but also to bring better development tools to Linux developers.[3] Mono can be run on many software systems including Android (and most other Linux distributions), BSD, iOS, OS X,Windows, Solaris, and some for game consoles such as PlayStation 3, Wii, and Xbox 360.”

So I downloaded Mono to try it out on Windows (I’ll try Ubuntu next) and I ran into an issue right away. Just trying to validate the install using the “Hello World” example on the Mono Basics page didn’t work. It’s really not that complicated, here’s the example program:

using System;
 
public class HelloWorld
{
    static public void Main ()
    {
        Console.WriteLine ("Hello Mono World");
    }
 
}

However, I couldn’t get it to work using the gmcs compiler that’s used in the example. The result was this all too common error:

C:\Mono\Mono-3.0.5>gmcs
'gmcs' is not recognized as an internal or external command, operable program or batch file.

image
This error will occur on Windows when the program actually doesn’t exist, or it can’t be discovered from the location that the console is running. There are two way to fix this issue for any Windows program:

1. Use the full path to the program and use quotes if the path has spaces in it

2. Add the path for the program to the Windows Environment Variable called “Path.”

So I tried to find the executable for gmcs, but I could not even find gmcs.bat or gmcs.exe. In this case, it wasn’t an issue with Windows or Mono, it was simply out of date documentation on the Mono site.

I received this helpful advice from the Mono user community forum, “Have you tried "mcs -sdk:2"? Mono 2.11 merged all the compilers into the one unified compiler, and now gmcs is a shell script that simply calls mcs (at least on Linux).” Ah, that’s good to know!

Here is the working version of the “basics” test code:

C:\Windows\System32>mcs --about
The Mono C# compiler is Copyright 2001-2011, Novell, Inc.
The compiler source code is released under the terms of the
MIT X11 or GNU GPL licenses
For more information on Mono, visit the project Web site
  
http://www.mono-project.com
The
compiler was written by Miguel de Icaza, Ravi Pratap, Martin Baulig, Marek Safar, Raja R Harinath, Atushi Enomoto

C:\Windows\System32>cd C:\Mono\Mono-3.0.5

C:\Mono\Mono-3.0.5>mcs helloworld.cs

C:\Mono\Mono-3.0.5>mono helloworld.exe
Hello Mono World

image

Success!

Wednesday, February 20, 2013

SharePoint Pro Magazine Article–So you want to be a SharePoint author?

An article I wrote about becoming a SharePoint author has been published on the SharePoint Pro magazine blog. Thanks go to Dan Holme for letting me fill in for him!

image

The article is called So You Want to be a SharePoint Author? Here’s a snippet:

“With the release of the SharePoint 2013 Preview, a great content machine has been switched to high gear. Articles, blog posts, training material, and documentation are all being crafted at a furious pace. And we can’t forget the books—lots and lots of books.

A quick search on Amazon reveals that a single stack of all the SharePoint-related books would be well over 100 feet high. If you’re one of the people thinking about writing your first SharePoint book, my advice to you is...”

Now you’ll just have to follow the link.  :P

Wednesday, January 09, 2013

SPC12: Developing apps for SharePoint 2013 with Visual Studio 2012

Speakers: Mike Morton, Sean Laberee

This session was an introduction to the new App model for SharePoint and Office. The room accommodated about 3500 people and it was packed.

  • loud cheers from the large crowd for new app dev model experience (e.g., just save and refresh instead of redeploying)
  • the new app model uses 'modern' web dev techniques such as JQuery and knockout.js
  • funny moment: during a demo, a presenter forget to close a quote and many people yelled out from the audience
  • creating web parts is even easier than 2010 visual web parts. (inc. client web parts for office 365)
  • cool that you can 'appetize' existing web apps
  • apps have events
  • use OAuth for security
  • apps can be MVC not just web forms
  • really cool that you can locally debug using a local DB and then deploy to Azure an it will automatically provision SQL Azure DB for you. This uses dacpac under the hood
  • debug uses iisexpress and no app registration is required
  • apps for Office can be packaged somehow to be apps for SharePoint—details pending

Saturday, December 01, 2012

Friday, November 30, 2012

SharePoint 2013 Conference–Upgrade Deep Dive

Speaker: Sean Livingston (Senior Program Manager, Microsoft)

Developing a solid foundation for your users is critical to the success of your SharePoint Server 2013 deployment - in this session we'll share the major changes in how upgrade works in SharePoint Server 2013 and how to best take advantage of new capabilities to enable and deliver a smooth upgrade experience to your users.

This was a 400 level session that described in detail the various out of the box upgrade options that are available for SharePoint administrators. The fundamental message of the session was upgrade is “safer and faster.”

image

This session was in a huge room and it was almost full. In fact, the session was actually moved to a larger room and there were still people standing in the back. Here are my notes:

· Deferred site collection upgrade is the main new feature. I wrote a post about the deferred site collection upgrade option when the SharePoint 2013 preview was first released. My message in that post was that it’s a good feature, but don’t confuse “deferred” with “incremental.” This is not a feature that allows you to take, for example, one site out of a site collection and migrate it to 2013 while leaving the rest of the content on a 2010 server.

· In short, the deferred site collection upgrade allows SharePoint 2010 customers to “upgrade’ to SharePoint 2013 but still run site collections under the SharePoint 2010 code base. In other words, you have to upgrade the DB schema, but you can run 2010 site collections in 2013. This means--in principle--that custom code for SharePoint 2010 should just work and continue to work until you’re ready to upgrade the site collection. Once you do that, you’ll be running on the 2013 code base.

· Note that this is all at the site collection level—not on a sub-site by sub-site basis.

· Upgrade preview creates a copy. default is 100MB mac. that copy will actually be used is the site collection is upgrades. The size is configurable.

· Upgrade queue is used to control how many upgrade actions are happening at the same time. upgrade throttling. PowerShell upgrade commands will honour the upgrade queue unless you explicitly override it.

· Performance is about 5mins for a small site collection and can be as quick as 45 seconds. However, Sean was clear that, if your site collections were slow to upgrade last time; they will be slow to upgrade again. The “more stuff you have” the longer it will take. This includes features, numbers of sub-sites. it could take hours to upgrade (for “big and gnarly site collections”).

· You can run PowerShell commands to get all the site collections and pipe them into the upgrade queue so that they are all upgrades.

· get-spsite is now shown by default  shows compatibility level in PowerShell commands

· get-spsiteupgradesessions info will show what’s going on the in queue on the server

· get-spsite | upgrade spsite is the basic upgrade command

· Sending email updates when site collections are queue and/or completed is an option. The default is to send mail if upgrade was UI initiated.

· Evaluation site collection creation uses SQL Server snapshots. if mirroring is being used, it won’t work.

· This process snapshots the whole DB regardless of how many site collections are in the DB. Then the site collection is cloned (in the original DB) with -eval added to the URL.

· Expiration date is set for evaluation copy. You can optionally added it to the upgrade queue. Then the snapshot is cleaned up.

· If you don’t have snapshot, a different process is used—a site collection backup. 85GB is the recommended max size for this option. Then backup is restored to a -eval URL. Then the backup is cleaned up.

· SharePoint 2013 does not support partially trusted code solutions. It still supports sandbox. Bin directory is full trust only.

· Claims authentication is now default for new web applications. The recommendation is to use claims mode exclusively. Existing 2010 claims providers would just work.

· If you delete s site and then upgrade the site collection(or apply a CU patch), the site recycle bin can now restore the site (by running the upgrade. This means recycle bin is now much safer.

· Cross farm services compatibility means now that you don’t have to do a big bang upgrade . 2013 federated services can be consumed by 2010 farm.

· Added in RTM is a maintenance window feature. These are called maintenance windows objects. many settings such as start, end, Duration. It also allows you to display a message to users about maintenance; that’s handy.

Sunday, November 18, 2012

Wading into the SharePoint Conference

As part of my SPC as an Attendee blog series, I’ll be publishing some posts about specific sessions. It’s getting late now, so I’ll have to continue with that over the next few days.

image

One definite highlight at the Microsoft SharePoint Conference 2012 was the Jon Bon Jovi concert at the attendee party. The venue (just like the last SPC in Las Vegas) was the Mandalay Bay beach. As you can see in the photo above, the stage is actually across the water from the beach, so the best ‘seat’ available required wading into the pool. I decided that I’d take the plunge and was pleasantly surprised to find that the water was actually warmer than the air.

Yes, they did have lifeguards on duty (lots of them), so you can rest assured that the attendees were safe.

IMG_2483
-
the fireworks at the SPC12 concert were amazing

Halo History: Version to Version Evolution

Halo 3 sold more than US$170 million worth of copies in the first twenty-four hours of release, breaking the record set by Halo 2 three years prior.[5][6] The games have sold over 34 million copies worldwide, and all Halo merchandise has grossed more than $1.7 billion.”
- Wikipedia

“Microsoft Corp said its "Halo 4" video game racked up $220 million in global sales on its launch day, beating records set by previous installments of the hit series.” – Yahoo News

Since the announcement of Halo 4 at the E3 conference, I’ve been reminiscing about the Halo franchise. I have fond memories—after all, I spent enough time with Halo to write three books: The Black Art of Halo Mods (Sams), Halo 2 Hacks (O'Reilly) and The Unauthorized Halo 2 Battle Guide (Thompson).

The Halo video game series has clearly been a fantastic success for Bungie, Microsoft and the Xbox group. As I played through Halo: Reach, I thought I’d write up a post about the most memorable differences between the various flavours of Halo. I wanted to do this as much from memory as possible so that the things that were really memorable get the most attention.

I didn’t get around to posting what I wrote, so now that I’ve had some time with Halo 4, it seems like it’s about time to post.

Halo: Combat Evolved (Halo 1) — 2001

220px-First_official_halo_screenshot
- © 2001 Microsoft. First released screenshot of Halo

The first version of Halo (Halo 1, or Halo: Combat Evolved) is a first-person shooter (FPS) that was released on the original Xbox platform. It became the most important game in the success of the new Xbox video game console and spawned a massive franchise.

These are the aspects of the original Halo that I remember most vividly:

  • It was beautiful (which sounds funny when you see the anniversary upgrade)
  • The game engine was solid
  • Melee attacks were addictively fun
  • Vehicles were cool (see warthog jump). Combat with vehicles was a lot of fun
  • The story was good
  • Multi-player (deathmatch) was a lot of fun but there was no Xbox Live option when Halo was released, so you needed to either use the same Xbox (up to four players) or network Xboxs together (up to 16 players). In Building 25 on the Microsoft campus they had large screens and would network Xboxs together to play. That was the first time I played with a group. Later my roommate and I would thread a network cable to our neighbour so we could play.
  • The pistol was clearly overpowered
  • Large portions of the game involved playing through a level and then going backwards through the same level
  • How do you run?
  • The race at the end was exciting

 250px-Halobox
- © 2001 Microsoft

Halo PC — 2003

A couple of years after the Xbox version of Halo, a PC edition was released. This became known as Halo PC. It was a popular game since consoles were still not considered cool by hard-core gamers. Basically, if you couldn’t use a keyboard, a lot of FPS fans, wouldn’t take the game seriously.

Thanks to networking options there was a vibrant multi-player scene for Halo PC and it boasted far more maps than the original Xbox game. If I remember correctly, the flamethrower—which was cut from the original Xbox game—was available in Halo PC.

Halo 2 — 2004

250px-Halo2-cover
- © 2004 Microsoft

Halo 2 was a significant advance. Included in the upgrade was:

  • Faster movement
  • Dual-wielding (using two weapons at the same time)
  • Exploding vehicles
  • Jacking vehicles was a fantastic addition
  • Xbox live multi-player support
  • Health status was hidden and no health packs were available. This made it harder for better players to dominate by constantly rejuvenating.

Here are some of the Halo 2 Cons:

  • The ending
    The ending was a let-down because there isn't any in-your-face way to see how many levels are left in the game (as there was in Halo 1), many gamers were surprised when the game ended. personally, I enjoyed the direction of the story, but at the end I was incredulous. "that's it?"
  • The Jackal snipers sort of ruined part of the Legendary level experience. The Jackals were so ridiculously good with the Covenant beam rifle that they would immediately take you out. The only way to deal with them was to learn where they were and get the drop on them.
  • Weapons aren't balanced
    Having played the Halo 2 Beta, I was disappointed with some of the changes (primarily to do with weaponry) that made it into the final release. I believe that too much was done to limit the impact of gamers who can actually aim. My pet theory is that players such as char (from crew116) kicked ass so badly in the Alpha and Beta that Bungie thought their favourite weapons were overpowered; the truth is that they were just the best players. To 'balance' the weapons, Bungie beefed up the weapons that require less skill. For example, the sword is clearly overpowered - there is no logic to the fact that the sword lunge has better range than the shotgun. IMHO, the sword ruins Lockout Slayer.
  • One positive weapon change was the pistol being toned down—which prompted the Red vs. Blue joke “Balanced doesn’t sound like more powerful.”
  • Still no run?

I wrote my first Halo book about Halo 2 multiplayer: The Unauthorized Halo 2 Battle Guide: Advanced Combat Techniques. Despite some unfounded allegations to the contrary, I did not violate any NDA agreement by writing this book and I did not release any information that wasn’t already in the public domain.

And since I did have a legal right to write about Halo, I decided to exercise it by writing Halo 2 Hacks. Which is a book about Halo 2 Easter eggs, glitches, skulls, tricks and mods. I tried hard to spread the word about modding as a creative and positive hobby, but I have to admit that most press at the time focused on modding as a form of cheating and it was hard to have my voice heard above the people claiming that all modding is bad—a perspective that is indefensible when people take the time to understand the modding community.

Halo 2 Hacks: Tips & Tools for Finishing the Fight. After the experience with my first book, I had to take precautions. Before writing Halo 2 Hacks, I paid an overpriced lawyer to write a decision in support of my legal right to write books about Halo. That document clearly asserted that the 1980 “Pac-Man decision” set the precedent for instructional books about software. After that, no one bothered to question whether there were any legal issues with writing books about Halo.

Halo Custom Edition (HaloCE) — 2004

In 2004, Microsoft made the enlightened decision to release some of the developer tools that were used to create Halo. This version was called HaloCE (for ‘custom edition’—not to be confused with ‘combat evolved’) and was an add-on for the PC version HaloCE brought modding support to the Halo universe. Unfortunately, it was the last time a version of Halo included support for ad-hoc modding. A map editor was added later on, but it doesn’t compare to the power and potential that Halo modders experienced with HaloCE.

If you had a Halo PC disk, you could install Halo Custom Edition (HaloCE). Some people confused HaloCE with Halo: Combat Evolved, but they’re entirely different beasts.  I wrote the Black Art of Halo Mods about modding HaloCE. This book combined many tutorials from the Halo modding community.


Halo 3 — 2007

 Halo_3_final_boxshot
- © 2007 Bungie/Microsoft

Halo 3 was another step up for Bungie. The graphics and game play were better, but it really felt like they spent much more time on the multiplayer experience than the campaign.

  • The enemies were largely the same but with better graphics
  • Equipment was added. Items including sprint and invisibility could be picked up.
  • Two-handed weapons such as turrets
  • Legendary campaign was too easy. It really felt like the new equipment and weapons put the game out of balance and Bungie didn’t have enough time to fix it before releasing the campaign. I can remember one instance where there was an invulnerability item that I ignored because I got through the whole fight without needing it—that struck me as odd at the time.

Halo Wars — 2009

 250px-Halo_wars
- © 2009 Bungie/Microsoft

The original Halo concept was a real-time strategy game. However, that vision didn’t become a reality until 2009 when Halo Wars was released.

Halo ODST — 2009


250px-Halo_3_ODST_Box_Art

- © 2009 Bungie/Microsoft

I understand that ODST was meant to be a different kind of Halo game—I get it. However, that doesn’t mean I have to like it. What I remember from ODST is long sections of walking around in a dark city and not doing much. There were flashback scenes to daylight that had the best battles in the game; some really fun fights.

  • No multi-player
  • Because you’re not a Spartan (you’re an Orbital Drop Shock Trooper [ODST]], you had limited “stamina” and had to rest. This ruined the experience for me since I’m all about getting into really gnarly battles and you simply couldn’t go hard enough for long enough to have the crazy fights I enjoy.
  • An over-charged plasma burst can temporarily disable a vehicle
  • Halo 1 Pistol was back
  • Achievement progress was shown on screen

Halo Reach — 2010
 
Halo-_Reach_box_art

- © 2010 Bungie/Microsoft

  • Armour abilities were added. When a player spawns in multi-player, she can choose an armour ability such as armour lock or hologram.
  • Dual-wielding is gone
  • Weapons seem to disappear faster than previous Halo games
  • Some new monsters that were fun to fight
  • ‘plays more like Halo 1 or Halo 2‘
  • Can’t jump as high as you could in Halo 3
  • You have health again along with your shields like Halo 1. Pick up Health packs to restore your health.
  • Fight in space was cool and difficult
  • New assassination animations which are really cool.
  • There is a new cR (credit) system where you earn credits by using anything in Halo Reach. This includes campaign, firefight, multiplayer, theater, and forge. You rank up using cR. You cannot de rank. Details of multi-player system: http://www.shacknews.com/featuredarticle.x?id=1314
  • No social matchmaking.
  • The vehicles were the best yet—until Halo 4, that is
  • Best selection of modes: driving vehicles, manning turrets, flying, etc.
  • Ending was anti-climactic
  • This was the last Halo game developed by Bungie.

Halo 4 — 2012


Halo_4_box_artwork

- © 2012 Microsoft

Halo 4 is the first new Halo game developed by 343 Industries. They worked on the Halo 1 Anniversary Edition, but that was just a graphics upgrade—not a whole new game. I’ve only just begun Halo 4, but so far I like it.

  • Master Chief is back! He has been done for a few games. He’s back for a three-adventure.
  • The game feels a little bit different. I noted earlier that Halo was slow in comparison to Unreal Tournament. I’m not saying Halo 4 is as fast, but the way the engine feels and the weapons behave is closer to the Unreal experience. For example, the Storm rifle.
  • The graphics are great. The detail improvements are obvious; warthogs even have red gas cans at the back that get knocked off when the jeep takes damage.
  • Equipment has been revamped yet again. It seems that this is the hardest problem to solve in the Halo universe because it keeps getting fundamentally changed. Armour lock is gone in favour of a directional shield.
  • Weapons and ammo seem to disappear even faster than Reach and saving doesn’t seem to save them. This would be a big issue if ammo wasn’t so abundant. I’ve run into numerous occasions where my carefully stashed weapons were cleared away… annoying.
  • The Elites look cool, but I don’t like the new grunts. The old models were better in my opinion. The fact that some can fly for short bursts is cool, and it’s also kinda cool that some of them look like they’re wearing Mexican wrestling masks, but I liked the old look.
  • One issue that I have in the early levels is that ammunition is far too abundant on the Legendary setting. I remember having to be pretty frugal with ammo in past versions, but so far in Halo 4, I’ve had my pick of numerous weapons in most fights. This is just getting more and more obvious as the game goes on. I’ve regularly left entire crates untouched. I’d rather have fewer weapons but not have them ‘stolen’ by the game.
    If there is so much ammo because it’s the same amount for a co-op game, then there needs to be some logic to change this. Just as one example, I was in a section that boasted Elites as the toughest opponent (that’s on Legendary) and yet I had easy access to: an Incineration Cannon (the most lethal weapon in the game—thus far), plenty of small arms such as Plasma Pistol and Needlers, easily 200 rounds for the Covenant Carbine, numerous Storm Rifles, a Scattershot, lots of grenades, two Binary Rifles and at least three Banshees (I didn’t use any of them). Just a crazy arsenal considering the limited opposition.
  • So far the new weapons and ‘monsters’ are cool. I’m enjoying fighting the new race: Prometheuns.
  • The new vehicles are fantastic!
  • RUN! FINALLY! It’s so nice to be able to run without using some special armour ability.

Halo has obviously had a grand impact on the gaming community. I don’t know the numbers, but it must be the best selling game for the Xbox. Halo 4 is the beginning of a new trilogy and I’m sure that 343 will do an excellent job with the next two installments.

Monday, November 12, 2012

SharePoint Conference as an Attendee

SPC as an Attendee

I’m writing this post in the first developer session of the Microsoft SharePoint Conference 2012 in Las Vegas. This is the first time I’ve attended SPC and not spent a lot of time either preparing speaker sessions or working booths in the exhibit hall. This year, I’m working the Microsoft booth but most of my time will be spent attending sessions and learning as much about SharePoint 2013 as I can absorb. However, as an MVP, I also want to do something for the SharePoint community at large, so I thought I’d write some posts about SPC as an attendee.

TN7111212124220_1

The first thing to note at SPC12 (aside from coffee costing $4 in my hotel room—if I make it that is!) is that the scale is not just as big as ever, but bigger.

VegasAtNightMix64floor
- the cool thing about this view (Mix on the 64th floor of The Hotel) is that we could actually see bats flying into the Luxor’s beam—presumably to catch insects attracted to the light

There are roughly 10,000 people here at the Mandalay Bay Convention Center. The first SharePoint conference I attended had roughly 400 attendees and last year’s event was about 7500. That’s amazing growth.

IMG_2429
- excellent to see NCompass Labs mentioned in the SharePoint timeline

image
- 10,000 people having breakfast

SharePoint Conference Keynote

#spc12 was the top trending tag on Twitter during the keynote this morning. What’s even more impressive about that is that 10.000 attendees from 85 countries can pretty easily overwhelm the network. I couldn’t even get on.

I was wondering about the strong Yammer content at this show (including the keynote), but now it makes sense to me.  Microsoft is working hard on the SharePoint/Yammer integration, so waiting for the next SharePoint conference would be too long. During the keynote, they showed the current integration, talked about the future and demo’d a Windows 8 app for Yammer. Also, they announced that Yammer will be free with SharePoint online (inc. features you'd have to pay for in the paid Yammer subscription today).

I was impressed with the customer video. It featured a Nationwide SharePoint “Spot” solution that uses Yammer today. It looked great. I was also impressed that the keynote Office 365 videos were run out of one of the European data centers. That was a gutsy move for such important demos and they looked great. Microsoft wanted to make the point that performance doesn’t have to suffer because you move to the cloud and that point was clear.

IMG_2423

The exhibit hall is about 30% larger and boasts 250 partners. I’ll have to write more about the exhibit hall. There are a number of additions to the exhibit hall this year including the community lounge.

image

And here’s a random Vegas image for you…

IMG_2438
- coolest vine rack in Vegas… baby

Tuesday, November 06, 2012

Installing SharePoint 2013 on Windows 8 Client Hyper-V

[Author’s Note: This content has been unlawfully copied and pasted into another blog. I’ve asked the offender to take it down and hopefully he’ll have the common sense to respect my request. Update: after I messed with the thief a bit, he finally took it down. Victory!]

For me, one of the biggest enhancements in Windows 8 is the ability to run Hyper-V in the client O/S. This means I don’t have to have a server O/S running on my laptop; I can simply run virtual machines with whatever I need. For example, the shiny new RTM build of SharePoint Server 2013 that was released recently.

There are already a bunch of useful and detailed posts describing the install process for the SharePoint 2013 Preview. Here’s the short version for people who want a relatively simple RTM setup on a Windows 8 client machine (i.e., not running Windows Server 2012 as the host operating system).

SharePoint working on it from geeklit.com by Stephen Cawood

Caution: Hyper-V will only work if your BIOS/hardware/CPU support Hyper-V. It’s a really good idea to check first before you try to use it and get frustrated. Whenever I order new hardware, I explicitly ask if it supports virtualization and Hyper-V. That way when I get something (e.g., a CPU) that doesn’t work—and that happens—I can return it for something that will work.

First, this setup is “relatively simple” because I chose a particular setup and I repeat it often. I run SharePoint in a Hyper-V virtual machine in a single-server farm. I install SQL Server and the domain controller role on the same virtual machine. This means I can export the VM, import into a different Hyper-V instance and it all just works. Because the whole setup is self-contained and doesn’t require Internet access, it’s great for demos, webinars, conference sessions and other presentations. However, this is not the best practice for a production SharePoint install. For example, you should not install SharePoint on a domain controller.

[Update: By request, here are the hardware specs for my setup: Dell Precision M4600 laptop with 16GB RAM and Intel Core i7-2860QM CPU @ 2,5 GHz. I’m allocating up to 8GB of RAM to the SharePoint VM because it’s self contained and I only have to run the one image.]
Step 1: Install Windows 8 and Add the Hyper-V Feature.

Once you have Windows 8 running, scroll to the top or bottom corner on the right side to open the fly out menu and then choose Settings > Control Panel > Programs and Features > Turn Windows features on or off. Then check the box next to Hyper-V and install it. This will require a reboot.

SharePoint 2013 install from geeklit.com by Stephen Cawood

Step 2: Create a New VHD in Hyper-V
I’m choosing Windows Server 2012 so I’ve downloaded that .ISO file from MSDN and selected it as the O/S when I created the new virtual machine in Hyper-V. I’m going with a 30GB VM with 8GB of RAM (but I can always up these numbers later). If you don’t need Office and/or Visual Studio, you won’t need 30GB of space.

Note: The initial O/S image file will be less than 10GB. After installing SharePoint Server, the VHD is roughly 19GB and the image is using 30GB of the 50GB.
Step 3: Install the O/S (Windows Server 2012) and Name Your Virtual Machine
(Changing the name after installing SharePoint has historically been tricky.) I’m installing W2K12 Datacenter Edition with the GUI. Remember to activate Windows after you install. No one likes a VM with an O/S that hasn’t been activated. After you’ve installed the O/S, run Windows Update.

Note: If you choose Windows Server 2008 as your O/S, it will take a while. The last time I installed it, there were 123 W2K8 updates.

SharePoint 2013 install from geeklit.com by Stephen Cawood

Step 4: Add the Web Server and Active Directory Domain Services Roles
I also add the Wireless LAN Services feature. Once you’ve installed AD, you’ll have the option of promoting the server to a domain controller. After that is finished, create the domain accounts you’ll need. I always add one for myself and another to use as the SharePoint admin account.

Step 4: Install SQL Server
I’m installing SQL 2012 as a stand-alone server (default instance). It’s a simple install process. I install the Engine (obviously) with the client and management tools. If I need more, I’ll add it later.

SharePoint 2013 install from geeklit.com by Stephen Cawood

Note: I often export the virtual machine and save a copy at this point so that I have a base image of the O/S with SQL Server. Since both of them have been released recently, that’s what I did this time. You can also create a snapshot, but I’d rather just export a reusable copy than increase the disk space needs of my base image.

Step 5: Run the SharePoint 2013 Prerequisite Installer

SharePoint 2013 install from geeklit.com by Stephen Cawood

Download the SharePoint RTM ISO from MSDN and launch the default.hta file. The setup file will run the product install, so don’t run that first. You want to first run the prereq install.

Note: I ran into an odd “File Not Found” error when installing the prerequisites. I have a theory, but no hard proof about why it was happening. I think that W2K12 mounting ISOs works differently than it did in W2K8. It seems that when a mounted ISO needs to continue an install after a reboot, it can’t find the files because the mounting doesn’t persist. To get around that, I burned the ISO to disk.

Step 6: Install SharePoint 2013
The actual product installer doesn't really ask any questions—that’s saved for the two configuration wizards.

SharePoint 2013 install from geeklit.com by Stephen Cawood

Note: The first time I ran the installer, it failed. Eventually, I was able to get the install to complete. I manually restarted the VM, manually ran Windows Update and, I also ran the .NET Framework Repair Tool (thanks to Chris O’Brien for that tip).

Step 7: Run the SharePoint 2013 Configuration Wizard

SharePoint 2013 install from geeklit.com by Stephen Cawood

There are lots of questions in the config wizard. I’m not going to go through them here. There are plenty of posts on that topic.

SharePoint 2013 install from geeklit.com by Stephen Cawood

Step 8: Run the Farm Configuration wizard.

After running the SharePoint Configuration Wizard, you’ll be asked to run the farm config. This step includes creating a root site collection and choosing which services will run on the server.

SharePoint 2013 install from geeklit.com by Stephen Cawood

That’s it, you’re done! Now you have a SharePoint 2013 image on Windows 8… so handy.

SharePoint 2013 install from geeklit.com by Stephen Cawood

Note: If you’re still installing the SharePoint 2013 Preview build (I won’t know why you would), don’t forget that the “Working on it…” screen for configuring the SharePoint services will not close—it just keeps going forever.

Tuesday, October 23, 2012

SharePoint Web Services are Deprecated

After telling everyone who would listen (for years) that they should switch to the SharePoint Client-side Object Model (CSOM), there is finally a clear statement for us to use as evidence.

Buried deep in the article, Choose the right API set in SharePoint 2013, you’ll find this text:

“Two API sets are still supported in the SharePoint 2013 Preview framework for backward compatibility, but we recommend that you not use them for new projects: the ASP.NET (asmx) web services, and direct Remote Procedure Calls (RPC) calls to the owssvr.dll file.”

RPC calls are also deprecated, but few were using those, it’s really the native web services that need to be retired. They served a purpose, but they were never complete and they are now based on what could be called ‘old’ technology.

Sure, the CSOM API isn’t complete either, but hopefully the missing power will come eventually. The features that were added in SharePoint 2013 seem to have all gotten appropriate attention in the CSOM API.

Tuesday, October 16, 2012

How do I Become a Microsoft MVP?

Quite regularly, I read this question in a forum, hear it asked at a conference, or someone asks me personally, “How does someone become an MVP?” There is no simple answer, but here’s my stab at it.

Microsoft MVP Banner geeklit.com

First of all, if there is only one thing to remember about the MVP award, it’s this: the Microsoft Most Valuable Professional (MVP) award isn’t a certification.

There are no set criteria or steps that someone can take to become an MVP. As the name implies, it’s an award. However, there are certainly things that you can do to work towards getting a nomination. As I mention below, most people would tell you not to aim for MVP status. It requires significant time and effort, so if you’re not having fun doing community-focused work, it’s probably not worth it.

I think a quick explanation is in order. The MVP award is given out based on specialties. Mine is Microsoft SharePoint Server, so that’s what I’ll be referring to throughout this post, but categories do not have to be products. There are MVPs for development languages (e.g., C#) and there are MVPs for platforms (e.g., ASP.NET or XNA). There are currently about 240 SharePoint MVPs around the world.

“This award is given to exceptional technical community leaders who actively share their high quality, real world expertise with others. We appreciate your outstanding contributions in SharePoint Services technical communities during the past year.”
-
Microsoft

In practical terms, this means helping with community-focused resources such as contributing to the SharePoint newsgroups, speaking at conferences, writing about SharePoint and contributing code to CodePlex (an open source site used by the SharePoint community).

The benefits of being an MVP include a TechNet subscription, a subscription to the Microsoft Developer Network (MSDN), access to MVP/product group forums/distribution lists/Yammer networks, software benefits such as access to Office 365 and TechSmith Camtasia Studio, early access to new product builds, and an invitation to the annual MVP Summit. However, the main benefit is being part of the MVP community. I greatly enjoy spending time with other MVPs. If you have a technical question, they’re the best people to ask, and we share common experiences so I often either commiserate or celebrate with them.

The award is given based on nominations--a panel ultimately decides who receives it. There are no published criteria and the members of the panel aren’t disclosed. Also, one key factor is that Microsoft likes to have representation around the world. If there are already a bunch of MVPs in your area—and for your specialty/product—that could make it harder to get the award. However, there is a surprising number of SharePoint MVPs in Toronto, Canada, so this is isn’t a hard rule.

Microsoft MVP Banner geeklit.com

These are the main things that historically have helped with MVP status:

· Speaking at events, conferences and user groups
· Writing original content (e.g., blog posts, articles and books). You must have a blog.
· Developing community apps (usually posted to CodePlex)
· Taking Microsoft certification courses
· Contributing/organizing/starting user groups
· Contributing to the MSDN forums (mainly answering questions).
· Participate in social media and social events (e.g., Twitter, Yammer and social events such as SharePint). You need to get your name out there as a subject matter expert (SME), so the people on the panel have heard your name and seen your work.

I tell people that trying to get the award should not be their focus; there should be value to the things they’re doing independent of trying to become an MVP. However, if I were to set out to get the award today, this is what I would do:

1. Pick a well-defined audience (end-user, dev or admin) and a well-defined sub-topic within SharePoint (or your area of expertise) to focus your efforts. SharePoint is simply too big a topic to do everything.

2. Talk to MVPs and MVP leads (especially your local lead) to get their insight into what would help you get nominated.

3. Meet in person with the current MVP lead for your region. This can help you figure out what’s most important to Microsoft now.

4. Submit presentation proposals to the biggest conferences you can afford to attend, the Microsoft SharePoint Conference plus some user groups and smaller private shows. For the bigger shows, it’s best to submit more than one session since they get way more proposals than they can accept.

5. Make sure you’re regularly posting original content about your expertise. Blog posts, articles, etc.

6. Take some certification courses. Becoming a Certified Master or Certified Architect is a good (but expensive) way to get ‘street cred.’

7. Answer some questions in the MSDN forums, but keep in mind there’s a new certification (Microsoft Community Contributor Award) that’s meant specially for people who do this a lot. I have a notification that goes off every weekday to remind me to go to the SharePoint forums and answer questions.

8. Regularly participate in social media to ensure that the current MVPs in my area and the Microsoft reps know who I am.

Note that somebody has to nominate you. It’s unlikely that you’ll just get an email one day saying you’ve won an MVP award. You need to be talking to people in the community and from Microsoft so that you have a relationship with them and you have some visibility for the good work you’re doing, Note that I’m not suggesting that it’s just a popularity contest; networking and visibility are only helpful if you’re contributing something that has value.

It’s not easy to win the MVP award, so once again, it’s not a good idea to aim to get one—do the things you love to do and if you win the award, it’s a bonus. I feel fortunate to have received three MVP awards and I certainly make good use of the benefits. But I don’t expect that it will be just handed to me… when it comes to renewal… Microsoft will only consider what you’ve done in the last 12 months, so winning the award once doesn’t mean you’ve reached the end of the journey.

Hope that helps keep it clear as mud.

Monday, October 15, 2012

How to Do Everything SharePoint 2013

My latest book project is an end-user SharePoint 2013 book called How to Do Everything: Microsoft SharePoint 2013. this is, of course, a new edition of my last book, How to Do Everything: Microsoft SharePoint 2010. As with the 2010 version, my good friend, Arpan Shah, Microsoft Senior Director of Office 365, has contributed a section on the history of SharePoint and also written the foreword.

What I set out to do in the first edition was focus on the most important cases for the day-to-day user. I trust readers are conscious of the fact that the “How to Do Everything” series name doesn’t mean that all of SharePoint can be summed up in one book. This book is squarely focused at the end-user.

How to do Everything HTDE SharePoint 2013 Cover by Stephen Cawood

For the second edition, I don’t want to stray too far from my original goal. However, I’ve listened to all the feedback from the first book. Readers wanted an end-user book, but some wanted it to take them a bit further, so that’s what I’m going to do. I’m adding content about SharePoint administration and other topics that aren’t necessarily required for every user, but will be interesting to those who want a bit more.

I’ve worked with McGraw-Hill Osborne Media on other projects and they’re a great publisher to work with—professional and helpful.

Here’s some text from the 2010 book description:

"Written by a former member of the SharePoint development team, this is a step-by-step guide to mastering the latest release of this integrated suite of server capabilities.In How to Do Everything: Microsoft SharePoint 2010, Stephen Cawood—one of the people who helped build SharePoint—offers advice from his many years of working with SharePoint customers, cutting to the core and focusing on key features to get you up to speed quickly. You’ll get easy-to-follow tutorials on blogs, wikis, My Sites, Web parts, taxonomy, document management, workflow, publishing sites, team sites, and much more. Take full advantage of the content management, enterprise search, collaboration, and information-sharing capabilities of SharePoint 2010 with help from this practical guide."

Monday, September 24, 2012

DoxTree–the Social Network for Doctors and Patients

I've been less visible lately in the SharePoint space because I've been working hard to get a new project off the ground. DoxTree is a social network for doctors and patients and getting a private Beta launched has taken up most of my time for the past few months. I say "most" because I've also started my new SharePoint book--which I clearly need to write a post about soon.

DoxTreeLogo_Beta

I'm really excited about DoxTree and as co-founder/CTO, I'm enjoying putting together a great platform and talking to potential partners. We had some great meetings in Seattle with the University of Washington and we’re excited about working with them in our Beta phase.

At this point, we're being noticeably cagey about the feature set that www.doxtree.com will offer, but it's safe to say that you can expect some social features from a social platform. We're not just a LinkedIn clone for doctors, or just a doctor directory. We'll offer some features that have been made available outside of healthcare, but we're aspiring to be much more. To learn more about DoxTree, check out the DoxTree blog.

Wednesday, August 08, 2012

Enabling Remote Access to SQL Server on an Azure VM

The basic requirements for enabling remote access to SQL Server are pretty straightforward:

1. Ensure that “Allow Remote Connections” is enabled in SQL Server Management Studio.

2. Open your firewall to allow communication (by default TCP port 1433).

To get access to your SQL Server running on a Windows Azure Virtual Machine (VM), you need to take some additional steps—just as you would using an Amazon Web Services virtual machine. The same is true for opening HTTP access (e.g., over port 80), or any other port for that matter.

Note: This post is not about SQL Azure. This applies to an install of SQL Server on a Windows Azure Virtual Machine.

  1. First login to the new Azure Management Portal (currently in “Preview).

image

2. Click on the Virtual Machine you want to configure and then click “Endpoints.”

image

3. By default, SQL Server will use TCP port 1433, so add an endpoint with any name (using the allowed characters and character limit).

(I haven’t read up on it yet, but I’m assuming the public port is what you’ll be using from the outside and the private port is the one that will actually be forwarded to the VM. To keep it simple, I left them the same in my test.)

That’s it, you’re done! Now you can connect from a client machine to your remote SQL Server machine.

Friday, August 03, 2012

SharePoint 2013: Platform or Application?

I would not have expected the debate about SharePoint as an application vs. a platform to begin again, but that seems to be the case. A number of SharePoint consultants and other SharePoint experts are expressing concern about a few features that have been changed or removed from SharePoint with the SharePoint 2013 Preview release. The most obvious being the SharePoint Designer Design View--which has prompted a hot discussion on the MSDN SharePoint forums. These individual items may be annoying some people, but there’s more going on here. This isn’t just a few items being removed, it’s part of a fundamental shift in the SharePoint messaging. SharePoint has been promoted heavily as a customizable platform, but that message is changing. I posted this reply in the forums:

I believe this is part of a larger discussion. If you read the messaging coming from the SharePoint team, this change is consistent with a move away from SharePoint being such an open and customizable platform. That's not my opinion; here's the supporting quote:

"Use SharePoint as an out-of-box application whenever possible - We
designed the new SharePoint UI to be clean, simple and fast and work great
out-of-box. We encourage you not to modify it which could add complexity,
performance and upgradeability and to focus your energy on working with users
and groups to understand how to use SharePoint to improve productivity and
collaboration and identifying and promoting best practices in your organization." -
Jeff Teper, VP SharePoint - The New SharePoint (SharePoint team blog post)

This forum response, from a user named Intrawebs, gives you an idea of the reaction: “I am a developer, but, when it comes to SP I try and do as much as possible in SP Designer vs. Visual Studio.  It federates responsibility and enables non devs to contribute more easily.  This will be a deal breaker for us, we use SP on our public and intranet sites.  Poor decision from MS…”

When SharePoint first came out, it's primary value was as an application--a quick way to create an Intranet. MCMS at the same time was designed as a platform--build your own site, but build any type of site. The market responded that they wanted both in one product and SharePoint made huge strides as a platform. Now it seems that the SharePoint team has decided that the pendulum has swung too far.

Is this a good change for SharePoint customers? Is it a good change for SharePoint customers? These are hard questions to answer. What is clear is that less SharePoint customization is probably not good for SharePoint consultants. There seems no way around the simple formula that less customization = less work.

Some ISVs could benefit from this change. For example, migration vendors have to work extremely hard to support customizations, so there may be less work in that area. However, one of the reasons customers use third-party migration products (such as my former company, Metalogix) is to deal with customizations, so that’s not clear. Also, this is a preview release.

While the new SharePoint App model does add a new dimension to SharePoint development, I’m sure that most SharePoint devs would say that they expected this to be an additional choice rather than the only choice.