Welcome to MSDN Blogs Sign in | Join | Help

Next geekSpeak - SharePoint Server 2007 Workflow with David Mann

Join us Wednesday, August 27th when David Mann takes your questions about Microsoft Office SharePoint Server 2007 workflow. David provides an overview of workflow in SharePoint 2007 and then drills down into details such as when to use state machines versus sequentials, building custom activities, and how and when to use Microsoft Office SharePoint Designer 2007 for workflows. David also offers tips for building high performance workflow environments.

Your hosts for this geekSpeak are Glen Gordon and Dani Diaz.

Register here

About our Guest:

David Mann, Software Architect, Mann Software, LLC

DMann_Headshot[1]

David Mann is a SharePoint MVP and an independent consultant, trainer, author and speaker focusing on Microsoft’s Information Worker and Collaboration stack.  Dave is the author of Workflow in the 2007 Microsoft Office System and founder of the Philadelphia Office Geeks User Group, focused on developer and administrator topics covering SharePoint and the entire Office System. You can find out more at his blog: http://www.mannsoftware.com/blog.

Posted by glengordon | 2 Comments

Next geekSpeak - Going from Developer to Dev-igner with Frank La Vigne - Wednesday, August 20

Are you tired of "battleship gray" UI and boring layouts? It's not that hard to pump things up a notch by learning some basic design techniques. In this geekSpeak, Frank La Vigne has some great tips on becoming a developer-designer hybrid (a dev-igner). Join your hosts Glen Gordon and G. Andrew Duthie on Wednesday, August 20 at 3 PM Eastern. Register at https://msevents.microsoft.com/CUI/WebCastEventDetails.aspx?EventID=1032384019&EventCategory=4&culture=en-US&CountryCode=US and bring your design questions for Frank!

About our Guest: Frank La Vigne, Lead Architect/Designer, Applied Information Sciences

FrankLaVigne

Frank La Vigne is a Microsoft Most Valuable Professional (MVP) for Tablet PC and lead architect/designer for Applied Information Sciences (AIS) in northern Virginia. Frank started in software development when he was twelve, writing BASIC programs for the Commodore 64. He began his professional career writing Microsoft Visual Basic 3 applications for Wall Street firms in 1993. He then moved on to be the first Web master for a major book retailer. Frank then went on to develop a large multinational online banking project in Germany. In 2004, Frank became heavily focused on Tablet PC application development. Frank is also active in the developer community, speaking at user groups and code camps along the East Coast.

Posted by glengordon | 2 Comments

Next geekSpeak: August 13 - Juval Lowy on how WCF is the "new .NET"

Our geekSpeak series gets back in the swing with .NET community powerhouse Juval Lowy sharing his perspective on how WCF is the "new .NET". Read more below and register for the webcast at https://msevents.microsoft.com/CUI/WebCastEventDetails.aspx?EventID=1032383096&EventCategory=4&culture=en-US&CountryCode=US

Abstract:

Windows Communication Foundation (WCF) provides off-the-shelf plumbing for connecting services together. The more granular the services are the more use the application makes of the WCF infrastructure and the less plumbing the developers have to write. Taken to the ultimate conclusion, every class and primitive should be a service to maximize the use of the ready-made infrastructure and to avoid handcrafting plumbing. In theory, this enables effortless transactional integers, secure strings, and reliable classes. However, is it viable in practice? Can Microsoft .NET support it? Will future platforms offer this option? In this geekSpeak, industry expert Juval Lowy shares his thoughts on the state of the industry, what is practical and feasible today, and the future of the platform.

Guest: Juval Lowy

image

