Contents tagged with SharePoint 2010 Web Parts in Action

  • SharePoint 2010 Web Parts in Action as the Manning Deal of the Day

    Tags: SharePoint 2010 Web Parts in Action

    SharePoint 2010 Web Parts in ActionIf you still haven’t picked up on my book about SharePoint Web Parts – SharePoint 2010 Web Parts in Action, then this is the chance for you. Today (5th of April) the book is featured as the Manning Deal of the Day. All you have to do is browse to http://www.manning.com/wilen/ and then use the dotd0405au promotion code. This will give you 50% percent discount, for you non-math-geniuses that’s half off the full price! And since you now saved a couple of bucks, there’s another Manning book with the same deal and promotion code today and that’s PowerShell in Action 2nd edition.

    PS: Even though the name of the book implies SharePoint 2010, it’s fully applicable to SharePoint 2013 – very little has changed in the Web Parts space.

    Well, what are you waiting for, go get it…

  • Summing up the year of 2011 and embracing 2012

    Tags: Personal, SharePoint 2010, SharePoint 2010 Web Parts in Action

    It's that time of the year, when you're thinking about what you've done and accomplished the last twelve months. I've been writing a summary for the last five years (2006, 2007, 2008, 2009 and 2010) and I always think it's fun to look back at the year gone and do some predictions for the upcoming one.

    This year has been totally crazy - I've been enjoying my work and clients/projects at Connecta and I totally love that we have such a strong team and offering. I can really feel the momentum we have in our team and projects, and nothing is stopping us now...

    Writing

    As usual I've been jotting down a couple of blog posts, some better than others (IMO) and unfortunately there are several that I just haven't had time to publish. I have on average 1.000 subscribers to my feed and a whole lot of other users finding my writings through the search engines - thank you all readers! These are the top ones for the last 12 months.

    1. Calling a WCF service using jQuery in SharePoint - the correct way
    2. Working with URLs in SharePoint 2010 JavaScripts
    3. SharePoint 2010 Ribbon Controls - Part 4 - The TextBox control
    4. SharePoint 2010 Ribbon Controls - Part 5 - The Button control
    5. Improve performance of your SharePoint 2010 applications using Windows Server AppFabric caching

    Interesting to see jQuery and JavaScript posts topping the list - might give us a hint on what's been popular this year... The post that still is #1 is the Fix the SharePoint DCOM 10016 error on Windows Server 2008 R2 (remember where you read this first :-).

    SharePoint 2010 Web Parts in ActionI also finally got my book SharePoint 2010 Web Parts in Action published in April. It took over a year of writing, re-writing, testing, reviewing etc etc to get it done. And when the books finally arrived in printed form it was such a great feeling. It's a tough competition on SharePoint books nowadays, and I'm glad to see quite good sales figures and especially great reviews (if you haven't already - head on to Amazon and tell me what you think).

    MVP again...

    In April I was re-awarded the Microsoft Most Valuable Professional - SharePoint Server award. This is an award for your on- and offline community contributions. Being a part of the SharePoint MVP community is great and gives you a lot of amazing contacts with some great people.

    The Master!

    The MCM - Microsoft Certified Master - program was the highlight of the year! In April/May I attended the R8 rotation of the SharePoint 2010 MCM program which was three long and tiresome weeks with best-in-breed SharePoint training by the best of the best. I passed all three written exams and the qualification lab on first attempt and was allows to call my self a SharePoint 2010 MCM in the end of May. Since that rotation I've really felt that my SharePoint skills and confidence has improved - and I do think that also my customers feel the same. I did a post about my experiences of the MCM program a couple of months back - and if you're interested go ahead and read it.

    MCM

    Conferences and travels

    This year has also been filled with a lot of conferences and travelling. First of all in march all MVP's met up in Redmond, at the Microsoft campus, for the annual MVP Summit. This was my first visit to Redmond and the summit and I met a lot of the people I've only met through the online world previously. I had a blast with paintball, late nights and beers talking to some really great friends. A couple of months later I went back to Redmond for the MCM - the weather was the same as in March! October and November was quite hectic with another trip over the pond to the SPC 2011, a trip to the European SharePoint Conference in Berlin and finally the Southeast Asia SharePoint Conference in Singapore. I also managed to do a couple of conferences on home turf as well.

    The International SharePoint Conference 2012I've already planned a couple of trips for 2012 - at least two trips to US again, one is the SPC 2012 in Las Vegas where I hope to meet a lot of you. I have also planned a trip to London in late April for the International SharePoint Conference. This will be an extraordinary conference with two really cool tracks - one IT-pro and one dev, where we'll build one big solution during three days. I promise to get back to you with more information about it as soon as it's available.

    SharePoint

    Yea, as usual this year has been all about SharePoint for me. I've seen the product mature, I've learnt more about it (again) than I ever could expect and I see a huge and increasing demand for the platform. If you're new in IT - bet on SharePoint! We've also seen the birth of Office 365. I'm running both my work and personal e-mail in the hosted Exchange solution and I'm very satisfied. This fall I've spent a lot of time with SharePoint Online trying to do real work and deployments. To put in in nice words I should say that I'm more of an on-premise guy!

    Predictions

    In these recap posts I've done some predictions for the upcoming year. I had three last year and I was right about two of them: Windows 8 is communicated and with Hyper-V support.  I've been thinking quite hard on what predictions to have this year, trying not to reveal anything or stating anything obvious. So here are my predictions for 2012.

    • Silverlight will die! - yeah, Microsoft haven't put it in those words, but that's what's going to happen. We'll probably see Silverlight doing it lasts breaths on the Windows Phone 7 platform though. HTML5 and JavaScript will take over.
    • Second Browser World War - for a couple of years browsers have tried to strive for a common standard, and Internet Explorer has finally caught up. Since the HTML5 standard is far from standardized we will see Firefox, Chrome, Safari and IE add its own proprietary "interpretations" of the standard which will diversify the browser world once again. It's already happening, unfortunately...
    • Windows Phone momentum - I do think that the movement of Windows Phone 7+ will finally accelerate 2012. Great hardware, Nokia, great apps, unlimited marketing money and people getting bored of icons in a row are a few of the reasons. And I never ever had my WP7 phone crash - but for the Android devices we have in the family it's a part of the daily routine...
    • Less cloudy - this is more of a wish than a prediction but I do hope that 2012 will be less cloudy. I'm so fed up with the term "cloud"! Of course hosted services will still be a major option but I do think that more and more customers are going to look at internal hosting and/or hybrid solutions.

    What do you think?

    Thank you and a happy new year

    So, I do not think I will be posting anything more this year! It's been a fantastic year but I'm sure 2012 will beat 2011 big time. Thank you all readers and followers and thank you to all new friends I've met throughout this year and thank you to everyone supporting me and has to put up with late night IM's or e-mails (you know who you are!).

    Now, enjoy your last days of 2011 and have really great New Years Eve - I know I will (even though enjoy incorporates some work!).

  • Summing up the year of 2010 and embracing 2011

    Tags: Personal, SharePoint 2010, SharePoint 2010 Web Parts in Action

    The time has come for me to do my summary post of 2010. This is my fifth summary post (2006, 2007, 2008 and 2009). This year has been truly amazing. Working in the SharePoint world has been so interesting and challenging with the brand new Office 2010 and SharePoint 2010 products.

    I have been knee-deep in SharePoint 2010 work both for my employer (Connecta) and for personal reasons (pure fun, book, learning...). A huge thanks to my wife and daughters that can put up with my constant chatter about this obscure thingie...

    As previous years let's sum up my year in a few sections.

    Blogging, books and other writings

    My blogging activities has been going up and down this year, but I think this year I have produced quite a few gems. I've seen the number of visitors steadily grow this year with about 700.000+ hits per month nowadays. The most popular posts of this year are the following ones:

    1. Create SharePoint 2010 Managed Metadata with Excel 2010 - the #1 hit this year. This post is also referenced in several TechNet/MSDN articles.
    2. Creating a SharePoint 2010 Ribbon extension - part 1 - I learned a lot while writing this
    3. Creating custom themable CSS files for SharePoint 2010 - really cool branding feature of SP2010
    4. How to provision SharePoint 2010 Managed Metadata columns - needed to document this...
    5. Visual guide to Windows Live ID authentication with SharePoint 2010 - part 1- my personal favorite and the one which took me the longest time to finish
    6. Creating a SharePoint 2010 Ribbon extension - part 2 - continuation of #2
    7. Plan your SharePoint 2010 Content Type Hub carefully - trial and error
    8. Local SharePoint 2010 development on Windows 7 - awesome experience - not everyone agree, but I still love doing POC's and tests on Win7
    9. Custom application pages in the SharePoint 2010 Sandbox - I needed to do this, and why not write about it
    10. Working with SharePoint 2010 Correlation ID in PowerShell and code - nice features of SP2010

    SharePoint 2010 Web Parts in ActionPart from blogging I've been writing on my book; SharePoint 2010 Web Parts in Action. It was not released this year as planned but watch out for an early release in 2011. I'm not going to write more about it now - that deserves its own post.

    Except for writing on my own blog and the book I also produced a series about Visio 2010 and SharePoint 2010 for EndUserSharePoint.com, nowadays NothingButSharePoint.com - check it out. I still have a couple of posts to complete, so keep an eye out for them. I also wrote an article for the 2nd edition of the DIWUG SharePoint eMagazine about the new SharePoint 2010 themes - download it here.

    SharePoint MVP

    MVPA personal and professional highlight of this year was of course when I was awarded with the prestigious SharePoint Server MVP award. April the 1st this year I got an e-mail that made me choke and burst out in joy. Hopefully I can keep this award for quite some time. Being a Microsoft MVP has really given me some great opportunities to meet new people and talk SharePoint with a bunch of extremely talented people - I really look forward to the MVP summit in a few months.

    Speaking engagements

    One thing I enjoy is to talk about things I like - SharePoint for instance. This year I continued to deliver quite a few sessions on several occasions:

    Looking forward to next year, hopefully I get invited to some more international conferences...

    Last year predictions

    Last years summary post contained a few predictions for 2010 - and all of them fell in. "Microsoft will have something extraordinary coming in Windows Mobile 7" - Windows Phone 7 was released! "Another thing we will see starting emerge from Redmond is a new Internet Explorer...I expect some major improvements in standards compatibility..." - Internet Explorer 9 was released as beta!

    Predictions for 2011

    So what about 2011? What's in my crystal ball for next year? The wave 14 of Office/SharePoint has just begun, I don't expect any new major announcements about the next wave, except for the Office 365 stuff going live. The release of IE9 and Silverlight 5 are no-brainers. This is what I think about next  year:

    • Microsoft will enter the pad/slate/tablet/huge-cellphone market with a special edition of Windows Phone 7. Yup, I don't think "Windows 8" will be the OS for the Win-pads.
    • Windows 8 will be communicated. Windows 8 will be like Windows 7 R2.
    • Virtual PC will be reborn as a client alternative to Hyper-V with x64 support etc.

    Thank you and a happy new year

    That's it for me! Thank you everyone who subscribed to my blog or Twitter feed or visited/listened to me at conferences. Next year will be awesome. I've already made some really interesting plans for next year that I'm anxious to talk about at a later time. Let's finish with a picture that I took today when I was out skating at our lake. Happy new year everyone!!

    snow-2

  • SharePoint 2010 Web Parts in Action - 15 chapters

    Tags: SharePoint 2010, SharePoint 2010 Web Parts in Action

    wilen_cover150

    After about six months of writing I have now written a total of 400 pages and 15 chapters about SharePoint 2010 Web Parts for my book called SharePoint 2010 Web Parts in Action. This is a book focusing on Web Part development in SharePoint 2010 and I think that it covers all that is needed for developers who wants to enhance their SharePoint 2010 and Web Parts development skills.

    The chapters are:

    1. Introducing SharePoint 2010 Web Parts
    2. Using and configuring Web Parts in SharePoint 2010
    3. Building Web Parts with Visual Studio 2010
    4. Building the user interface
    5. Making Web Parts customizable
    6. Web Part resources and configuration
    7. Packaging, Deployment and Security
    8. Tools for troubleshooting and logging
    9. Caching for performance
    10. Dynamic interfaces in Web Parts
    11. Client Object Model and Silverlight Web Parts
    12. Making Web Parts Mobile
    13. Web Part design Patterns
    14. Connecting Web Parts
    15. Building Pages and Dashboards

    I have submitted all my chapters to my publisher (Manning) and I am waiting for the final technical review of it before I can let it go (for this time). Once I have reviewed the reviews the book will be sent to typesetting and then it will be on the way to the printers. You will see the book in your closest book shop during this fall.

    But, if you are interested you can actually grab the preview pieces of it right now. Manning has an Early-Access program (MEAP) that allows you to purchase the book right away as a preview e-Book and once the book is hot from the presses it will be sent to you. Head on over to http://www.manning.com/wilen to get your copy. Currently there are the first seven chapters available with two more on the way. If you do get it and you have feedback on it, contact me or discuss it at the Manning Sandbox forums.

    While some really smart guys are doing the review, I'm shutting down for a while for a long awaited vacation. See you on the other side...

    (written using the new Windows Live Writer beta...)

  • Working with SharePoint 2010 Correlation ID in PowerShell and code

    Tags: SharePoint 2010, SharePoint 2010 Web Parts in Action

    SharePoint 2010 the logging has been extended with a new Correlation ID which is unique for each request or operation. The Correlation ID makes it very easy to track down any unexpected errors since you can search for the id in the trace logs. This unique ID is also maintained between servers for instance when making a call to a service application.

    SharePoint 2010 error message The SharePoint 2010 error page also shows this Correlation ID so that any end-users seeing the message can contact support and give the the Correlation ID. Using the ID the support team can then track down the cause of the error.

    To Search for the Correlation ID in the Trace Logs the Windows Suisse Knife called Notepad can be used but a far better, faster and more 2010:ish approach is to use the Get-SPLogEvent cmdlet.

    Get-SPLogEvent

    The Get-SPLogEvent cmdlet is used to search the local Trace logs or merged (Merge-SPLogFile) logs. To search for a Correlation ID the following PowerShell command line can be used.

    Get-SPLogEvent |
    ?{$_.Correlation -eq "2872bd2d-a0a5-4cac-b218-f504a7d2a4c5"} |
    ft Category, Message -Autosize

    This will search the Trace Logs for the Correlation ID and output the category and message of any records in the log related to the id.

    Correlation ID in code

    If you have error handling in your code and perhaps logging information manually to the Trace Logs you can get the current Correlation ID by using a native method called EventActivityIdControl() found in advapi32.dll. You have to import the method like this:

    [DllImport("advapi32.dll")]
    public static extern uint EventActivityIdControl(uint controlCode, ref Guid activityId);
    public const uint EVENT_ACTIVITY_CTRL_GET_ID = 1;

    And then use it in code like below, perhaps in a catch statement

    Guid g = Guid.Empty;
    EventActivityIdControl(EVENT_ACTIVITY_CTRL_GET_ID, ref g);
    this.Controls.Add(new Label { 
        Text = string.Format("An error occurred with correlation id {0}", g)
    });

    Pretty neat! If you like it you can find even more information on the topic in my upcoming book SharePoint 2010 Web Parts in Action.

  • SharePoint 2010 Web Parts in Action - book site is live

    Tags: SharePoint 2010, SharePoint 2010 Web Parts in Action

    As some of you know I'm writing a book on SharePoint 2010 Web Parts development to be published by Manning Publications. I have set up a site dedicated to this book project where you can follow the progress of it.

    You can find the site at http://www.sharepointwebpartsinaction.com/

    image

    I am currently half way through the writing and we are closing in on the Manning MEAP program. So if you are interested in the latest news on the book head on over to the site...

    By the way: I set up the site using the really promising Orchard CMS system. It's fun once in a while and try something else than SharePoint...

  • I'm writing a SharePoint 2010 book

    Tags: Personal, Web Parts, SharePoint 2010, SharePoint 2010 Web Parts in Action

    A Book This is the first post for the year of 2010 and what could be better to start with than announcing that I’m writing a SharePoint 2010 book. More specifically I’m writing a book about SharePoint 2010 Web Parts development with the working title SharePoint 2010 Web Parts in Action.

    This is a dream come true to me and I have been thinking about writing a book on and off for quite some time. I want to take my writing/blogging even further, it’s through writing that I educate and evolve myself. It makes me think twice and really make sure that I’m writing the correct stuff (who wants to be haunted down by all the readers and pros out there :-). So a book will be perfect to learn more about the SharePoint 2010 platform and dig down even further in Web Parts development.

    Web Parts has been one of my favorite topics in SharePoint – I really like the concept of making self-contained applications that can be configured by the end-users and optionally connected to create mashups. I written a bunch of posts on the topic and published two Codeplex projects; ChartPart and Tweetpart. Web Parts is one of the subjects that almost all SharePoint developers have been working with and it has its difficulties and pains. I hope I can get down all my experience, ideas and troubleshooting into this book and that it gets great feedback and usage.

    The book is going to be published by Manning Publications and I really want to thank them for making this possible! Manning got a really interesting concept with their MEAP program (Manning Early Access Program), which allows you to buy the book at a discounted price even before it’s complete and published. Then those buyers have an opportunity to comment on the book so far and possibly influence the author. This book will during the spring become a part of the MEAP program – so watch out for further announcements. Manning have a nice line-up of books coming this year including SharePoint Workflows in Action by Phil Wicklund, SharePoint 2010 Site Owners’ manual by Yvonne Harryman and SharePoint Server 2007 Survival Guide by Penelope Coventry et al.

    I have already started writing and I’m really satisfied so far. If you have any particular questions or things that you would like to have answered then don’t hesitate to contact me!

    Happy new year!

AWS Tracker

About Wictor...

Wictor Wilén is a Director and SharePoint Architect working at Connecta AB. Wictor has achieved the Microsoft Certified Architect (MCA) - SharePoint 2010, Microsoft Certified Solutions Master (MCSM) - SharePoint  and Microsoft Certified Master (MCM) - SharePoint 2010 certifications. He has also been awarded Microsoft Most Valuable Professional (MVP) for four consecutive years.

And a word from our sponsors...

SharePoint 2010 Web Parts in Action