Share on Twitter

If you don’t know what is NuGet, please skip to the end first

NHibernate Package

For some time NHibernate 3.0 package on Nuget was listed as owned by Fabio Maulo (@fabiomaulo), a main comitter to NHibernate, but was not owned by him until NHibernate 3.1 came out and there was a need to upgrade the package, which happened today.

 

You can find NHibernate package on Nuget by searching for the word NHibernate in the gallery, or going to the package page directly on :

http://nuget.org/List/Packages/NHibernate

Do Not Install This Package Directly

However, in this page (or summary pane in Nuget tool in Visual Studio when you select the package, you’ll read:

DONT INSTALL IT DIRECTLY Only as reference for others frameworks. NHibernate is a mature, open source object-relational mapper for the .NET framework. It’s actively developed , fully featured and used in thousands of successful projects.

Why Is That?

The reason for that is that NHibernate requires using something called a proxy factory. This is the tool that creates proxies of your entities (usually in runtime) for things like Lazy Loading to work. NHibernate has built-in support for those proxy factories, Castle Dynamic Proxy, .LinFu Dynamic Proxy, Spring AOP Framework.

, , ,
Share on Twitter

As usual Python stuff for .NET is more advanced and evolving quicker than Ruby stuff.

http://pytools.codeplex.com/

Sad fact to me as (syntax-wise), I like Ruby much more!

 

Important: Read Installation Details Below

 

clip_image002

 

I haven’t tried yet but what they claim for IDE features specifically is really impressive (if works as in screenshots).

 

They also support multiple Python runtimes/environments (CPython, different versions of IronPython, PyPy).

 clip_image004clip_image006

clip_image008

Update

 

Before download, make sure to read the installation details carefully:

Installation Details (See the wiki page):

PTVS is an add-in for Visual Studio 2010. To get Visual Studio you have several options:

 

  • Get it through your school: You might already have a license for VS – please contact your sys admin or professor.
Share on Twitter
, , , ,
Share on Twitter

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 PanelAll Control Panel ItemsCredential 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.

, , , , , , , ,
Share on Twitter

First off, thank you all so much who have attended the very special gathering of dotNETwork user group, Code Camp ‘09, that took place in the British University in Cairo (BUE) during last Thursday and Friday. This has been one of the biggest events I have been talking in, and that was a great honor.

Must Say: SORRY! This post was supposed to be published Saturday or Sunday max. I have been busy making a critical decision and was not sure whether to announce it in this post or not.

You can find the slides for the sessions I have been giving below:

Framework Design Guidelines

Download (PPTX File):

Managed Extensibility Framework(MEF)

Download (PPTX File):

(Note: Links to the source code are in the last slide)

Notes On The Event

image
The speakers and dotNETwork Team

, , , , , , , , , , ,

Resharper 4 BETA Released

Share on Twitter

Avoid Much Talk

I wrote about Resharper 4 performance improvements in an earlier blog post today showing my VS Color Scheme including use of R# nightly builds. My friend Mohamed Tayseer pointed me out that Resharper 4 BETA was released yesterday. If you already know Resharper, skip the blah blah blah talk and get to the download.

Resharper, AKA R#, Who ???

Resharper used to be a must-have add-in for Visual Studio. It completes the features existing in Visual Studio like intellisense (not just smarter intellisense, but also available everywhere, like those areas in ASP.NET markup when you start typing non-standard code to Visual Studio to hook some properties and you get lost alone usually).

Of course it makes the expected enhancements to standard VS editor like parentheses and semicolon completion and other similar features, although it takes you w while to get used to stopping writing those after R# writes them for you!

It also has interesting stuff like SPEED find options (instead of this “Compiling the Solution” messages whenever you want to “Find Reference”) also extended for things like 2-way jump between the base classes / interfaces and their children classes/methods. ad also tons of “Guideline promoting” features like intellisense for  VARIABLE names (like when you type “MailMessage” for local variable type, it recommends names like “mailMessage”, “message”, etc…), and options to detect unused variables and “using” namespace directives, and many other features.

, , ,