Blog

The English part of my blog is mainly technical. If you can read Italian, check the Italian section for articles of other kind.

GWT and ASP.NET Can Work Together: a Proxy To Connect .NET and Java

GWT is primarily used in the Java world for obvious reasons: apart from being an excellent tool for creating RIAs (indeed it's my favorite one), it allows to develop both the server and the client part using a single language and a single IDE, and it even allows to share classes.

But GWT can be used with any server technology, and although those advantages do not apply anymore, it is an alternative that deserves serious consideration from developers of any server platform. I happen to be a GWT fan that works in a company that uses Microsoft products, so it seems obvious to me to try to combine both. After all, should we use Flex for example, we would still need to use two languages and two IDEs, so who cares. Same applies to all JavaScript toolkits and frameworks (please don't tell me that Visual Studio is a good JavaScript IDE: it even misses matching braces highlighting).

The main issue with an ASP.NET+GWT setup (as for any non-Java server part) is that one…

Read more

How To Use NHibernate in an ASP.NET Web Site Project (Even With Visual Studio Express)

This is the first time I write an article about ASP.NET, even if I use it at work every day. Yesterday I got NHibernate working in a web site project (which is different from a web application one), despite of all unsuccessful searches on the web, and I wish to share my configuration.

Please note that if you are completely new to NHibernate, you'll learn nothing about it in this article: I just want to help you to get it running in a web site project. For the same reason I've also avoided to implement all those best practices that are already widely documented on the web.

I think that some of you might wonder why one would want to use NHibernate in a web site project, since it looks like using an enterprise tool in a small project. But I don't think that (N)Hibernate must be confined into somewhat big applications: once you've learned it, there's no reason to use another persistence framework for small projects. And being able to use it in Visual Studio Web Developer…

Read more

Older Posts »