In VS 2010, extension manager is part of a nice new generation of VS plug-in system. One of the great features of it is how it can go online talk to Microsoft Visual Studio Gallery website to retrieve list of extensions there, automatically discovering updates for installed extensions, and allowing me to add new extensions directly from within Visual Studio.
The Problem:
However, in my company I could not take benefit of that for long time. Reason is, the company uses Blue Coat proxy, with some active directory based authentication. We cannot access the Internet unless we use that proxy, no direct connection allowed, most other proxies are also blocked (by blocking the common proxies port 8080 and many other common ports).
Although I have the proxy set in Internet Explorer, and I have the username/password stored in my Windows Credentials store (Start–> Run–> Control Panel\All Control Panel Items\Credential Manager) -since my primary work laptop and user account on it are not part of the company domain-, Visual Studio did not seem to be able to use that.
Anything that requires online communication not directly using the browser is not working. The main feature missed by this is Extensions Manager integration with the Visual Studio Gallery online.
Read the full post ... (608 words, 4 images, estimated 2:26 mins reading time)
.NET, .NET FAQ, Code Gallery, FAQ, Microsoft, Office Productivity, Visual Studio, Visual Studio 2010, Visual Studio Add-ins

Another internal company email I sent today and found useful enough to share in the wild (after few modifications)…
Hey all,
There is an online conference (streamed over the Internet, you don’t have to go to physical place) tomorrow called MVCConf; in addition to the MVC in the name it’s related to so many .NET and SQL and jQuery related stuff.
You may want to attend as many sessions as you can.
The conference is going to be TOMORROW July 22 from 8 AM to 5 PM CDT (that means UTC – 5 time, considering Abu Dhabi is UTC + 4, the mentioned time is 9 hours late than Abu Dhabi, so, 8 AM CDT = 5 PM for us, 5 PM CDT = 2 AM for us).
Of course you do not have to attend all the sessions. Actually you cannot, because they have 3 parallel tracks. (3 sessions at a time).
The conference is streamed over Microsoft Live Meeting.
Register from:
See you online :)
Let me add here that the conference agenda can be found at:
Read the full post ... (267 words, 1 image, estimated 1:04 mins reading time)
.NET, ALT.NET, ASP.NET, ASP.NET MVC, Local Events, Microsoft News, MVC
In NHibernate there is a Save(entityObject) method, which creates a new row in the database with the given entity object, also, has an Update(entityObject) which updates the row corresponding to the entity object with the property values of this object. It also has a SaveOrUpdate(entityObject) method, which checks the whether the entity object corresponds to an existing row in the database, and chooses whether to call Save(…) or Update(…) based on that.
The way I usually do web applications across multiple tiers, when not using view models specifically, makes me encapsulate much code in Services layer that sometimes does not need to care about whether the given entity is persisted in database or not. Thus wanted to have similar method using Entity Framework as ORM.
Of course I have implemented the method number of times and the code evolved based on which version of Entity Framework I’m coding against, and my knowledge of the framework internals as well. Actually, when you work with so many ORMs like I did, a new ORM or ORM version turns to only sound like “What’s new in the manual?” thing.
Read the full post ... (821 words, estimated 3:17 mins reading time)
.NET, .NET FAQ, ADO.NET, C#, Code Snippets, Entity Framework, NHibernate
Just a quick update in case you haven’t been following my recent updates (@Meligy) or @EgyGeeks news on twitter…
This week #EgyGeeks will have a very interesting session, about Continuous Integration in .NET. The session will be given by @AmrEldib who is a really brilliant and clever guy from what I see on twitter and some mailing groups.
Also, the open talk will be about BI, mainly in SQL Server.
The gathering is going to start in less than 3 HOURS. 11:59 PM CAIRO TIME (GMT+2) TODAY.
You can join by clicking the link that will pop up on @EgyGeeks (and @Meligy) by the time of gathering.
Waiting for the fun to come…
Permanent link to this post (114 words, estimated 27 secs reading time)
.NET, EgyGeeks, EgyGeeksOnSkype, Local Events
If you heard about Microsoft Oxite CMS, this is the new one, created as a different project to avoid previous developer comments.:
From Press:
Microsoft’s open-source CMS platform is (re)born | All about Microsoft | ZDNet.com
http://blogs.zdnet.com/microsoft/?p=4506
Project Homepage:
http://orchard.codeplex.com
Quote From Press:
The guesses (by me and others) look like they were on target. The “Orchard Project,” which is getting its debut on November 11 at Tech Ed Europe is, indeed, the successor to the Microsoft Oxite content-management system (CMS).
Microsoft made available the first the open-source Oxite CMS bits at the end of 2008. Like Oxite, Orchard will be a free, open-source CMS platform — plus a set of shared components for building ASP.Net applications and extensions. The Orchard code is licensed under an OSI-approved New BSD license.
From the Orchard page on the Microsoft CodePlex code-repository site:
“(T)his core (Orchard) team will use their experience working with ASP.NET and Oxite to deliver a fundamentally new architecture that is the Orchard CMS. We have deliberately chosen to start development, with the guidance and contribution from the community. Over time we expect this project to become a viable successor to Oxite v1 and we know that providing a migration path for users of that existing application will be a high priority.”
Read the full post ... (1038 words, 2 images, estimated 4:09 mins reading time)
.NET, ASP.NET, General News, Link List, Microsoft News, Miscellaneous, Web 2.0
Microsoft has released a new Facebook SDK Version 3.0 (other than their old not-so-great one) and it looks to have not just updated APIs but also wide range of features supported in many application types.
Quoting a related blog post from c|net “The web services report” blog:
http://news.cnet.com/8301-13515_3-10393823-26.html
Microsoft on Monday released a software development kit for Facebook that allows developers to create Facebook applications for Silverlight and Windows Presentation Foundation. This should expand the reach of Facebook in third-party applications as well as make Silverlight and WPF more viable platforms for developers looking to build social applications.

