Wintellect Blogs

Jeffrey Richter’s Guide to Working with Azure Storage Tables via C# and other .NET Languages

Jeffrey Richter

4 Sep , 2014  

I have been working with Azure Storage Tables for many years now. During this time, I have learned many good practices and have also experienced many bad practices. So, over the past few months, I decided to write a document so I can share my experience with others. I call this document Jeffrey Richter’s Guide to Working with Azure Storage Tables via C# and other .NET Languages. You can download my guide from the Wintellect website and you can learn more about Azure Tables by watching my video on the WintellectNOW website. My Guide has been reviewed and is endorsed by Microsoft’s own Azure Storage team. The guide has several purposes:

  • Help developers improve their mental model with respect to Azure Tables
  • Discuss the good and bad parts of Microsoft’s .NET Azure Storage client library
  • Show good patterns and practices related to Azure Tables
Read more

Wintellect Blogs

Infragistics Seminar Questions

Jeffrey Richter

27 Aug , 2014  

I did an online session today celebrating the 25th anniversary of our Partner Infragistics. During the session, there were a lot of questions I was unable to answer because we ran out of time. Below are those questions and my responses (in italics). Many of these questions are answered by my various WintellectNOW videos. You can register for a free 14-day trial here.

1. Are memory leaks reflected in the used memory statistic of the task manager?
No, Task Manager doesn’t offer the best column for this. Use PerfMon.exe and watch a Process’ Virtual Bytes.

2. As a Windows OS advocate, I am curious on how Threading is implemented in Unix/Linux.
I answered this question on the call.

3. Can a thread ever run (or be set to run) for longer than one quantum?
Can you increase the time quantum for long running tasks
Not directly. You can raise a thread’s priority so it prevents lower-priority threads from running.

4. Can you point out the difference between threads and tasks?
A Task queues an operation to the thread pool. The thread pool then has one of its threads perform the operation. The thread pool threads are re-used over and over again to process all the queued operations.Read more

Wintellect Blogs

A Tale of Two Certies

Jeffrey Richter

26 Aug , 2014  

For the past several months, Wintellect has been re-architecting the http://WintellectNOW.com website. We built a new storage model that separates users from accounts. This allows us to accommodate our corporate and enterprise customers better. For example, with the new system, an account can have multiple administrators allowing multiple people within a company to control who can and can’t watch videos. We’ve also been working on a much improved user experience so watching and learning from all our videos is much cleaner and faster. We haven’t launched these improvements publicly yet; but hope to in the next few months.

However, on August 23rd 2014, we did launch the new site internally for testing. Since we require SSL across the whole site, we needed a certificate and since the site will ultimately be deployed at http://WintellectNOW.com, we decided we’d use that certificate. WintellectNOW runs as a Microsoft Azure Cloud Service and so we went to our certificate authority’s website and re-keyed our WintellectNOW SSL certificate and uploaded it to our testing site: so far, so good.… Read more

Wintellect Blogs

Handling File/Folder Pickers and Web Authentication Broker in Universal Windows Store and Windows Phone Apps

Jeffrey Richter

27 Jul , 2014  

I was very excited when Microsoft announced Universal Apps for Windows Store and Windows Phone Apps. One reason is that I can use my existing C#/CLR/WinRT skill set to now build phone apps. Another reason is because it means my Windows Runtime via C# book now has a new audience. In fact, the book’s content is entirely applicable for Windows Phone 8.1 developers except for the few differences mentioned in a document you can download from the Wintellect website by selecting “For Windows Phone Developers.” I’ve already converted all the book’s code samples to universal apps and I have them running on both Windows and Windows Phone. You can download the code from the Wintellect website by selecting “Source Code.”

Of course, the main purpose to use universal apps is because it allows you to create different user interfaces for Windows Store, Windows Phone, and XBOX apps while sharing your business logic between them. Specifically, universal apps allow your common business logic to exist in a shared project while your platform-specific user interface code resides in platform-specific projects. However, while I was converting my book’s samples to universal apps, the toughest thing I ran into is the difference between how Windows Store and Windows Phone apps handle file pickers, folder pickers, and the web authentication broker.… Read more

Wintellect Blogs

Windows Runtime via C# Book and Windows Phone 8.1

Jeffrey Richter

20 Jul , 2014  

My Windows Runtime via C# book originally targeted developers building Windows Store. However, with the introduction of Visual Studio’s universal apps, the book is now applicable to Windows Phone 8.1 app developers as well. So, Maarten and I have created a document that goes through chapter by chapter explaining the few places where the book’s contents differs for Windows Phone apps. In addition, I have ported all the book’s sample apps to be universal apps; this allows them to build and run as both Windows Store apps and Windows Phone apps. To download the document and the new new code click here, scroll down to the entry for Windows Runtime via C# and select “For Windows Phone Developers” to download the document or select “Source Code” to download the new source code.… Read more

Wintellect Blogs

Free Ebook and WintellectNOW Video: Windows Runtime via C# Complimentary Chapter & WintellectNOW Course

Jeffrey Richter

22 Nov , 2013  

