<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://weblogs.asp.net/utility/FeedStylesheets/atom.xsl" media="screen"?><feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en"><title type="html">Al Pascual ASP.NET Blog</title><subtitle type="html">Check my personal blog at http://alpascual.com</subtitle><id>http://weblogs.asp.net/albertpascual/atom.aspx</id><link rel="alternate" type="text/html" href="http://weblogs.asp.net/albertpascual/default.aspx" /><link rel="self" type="application/atom+xml" href="http://weblogs.asp.net/albertpascual/atom.aspx" /><generator uri="http://communityserver.org" version="3.0.20510.895">Community Server</generator><updated>2011-05-05T21:47:00Z</updated><entry><title>ArcGIS Editor for OpenStreetMap 2 beta 3 is up for download</title><link rel="alternate" type="text/html" href="http://weblogs.asp.net/albertpascual/archive/2012/02/09/arcgis-editor-for-openstreetmap-2-beta-3-is-up-for-download.aspx" /><id>http://weblogs.asp.net/albertpascual/archive/2012/02/09/arcgis-editor-for-openstreetmap-2-beta-3-is-up-for-download.aspx</id><published>2012-02-10T04:46:00Z</published><updated>2012-02-10T04:46:00Z</updated><content type="html">&lt;p&gt;Finally after lots of work, Esri released the ArcGIS Editor for OpenStreetMap. &lt;/p&gt;  &lt;blockquote&gt;   &lt;p&gt;The &lt;strong&gt;ArcGIS Editor for OpenStreetMap&lt;/strong&gt; is a free, open source add-on for ArcGIS for Desktop that helps you become an active member of the growing OpenStreetMap (OSM) community. OpenStreetMap is an open and freely available database of geographic data. The editor makes it easy for you to download OSM data, make changes to the dataset, and contribute those changes back to the entire OSM community.&lt;/p&gt;    &lt;p&gt;The OSM Editor provides&lt;/p&gt;    &lt;ul&gt;     &lt;li&gt;Simple tools to upload and download OSM data &lt;/li&gt;      &lt;li&gt;An OSM-compatible geodatabase schema to locally store OSM data &lt;/li&gt;      &lt;li&gt;An OSM symbology template for faster editing &lt;/li&gt;      &lt;li&gt;Conflict-resolution tools for reconciling data back to the OSM database &lt;/li&gt;   &lt;/ul&gt;    &lt;p&gt;The ArcGIS Editor for OpenStreetMap, its documentation, and its source code are available on CodePlex, Microsoft's open source repository, and released under the Microsoft Public License.&lt;/p&gt; &lt;/blockquote&gt;  &lt;p&gt;You can get all the information from this link &lt;a href="http://esriosmeditor.codeplex.com/"&gt;http://esriosmeditor.codeplex.com/&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;Then make sure you download the latest beta here, just by clicking this link &lt;a href="http://esriosmeditor.codeplex.com/releases/view/81830"&gt;http://esriosmeditor.codeplex.com/releases/view/81830&lt;/a&gt;&lt;/p&gt;&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=8291723" width="1" height="1"&gt;</content><author><name>albertpascual</name><uri>http://weblogs.asp.net/members/albertpascual.aspx</uri></author><category term="ESRI" scheme="http://weblogs.asp.net/albertpascual/archive/tags/ESRI/default.aspx" /><category term="OSM" scheme="http://weblogs.asp.net/albertpascual/archive/tags/OSM/default.aspx" /></entry><entry><title>Deploying a simple ASP.NET MVC 3 to Azure with SQL Server Compact</title><link rel="alternate" type="text/html" href="http://weblogs.asp.net/albertpascual/archive/2011/12/27/deploying-a-simple-asp-net-mvc-3-to-azure-with-sql-server-compact.aspx" /><id>http://weblogs.asp.net/albertpascual/archive/2011/12/27/deploying-a-simple-asp-net-mvc-3-to-azure-with-sql-server-compact.aspx</id><published>2011-12-28T04:46:00Z</published><updated>2011-12-28T04:46:00Z</updated><content type="html">&lt;p&gt;The SQL Compact Database format is a simple file that acts as a SQL database, lately I have loved that kind of database as the set up is mainly non existing and the portability is amazing. Of course, without explicitly saying it, there are lots of limitations. You need to use that kind of technology for simple applications that do not require lots of data.&lt;/p&gt;  &lt;p&gt;Using the SQL Compact Database with Entity Framework Code First is just elegant and clean code, then a little ASP.NET MVC 3 creates a project that can be deployed almost anywhere.&lt;/p&gt;  &lt;p&gt;First stop was the Azure Cloud, just by adding a new project Azure to the solution, will let you publish the web project to Azure, that simple, you do not need to convert the ASP.NET MVC 3 app to Azure, you still can deploy the web app to your server with a simple Publish or Web Deploy. &lt;/p&gt;  &lt;p&gt;Now, when deploying to Azure, you’ll see this error with the SQL Server Compact:&lt;/p&gt;  &lt;pre&gt;General failure Unable to load the native components of SQL Server Compact corresponding to the ADO.NET provider of version 8482. Install the correct version of SQL Server Compact. Refer to KB article 974247 for more details.&lt;/pre&gt;

&lt;pre&gt;&lt;font face="Calibri"&gt;The problem is a missing DLL that is required for the SQL Server Compact, to avoid this problem, I recommend to go to project and add all deployable dependencies to the project like the image below:&lt;/font&gt;&lt;/pre&gt;

&lt;pre&gt;&lt;font face="Calibri"&gt;&lt;/font&gt;&lt;/pre&gt;

&lt;pre&gt;&lt;a href="http://weblogs.asp.net/blogs/albertpascual/image_672ECEFF.png"&gt;&lt;img style="background-image: none; border-bottom: 0px; border-left: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://weblogs.asp.net/blogs/albertpascual/image_thumb_3869165D.png" width="178" height="244" /&gt;&lt;/a&gt;&lt;/pre&gt;

&lt;p&gt;Now all the dlls required to run the application will be in a folder ready to package and be sent to Azure.&lt;/p&gt;

&lt;p&gt;In a few minutes, your ASP.NET MVC 3 with SQL Server Compact Database using Entity Framework Code First will be running in the cloud. Please make sure to delete the package from Azure when you are not using it to avoid charges, just by doing an stop of the application is not enough. &lt;/p&gt;

&lt;p&gt;Cheers&lt;/p&gt;

