PostSharp4ViewState makes C# properties of ASP.NET pages persistent

by Gael Fraiteur, 22 September 2008

The days where AOP was limited to the academic samples of tracing and authorization are definitely over!

Szymon Pobiega has released PostSharp4ViewState on CodePlex. This PostSharp plug-in defines a new custom attribute [Persist]. When you apply it to an instance property of an ASP.NET page of control, it will simply... persist it in the state view!

Under the hood, PostSharp4ViewState implements the methods LoadControlState and SaveControlState.

For more information, please read the PostSharp4ViewState Code Project article. And don't forget to give him a good vote ;-).

Thank you Szymon for this great plug-in, and congratulations!

-gael

Hardware Upgrade on www.postsharp.org

by Gael Fraiteur, 18 September 2008
We have just doubled the amount of RAM available to the PostSharp server. Guess what is the server configuration? What do you think a Microsoft-centric open-source project runs on? Well... a Linux/Debian virtual server (Xen) running Apache, Mono, phpbb, wordpress, mantis and htdig! Daily backup using rsync. Try to have the same feature for less than 35 EUR a month on Windows! -gael

Simple aspect for NHibernate and virtual keyword

by Gael Fraiteur, 16 September 2008

An untraditional aspect of the PostSharp activist Michal Dabrowski:

People who use NHibernate know that in order to take advantage of its lazy-loading facility, all public members of the persisted classes must be marked as virtual. Compared to all the benefits the lazy-loading brings, this seems to be a very insignificant price. However, for some people, including me, this extra virtual keyword is still some annoyance. It is very easy to forget about it when writing a new code, it makes Resharper complain sometimes ("virtual member call in constructor" warning) and it is ugly (subjective one, I know). In this article I would like to show how to solve these issues with a simple aspect, that makes members virtual even if the keyword is not used in the source code.

Read the complete article on Code Project.

PostSharp @ Stockholm, Sweden, September 23rd, 2008

by Gael Fraiteur, 15 September 2008
I'll give a 2-hour presentation of PostSharp for the user group SweNug in Stockholm, Sweden, on September 23th, 2008. Details here. I'll stay the whole week in Stockholm and have usually nothing to do in the evening, so if you always wanted to meet a real geek, don't hesitate to ping me! -gael

Announcing PostSharp 1.0 RTM

by Gael Fraiteur, 11 September 2008

Four years after the project's initiation, I have been honored last Tuesday in Prague (Czech Republic), in PostSharp's home country, to announce the availability of the first stable release. This release can be download from our download section.

Although everyone knows that a software of this complexity is never completely bug-free, the last release candidate has been very stable and all fixes required only minor, local and safe modifications.

The 1.0 branch now becomes a legacy branch. It will further maintained as long as another branch does not reach a higher level of stability.

This version is therefore one you can rely on.

Happy PostSharping!

-gael

X-tensive releases DataObjects.NET 4.0, the first commercial product distributing PostSharp

by Gael Fraiteur, 3 September 2008
Alex Yakunin from x-tensive.com announced yesterday the release of DataObjects.NET 4.0, the first commercial product relying and distributing PostSharp. Cooperation with X-tensive.com started two years ago; they were the first commercial company that chose to rely on PostSharp for their flagship product. We have worked together to fix bugs and add features in these still early days. The project was difficult and ambitious, deadlines have been often postponed, and I am happy to see that the project finally went out! DataObjects.NET 4.0 is released under GPL and commercial licenses. Congratulations to all, and specially to Alex and Denis with whom I have been communicating a lot last year! Happy PostSharping! -gael

PostSharp @ Port Elizabeth, South Africa, September 6th, 2008

by Gael Fraiteur, 3 September 2008

Simon Stewart will present PostSharp at Port Elizabeth in South Africa.

Venue Nelson Mandela Metro University, Port Elizabeth, South Africa
Speaker Simon Stewart (Broken Keyboards Software)
Topic AOP in C# using PostSharp
FireFox Addon Development
Date Time 9AM Saturday 6 Sept 2008
Site http://portelizabeth.ning.com/events/event/show?id=2220642:Event:124

 

Good luck Simon!

-gael