To celebrate the release of Jeffrey Richter and Maarten van de Bospoort’s new book Windows Runtime via C# Microsoft Press and Wintellect have teamed up to offer a complimentary chapter and free access to one of Jeffrey Richter’s WintellectNOW on-demand training sessions. We want to give you a sampling of the book with the addition of on-demand training content that will help you expand the concepts found in this new release.

 

You will enjoy free access to chapter three, which covers Process Model. This chapter delves into a Windows Store app’s process model and looks specifically at the various ways an app gets activated as well as how it uses threads and windows. You can download the free chapter here.

 

In addition, WintellectNOW is making Jeffrey’s Performing I/O Bound Asynchronous Operations free for one month. This session is an hour and thirty minutes in duration and provides concepts that apply to Windows Store apps. You can access the full session here.

 

If you enjoy this WintellectNOW video you can also enjoy 14-days of free access to the entire library. Dive deeper into the principals Jeffrey and Maarten outline in the book with these additional courses covering Generics and Garbage Collection.Read more

Wintellect Blogs

Free Access to My Windows Store Apps Video Series

Jeffrey Richter

15 Apr , 2013  

Jeff Prosise and I have been diligently creating our Mastering Windows Store Apps course throughout 2012. With the release of Windows 8 later this month we want to share some of the wonderful content that we’ve been working on with all of you!

 

I created a 9-part Windows Store Apps video series that is available to you for free. Each video is 10-20 minutes in length and touches on key aspects of Windows Store development. I hope you find the videos informative and that you’ll share your comments and reactions with me. Simply post any thoughts or questions you might have under each video and I would love to engage with you.

 

We will be releasing segments through December. Check-out our upcoming release calendar and get up to speed quickly and efficiently and prepare to blaze the new trails in the fast and evolving world of Windows development.

 

Currently available course segments include:

 

  • Application Architecture & Language Projections
  • Working with WinRT’s Async API’s
  • Windows Store App Threading Model
  • Building the App Package
  • Storage Files & Folders
Read more

Wintellect Blogs

What’s new in CLR via C#, 4th Edition as compared to the 3rd Edition

Jeffrey Richter

12 Apr , 2013  

The 4th edition of my CLR via C# book is coming out next month and you can order it here. The new edition is updated for Visual Studio 2012, .NET 4.5, and C# 5; there is also some coverage of Windows 8. As the book focuses on the CLR & C#, the majority of the book is the same as in the previous edition since little has changed from the developer’s perspective. As always, I do review each and every chapter, I apply any reported errata improvements, fix any bugs, typos, or improve wording if a reader reported that something was confusing. I also update version numbers, screen shots, and any current thinking that differs from thinking in the past.

However, I have also made some significant enhancements to the 4th edition. I have rewritten the Garbage Collection chapter so the material is updated and presented in more organized fashion. Second, the chapter on Reflection has been rewritten because Microsoft has redesigned the Reflection APIs and the new API is the one that will survive into the future. The old Reflection API still exists for backward compatibility but it will eventually fade away (I removed all content related to the old API).… Read more

Wintellect Blogs

Get Your SharePoint Training from Wintellect

Jeffrey Richter

11 Apr , 2013  

Did you know that SharePoint was Microsoft’s fastest growing $1 billion business ever? Well, you probably knew something like that because you’re probably doing SharePoint development. We’re real

ly happy at Wintellect that we are now offering world class SharePoint training that covers both people new to SharePoint to those that want to take SharePoint even farther than ever. Here’s the classes we are offering:

 

Mastering SharePoint and Office 365: End-to-End for Developers and Designers
This 5 day course is packed with information that will load you with enough skills to work productively on any SharePoint project. It covers the development aspects and UI design concepts in depth. This course is designed for the technical audience or the architect who needs to learn all aspects of the product, for the developer, designer, and the administrator. You can expect plenty of real world insight that you don’t get in “canned courses”.

 

 

The class is taught by Sahil Malik, a Microsoft MVP and SharePoint expert. Read more

Wintellect Blogs

Announcing Wintellect’s Power Live Framework Library

Jeffrey Richter

11 Apr , 2013  

Since late 2008, I have been spending a lot of time focusing on Microsoft’s Live Framework and Mesh technologies. Towards this end, I have produced a Power Live Framework library that simplifies coding against the Live Framework. And, I have also put together some sample applications that leverage my library. Furthermore, I have set up a Yahoo news group in order to support people that wish to use my library and sample code. The files and news group can be found here: http://tech.groups.yahoo.com/group/PowerLiveFx/.

The purpose of this blog post is to help you get started with programming for the Live Framework using my class library. For more information on the Live Framework in general, what it offers, and the concepts that surround it, I encourage you to see some of the videos from Microsoft’s PDC. Also, I will be speaking about Live Framework programming at Wintellect’s own Devscovery conference.

To develop against the Live Framework, you must:

·                     Provision your account:

o   Go to https://lx.azure.microsoft.com/Cloud/Provisioning/Default.aspx

o   From “New Project” page, click “Activate Live Framework CTP“

·                     If you want to access the Live Framework locally (not via the Internet), then download & run the developer client Live Operating Environment:

o   Go to https://developer.mesh-ctp.com/

o   Sign In, select “Add Device” and then install the client Live Operating Environment.Read more