&lt;p&gt;Al&lt;/p&gt;&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=8186774" width="1" height="1"&gt;</content><author><name>albertpascual</name><uri>http://weblogs.asp.net/members/albertpascual.aspx</uri></author></entry><entry><title>Notes from DevConnection Las Vegas 2011</title><link rel="alternate" type="text/html" href="http://weblogs.asp.net/albertpascual/archive/2011/11/26/notes-from-devconnection-las-vegas-2011.aspx" /><id>http://weblogs.asp.net/albertpascual/archive/2011/11/26/notes-from-devconnection-las-vegas-2011.aspx</id><published>2011-11-27T04:07:21Z</published><updated>2011-11-27T04:07:21Z</updated><content type="html">&lt;p&gt;A few notes I have been gathering from DevConnections this year. &lt;/p&gt;  &lt;p&gt;Main attraction to me is to see what Scott Guthrie is interested on. I like that he introduces the hold presentation before turning into the slides. This time everything is about the Microsoft Cloud; Azure.&lt;/p&gt;  &lt;p&gt;The cloud save money? What about for development and research that is not expecting to have users for a long time? Mr Guthrie didn’t tell us how can developers start testing Azure without adding a credit card on the profile.&lt;/p&gt;  &lt;p&gt;You can start to create a Azure app by just creating an MVC 3 app. Then add Windows Azure Deployment project that creates a new project that will take care of all your Azure options without changing your MVC app. Great to port existing Web Apps to Azure, this are great news, when there are so many projects that start like a web application and when you are ready to deploy, you decide to go to the cloud instead of hosting it in a “classic” way.&lt;/p&gt;  &lt;p&gt;Debugging for Azure creates 2 instances in your computer. I can see that Microsoft is providing all the tools for developers besides allowing it to run on the cloud for limited IPs for free.&lt;/p&gt;  &lt;p&gt;Background roles to run without UI for processing data is everything we always need in a web application, the database to create reports, for example, always needed a background process. This is the way to do it in the cloud.&lt;/p&gt;  &lt;p&gt;The publish process is easier and can be done in TFS as well to let the team keep building and testing without the overhead of deployment and configuration. A real agile approached here, I see a lot of companies adoption Azure for dynamic development.&lt;/p&gt;  &lt;p&gt;Storage with Azure is for safe and massive amount of data with NOSQL, drag and drop files to the web. The presentation from Mr. Guthrie didn’t answer the question: Can it also work in SQL 2008 Compact files?&lt;/p&gt;  &lt;p&gt;Cheers&lt;/p&gt;  &lt;p&gt;Al&lt;/p&gt;&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=8076765" width="1" height="1"&gt;</content><author><name>albertpascual</name><uri>http://weblogs.asp.net/members/albertpascual.aspx</uri></author></entry><entry><title>iOS Control libraries</title><link rel="alternate" type="text/html" href="http://weblogs.asp.net/albertpascual/archive/2011/08/29/ios-control-libraries.aspx" /><id>http://weblogs.asp.net/albertpascual/archive/2011/08/29/ios-control-libraries.aspx</id><published>2011-08-30T03:23:00Z</published><updated>2011-08-30T03:23:00Z</updated><content type="html">&lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;A website that people creating controls for the iOS can share as Open Source libraries. Those Custom UI Component Database for iOS and Mac OS X are now at your finger tips to create more exciting applications&lt;/p&gt;  &lt;p&gt;You can find the controls here &lt;a title="http://cocoacontrols.com/platforms/ios/controls" href="http://cocoacontrols.com/platforms/ios/controls"&gt;http://cocoacontrols.com/platforms/ios/controls&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;My favorites :&lt;/p&gt;  &lt;p&gt;&lt;a href="http://cocoacontrols.com/platforms/ios/controls/whirlyglobe--2"&gt;&lt;img alt="Thumb" src="http://s3.amazonaws.com/cocoa_controls_production/ios_screens/335/thumb.png?1314025285" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;h5&gt;&lt;a href="http://cocoacontrols.com/platforms/ios/controls/whirlyglobe--2"&gt;WhirlyGlobe&lt;/a&gt;&lt;/h5&gt;  &lt;br /&gt;  &lt;p&gt;WhirlyGlobe is an interactive 3D globe toolkit for ios. It handles the rendering and data manipulation side and strives to maintain a constant frame rate. It's pretty and it's quite good. It can be used to display a few data points on the earth or as a center piece for an earth based app.&lt;/p&gt;  &lt;p&gt;&lt;a href="http://cocoacontrols.com/platforms/ios/controls/whirlyglobe--2"&gt;Read more…&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;&lt;a href="http://cocoacontrols.com/platforms/ios/controls/basic-pdf-readerviewer-for-ios"&gt;&lt;img alt="Thumb" src="http://s3.amazonaws.com/cocoa_controls_production/ios_screens/325/thumb.png?1313514579" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;h5&gt;&lt;a href="http://cocoacontrols.com/platforms/ios/controls/basic-pdf-readerviewer-for-ios"&gt;Basic PDF Reader/Viewer for iOS&lt;/a&gt;&lt;/h5&gt;  &lt;br /&gt;  &lt;p&gt;Basic PDF reader/viewer code for iOS developers struggling with wrangling PDF files onto iOS device screens.&lt;/p&gt;  &lt;p&gt;&lt;a href="http://cocoacontrols.com/platforms/ios/controls/basic-pdf-readerviewer-for-ios"&gt;Read more…&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;&lt;a href="http://cocoacontrols.com/platforms/ios/controls/tooldrawer"&gt;&lt;img alt="Thumb" src="http://s3.amazonaws.com/cocoa_controls_production/ios_screens/307/thumb.png?1311278447" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;h5&gt;&lt;a href="http://cocoacontrols.com/platforms/ios/controls/tooldrawer"&gt;ToolDrawer&lt;/a&gt;&lt;/h5&gt;  &lt;br /&gt;  &lt;p&gt;A collapsible toolbar that is affixed to one of the four corners of the screen.&lt;/p&gt;  &lt;p&gt;&lt;a href="http://cocoacontrols.com/platforms/ios/controls/tooldrawer"&gt;Read more…&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;&lt;a href="http://cocoacontrols.com/platforms/ios/controls/dcroundswitch"&gt;&lt;img alt="Thumb" src="http://s3.amazonaws.com/cocoa_controls_production/ios_screens/313/thumb.png?1312229655" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;h5&gt;&lt;a href="http://cocoacontrols.com/platforms/ios/controls/dcroundswitch"&gt;DCRoundSwitch&lt;/a&gt;&lt;/h5&gt;  &lt;br /&gt;  &lt;p&gt;DCRoundSwitch is designed to be a drop in replacement for UISwitch. It is styled 'modern' so will unify the look of your apps into the future whilst retaining backwards capability. Drawing is done in CoreGraphics so no images are required.&lt;/p&gt;  &lt;p&gt;&lt;a href="http://cocoacontrols.com/platforms/ios/controls/dcroundswitch"&gt;Read more…&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;&lt;a href="http://cocoacontrols.com/platforms/ios/controls/mktickerview"&gt;&lt;img alt="Thumb" src="http://s3.amazonaws.com/cocoa_controls_production/ios_screens/280/thumb.jpg?1310851536" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;h5&gt;&lt;a href="http://cocoacontrols.com/platforms/ios/controls/mktickerview"&gt;MKTickerView&lt;/a&gt;&lt;/h5&gt;  &lt;br /&gt;  &lt;p&gt;MKTickerView is a drop-in replacement for a horizontal stock ticker kind-of control. Infinite scrolling, and wraps around automatically when the last item is hit. Butter smooth scrolling.&lt;/p&gt;  &lt;p&gt;&lt;a href="http://cocoacontrols.com/platforms/ios/controls/mktickerview"&gt;Read more…&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;&lt;a href="http://cocoacontrols.com/platforms/ios/controls/pie-menu"&gt;&lt;img alt="Thumb" src="http://s3.amazonaws.com/cocoa_controls_production/ios_screens/149/thumb.png?1304491320" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;h5&gt;&lt;a href="http://cocoacontrols.com/platforms/ios/controls/pie-menu"&gt;Pie Menu&lt;/a&gt;&lt;/h5&gt;  &lt;br /&gt;  &lt;p&gt;A pie menu implementation specially designed for iPhone and iPod touch&lt;/p&gt;  &lt;p&gt;&lt;a href="http://cocoacontrols.com/platforms/ios/controls/pie-menu"&gt;Read more…&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;&lt;a href="http://cocoacontrols.com/platforms/ios/controls/bulbview"&gt;&lt;img alt="Thumb" src="http://s3.amazonaws.com/cocoa_controls_production/ios_screens/185/thumb.png?1304752555" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;h5&gt;&lt;a href="http://cocoacontrols.com/platforms/ios/controls/bulbview"&gt;BulbView&lt;/a&gt;&lt;/h5&gt;  &lt;br /&gt;  &lt;p&gt;Cocoa/UIKit view to display text like light-up bulbs on a sports scoreboard.&lt;/p&gt;  &lt;p&gt;&lt;a href="http://cocoacontrols.com/platforms/ios/controls/bulbview"&gt;Read more…&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;&lt;a href="http://cocoacontrols.com/platforms/ios/controls/meterview"&gt;&lt;img alt="Thumb" src="http://s3.amazonaws.com/cocoa_controls_production/ios_screens/199/thumb.png?1304829159" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;h5&gt;&lt;a href="http://cocoacontrols.com/platforms/ios/controls/meterview"&gt;MeterView&lt;/a&gt;&lt;/h5&gt;  &lt;br /&gt;  &lt;p&gt;Dashboard-style gauges for iOS.&lt;/p&gt;  &lt;p&gt;&lt;a href="http://cocoacontrols.com/platforms/ios/controls/meterview"&gt;Read more…&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;&lt;a href="http://cocoacontrols.com/platforms/ios/controls/mrmapview"&gt;&lt;img alt="Thumb" src="http://s3.amazonaws.com/cocoa_controls_production/ios_screens/193/thumb.jpg?1304803990" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;h5&gt;&lt;a href="http://cocoacontrols.com/platforms/ios/controls/mrmapview"&gt;MRMapView&lt;/a&gt;&lt;/h5&gt;  &lt;br /&gt;  &lt;p&gt;An iOS library for displaying tiled maps with support for custom tile providers.&lt;/p&gt;  &lt;p&gt;&lt;a href="http://cocoacontrols.com/platforms/ios/controls/mrmapview"&gt;Read more…&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;&lt;a href="http://cocoacontrols.com/platforms/ios/controls/acanichat"&gt;&lt;img alt="Thumb" src="http://s3.amazonaws.com/cocoa_controls_production/ios_screens/167/thumb.png?1304541072" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;h5&gt;&lt;a href="http://cocoacontrols.com/platforms/ios/controls/acanichat"&gt;AcaniChat&lt;/a&gt;&lt;/h5&gt;  &lt;br /&gt;  &lt;p&gt;An open-source version of iPhone's native Messages app.&lt;/p&gt;  &lt;p&gt;&lt;a href="http://cocoacontrols.com/platforms/ios/controls/acanichat"&gt;Read more…&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;&lt;a href="http://cocoacontrols.com/platforms/ios/controls/coolbuttons"&gt;&lt;img alt="Thumb" src="http://s3.amazonaws.com/cocoa_controls_production/ios_screens/135/thumb.png?1304371271" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;h5&gt;&lt;a href="http://cocoacontrols.com/platforms/ios/controls/coolbuttons"&gt;CoolButtons&lt;/a&gt;&lt;/h5&gt;  &lt;br /&gt;  &lt;p&gt;CoolButtons is a subclass of UIButton that draws glassy iOS style buttons, all using CoreGraphics and no images.&lt;/p&gt;  &lt;p&gt;&lt;a href="http://cocoacontrols.com/platforms/ios/controls/coolbuttons"&gt;Read more…&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;&lt;a href="http://cocoacontrols.com/platforms/ios/controls/iosplot"&gt;&lt;img alt="Thumb" src="http://s3.amazonaws.com/cocoa_controls_production/ios_screens/124/thumb.png?1304149745" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;h5&gt;&lt;a href="http://cocoacontrols.com/platforms/ios/controls/iosplot"&gt;iOSPlot&lt;/a&gt;&lt;/h5&gt;  &lt;br /&gt;  &lt;p&gt;Draw line charts and pie charts in iOS.&lt;/p&gt;  &lt;p&gt;&lt;a href="http://cocoacontrols.com/platforms/ios/controls/iosplot"&gt;Read more&lt;/a&gt;&lt;/p&gt;&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=7931168" width="1" height="1"&gt;</content><author><name>albertpascual</name><uri>http://weblogs.asp.net/members/albertpascual.aspx</uri></author></entry><entry><title>August 24, 2011 will be an historical date with a simple letter from Steve Jobs</title><link rel="alternate" type="text/html" href="http://weblogs.asp.net/albertpascual/archive/2011/08/24/august-24-2011-will-be-an-historical-date-with-a-simple-letter-from-steve-jobs.aspx" /><id>http://weblogs.asp.net/albertpascual/archive/2011/08/24/august-24-2011-will-be-an-historical-date-with-a-simple-letter-from-steve-jobs.aspx</id><published>2011-08-25T05:33:00Z</published><updated>2011-08-25T05:33:00Z</updated><content type="html">&lt;p&gt;To the Apple Board of Directors and the Apple Community:&lt;/p&gt;  &lt;p&gt;I have always said if there ever came a day when I could no longer meet my duties and expectations as Apple’s CEO, I would be the first to let you know. Unfortunately, that day has come.&lt;/p&gt;  &lt;p&gt;I hereby resign as CEO of Apple. I would like to serve, if the Board sees fit, as Chairman of the Board, director and Apple employee.&lt;/p&gt;  &lt;p&gt;As far as my successor goes, I strongly recommend that we execute our succession plan and name Tim Cook as CEO of Apple.&lt;/p&gt;  &lt;p&gt;I believe Apple’s brightest and most innovative days are ahead of it. And I look forward to watching and contributing to its success in a new role.&lt;/p&gt;  &lt;p&gt;I have made some of the best friends of my life at Apple, and I thank you all for the many years of being able to work alongside you.&lt;/p&gt;  &lt;p&gt;Steve&lt;/p&gt;&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=7925079" width="1" height="1"&gt;</content><author><name>albertpascual</name><uri>http://weblogs.asp.net/members/albertpascual.aspx</uri></author><category term="Apple" scheme="http://weblogs.asp.net/albertpascual/archive/tags/Apple/default.aspx" /><category term="Steve Jobs" scheme="http://weblogs.asp.net/albertpascual/archive/tags/Steve+Jobs/default.aspx" /></entry><entry><title>Esri European User Conference 2011</title><link rel="alternate" type="text/html" href="http://weblogs.asp.net/albertpascual/archive/2011/07/22/esri-european-user-conference-2011.aspx" /><id>http://weblogs.asp.net/albertpascual/archive/2011/07/22/esri-european-user-conference-2011.aspx</id><published>2011-07-23T02:28:00Z</published><updated>2011-07-23T02:28:00Z</updated><content type="html">&lt;p&gt;Save the date October 26-28 in Madrid.&lt;/p&gt;  &lt;p&gt;For three days, in one place, you can get the latest in GIS and connect with Esri staff and partners. Register now to join your fellow GIS professionals &lt;/p&gt;  &lt;div style="padding-bottom: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; float: none; padding-top: 0px" id="scid:5737277B-5D6D-4f48-ABFC-DD9C333F4C5D:65d14d29-5125-4057-8ba3-7614b57098c8" class="wlWriterEditableSmartContent"&gt;&lt;div&gt;&lt;a href="http://www.youtube.com/watch?v=DVUro8-JjMU" target="_new"&gt;&lt;img src="http://weblogs.asp.net/blogs/albertpascual/videoa736a8029bf9_06CE134C.jpg" style="border-style: none" galleryimg="no" alt=""&gt;&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=7879749" width="1" height="1"&gt;</content><author><name>albertpascual</name><uri>http://weblogs.asp.net/members/albertpascual.aspx</uri></author><category term="ESRI" scheme="http://weblogs.asp.net/albertpascual/archive/tags/ESRI/default.aspx" /></entry><entry><title>Visual Studio 2010 may fail to compile a 32-bit application targeted for .Net Framework 4.0 on x64 machines</title><link rel="alternate" type="text/html" href="http://weblogs.asp.net/albertpascual/archive/2011/07/20/visual-studio-2010-may-fail-to-compile-a-32-bit-application-targeted-for-net-framework-4-0-on-x64-machines.aspx" /><id>http://weblogs.asp.net/albertpascual/archive/2011/07/20/visual-studio-2010-may-fail-to-compile-a-32-bit-application-targeted-for-net-framework-4-0-on-x64-machines.aspx</id><published>2011-07-21T02:36:00Z</published><updated>2011-07-21T02:36:00Z</updated><content type="html">&lt;p&gt;Keep having this problem when compiling COM in 32 bits applications that target .NET 4. This is the article that takes care of the issue and you’ll have to run it in each machine&lt;/p&gt;  &lt;p&gt;1. Close all instances of Visual Studio.   &lt;br /&gt;2. From the Visual Studio Tools subfolder, open an elevated “Visual Studio Command Prompt (2010)” (using “Run as administrator” option). Change directory to &amp;quot;&lt;b&gt;&amp;lt;system_drive&amp;gt;:\Program Files (x86)\Microsoft SDKs\Windows\v&amp;lt;x.xx&amp;gt;\bin\&lt;/b&gt;”.    &lt;br /&gt;3. Issue the command :&lt;/p&gt;  &lt;p&gt;&lt;b&gt;corflags /32bit+ ResGen.exe /force&lt;/b&gt;&lt;/p&gt;  &lt;p&gt;4. Open &amp;lt;project_name&amp;gt;.csproj in notepad.   &lt;br /&gt;5. Add the following property &lt;b&gt;&amp;lt;ResGenToolArchitecture&amp;gt;Managed32Bit&amp;lt;/ResGenToolArchitecture&amp;gt;&lt;/b&gt; under the PropertyGroup section. Save and close the csproj file.&lt;/p&gt;  &lt;p&gt;&lt;a href="http://support.microsoft.com/kb/2028833"&gt;More info here&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;Cheers&lt;/p&gt;  &lt;p&gt;Al&lt;/p&gt;&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=7877354" width="1" height="1"&gt;</content><author><name>albertpascual</name><uri>http://weblogs.asp.net/members/albertpascual.aspx</uri></author><category term="VS2010" scheme="http://weblogs.asp.net/albertpascual/archive/tags/VS2010/default.aspx" /><category term=".NET 4" scheme="http://weblogs.asp.net/albertpascual/archive/tags/.NET+4/default.aspx" /></entry><entry><title>How to keep Visual Studio 2010 up to date</title><link rel="alternate" type="text/html" href="http://weblogs.asp.net/albertpascual/archive/2011/06/16/how-to-keep-visual-studio-2010-up-to-date.aspx" /><id>http://weblogs.asp.net/albertpascual/archive/2011/06/16/how-to-keep-visual-studio-2010-up-to-date.aspx</id><published>2011-06-17T02:50:00Z</published><updated>2011-06-17T02:50:00Z</updated><content type="html">&lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;With Visual Studio coming out with out of band updates, Service Packs, platform support and Web Standards Updates including support for HTML 5 and CSS3 is really hard to keep your development machine up to date. Now when NuGet and other tools can be installed on your IDE we just find it more complicated.&lt;/p&gt;  &lt;p&gt;There are ways to keep developers for having to fetch each update, there is a magic button of love on the web that will update all the needed items in VS2010. That button is mislabeled in my modest opinion, and hopefully that button will be called “The Magic Button of Love” if Microsoft is listening. Right now says “Install Visual Studio Express” and that’s kind of correct, yet if you have VS2010 already, will just install SP1 with all updates.&lt;/p&gt;  &lt;p&gt;So, keep your development current by clicking at it:&lt;/p&gt;  &lt;p&gt;&lt;a href="http://www.microsoft.com/web/gallery/install.aspx?appid=VWDorVS2010SP1Pack"&gt;&lt;img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="clip_image002[4]" border="0" alt="clip_image002[4]" src="http://weblogs.asp.net/blogs/albertpascual/clip_image0024_4BC3C6BC.png" width="244" height="45" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;Magic button that installs everything can be found here: &lt;a href="http://www.asp.net/mvc"&gt;http://www.asp.net/mvc&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;The HTML 5 and CSS3 Support for Visual Studio 2010 (aka Web Standards Update)&lt;/p&gt;  &lt;p&gt;&lt;a href="http://visualstudiogallery.msdn.microsoft.com/a15c3ce9-f58f-42b7-8668-53f6cdc2cd83"&gt;http://visualstudiogallery.msdn.microsoft.com/a15c3ce9-f58f-42b7-8668-53f6cdc2cd83&lt;/a&gt;&lt;/p&gt;&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=7831645" width="1" height="1"&gt;</content><author><name>albertpascual</name><uri>http://weblogs.asp.net/members/albertpascual.aspx</uri></author><category term="VS2010" scheme="http://weblogs.asp.net/albertpascual/archive/tags/VS2010/default.aspx" /></entry><entry><title>How to find out what twitter users are unfollowing you</title><link rel="alternate" type="text/html" href="http://weblogs.asp.net/albertpascual/archive/2011/06/15/how-to-find-out-what-twitter-users-are-unfollowing-you.aspx" /><id>http://weblogs.asp.net/albertpascual/archive/2011/06/15/how-to-find-out-what-twitter-users-are-unfollowing-you.aspx</id><published>2011-06-16T02:34:00Z</published><updated>2011-06-16T02:34:00Z</updated><content type="html">&lt;p&gt;Twitter sends you notification for everything, when people start following you and when they reply to your tweet, even when they add one of your tweets into the favorites list. The only notification you don’t get so far is when a user stops unfollowing you. &lt;/p&gt;  &lt;p&gt;Wouldn’t you like to know when people dislike your opinion so much that you start losing lots of twitter users? Building followers is not an easy task, realizing what people finds boring and what is good content, is an art in the twitter world. The iPhone and IPad application is another tool for you to find out how good are you doing in the micro blog sphere. Learning each twitter user unfollower can be great information.&lt;/p&gt;  &lt;p&gt;You can download the iPhone/iPad app here:&lt;/p&gt;  &lt;p&gt;&lt;a href="http://itunes.apple.com/us/app/unfollowers/id438011083?mt=8"&gt;http://itunes.apple.com/us/app/unfollowers/id438011083?mt=8&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;Any feedback is appreciated&lt;/p&gt;  &lt;p&gt;Cheers&lt;/p&gt;  &lt;p&gt;Al &lt;/p&gt;&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=7830751" width="1" height="1"&gt;</content><author><name>albertpascual</name><uri>http://weblogs.asp.net/members/albertpascual.aspx</uri></author><category term="ASP.NET" scheme="http://weblogs.asp.net/albertpascual/archive/tags/ASP.NET/default.aspx" /><category term="Twitter" scheme="http://weblogs.asp.net/albertpascual/archive/tags/Twitter/default.aspx" /></entry><entry><title>Enabling Cross-Origin Resources in IIS 7</title><link rel="alternate" type="text/html" href="http://weblogs.asp.net/albertpascual/archive/2011/06/08/enabling-cross-origin-resources-in-iis-7.aspx" /><id>http://weblogs.asp.net/albertpascual/archive/2011/06/08/enabling-cross-origin-resources-in-iis-7.aspx</id><published>2011-06-09T02:01:00Z</published><updated>2011-06-09T02:01:00Z</updated><content type="html">&lt;p&gt;For JavaScript and CSS3 to access your website resources without having to post using proxies, CSS3 is now here to help. On your web application add on your web.config under system.webServer and all response to javascript will include that letting JavaScript know that is ok to post without the limitation and without using a proxy.&lt;/p&gt;  &lt;pre class="csharpcode"&gt;&amp;lt;system.webServer&amp;gt;
   &amp;lt;httpProtocol&amp;gt;
     &amp;lt;customHeaders&amp;gt;
       &amp;lt;add name=&lt;span class="str"&gt;&amp;quot;Access-Control-Allow-Origin&amp;quot;&lt;/span&gt; &lt;span class="kwrd"&gt;value&lt;/span&gt;=&lt;span class="str"&gt;&amp;quot;*&amp;quot;&lt;/span&gt; /&amp;gt;
     &amp;lt;/customHeaders&amp;gt;
   &amp;lt;/httpProtocol&amp;gt;
 &amp;lt;/system.webServer&amp;gt;&lt;/pre&gt;