Juval Lowy is a software architect and the principal of IDesign, specializing in Microsoft .NET 3.0 architecture consulting and advanced .NET 3.0 training. As the Microsoft regional director for Silicon Valley, Juval works with Microsoft on helping the industry adopt the .NET Framework 3.0. He also participates in the Microsoft internal design reviews for future versions of the .NET Framework and related technologies. His latest book is Programming WCF Services (O'Reilly 2007). Juval has published numerous articles on .NET Framework development and he is a frequent presenter at development conferences. Recognized by Microsoft as a Software Legend, Juval is one of the world's top .NET Framework experts and industry leaders.

Posted by glengordon | 1 Comments

August geekSpeaks open for registration

The first of our 4 geekSpeaks in August are open for registration.

  • August 6 - Paul Stork helps us learn how to make SharePoint not look like SharePoint, so you can more of an impact when you use it on a public facing site.
  • August 13 - Juval Lowy (in what promises to be a really insightful chat) explains why WCF is the "new .NET"

Visit http://www.msdngeekspeak.com and click the Webcasts tab to register.

Posted by glengordon | 1 Comments

geekSpeak podcasts from March, April and June now available

Want to catch geekSpeak on the go? Subscribe to our podcast feed. Since geekSpeak is a conversational show, in many cases you can enjoy just the audio portion while you are driving, biking, walking, unicycling, riding on an alpaca, or wherever! Then if you feel you want to see any demos that our guests show, just download the video and jump forward to the part you want to catch.

The feed is http://www.microsoft.com/seminar/en/BMO-PODCAST/MSDN_Geek_Speak_WMA.xml and you can add it to Zune, iTunes and the like.

Posted by glengordon | 1 Comments

geekSpeak taking off the month of July -see you in August

Momentum. Momentum is very important.

One of my mentors (and until a few weeks ago, teammate) Doug Turnure has this to say about momentum. Sometimes it's good to take a break, let some excitement build up, then pick things back up and BOOM, more momentum. I'm paraphrasing, because Doug didn't say BOOM in all caps - I did that for effect.

We're actually putting that advice into practice with geekSpeak. As far as the live geekSpeak webcasts that are on Wednesdays go, we're going on hiatus for the month of July. We'll be using the time to regroup, catch up on the postings we're behind on like the show recordings on Channel 9, the post show resources on this blog, and more. We'll also be ramping up on our use of Facebook and Twitter so you'll have additional ways to connect with us.

Look for us to resume in August with great guests - Paul Stork, Juval Lowy, Frank La Vigne and David Mann. Watch this space for announcements of the geekSpeak webcasts opening for registration. In the meantime, we welcome your comments and suggestions!

-Glen

Posted by glengordon | 2 Comments

Next geekSpeak - Silverlight Line-of-Business applications with Shawn Wildermuth

For our last geekSpeak in June, we have the return of Shawn Wildermuth, who will be taking questions on a different aspect of Silverlight development. Shawn's going to discuss the implications of using Silverlight 2 in line-of-business applications. He'll show  consuming and changing database data from Silverlight 2. In addition, Shawn shares his opinion of where Silverlight 2 fits into the broader enterprise development spectrum, including intranet, extranet, and Internet development. This should be a fun geekSpeak with a more architectural spin. The hosts for this geekSpeak will be Glen Gordon and Chad Brooks.

Register here http://msevents.microsoft.com/CUI/WebCastEventDetails.aspx?EventID=1032379983&EventCategory=4&culture=en-US&CountryCode=US

Posted by glengordon | 1 Comments

Resources for geekSpeak: WCF Strategies for Windows Mobile with Jim Wilson

It was a busy time last month for mobility guru Jim Wilson, what with two geekSpeaks in a row, but he pulled off another outstanding Q&A and demo session for us. Catch the recording here and check out all the great resources Jim provided below.


Jim’s 90 minute Webcast: WCF Store and Forward implementation details and coding: http://msevents.microsoft.com/CUI/WebCastEventDetails.aspx?culture=en-US&EventID=1032376632

Jim’s 35 minute “How Do I” video showing how to use Store and Forward to send simple notifications: http://msdn.microsoft.com/en-us/netframework/cc302399.aspx

Windows Mobile 6 SDKs (w/ emulators): http://www.microsoft.com/downloads/details.aspx?FamilyID=06111a3a-a651-4745-88ef-3d48091a390b&DisplayLang=en

Windows Mobile 6.1 Emulator images (Professional & Standard): http://www.microsoft.com/downloads/details.aspx?FamilyId=3D6F581E-C093-4B15-AB0C-A2CE5BFFDB47&displaylang=en

Multipart series from the .NET Compact Framework team walking through the process of creating a WCF Store and Forward app.

Part 1 - The origins of the 'lunch launcher'
Part 2 - MEDC 2007
Part 3 - Managing the Transport
Part 4 - Sending messages
Part 4b - The output channel
Part 5 - Receiving messages
Part 6 - Processing messages
Part 7 - The Lunch Manager
Part 8 - What did I learn?

Exchange Web Services: http://msdn.microsoft.com/en-us/library/aa566050(EXCHG.80).aspx

Power Toys for .NET Compact Framework 3.5 (download containing Netcfsvcutil and documentation): http://www.microsoft.com/downloads/details.aspx?FamilyId=C8174C14-A27D-4148-BF01-86C2E0953EAB&displaylang=en

MSDN Windows Mobile WCF Article: http://msdn.microsoft.com/en-us/magazine/cc164240.aspx

.NET Compact Framework Team Member Blog comparing NetCFSvcUtil to SvcUtil: http://blogs.msdn.com/andrewarnottms/archive/2007/09/13/calling-wcf-services-from-netcf-3-5-using-compact-wcf-and-netcfsvcutil-exe.aspx

Posted by glengordon | 1 Comments

June geekSpeaks are open for registration

Come spend your lunch (or coffee break, or afternoon tea (depending where you live)) getting your .NET questions answered by developer gurus on the MSDN geekSpeak series. Here are the topics and guests for June, so register today and get them on your calendar. Remember, these are live and all about answering your questions.

June 4 - T-SQL Tips and Tricks in SQL Server 2008 with Andrew Karcher (hosted by Lynn Langit and Mithun Dhar)

June 11 - Spatial Data in SQL Server 2008 with Denny Cherry (hosted by Mike Benkovich and Woody Pewitt)

June 18 - Workflow Services in .NET 3.5 with Jon Flanders (hosted by Lynn Langit and Glen Gordon)

June 25 - Silverlight Line-of-Business Applications with Shawn Wildermuth (hosted by Glen Gordon and Chad Brooks)

And if you can't catch them live, the links will let you watch the recorded versions. See you online!

Technorati Tags:
Posted by glengordon | 1 Comments

Resources for geekSpeak: SQL Server Compact Edition Tips and Tricks with Jim Wilson

Thanks again to Jim Wilson for stepping in and sharing some great information on SQL Server Compact. Here are Jim's notes from the show and a link to the recording.

Links

Questions

 


 

What is the size of SQL Compact DLLs

Approximately 2.3MB


 

Just starting work on SSCE and looking to mimic a SQL Server DB and use Sync Services to sync the two. What is your recommendation on how to sync key fields on the server DB to those in SSCE? I need IDs (or GUIDs) on the server to ensure uniqueness, But I'm not sure how they will sync. If possible, I'd like to avoid GUIDs as keys.

 

These two articles together provide guidelines for doing just what you’re asking…

http://msdn.microsoft.com/en-us/library/cc305322(SQL.100).aspx
http://msdn.microsoft.com/en-us/library/cc305973(SQL.100).aspx


Does it have XQuery?

There is no XQuery support for SQL Server Compact. The reason is that SQL Server Compact is designed to be a low overhead local database. The goal is not necessarily to have every feature of SQL Server but rather to have an upwardly compatible path while minimizing the resource costs. Implementing XQuery features over a relational database is very resource intensive both in terms of the increased size of the runtime and the very high CPU overhead to execute the queries.


Are you able to dynamically create a database from within you application or at least drop & create tables?

Absolutely! To create a new database use SqlCeDataEngine.CreateDatabase; to create, modify, or drop a table simply use SqlCeCommand.ExecuteNonQuery to execute the appropriate SQL to do the table creation, modification, or drop.


How does SQL Server Compact support storing files like images? Will it be the same as 2008?

For retrieving images (and other BLOB data) use SqlCeDataReader.GetBytes . This returns a Byte array which you can then create a Bitmap from through the use of a MemorySteream like the following:

const int imageColIndex = … 
const int maxImageSize = …

Bitmap GetBitmapFromReader(SqlCeDataReader reader) 
{ 
Byte[] imageBytes = new Byte[maxImageSize]; 
int bytesRead = reader.GetBytes(imageColIndex, 0, imageBytes, 0, maxImageSize); 
MemoryStream imageStream = new MemoryStream(imageBytes, 0, bytesRead); 
return new Bitmap(imageStream); 
}

To put an image in the database use SqlCeResultSet.SetBytes…

In terms of “will it be the same as 2008?” … If the question refers to the FileStream attribute or the Remote Blob Store API, those are not currently supported for the current version of SQL Server Compact. To my knowledge, there is no support planned for these features in the next release either.

A couple of notes on working with images (Blobs in general)…

When you’re reading images from the database, be sure to set the SqlCeCommand.CommandBehavior to SequentialAccess to improve the efficiency of retrieving such large data records.

Be very careful when choosing to store images (or other Blobs) directly in a SQL Server Compact database. Like most databases, SQL Server Compact manages data at the page level. The more densely populated a page, the better the overall performance. If a record’s page is already in memory, you’ll access the data faster (more records on each page increases the probability that the desired page is already in memory).

In the resource constrained world of mobile devices, how well a particular database is able to do these 2 things (lots of records on each page/page likely to be already loaded) can dramatically impact your applications performance. Images can take up a great deal of storage therefore storing a large number of images or very large images directly in the database can undermine the goal of densely populated pages. In cases such as this, you would get much better performance by storing the image on the file system and simply storing the image filename in the database – the trade off here is that with the image in the database the database automatically manages it (transactional consistency between the data and the corresponding image, the image is automatically synched to the server with the rest of the data when you’re using Sync Services, Merge Rep, etc.) – you need to decide which of these issues is most important for your particular application.


Jim mentioned RDA - I think I've read that RDA is going away (not supported) in latest version or maybe future version of compact framework? and compatibility issues with SQL 2008

RDA is not receiving any further enhancements because, as you noted, the long term plan is to shift all synchronization to Sync Services. I don’t suspect that RDA will go away anytime soon though; there are a lot of apps in the world that rely on it. In my opinion, RDA will continue to exist for several more years. The beauty of RDA is that it’s super easy to use and setup. It’s also very mature. Currently Sync Services tend to involve more work on a developer’s part to setup than RDA.

One thing that’s very important to keep in mind is that Sync Services for mobile devices is still in beta. If you’re in a situation that allows you to use beta software and your delivery schedule allows you to take the time to learn, setup, and understand Sync Services you should definitely go that route. However, if you’re in a situation where you need to turnaround a stable, reliable solution quickly I believe that RDA is still a very good choice. That said, I’d suggest keeping a watch on Sync Services. It’s the long-term data synchronization plan and will be evolving for years to come.

RDA definitely works with SQL Server 2008; it may not support every new feature of SQL Server 2008 but RDA’s capability with SQL Server 2005 is very good and RDA should work just as well with the same and similar features of SQL Server 2008. RDA’s coupling with SQL Server is relatively lightweight making it surprisingly adaptable to internal changes/enhancements to the database engine.


When a program is loaded on a Windows Mobile device there is an option to install on RAM or a storage card if one is present. If you install the Compact Components to storage card does it get transferred to RAM before it runs so you end up using twice as much total space?

Windows Mobile supports Execute in Place (XIP) for Flash memory; therefore, the device is able to use the .NET Compact Framework runtime without copying the components to RAM – their executable code runs directly from the storage card.


I'm not able to access the sample Northwind.sdf from Visual C# 2008 Express edition; are Express editions supported? i'm able to open that file in Notepad though without any issues

If you’re not finding the Northwind.sdf database file included with the Visual C# 2008 Express Edition, you can download and install SQL Server Compact explicitly which should include the Northwind.sdf file.


Do you recommend or have you ever changed where SQLCE locates its temp database? (on storage card as opposed to the Windows\Temp folder?) we have encountered limitations in device memory, so we are exercising options to use external memory (SD cards, etc)

It’s perfectly legitimate to position the temp db on a storage card when you’re running into resource issues. You can specify the location of the temp db by including “Temp File Directory = location” in the connection string. If you need to change the size of the temp db you can include “Temp File Max Size = location” – The size is specified in megabytes

Example:

SqlCeConnection conn = new SqlCeConnection();

conn.ConnectionString = @"Data Source = \My Documents\Northwind.sdf; Temp File Directory = \Storage Card\TempDB; Temp File Max = 512";

conn.Open();
Posted by glengordon | 1 Comments

Next geekSpeak -Connecting Silverlight with Pete Brown

Silverlight 2 provides a number of new ways for connecting your application to servers and services, especially sockets, WCF, SOAP and REST. It also has a number of restrictions and differences when compared to the full .NET 3.5 stack. In this geekSpeak, Silverlight MVP Pete Brown will answer your questions about connecting Silverlight 2 to your servers and services and sling some code to show how it all works.

Register for the geekSpeak and if you have a question or area you want to hear covered feel free to leave it as a comment.

About our Guest:

image

Pete Brown is an architect, project manager, and client platforms evangelist for Applied Information Sciences where he has worked since 1996. In 2008, Pete was named Most Valuable Professional (MVP) "Visual Developer - Client Application Development" for his work in Microsoft Silverlight and Windows Presentation Foundation (WPF). In his spare time, Pete enjoys woodworking and spending time with his wife and son. Visit Pete's blog, http://www.irritatedvowel.com.

Technorati Tags: ,
Posted by glengordon | 4 Comments
Filed under:

Next geekSpeak - Asynchronous Programming Demystified with Gerald Walsh - Wednesday, May 14 2008

In this week's geekSpeak, Microsoft MVP Gerald Walsh provides insight into the patterns, models, objects, and practices of developing high performing multi-threaded applications. Gerald tackles such things as events and delegates, asynchronous coding patterns used throughout the Microsoft .NET Framework, and multi-threading and thread management.

Register and we'll see you this afternoon!

About our guest:

image

Gerald Walsh is an independent consultant and instructor focused on software application development and training using Microsoft technologies. He has more than 13 years of experience in developing solutions with Microsoft tools, holds the MCSD, MCAD, and MCT certifications, and has worked for Microsoft in the role of developer evangelist. Gerald is also a Microsoft Most Valuable Professional (MVP) for his past work in support of the developer community and for expertise in developing client software applications on the Microsoft platform.

Posted by glengordon | 1 Comments

Next geekSpeak - WCF and Windows Mobile with Jim Wilson - MOVED to Monday, May 12

We had planned to have a geekSpeak webcast today with Jim Wilson, covering interesting ways to write occasionally connected solutions for Windows Mobile using WCF. But Jim had an emergency come up at the last minute. So this geekSpeak has been moved to this coming Monday, May 12. We love having Jim as a guest and would rather postpone this than cancel outright, so all of you be sure to register for the webcast and tune in next Monday.

About our guest:

Jim Wilson is president of JW Hedgehog, Inc. (www.jwhh.com), a New Hampshire based consulting firm specializing in solutions for the Windows and Windows Mobile platforms. Jim has worked extensively with the.NET Framework and the .NET Compact Framework since the original beta release of each.

Jim writes frequently for MSDN Online and has developed mobility and smart client curriculums for several organizations. As a speaker, Jim can be seen at TechEd, VSLive, Mobility and Embedded DevCon and WinDev.

Posted by glengordon | 1 Comments

#geekSpeak tag now active on hashtags.org

If you mention geekSpeak in your tweets, please be sure to use #geekSpeak and follow @hashtags so the service can index your tweets. You can see the traffic on http://hashtags.org/tag/geekspeak/

If you don't know what tweets, Twitter or hashtags are, then now is a great time to find out! :)

Posted by glengordon | 0 Comments

Next geekSpeak: SQL Server Compact Edition Tips and Tricks with Jim Wilson

Originally, we had planned to have Jeff Wharton as our guest this week, to take your questions on and share tips around SQL Server Compact Edition. Unfortunately, Jeff has been called "offline" (as they say today) for personal reasons.

In our hunt for an expert who can take your questions on the same topic, we came back to our previous geekSpeak guest and mobility guru Jim Wilson. Jim has agreed to be our guest this week, plus he's also on the docket for next week as well when he'll be covering WCF and Windows Mobile.

Register for this week's geekSpeak on SQL Server Compact Edition and bring your questions for Jim! (The registration page might still say Jeff as these changes take time to propagate)

About our guest

image

Jim Wilson is president of JW Hedgehog, Inc. (www.jwhh.com), a New Hampshire based consulting firm specializing in solutions for the Windows and Windows Mobile platforms. Jim has worked extensively with the.NET Framework and the .NET Compact Framework since the original beta release of each.

Jim writes frequently for MSDN Online and has developed mobility and smart client curriculums for several organizations. As a speaker, Jim can be seen at TechEd, VSLive, Mobility and Embedded DevCon and WinDev.

Posted by glengordon | 1 Comments
Filed under:
More Posts Next page »
 
Page view tracker