A screenshot showing off the NewsFeed control for WPF.
(Credit: The Silverlight Team Blog)
The SDK comes complete with samples and tools to develop Facebook applications in ASP.NET, Silverlight, WPF, and WinForms. It also features the source code for the API, components, controls, and samples.
There are currently other libraries available that allow Facebook developers to develop with other technologies, such as JavaScript, PHP, ActionScript, and the iPhone. There are a variety of others as well, which can be seen here, but these are the ones that Facebook officially provides support for.
Read the full post ... (582 words, 2 images, estimated 2:20 mins reading time)
.NET, ASP.NET, Facebook, General News, Link List, Microsoft News, Miscellaneous, Silverlight, Web 2.0, Web Design

Some cool guys (all working in ITWorx I guess, one of the biggest Egyptian Software houses) have created a new website:
http://www.sharepoint4arabs.com
The website, as the name implies, is dedicated for ARABIC resources related to SharePoint.
It originally contained the technical blogs of the site founders (Founders’ Blogs) which are very useful for posts about SharePoint, then very recently they have also lunched Screencasts (Also in Arabic) that start from the very beginning until further advanced stuff.
I think you’ll enjoy them!
I hope you like them,
Permanent link to this post (106 words, 1 image, estimated 25 secs reading time)
.NET, ASP.NET, FAQ, General News, Link List, Local Events, SharePoint
.
Microsoft has released a final version of its book “Microsoft Application Architecture Guide, 2nd Edition”.
The book is described as:
This guide is available online here in the MSDN Library and will be available in the Fall of 2009 as a Microsoft Press book, ISBN# 9780735627109, that you can purchase through local and online booksellers.
The guide is intended to help developers and solution architects design and build effective, high quality applications using the Microsoft platform and the .NET Framework more quickly and with less risk; it provides guidance for using architecture principles, design principles, and patterns that are tried and trusted. The guidance is presented in sections that correspond to major architecture and design focus points. It is designed to be used as a reference resource or to be read from beginning to end.
The guide helps you to:
- Understand the underlying architecture and design principles and patterns for developing successful solutions on the Microsoft platform and the .NET Framework.
- Identify appropriate strategies and design patterns that will help you design your solution’s layers, components, and services.
- Identify and address the key engineering decision points for your solution.
Read the full post ... (281 words, 1 image, estimated 1:07 mins reading time)
.NET, .NET FAQ, Architecture, Domain Driven Design, Ebooks, FAQ, General News, Link List, Microsoft News, Miscellaneous, OOP, Patterns, Visual Studio
While I was planning to write about the same topic and have the draft ready in my Windows Live Writer waiting to complete, I found an interesting question in StackOVerflow and couldn’t just resist to answer:
The question starts with:
I’m starting a new project and I’m looking around for either a very good ORM or for a non-SQL-based persistence layer.
Then follows up with a REALLY GOOD summary of what he believes about each known ORM he knew out of his own findings and search. I advice you to go read it.
However, all this investigation didn’t get him to a single choice answer. And I can’t blame him. This is one fo the questions that will remain for so long without a single answer, or maybe having the popular “It depends” answer.
I have had a LONG research in this topic as well. I have read for so long (and watched videos/casts) to make sure of the best usage of many ORMs and then used them sometimes in test projects sometimes in production, and I wanted to share my thoughts based on this. I posted a long answer there on the question in StackOverflow, and I want to share this answer with you here. I may also have a second part of this post based on my existing Windows Live Writer draft, but, based on my previous times, I think I won’t!
Read the full post ... (1188 words, 1 image, estimated 4:45 mins reading time)
.NET, .NET FAQ, ALT.NET, Domain Driven Design, Entity Framework, FAQ, LINQ, LINQ To SQL, LLBLGen, NHibernate, ORM