&lt;p&gt;In ArcGIS 10 you can enable that by adding it to the web.config found at c:\inetpub\wwwroot\ArcGIS\rest\web.config&lt;style type="text/css"&gt;

.csharpcode, .csharpcode pre
{
	font-size: small;
	color: black;
	font-family: consolas, "Courier New", courier, monospace;
	background-color: #ffffff;
	/*white-space: pre;*/
}
.csharpcode pre { margin: 0em; }
.csharpcode .rem { color: #008000; }
.csharpcode .kwrd { color: #0000ff; }
.csharpcode .str { color: #006080; }
.csharpcode .op { color: #0000c0; }
.csharpcode .preproc { color: #cc6633; }
.csharpcode .asp { background-color: #ffff00; }
.csharpcode .html { color: #800000; }
.csharpcode .attr { color: #ff0000; }
.csharpcode .alt 
{
	background-color: #f4f4f4;
	width: 100%;
	margin: 0em;
}
.csharpcode .lnum { color: #606060; }&lt;/style&gt;&lt;/p&gt;

&lt;p&gt;Hope this helps&lt;/p&gt;

&lt;p&gt;Cheers&lt;/p&gt;

&lt;p&gt;Al&lt;/p&gt;&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=7823220" width="1" height="1"&gt;</content><author><name>albertpascual</name><uri>http://weblogs.asp.net/members/albertpascual.aspx</uri></author></entry><entry><title>Error: Unable to find the requested .Net Framework Data Provider.  It may not be installed</title><link rel="alternate" type="text/html" href="http://weblogs.asp.net/albertpascual/archive/2011/05/27/error-unable-to-find-the-requested-net-framework-data-provider-it-may-not-be-installed.aspx" /><id>http://weblogs.asp.net/albertpascual/archive/2011/05/27/error-unable-to-find-the-requested-net-framework-data-provider-it-may-not-be-installed.aspx</id><published>2011-05-28T02:13:00Z</published><updated>2011-05-28T02:13:00Z</updated><content type="html">&lt;p&gt;Having some issues deploying applications with ASP.NET MVC 3 and Entity Framework Code First using Microsoft SQL Server Compact Edition, even after I have installed on the server Microsoft SQL Server Compact Edition and Express.&lt;/p&gt;  &lt;p&gt;Deploying ASP.NET MVC 3 with Entity Framework Code First you may have a few issues when deploying into a computer with only .NET 4 installed, I have to install MVC 3 dlls and Entity Framework CF to use the Compact Database.&lt;/p&gt;  &lt;p&gt;This is the error you may get if you do not copy all the dlls.&lt;/p&gt;  &lt;p&gt;[ArgumentException: Unable to find the requested .Net Framework Data Provider.&amp;#160; It may not be installed.]   &lt;br /&gt;&amp;#160;&amp;#160; System.Data.Common.DbProviderFactories.GetFactory(String providerInvariantName) +160    &lt;br /&gt;&amp;#160;&amp;#160; System.Data.Entity.Infrastructure.SqlCeConnectionFactory.CreateConnection(String nameOrConnectionString) +168    &lt;br /&gt;&amp;#160;&amp;#160; System.Data.Entity.Internal.LazyInternalConnection.Initialize() +158    &lt;br /&gt;&amp;#160;&amp;#160; System.Data.Entity.Internal.LazyInternalConnection.get_ConnectionHasModel() +10    &lt;br /&gt;&amp;#160;&amp;#160; System.Data.Entity.Internal.LazyInternalContext.InitializeContext() +265    &lt;br /&gt;&amp;#160;&amp;#160; System.Data.Entity.Internal.InternalContext.GetEntitySetAndBaseTypeForType(Type entityType) +17    &lt;br /&gt;&amp;#160;&amp;#160; System.Data.Entity.Internal.Linq.InternalSet`1.Initialize() +62    &lt;br /&gt;&amp;#160;&amp;#160; System.Data.Entity.Internal.Linq.InternalSet`1.GetEnumerator() +15    &lt;br /&gt;&amp;#160;&amp;#160; System.Data.Entity.Infrastructure.DbQuery`1.System.Collections.Generic.IEnumerable&amp;lt;TRes&lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;&lt;strong&gt;&lt;u&gt;Steps to fix the problem&lt;/u&gt;&lt;/strong&gt;&lt;/p&gt;  &lt;p&gt;You need System.Data.SqlServerCe.dll make sure in the properties you enable the local copy.&lt;/p&gt;  &lt;p&gt;Add the provider to your web.config&lt;/p&gt;  &lt;p&gt;&amp;lt;system.data&amp;gt; &amp;lt;DbProviderFactories&amp;gt; &amp;lt;remove invariant=&amp;quot;System.Data.SqlServerCe.4.0&amp;quot; /&amp;gt; &amp;lt;add name=&amp;quot;Microsoft SQL Server Compact Data Provider 4.0&amp;quot; invariant=&amp;quot;System.Data.SqlServerCe.4.0&amp;quot; description=&amp;quot;.NET Framework Data Provider for Microsoft SQL Server Compact&amp;quot; type=&amp;quot;System.Data.SqlServerCe.SqlCeProviderFactory, System.Data.SqlServerCe, Version=4.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91&amp;quot; /&amp;gt; &amp;lt;/DbProviderFactories&amp;gt; &amp;lt;/system.data&amp;gt; &lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;Then you going to get this error, yet not to worry.&lt;/p&gt;  &lt;p&gt;Unable to load the native components of SQL Server Compact corresponding to the ADO.NET provider of version 8482. Install the correct version of SQL Server Compact. Refer to KB article 974247 for more details.&lt;/p&gt;  &lt;p&gt;Now you should reference the dll System.Data.SqlServerCe.Entity.dll located in a private directory&lt;/p&gt;  &lt;p&gt;C:\Program Files (x86)\Microsoft SQL Server Compact Edition\v4.0\Private&lt;/p&gt;  &lt;p&gt;Make sure you set the flag in the properties to copy it local, so gets deploy with all the dlls to the server that may not have that dll.&lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;You may also get the error: Could not load file or assembly 'System.Data.SqlServerCe.Entity, Version=4.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)&lt;/p&gt;  &lt;p&gt;Still not having any success is running ASP.NET MVC 3 with Microsoft SQL Server Compact Edition&amp;#160; &lt;/p&gt;  &lt;p&gt;Cheers&lt;/p&gt;  &lt;p&gt;Al&lt;/p&gt;&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=7806142" width="1" height="1"&gt;</content><author><name>albertpascual</name><uri>http://weblogs.asp.net/members/albertpascual.aspx</uri></author><category term="ASP.NET" scheme="http://weblogs.asp.net/albertpascual/archive/tags/ASP.NET/default.aspx" /><category term="ASP.NET MVC" scheme="http://weblogs.asp.net/albertpascual/archive/tags/ASP.NET+MVC/default.aspx" /></entry><entry><title>Creating your NuGet enterprise server</title><link rel="alternate" type="text/html" href="http://weblogs.asp.net/albertpascual/archive/2011/05/24/creating-your-nuget-enterprise-server.aspx" /><id>http://weblogs.asp.net/albertpascual/archive/2011/05/24/creating-your-nuget-enterprise-server.aspx</id><published>2011-05-25T04:02:31Z</published><updated>2011-05-25T04:02:31Z</updated><content type="html">&lt;p&gt;&lt;a href="http://haacked.com/"&gt;Phil Haack, Project Manager at Microsoft for NuGet&lt;/a&gt; had a post of how to create a NuGet Server and host your own packages. The steps were simple, now in the source code for the next &lt;a href="http://nuget.codeplex.com/"&gt;release that you can download and compile yourself&lt;/a&gt;. &lt;/p&gt;  &lt;p&gt;The Web Forms ASP.NET website is now on the source code. Download it, build it, make the Server project the start up project and publish it to your IIS server. &lt;/p&gt;  &lt;p&gt;&lt;a href="http://weblogs.asp.net/blogs/albertpascual/image_25474E4D.png"&gt;&lt;img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://weblogs.asp.net/blogs/albertpascual/image_thumb_2F2C3FB8.png" width="323" height="113" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;The results is the NuGet.Server 1.4.0.0 running and ready for you to load your own packages.&lt;strong&gt; &lt;/strong&gt;&lt;u&gt;&lt;strong&gt;Note the developers at codeplex haven’t released that version yet, so we should all wait until they release it.&lt;/strong&gt; &lt;/u&gt;In another hand, there is something to be said of new car smell. &lt;/p&gt;  &lt;p&gt;I personally cannot wait until the integration with Orchard is seamless and complete.&lt;/p&gt;  &lt;p&gt;Cheers&lt;/p&gt;  &lt;p&gt;Al&lt;/p&gt;&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=7802842" width="1" height="1"&gt;</content><author><name>albertpascual</name><uri>http://weblogs.asp.net/members/albertpascual.aspx</uri></author><category term="ASP.NET" scheme="http://weblogs.asp.net/albertpascual/archive/tags/ASP.NET/default.aspx" /><category term="Nuget" scheme="http://weblogs.asp.net/albertpascual/archive/tags/Nuget/default.aspx" /></entry><entry><title>Nuget development workflow should be the standard practice for any company.</title><link rel="alternate" type="text/html" href="http://weblogs.asp.net/albertpascual/archive/2011/05/19/nuget-development-workflow-should-be-the-standard-practice-for-any-company.aspx" /><id>http://weblogs.asp.net/albertpascual/archive/2011/05/19/nuget-development-workflow-should-be-the-standard-practice-for-any-company.aspx</id><published>2011-05-20T06:22:00Z</published><updated>2011-05-20T06:22:00Z</updated><content type="html">&lt;p&gt;I started looking at the source code for the open source project NuGet, besides being a fantastic template of how code should be written, is actually a great learning tool of how properly set up a open source project or even any development project on the enterprise. One thing I’m enjoying is being able to work with the new version and use it to install packages. Having always a newer version makes me smile.&lt;/p&gt;  &lt;p&gt;Package Manager Console Host Version 1.4.0.0&lt;/p&gt;  &lt;p&gt;The Outer Curve Foundation &lt;a href="http://www.outercurve.org/"&gt;http://www.outercurve.org/&lt;/a&gt; manages NuGet and they are doing a fantastic and responsive job for an open source project. They set up workflows that can shame many huge corporates. I may don’t like much the source control they selected, maybe because I spent too long in VSS and TFS myself. Yet looks like gets the job done nicely.&lt;/p&gt;  &lt;p&gt;&lt;b&gt;Source Control&lt;/b&gt;&lt;/p&gt;  &lt;p&gt;You’ll need to install Tortoise HG that includes the Mercurial command line. You can download Tortoise from here http://tortoisehg.bitbucket.org/download/index.html&lt;/p&gt;  &lt;p&gt;All source code for NuGet can be found and download it here using the command line. You could just create an empty directory and then call to download all source code.&lt;/p&gt;  &lt;p&gt;hg clone &lt;a href="https://hg01.codeplex.com/nuget"&gt;https://hg01.codeplex.com/nuget&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;However, there are only the main core developers that have access to check in into the main branch, for this the recommendation is to go to the Source Code tab at Codeplex and click Create Fork, that will copy the latest dataset to your own branch and will provide you read and write permissions. Now you can call:&lt;/p&gt;  &lt;p&gt;hg clone &lt;a href="https://hg01.codeplex.com/forks/yourusername/yourforkname"&gt;https://hg01.codeplex.com/forks/yourusername/yourforkname&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;then grab all the files&lt;/p&gt;  &lt;p&gt;hg pull&lt;/p&gt;  &lt;p&gt;Now you can work from that fork, without polluting the main branch. To push your changes, first commit and then push&lt;/p&gt;  &lt;p&gt;hg commit –m “This is my changes for issue number 829” –u yourusername&lt;/p&gt;  &lt;p&gt;hg push&lt;/p&gt;  &lt;p&gt;And enter your username and password when prompt it. Now all your changes will be save on the server and will be ready to submit it for code review.&lt;/p&gt;  &lt;p&gt;&lt;b&gt;Code Review&lt;/b&gt;&lt;/p&gt;  &lt;p&gt;Most companies code review is not as well organized, Nuget users reviewboard &lt;a href="http://docs.nuget.org/docs/contribute/code-reviews"&gt;http://docs.nuget.org/docs/contribute/code-reviews&lt;/a&gt; that allows them to review the diff code and approve it to add it into the main branch. There is a lot of work for developers to fork the code to have their own branch, yet, nobody but the core team can break the main branch. Anybody submitting code should first post a message about what code they are going to make changes and then, after the blessing from the team, they can submit the review. &lt;/p&gt;  &lt;p&gt;They have installed http://www.reviewboard.org/ into &lt;a href="http://reviewboard.nupack.com/"&gt;http://reviewboard.nupack.com/&lt;/a&gt; would be nice if they used &lt;a href="http://reviewboard.nuget.com"&gt;http://reviewboard.nuget.com&lt;/a&gt; yet we need to remember that nupack was the previous name of nuget.&lt;/p&gt;  &lt;p&gt;To submit your review, you need to submit your fork. There are a few steps and I’m still learning those. The idea is to get an extension called postreview, then you can call the review and the best way was interactive:&lt;/p&gt;  &lt;p&gt;hg postreview –I&lt;/p&gt;  &lt;p&gt;I got an error so David Fowler kindly told me that I need it to merge it back to the main first. However didn’t fix the issue. I’m sure that I was doing something wrong.&lt;/p&gt;  &lt;p&gt;hg pull &lt;a href="https://hg01.codeplex.com/nuget"&gt;https://hg01.codeplex.com/nuget&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;hg up default&lt;/p&gt;  &lt;p&gt;hg merge c781935efe12 // this is the changeset number&lt;/p&gt;  &lt;p&gt;The full error is:&lt;/p&gt;  &lt;p&gt;** unknown exception encountered, please report by visiting   &lt;br /&gt;**&amp;#160; &lt;a href="http://mercurial.selenic.com/wiki/BugTracker"&gt;http://mercurial.selenic.com/wiki/BugTracker&lt;/a&gt;    &lt;br /&gt;** Python 2.6.6 (r266:84297, Aug 24 2010, 18:13:38) [MSC v.1500 64 bit (AMD64)]    &lt;br /&gt;** Mercurial Distributed SCM (version 1.8.2)    &lt;br /&gt;** Extensions loaded: fixfrozenexts, reviewboard    &lt;br /&gt;Traceback (most recent call last):    &lt;br /&gt;&amp;#160; File &amp;quot;hg&amp;quot;, line 36, in &amp;lt;module&amp;gt;    &lt;br /&gt;&amp;#160; File &amp;quot;mercurial\dispatch.pyo&amp;quot;, line 16, in run    &lt;br /&gt;&amp;#160; File &amp;quot;mercurial\dispatch.pyo&amp;quot;, line 36, in dispatch    &lt;br /&gt;&amp;#160; File &amp;quot;mercurial\dispatch.pyo&amp;quot;, line 58, in _runcatch    &lt;br /&gt;&amp;#160; File &amp;quot;mercurial\dispatch.pyo&amp;quot;, line 601, in _dispatch    &lt;br /&gt;&amp;#160; File &amp;quot;mercurial\dispatch.pyo&amp;quot;, line 406, in runcommand    &lt;br /&gt;&amp;#160; File &amp;quot;mercurial\dispatch.pyo&amp;quot;, line 655, in _runcommand    &lt;br /&gt;&amp;#160; File &amp;quot;mercurial\dispatch.pyo&amp;quot;, line 609, in checkargs    &lt;br /&gt;&amp;#160; File &amp;quot;mercurial\dispatch.pyo&amp;quot;, line 598, in &amp;lt;lambda&amp;gt;    &lt;br /&gt;&amp;#160; File &amp;quot;mercurial\util.pyo&amp;quot;, line 433, in check    &lt;br /&gt;&amp;#160; File &amp;quot;C:\mercurialextensions\mercurial-reviewboard\mercurial-reviewboard\mercu    &lt;br /&gt;rial_reviewboard\__init__.py&amp;quot;, line 68, in postreview    &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160; send_review(ui, repo, c, parent, diff, parentdiff, opts)    &lt;br /&gt;&amp;#160; File &amp;quot;C:\mercurialextensions\mercurial-reviewboard\mercurial-reviewboard\mercu    &lt;br /&gt;rial_reviewboard\__init__.py&amp;quot;, line 127, in send_review    &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160; opts)    &lt;br /&gt;&amp;#160; File &amp;quot;C:\mercurialextensions\mercurial-reviewboard\mercurial-reviewboard\mercu    &lt;br /&gt;rial_reviewboard\__init__.py&amp;quot;, line 214, in new_review    &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160; raise util.Abort(_(msg))    &lt;br /&gt;&amp;#160; File &amp;quot;mercurial\i18n.pyo&amp;quot;, line 39, in gettext    &lt;br /&gt;AttributeError: 'ReviewBoardError' object has no attribute 'split'&lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;&lt;b&gt;Coding Guidelines&lt;/b&gt;&lt;/p&gt;  &lt;p&gt;Simple code guidelines with examples is what keeps developers successful and without stressing out on making sure all their code fulfills all requirements. &lt;/p&gt;  &lt;p&gt;&lt;b&gt;Issue Tracker&lt;/b&gt;&lt;/p&gt;  &lt;p&gt;The NuGet project uses codeplex for issue tracking and discussion of new features. By having the issue tracker at codeplex, because very visible to anybody to find out what bugs are standing and to vote in the bugs to be fixed. Before working on an issue of feature request, you should add a comment to let the administrators that somebody is taking care of it. So 2 people don’t work in the same issue. &lt;/p&gt;  &lt;p&gt;&lt;b&gt;Continuous Integration&lt;/b&gt;&lt;/p&gt;  &lt;p&gt;This is properly the coolest part of all, we all started projects and set up automated builds and tests, yet most of the time, let’s face it, takes too long to set up and we avoid that step. The NuGet project is making it look very easy by using TeamCity, a very simple continuous integration tool that many companies should start using. You can see their TeamCity server installed here &lt;a href="http://ci.nuget.org:8080/"&gt;http://ci.nuget.org:8080/&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;I do believe that any developer should get involved in the NuGet project for the simple reason of learning. It’s as essential as doing some training or watching some presentations on the latest MVC 3 Razor markup changes. NuGet is how any development project should be approached.&lt;/p&gt;  &lt;p&gt;Cheers&lt;/p&gt;  &lt;p&gt;Al&lt;/p&gt;&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=7797776" width="1" height="1"&gt;</content><author><name>albertpascual</name><uri>http://weblogs.asp.net/members/albertpascual.aspx</uri></author><category term="Nuget" scheme="http://weblogs.asp.net/albertpascual/archive/tags/Nuget/default.aspx" /></entry><entry><title>Am I doing it right or there are bugs left on Entity Framework 4.1 and Code First?</title><link rel="alternate" type="text/html" href="http://weblogs.asp.net/albertpascual/archive/2011/05/06/am-i-doing-it-right-or-there-are-bugs-left-on-entity-framework-4-1-and-code-first.aspx" /><id>http://weblogs.asp.net/albertpascual/archive/2011/05/06/am-i-doing-it-right-or-there-are-bugs-left-on-entity-framework-4-1-and-code-first.aspx</id><published>2011-05-07T03:00:00Z</published><updated>2011-05-07T03:00:00Z</updated><content type="html">&lt;p&gt;&lt;font size="3"&gt;Spring is here and love is in the air, I have fallen in love with EF Code First, not database first like other people that likes to design databases. I like to write code and somebody else can create the database for me that looks like my classes and properties, this time my DBA’s name is Entity Framework 4.1 Code First, that will create the database to store my data represented with my classes.&lt;/font&gt;&lt;/p&gt;  &lt;p&gt;&lt;font size="3"&gt;Now, because code is very flexible, I can do it in many ways it seems, I’m afraid to be doing it wrong. &lt;/font&gt;&lt;/p&gt;  &lt;p&gt;&lt;font size="3"&gt;First I create my classes, instead of products and blogs like other people, I’ll do something more exciting, twitter users &lt;img style="border-bottom-style: none; border-left-style: none; border-top-style: none; border-right-style: none" class="wlEmoticon wlEmoticon-winkingsmile" alt="Winking smile" src="http://weblogs.asp.net/blogs/albertpascual/wlEmoticon-winkingsmile_3E12B658.png" /&gt; Under the directory model I add the TwitterUser.cs class&lt;/font&gt;&lt;/p&gt;  &lt;div class="csharpcode"&gt;   &lt;pre&gt;&lt;span class="lnum"&gt;   1:  &lt;/span&gt;&lt;span class="kwrd"&gt;namespace&lt;/span&gt; Sample1.Models&lt;/pre&gt;

  &lt;pre&gt;&lt;span class="lnum"&gt;   2:  &lt;/span&gt;{&lt;/pre&gt;

  &lt;pre&gt;&lt;span class="lnum"&gt;   3:  &lt;/span&gt;    &lt;span class="kwrd"&gt;public&lt;/span&gt; &lt;span class="kwrd"&gt;class&lt;/span&gt; TwitterUser&lt;/pre&gt;

  &lt;pre&gt;&lt;span class="lnum"&gt;   4:  &lt;/span&gt;    {&lt;/pre&gt;

  &lt;pre&gt;&lt;span class="lnum"&gt;   5:  &lt;/span&gt;        &lt;span class="kwrd"&gt;public&lt;/span&gt; &lt;span class="kwrd"&gt;string&lt;/span&gt; ID { get; set; }&lt;/pre&gt;

  &lt;pre&gt;&lt;span class="lnum"&gt;   6:  &lt;/span&gt;        &lt;span class="kwrd"&gt;public&lt;/span&gt; &lt;span class="kwrd"&gt;string&lt;/span&gt; Username { get; set; }&lt;/pre&gt;

  &lt;pre&gt;&lt;span class="lnum"&gt;   7:  &lt;/span&gt;        &lt;span class="kwrd"&gt;public&lt;/span&gt; DateTime LastPull { get; set; }&lt;/pre&gt;

  &lt;pre&gt;&lt;span class="lnum"&gt;   8:  &lt;/span&gt;&amp;#160;&lt;/pre&gt;

  &lt;pre&gt;&lt;span class="lnum"&gt;   9:  &lt;/span&gt;        &lt;span class="kwrd"&gt;public&lt;/span&gt; &lt;span class="kwrd"&gt;virtual&lt;/span&gt; ICollection&amp;lt;Follower&amp;gt; Followers { get; set; }&lt;/pre&gt;

  &lt;pre&gt;&lt;span class="lnum"&gt;  10:  &lt;/span&gt;&amp;#160;&lt;/pre&gt;

  &lt;pre&gt;&lt;span class="lnum"&gt;  11:  &lt;/span&gt;        &lt;span class="kwrd"&gt;public&lt;/span&gt; &lt;span class="kwrd"&gt;virtual&lt;/span&gt; ICollection&amp;lt;Unfollowers&amp;gt; Unfollowers { get; set; }&lt;/pre&gt;

  &lt;pre&gt;&lt;span class="lnum"&gt;  12:  &lt;/span&gt;    }&lt;/pre&gt;

  &lt;pre&gt;&lt;span class="lnum"&gt;  13:  &lt;/span&gt;&amp;#160;&lt;/pre&gt;

  &lt;pre&gt;&lt;span class="lnum"&gt;  14:  &lt;/span&gt;    &lt;span class="kwrd"&gt;public&lt;/span&gt; &lt;span class="kwrd"&gt;class&lt;/span&gt; Follower&lt;/pre&gt;

  &lt;pre&gt;&lt;span class="lnum"&gt;  15:  &lt;/span&gt;    {&lt;/pre&gt;

  &lt;pre&gt;&lt;span class="lnum"&gt;  16:  &lt;/span&gt;        &lt;span class="kwrd"&gt;public&lt;/span&gt; &lt;span class="kwrd"&gt;virtual&lt;/span&gt; TwitterUser TwitterUser { get; set; }&lt;/pre&gt;

  &lt;pre&gt;&lt;span class="lnum"&gt;  17:  &lt;/span&gt;        &lt;span class="kwrd"&gt;public&lt;/span&gt; &lt;span class="kwrd"&gt;string&lt;/span&gt; ID { get; set; }&lt;/pre&gt;

  &lt;pre&gt;&lt;span class="lnum"&gt;  18:  &lt;/span&gt;        &lt;span class="kwrd"&gt;public&lt;/span&gt; &lt;span class="kwrd"&gt;string&lt;/span&gt; Username { get; set; }        &lt;/pre&gt;

  &lt;pre&gt;&lt;span class="lnum"&gt;  19:  &lt;/span&gt;    }&lt;/pre&gt;

  &lt;pre&gt;&lt;span class="lnum"&gt;  20:  &lt;/span&gt;&amp;#160;&lt;/pre&gt;

  &lt;pre&gt;&lt;span class="lnum"&gt;  21:  &lt;/span&gt;    &lt;span class="kwrd"&gt;public&lt;/span&gt; &lt;span class="kwrd"&gt;class&lt;/span&gt; Unfollowers&lt;/pre&gt;

  &lt;pre&gt;&lt;span class="lnum"&gt;  22:  &lt;/span&gt;    {&lt;/pre&gt;

  &lt;pre&gt;&lt;span class="lnum"&gt;  23:  &lt;/span&gt;        &lt;span class="kwrd"&gt;public&lt;/span&gt; &lt;span class="kwrd"&gt;virtual&lt;/span&gt; TwitterUser TwitterUser { get; set; }&lt;/pre&gt;

  &lt;pre&gt;&lt;span class="lnum"&gt;  24:  &lt;/span&gt;        &lt;span class="kwrd"&gt;public&lt;/span&gt; &lt;span class="kwrd"&gt;string&lt;/span&gt; ID { get; set; }&lt;/pre&gt;

  &lt;pre&gt;&lt;span class="lnum"&gt;  25:  &lt;/span&gt;        &lt;span class="kwrd"&gt;public&lt;/span&gt; &lt;span class="kwrd"&gt;string&lt;/span&gt; Username { get; set; }&lt;/pre&gt;

  &lt;pre&gt;&lt;span class="lnum"&gt;  26:  &lt;/span&gt;        &lt;span class="kwrd"&gt;public&lt;/span&gt; DateTime FoundTime { get; set; }&lt;/pre&gt;

  &lt;pre&gt;&lt;span class="lnum"&gt;  27:  &lt;/span&gt;    }&lt;/pre&gt;

  &lt;pre&gt;&lt;span class="lnum"&gt;  28:  &lt;/span&gt;&amp;#160;&lt;/pre&gt;

  &lt;pre&gt;&lt;span class="lnum"&gt;  29:  &lt;/span&gt;    &lt;span class="kwrd"&gt;public&lt;/span&gt; &lt;span class="kwrd"&gt;class&lt;/span&gt; TwitterUserContext : DbContext&lt;/pre&gt;

  &lt;pre&gt;&lt;span class="lnum"&gt;  30:  &lt;/span&gt;    {&lt;/pre&gt;

  &lt;pre&gt;&lt;span class="lnum"&gt;  31:  &lt;/span&gt;        &lt;span class="kwrd"&gt;public&lt;/span&gt; DbSet&amp;lt;TwitterUser&amp;gt; Tweeps { get; set; }&lt;/pre&gt;

  &lt;pre&gt;&lt;span class="lnum"&gt;  32:  &lt;/span&gt;        &lt;span class="kwrd"&gt;public&lt;/span&gt; DbSet&amp;lt;Follower&amp;gt; Followers { get; set; }&lt;/pre&gt;

  &lt;pre&gt;&lt;span class="lnum"&gt;  33:  &lt;/span&gt;        &lt;span class="kwrd"&gt;public&lt;/span&gt; DbSet&amp;lt;Unfollowers&amp;gt; Unfollowers { get; set; }&lt;/pre&gt;

  &lt;pre&gt;&lt;span class="lnum"&gt;  34:  &lt;/span&gt;    }&lt;/pre&gt;

  &lt;pre&gt;&lt;span class="lnum"&gt;  35:  &lt;/span&gt;}&lt;/pre&gt;
&lt;/div&gt;
&lt;style type="text/css"&gt;

.csharpcode, .csharpcode pre
{
	font-size: small;
	color: black;
	font-family: consolas, "Courier New", courier, monospace;
	background-color: #ffffff;
	/*white-space: pre;*/
}
.csharpcode pre { margin: 0em; }
.csharpcode .rem { color: #008000; }
.csharpcode .kwrd { color: #0000ff; }
.csharpcode .str { color: #006080; }
.csharpcode .op { color: #0000c0; }
.csharpcode .preproc { color: #cc6633; }
.csharpcode .asp { background-color: #ffff00; }
.csharpcode .html { color: #800000; }
.csharpcode .attr { color: #ff0000; }
.csharpcode .alt 
{
	background-color: #f4f4f4;
	width: 100%;
	margin: 0em;
}
.csharpcode .lnum { color: #606060; }&lt;/style&gt;

&lt;p&gt;&lt;font size="3"&gt;Yes the classes do not need to be inherit from any other class, that is cool, yet I would like to set an attribute to tell it to create a table from that class, instead I use another class that inherits from DbContext to add them into a DbSet. This is confusing to me, I would just prefer to use attributes. Looks like the patters sometime chance at Microsoft. &lt;/font&gt;&lt;/p&gt;

&lt;p&gt;&lt;font size="3"&gt;Once the 3 classes be added at the DbSet as properties, now let’s start using it.&lt;/font&gt;&lt;/p&gt;

&lt;p&gt;&lt;font size="3"&gt;I create in MVC 3 Refresh 1 a controller to request for user details.&lt;/font&gt;&lt;/p&gt;

&lt;div style="width: 639px; height: 117px" class="csharpcode"&gt;
  &lt;pre&gt;&lt;span class="lnum"&gt;   1:  &lt;/span&gt;&lt;span class="kwrd"&gt;public&lt;/span&gt; ActionResult Details(&lt;span class="kwrd"&gt;string&lt;/span&gt; sUserName)&lt;/pre&gt;

  &lt;pre&gt;&lt;span class="lnum"&gt;   2:  &lt;/span&gt;        {&lt;/pre&gt;

  &lt;pre&gt;&lt;span class="lnum"&gt;   3:  &lt;/span&gt;            Database.DefaultConnectionFactory =&lt;/pre&gt;

  &lt;pre&gt;&lt;span class="lnum"&gt;   4:  &lt;/span&gt;                 &lt;span class="kwrd"&gt;new&lt;/span&gt; SqlCeConnectionFactory(&lt;span class="str"&gt;&amp;quot;System.Data.SqlServerCe.4.0&amp;quot;&lt;/span&gt;);&lt;/pre&gt;

  &lt;pre&gt;&lt;span class="lnum"&gt;   5:  &lt;/span&gt;&amp;#160;&lt;/pre&gt;

  &lt;pre&gt;&lt;span class="lnum"&gt;   6:  &lt;/span&gt;            Sample1.Models.TwitterUserContext dbContext = &lt;span class="kwrd"&gt;new&lt;/span&gt; Models.TwitterUserContext();&lt;/pre&gt;
&lt;/div&gt;

&lt;p&gt;&lt;style type="text/css"&gt;

.csharpcode, .csharpcode pre
{
	font-size: small;
	color: black;
	font-family: consolas, "Courier New", courier, monospace;
	background-color: #ffffff;
	/*white-space: pre;*/
}
.csharpcode pre { margin: 0em; }
.csharpcode .rem { color: #008000; }
.csharpcode .kwrd { color: #0000ff; }
.csharpcode .str { color: #006080; }
.csharpcode .op { color: #0000c0; }
.csharpcode .preproc { color: #cc6633; }
.csharpcode .asp { background-color: #ffff00; }
.csharpcode .html { color: #800000; }
.csharpcode .attr { color: #ff0000; }
.csharpcode .alt 
{
	background-color: #f4f4f4;
	width: 100%;
	margin: 0em;
}
.csharpcode .lnum { color: #606060; }&lt;/style&gt;&lt;font size="3"&gt;&lt;/font&gt;&lt;/p&gt;

&lt;p&gt;&lt;font size="3"&gt;At line 3 and 4 you can see I force Code First to use the Compact Database instead of the default Sql Express. It’s your preference, as well you can make a change to your web.config so you do not have to use code. However in today’s blog post, everything is about Code First.&lt;/font&gt;&lt;/p&gt;

&lt;p&gt;&lt;font size="3"&gt;Now first issues I see with EF Code First, in line 1 below, I have to put a try and catch, as first time that creates the database the dbContext.Tweeps will be not just null will actually throw and exception when trying to run it. Looking if the dbContext is null as well, yet the database is already being created the first time that I try to access it. Should I check any property to see if the database is being created? I see that there is an initialize property.&lt;/font&gt;&lt;font size="3"&gt;&lt;/font&gt; &lt;/p&gt;

&lt;div style="width: 639px; height: 293px" class="csharpcode"&gt;
  &lt;pre&gt;&lt;span class="lnum"&gt;   1:  &lt;/span&gt;            &lt;span class="kwrd"&gt;try&lt;/span&gt;&lt;/pre&gt;

  &lt;pre&gt;&lt;span class="lnum"&gt;   2:  &lt;/span&gt;            {&lt;/pre&gt;

  &lt;pre&gt;&lt;span class="lnum"&gt;   3:  &lt;/span&gt;              &lt;span class="kwrd"&gt;if&lt;/span&gt; ( dbContext.Tweeps != &lt;span class="kwrd"&gt;null&lt;/span&gt; )&lt;/pre&gt;

  &lt;pre&gt;&lt;span class="lnum"&gt;   4:  &lt;/span&gt;                &lt;span class="kwrd"&gt;if&lt;/span&gt; (dbContext.Tweeps.Count() &amp;gt; 0)&lt;/pre&gt;

  &lt;pre&gt;&lt;span class="lnum"&gt;   5:  &lt;/span&gt;                {&lt;/pre&gt;

  &lt;pre&gt;&lt;span class="lnum"&gt;   6:  &lt;/span&gt;                    List&amp;lt;Models.TwitterUser&amp;gt; userlist = dbContext.Tweeps.ToList();&lt;/pre&gt;

  &lt;pre&gt;&lt;span class="lnum"&gt;   7:  &lt;/span&gt;                    &lt;span class="kwrd"&gt;foreach&lt;/span&gt; (Models.TwitterUser us &lt;span class="kwrd"&gt;in&lt;/span&gt; userlist)&lt;/pre&gt;

  &lt;pre&gt;&lt;span class="lnum"&gt;   8:  &lt;/span&gt;                    {&lt;/pre&gt;

  &lt;pre&gt;&lt;span class="lnum"&gt;   9:  &lt;/span&gt;                        &lt;span class="kwrd"&gt;if&lt;/span&gt; (us.Username == sUserName)&lt;/pre&gt;

  &lt;pre&gt;&lt;span class="lnum"&gt;  10:  &lt;/span&gt;                        {&lt;/pre&gt;

  &lt;pre&gt;&lt;span class="lnum"&gt;  11:  &lt;/span&gt;                            myUser = us;&lt;/pre&gt;

  &lt;pre&gt;&lt;span class="lnum"&gt;  12:  &lt;/span&gt;                            &lt;span class="kwrd"&gt;break&lt;/span&gt;;&lt;/pre&gt;

  &lt;pre&gt;&lt;span class="lnum"&gt;  13:  &lt;/span&gt;                        }&lt;/pre&gt;

  &lt;pre&gt;&lt;span class="lnum"&gt;  14:  &lt;/span&gt;                    }&lt;/pre&gt;

  &lt;pre&gt;&lt;span class="lnum"&gt;  15:  &lt;/span&gt;                }&lt;/pre&gt;

  &lt;pre&gt;&lt;span class="lnum"&gt;  16:  &lt;/span&gt;              }&lt;/pre&gt;

  &lt;pre&gt;&lt;span class="lnum"&gt;  17:  &lt;/span&gt;            }&lt;/pre&gt;

  &lt;pre&gt;&lt;span class="lnum"&gt;  18:  &lt;/span&gt;            &lt;span class="kwrd"&gt;catch&lt;/span&gt; { }&lt;/pre&gt;
&lt;/div&gt;
&lt;style type="text/css"&gt;

.csharpcode, .csharpcode pre
{
	font-size: small;
	color: black;
	font-family: consolas, "Courier New", courier, monospace;
	background-color: #ffffff;
	/*white-space: pre;*/
}
.csharpcode pre { margin: 0em; }
.csharpcode .rem { color: #008000; }
.csharpcode .kwrd { color: #0000ff; }
.csharpcode .str { color: #006080; }
.csharpcode .op { color: #0000c0; }
.csharpcode .preproc { color: #cc6633; }
.csharpcode .asp { background-color: #ffff00; }
.csharpcode .html { color: #800000; }
.csharpcode .attr { color: #ff0000; }
.csharpcode .alt 
{
	background-color: #f4f4f4;
	width: 100%;
	margin: 0em;
}
.csharpcode .lnum { color: #606060; }&lt;/style&gt;


&lt;style type="text/css"&gt;

.csharpcode, .csharpcode pre
{
	font-size: small;
	color: black;
	font-family: consolas, "Courier New", courier, monospace;
	background-color: #ffffff;
	/*white-space: pre;*/
}
.csharpcode pre { margin: 0em; }
.csharpcode .rem { color: #008000; }
.csharpcode .kwrd { color: #0000ff; }
.csharpcode .str { color: #006080; }
.csharpcode .op { color: #0000c0; }
.csharpcode .preproc { color: #cc6633; }
.csharpcode .asp { background-color: #ffff00; }
.csharpcode .html { color: #800000; }
.csharpcode .attr { color: #ff0000; }
.csharpcode .alt 
{
	background-color: #f4f4f4;
	width: 100%;
	margin: 0em;
}
.csharpcode .lnum { color: #606060; }&lt;/style&gt;

&lt;p&gt;&lt;font size="3"&gt;&lt;/font&gt;&amp;#160;&lt;/p&gt;

&lt;p&gt;&lt;font size="3"&gt;&lt;strong&gt;&lt;u&gt;Add&lt;/u&gt;&lt;/strong&gt;&lt;/font&gt;&lt;/p&gt;

&lt;p&gt;&lt;font size="3"&gt;Creating a new Twitter User is simple and so elegant in the sample, is the part that got me hooked into CF. Its as simple of adding into a collection, the essence of .NET.&lt;/font&gt;&lt;/p&gt;

&lt;div class="csharpcode"&gt;
  &lt;pre&gt;&lt;span class="lnum"&gt;   1:  &lt;/span&gt;            &lt;span class="kwrd"&gt;if&lt;/span&gt; (myUser == &lt;span class="kwrd"&gt;null&lt;/span&gt;)&lt;/pre&gt;

  &lt;pre&gt;&lt;span class="lnum"&gt;   2:  &lt;/span&gt;            {&lt;/pre&gt;

  &lt;pre&gt;&lt;span class="lnum"&gt;   3:  &lt;/span&gt;                myUser = &lt;span class="kwrd"&gt;new&lt;/span&gt; Models.TwitterUser()&lt;/pre&gt;

  &lt;pre&gt;&lt;span class="lnum"&gt;   4:  &lt;/span&gt;                {&lt;/pre&gt;

  &lt;pre&gt;&lt;span class="lnum"&gt;   5:  &lt;/span&gt;                    Username = sUserName,&lt;/pre&gt;

  &lt;pre&gt;&lt;span class="lnum"&gt;   6:  &lt;/span&gt;                    ID = Guid.NewGuid().ToString()&lt;/pre&gt;

  &lt;pre&gt;&lt;span class="lnum"&gt;   7:  &lt;/span&gt;                };&lt;/pre&gt;

  &lt;pre&gt;&lt;span class="lnum"&gt;   8:  &lt;/span&gt;&amp;#160;&lt;/pre&gt;

  &lt;pre&gt;&lt;span class="lnum"&gt;   9:  &lt;/span&gt;                dbContext.Tweeps.Add(myUser);&lt;/pre&gt;

  &lt;pre&gt;&lt;span class="lnum"&gt;  10:  &lt;/span&gt;                dbContext.SaveChanges();&lt;/pre&gt;

  &lt;pre&gt;&lt;span class="lnum"&gt;  11:  &lt;/span&gt;            }&lt;/pre&gt;
&lt;/div&gt;
&lt;style type="text/css"&gt;

.csharpcode, .csharpcode pre
{
	font-size: small;
	color: black;
	font-family: consolas, "Courier New", courier, monospace;
	background-color: #ffffff;
	/*white-space: pre;*/
}
.csharpcode pre { margin: 0em; }
.csharpcode .rem { color: #008000; }
.csharpcode .kwrd { color: #0000ff; }
.csharpcode .str { color: #006080; }
.csharpcode .op { color: #0000c0; }
.csharpcode .preproc { color: #cc6633; }
.csharpcode .asp { background-color: #ffff00; }
.csharpcode .html { color: #800000; }
.csharpcode .attr { color: #ff0000; }
.csharpcode .alt 
{
	background-color: #f4f4f4;
	width: 100%;
	margin: 0em;
}
.csharpcode .lnum { color: #606060; }&lt;/style&gt;

&lt;p&gt;&lt;font size="3"&gt;&lt;/font&gt;&amp;#160;&lt;/p&gt;

&lt;p&gt;&lt;font size="3"&gt;&lt;strong&gt;&lt;u&gt;Modify&lt;/u&gt;&lt;/strong&gt;&lt;/font&gt;&lt;/p&gt;

&lt;p&gt;&lt;font size="3"&gt;Now, modify is confusing to me, I would think that if you change any property, the item gets marked as dirty and then when calling SaveChanges, will make the update.&amp;#160; Line number 2 below should be redundant, I know that because I created the class and the properties, they cannot add a dirty flag at the set, yet I would like something that I do not need to flag the item as modified. However this is how you have to do it.&lt;/font&gt;&lt;/p&gt;

&lt;div class="csharpcode"&gt;
  &lt;pre&gt;&lt;span class="lnum"&gt;   1:  &lt;/span&gt;myUser.Username = &lt;span class="str"&gt;&amp;quot;alpascual&amp;quot;&lt;/span&gt;;&lt;/pre&gt;

  &lt;pre&gt;&lt;span class="lnum"&gt;   2:  &lt;/span&gt;dbContext.Entry(myUser).State = System.Data.EntityState.Modified;&lt;/pre&gt;

  &lt;pre&gt;&lt;span class="lnum"&gt;   3:  &lt;/span&gt;dbContext.SaveChanges();&lt;/pre&gt;
&lt;/div&gt;
&lt;style type="text/css"&gt;

.csharpcode, .csharpcode pre
{
	font-size: small;
	color: black;
	font-family: consolas, "Courier New", courier, monospace;
	background-color: #ffffff;
	/*white-space: pre;*/
}
.csharpcode pre { margin: 0em; }
.csharpcode .rem { color: #008000; }
.csharpcode .kwrd { color: #0000ff; }
.csharpcode .str { color: #006080; }
.csharpcode .op { color: #0000c0; }
.csharpcode .preproc { color: #cc6633; }
.csharpcode .asp { background-color: #ffff00; }
.csharpcode .html { color: #800000; }
.csharpcode .attr { color: #ff0000; }
.csharpcode .alt 
{
	background-color: #f4f4f4;
	width: 100%;
	margin: 0em;
}
.csharpcode .lnum { color: #606060; }&lt;/style&gt;

&lt;p&gt;&lt;font size="3"&gt;&lt;/font&gt;&amp;#160;&lt;/p&gt;

&lt;p&gt;&lt;font size="3"&gt;&lt;strong&gt;&lt;u&gt;Delete&lt;/u&gt;&lt;/strong&gt;&lt;/font&gt;&lt;/p&gt;

&lt;p&gt;&lt;font size="3"&gt;Now, I hope you are not cut and pasting my code, as the one below has to be wrong, must be a better way to delete one by one the items on my table.&lt;/font&gt;&lt;/p&gt;
&lt;style type="text/css"&gt;

.csharpcode, .csharpcode pre
{
	font-size: small;
	color: black;
	font-family: consolas, "Courier New", courier, monospace;
	background-color: #ffffff;
	/*white-space: pre;*/
}
.csharpcode pre { margin: 0em; }
.csharpcode .rem { color: #008000; }
.csharpcode .kwrd { color: #0000ff; }
.csharpcode .str { color: #006080; }
.csharpcode .op { color: #0000c0; }
.csharpcode .preproc { color: #cc6633; }
.csharpcode .asp { background-color: #ffff00; }
.csharpcode .html { color: #800000; }
.csharpcode .attr { color: #ff0000; }
.csharpcode .alt 
{
	background-color: #f4f4f4;
	width: 100%;
	margin: 0em;
}
.csharpcode .lnum { color: #606060; }&lt;/style&gt;

&lt;div style="width: 639px; height: 135px" class="csharpcode"&gt;
  &lt;pre&gt;&lt;span class="lnum"&gt;   1:  &lt;/span&gt;&lt;span class="kwrd"&gt;while&lt;/span&gt; (myUser.Followers.Count &amp;gt; 0 )&lt;/pre&gt;

  &lt;pre&gt;&lt;span class="lnum"&gt;   2:  &lt;/span&gt;{&lt;/pre&gt;

  &lt;pre&gt;&lt;span class="lnum"&gt;   3:  &lt;/span&gt;         Models.Follower foll = myUser.Followers.ElementAt(0);&lt;/pre&gt;

  &lt;pre&gt;&lt;span class="lnum"&gt;   4:  &lt;/span&gt;         dbContext.Entry(foll).State = System.Data.EntityState.Deleted;                        &lt;/pre&gt;

  &lt;pre&gt;&lt;span class="lnum"&gt;   5:  &lt;/span&gt;}&lt;/pre&gt;

  &lt;pre&gt;&lt;span class="lnum"&gt;   6:  &lt;/span&gt;                                        &lt;/pre&gt;

  &lt;pre&gt;&lt;span class="lnum"&gt;   7:  &lt;/span&gt; dbContext.SaveChanges();&lt;/pre&gt;
&lt;/div&gt;
&lt;style type="text/css"&gt;

.csharpcode, .csharpcode pre
{
	font-size: small;
	color: black;
	font-family: consolas, "Courier New", courier, monospace;
	background-color: #ffffff;
	/*white-space: pre;*/
}
.csharpcode pre { margin: 0em; }
.csharpcode .rem { color: #008000; }
.csharpcode .kwrd { color: #0000ff; }
.csharpcode .str { color: #006080; }
.csharpcode .op { color: #0000c0; }
.csharpcode .preproc { color: #cc6633; }
.csharpcode .asp { background-color: #ffff00; }
.csharpcode .html { color: #800000; }
.csharpcode .attr { color: #ff0000; }
.csharpcode .alt 
{
	background-color: #f4f4f4;
	width: 100%;
	margin: 0em;
}
.csharpcode .lnum { color: #606060; }&lt;/style&gt;

&lt;p&gt;&lt;font size="3"&gt;Can I use LINQ to delete? I would like to delete only a few based on a query.&lt;/font&gt;&lt;/p&gt;

&lt;p&gt;&lt;font size="3"&gt;In any case, Code First is the coolest thing, I cannot wait for learning it and improving it until I do it right. A few places to learn. I would start from this 2 below. Scott Guthrie and Scott Hanselman.&lt;/font&gt;&lt;/p&gt;

&lt;p&gt;&lt;font size="3"&gt;&lt;a href="http://weblogs.asp.net/scottgu/archive/2011/05/05/ef-code-first-and-data-scaffolding-with-the-asp-net-mvc-3-tools-update.aspx"&gt;Scott Gu’s blog post about EF Code First tutorial&lt;/a&gt;&lt;/font&gt;&lt;/p&gt;

&lt;p&gt;&lt;font size="3"&gt;&lt;a href="http://channel9.msdn.com/Events/MIX/MIX11/FRM02"&gt;Scott Hanselman presentation as always entertaining about EF CF&lt;/a&gt;&lt;/font&gt;&lt;/p&gt;

&lt;p&gt;&lt;font size="3"&gt;Cheers&lt;/font&gt;&lt;/p&gt;

&lt;p&gt;&lt;font size="3"&gt;Al&lt;/font&gt;&lt;/p&gt;&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=7779325" width="1" height="1"&gt;</content><author><name>albertpascual</name><uri>http://weblogs.asp.net/members/albertpascual.aspx</uri></author><category term="ASP.NET" scheme="http://weblogs.asp.net/albertpascual/archive/tags/ASP.NET/default.aspx" /><category term="MVC" scheme="http://weblogs.asp.net/albertpascual/archive/tags/MVC/default.aspx" /><category term="ASP.NET MVC" scheme="http://weblogs.asp.net/albertpascual/archive/tags/ASP.NET+MVC/default.aspx" /><category term="Entity Framework Code First" scheme="http://weblogs.asp.net/albertpascual/archive/tags/Entity+Framework+Code+First/default.aspx" /></entry><entry><title>Mobile Application I wrote this year.</title><link rel="alternate" type="text/html" href="http://weblogs.asp.net/albertpascual/archive/2011/05/05/mobile-application-i-wrote-this-year.aspx" /><id>http://weblogs.asp.net/albertpascual/archive/2011/05/05/mobile-application-i-wrote-this-year.aspx</id><published>2011-05-06T04:47:00Z</published><updated>2011-05-06T04:47:00Z</updated><content type="html">&lt;p&gt;&lt;font size="4"&gt;This year I have been learning Objective C and mobile development in general to see the possibilities of the new mobile platforms. As I see it there are 3 major platforms.&lt;/font&gt;&lt;/p&gt;  &lt;p&gt;&lt;font size="4"&gt;- iPhone/iPad&lt;/font&gt;&lt;/p&gt;  &lt;p&gt;&lt;font size="4"&gt;- Windows Phone 7&lt;/font&gt;&lt;/p&gt;  &lt;p&gt;&lt;font size="4"&gt;- Android&lt;/font&gt;&lt;/p&gt;  &lt;p&gt;&lt;font size="4"&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p&gt;&lt;font size="4"&gt;I have tried the 3 below, and I have discovered quite a lot. Android even the one with the most powerful SDK and flexibility is JAVA and does not feel right for me to use the Java IDEs. There is no much guidance.&lt;/font&gt;&lt;/p&gt;  &lt;p&gt;&lt;font size="4"&gt;Windows Phone 7 has the Silverlight SDK, is fast and easy to create an application, yet the API is very limited still and the deployment still not complete, there is more work that Microsoft needs to do and is missing many features, like for example, rejecting a binary is not possible on the website. They should add the functionality of managing the apps in VS2010.&lt;/font&gt;&lt;/p&gt;  &lt;p&gt;&lt;font size="4"&gt;iOS development is all in objective-c, even being a hard language, the story is complete from Apple. The tools are great, besides debugging, and the deployment is easy. SDK is clear and fantastic documentation. When a new SDK comes out, none of the apps break. It is a development dream.&lt;/font&gt;&lt;/p&gt;  &lt;p&gt;&lt;font size="4"&gt;Now, as a independent developer, people want to learn what is the most regarding market and will provide you with the biggest revenue. I submitted the same application for Windows Phone 7 and iOS with the same price to test the revenue.&lt;/font&gt;&lt;/p&gt;  &lt;p&gt;&lt;font size="4"&gt;Simple kids game in Windows Phone 7:&lt;/font&gt;&lt;/p&gt;  &lt;p&gt;&lt;a href="http://weblogs.asp.net/blogs/albertpascual/image_5F048D59.png"&gt;&lt;img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://weblogs.asp.net/blogs/albertpascual/image_thumb_76BBC4BF.png" width="244" height="234" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;&lt;font size="4"&gt;Simple kids game in iOS iPhone and iPad:&lt;/font&gt;&lt;/p&gt;  &lt;p&gt;&lt;a href="http://weblogs.asp.net/blogs/albertpascual/image_681118DA.png"&gt;&lt;img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://weblogs.asp.net/blogs/albertpascual/image_thumb_22F84BA4.png" width="244" height="94" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;&lt;font size="4"&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p&gt;&lt;font size="4"&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p&gt;&lt;font size="4"&gt;Here is the list of available apps.&lt;/font&gt;&lt;/p&gt;  &lt;p&gt;&lt;strong&gt;&lt;u&gt;&lt;font size="4"&gt;IPhone&lt;/font&gt;&lt;/u&gt;&lt;/strong&gt;&lt;/p&gt;  &lt;p&gt;&lt;font size="4"&gt;You can install it from here &lt;/font&gt;&lt;a href="http://itunes.apple.com/us/app/confvault/id434553397?mt=8&amp;amp;ls=1"&gt;&lt;font size="4"&gt;Conference Vault.&lt;/font&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;&lt;a href="http://weblogs.asp.net/blogs/albertpascual/image_423AF277.png"&gt;&lt;font size="4"&gt;&lt;img style="background-image: none; border-right-width: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://weblogs.asp.net/blogs/albertpascual/image_thumb_04CA8DF0.png" width="244" height="174" /&gt;&lt;/font&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;&lt;font size="4"&gt;Store all the conference call numbers and access codes and with a click, let the iPhone login into the conference call without having to enter the number manually.&lt;/font&gt;&lt;/p&gt;  &lt;p&gt;&lt;a href="http://itunes.apple.com/us/app/spellbee/id432264615?mt=8&amp;amp;ls=1"&gt;&lt;font size="4"&gt;You can install Spelling Bee here&lt;/font&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;&lt;a href="http://weblogs.asp.net/blogs/albertpascual/image_31DF7ABE.png"&gt;&lt;font size="4"&gt;&lt;img style="background-image: none; border-right-width: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://weblogs.asp.net/blogs/albertpascual/image_thumb_21F035FA.png" width="244" height="181" /&gt;&lt;/font&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;&lt;font size="4"&gt;For kids learning how to spell, this game has more than 400 words for 1st to 3rd grades to practice how to type and spell words with clear voice guidance from Ashley, Dakota and Ryan Pascual.&lt;/font&gt;&lt;/p&gt;  &lt;p&gt;&lt;font size="4"&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p&gt;&lt;a href="http://itunes.apple.com/us/app/alarmdevice/id418817984?mt=8&amp;amp;ls=1"&gt;&lt;font size="4"&gt;Install the Device Alarm App here&lt;/font&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;&lt;a href="http://weblogs.asp.net/blogs/albertpascual/image_6800F30D.png"&gt;&lt;font size="4"&gt;&lt;img style="background-image: none; border-right-width: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://weblogs.asp.net/blogs/albertpascual/image_thumb_54076077.png" width="244" height="185" /&gt;&lt;/font&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;&lt;font size="4"&gt;This application will enable the device alarm so people cannot borrow the device or move it without you knowing it.      &lt;br /&gt;Place the iPhone or iPad in a surface, switch the alarm to on and wait, if any or your family or friends tries to move the device, even an each, a loud alarm will sound for 5 seconds to let you know.       &lt;br /&gt;Great for protecting your device in a public place or great party trick as well as fun for the whole family.       &lt;br /&gt;The phone will be checking the compass, accelerometer and GPS for any changes on the heading. any changes will make the alarm to go off for 5 seconds.       &lt;br /&gt;You can also set it up to call you for a move quiet way to alert you.&lt;/font&gt;&lt;/p&gt;  &lt;p&gt;&lt;font size="4"&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p&gt;&lt;a href="http://itunes.apple.com/us/app/kidmathtutor/id426069877?mt=8&amp;amp;ls=1"&gt;&lt;font size="4"&gt;Install the Math Tutor here&lt;/font&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;&lt;strong&gt;&lt;u&gt;&lt;font size="4"&gt;Available for Windows Phone&amp;#160; as well Windows Phone 7&lt;/font&gt;&lt;/u&gt;&lt;/strong&gt;&lt;/p&gt;  &lt;p&gt;&lt;a href="http://weblogs.asp.net/blogs/albertpascual/image_532EFA8D.png"&gt;&lt;font size="4"&gt;&lt;img style="background-image: none; border-right-width: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://weblogs.asp.net/blogs/albertpascual/image_thumb_1148153F.png" width="244" height="184" /&gt;&lt;/font&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;&lt;font size="4"&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p&gt;&lt;font size="4"&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p&gt;&lt;font size="4"&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p&gt;&lt;font size="4"&gt;Kid Math Tutor was design by Ashley, Dakota and Ryan Pascual to help learning math for 1st to 3rd grade students in a way of a test, helping them from easy to difficult test and voice to let them know the results.      &lt;br /&gt;If you want your kid to learn basic math, this is the app for you.&lt;/font&gt;&lt;/p&gt;  &lt;p&gt;&lt;font size="4"&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p&gt;&lt;a href="http://itunes.apple.com/us/app/greenbizcard/id429673045?mt=8&amp;amp;ls=1"&gt;&lt;font size="4"&gt;Install Green Business Cards at the Apple App Store here.&lt;/font&gt;&lt;/a&gt;&lt;font size="4"&gt;&amp;#160;&lt;/font&gt;&lt;/p&gt;  &lt;p&gt;&lt;font size="4"&gt;Available for &lt;strong&gt;&lt;u&gt;Windows Phone 7 as well&lt;/u&gt;&lt;/strong&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p&gt;&lt;a href="http://weblogs.asp.net/blogs/albertpascual/image_5758D252.png"&gt;&lt;font size="4"&gt;&lt;img style="background-image: none; border-right-width: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://weblogs.asp.net/blogs/albertpascual/image_thumb_39974793.png" width="244" height="183" /&gt;&lt;/font&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;&lt;font size="4"&gt;Create a digital Business Card to share around conferences and meetings without printing them out, you can send them from the application and anybody with that application close to you will receive it. Also a great way to collect Business Cards in conference as you can drop your Green Business Card in a location of the conference.      &lt;br /&gt;Printing business cards every year is a huge cost for the environment, as well as organizing those takes time and room. By just being able to send the card by pressing one button to somebody that is close to you, will save a few trees and makes it easier to keep organized.       &lt;br /&gt;The Green Business Card application works in location based, when you send your card, will be drop in that location for 1 hours, anybody close 100 feet from that location will be able to pick up your business card.&lt;/font&gt;&lt;/p&gt;  &lt;p&gt;&lt;font size="4"&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p&gt;&lt;a href="http://itunes.apple.com/us/app/eventmeetup/id421597442?mt=8&amp;amp;ls=1"&gt;&lt;font size="4"&gt;Install Event Meet Up here&lt;/font&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;&lt;a href="http://weblogs.asp.net/blogs/albertpascual/image_2D95575F.png"&gt;&lt;font size="4"&gt;&lt;img style="background-image: none; border-right-width: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://weblogs.asp.net/blogs/albertpascual/image_thumb_52B2A1CB.png" width="244" height="181" /&gt;&lt;/font&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;&lt;font size="4"&gt;All the Conferences events at your finger tips when you need them.      &lt;br /&gt;Allows you to check all events for the Mix, PDC, DevConnections and Tech Ed.       &lt;br /&gt;All details for the events and dates are being updated on your iPhone or iPad&lt;/font&gt;&lt;/p&gt;  &lt;p&gt;&lt;font size="4"&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p&gt;&lt;a href="http://itunes.apple.com/us/app/mvp-events/id416291827?mt=8&amp;amp;ls=1"&gt;&lt;font size="4"&gt;Install the Microsoft MVP Events here&lt;/font&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;&lt;a href="http://weblogs.asp.net/blogs/albertpascual/image_03D1DC6C.png"&gt;&lt;font size="4"&gt;&lt;img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://weblogs.asp.net/blogs/albertpascual/image_thumb_21CFEA60.png" width="244" height="183" /&gt;&lt;/font&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;&lt;font size="4"&gt;List of all events and news at the Microsoft MVP Summit 2011      &lt;br /&gt;The latest news happening at the MVP Summit 2011 delivered to you without delay. If you are attending all the events and news will show in a sorted list, if you cannot attend, stay up to date with all news and events.&lt;/font&gt;&lt;/p&gt;  &lt;p&gt;&lt;font size="4"&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p&gt;&lt;a href="http://itunes.apple.com/us/app/ustatetutor/id414154902?mt=8&amp;amp;ls=1"&gt;&lt;font size="4"&gt;Install the US State Tutor App here&lt;/font&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;&lt;a href="http://weblogs.asp.net/blogs/albertpascual/image_00DC77B9.png"&gt;&lt;font size="4"&gt;&lt;img style="background-image: none; border-right-width: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://weblogs.asp.net/blogs/albertpascual/image_thumb_05064F7E.png" width="244" height="183" /&gt;&lt;/font&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;&lt;font size="4"&gt;Learn the United States using a map in this fun game with voice prompts and 3 different settings of difficulty.      &lt;br /&gt;All voices from children: Dakota and Ashley.       &lt;br /&gt;Good way to learn the US States.       &lt;br /&gt;- An education tool to learn where the location of the states.       &lt;br /&gt;- Explore the US map.       &lt;br /&gt;- Tested with a 4 and 7 years old.       &lt;br /&gt;- Created with the interaction of the results of how the kids learn geography.&lt;/font&gt;&lt;/p&gt;  &lt;p&gt;&lt;font size="4"&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p&gt;&lt;font size="4"&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p&gt;&lt;strong&gt;&lt;u&gt;&lt;font size="4"&gt;&amp;#160;&lt;/font&gt;&lt;/u&gt;&lt;/strong&gt;&lt;/p&gt;&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=7778929" width="1" height="1"&gt;</content><author><name>albertpascual</name><uri>http://weblogs.asp.net/members/albertpascual.aspx</uri></author><category term="ASP.NET" scheme="http://weblogs.asp.net/albertpascual/archive/tags/ASP.NET/default.aspx" /><category term=".NET" scheme="http://weblogs.asp.net/albertpascual/archive/tags/.NET/default.aspx" /><category term="WP7" scheme="http://weblogs.asp.net/albertpascual/archive/tags/WP7/default.aspx" /><category term="iOS4" scheme="http://weblogs.asp.net/albertpascual/archive/tags/iOS4/default.aspx" /></entry></feed>