I use NANT to automate the build process, now I face a little problem with silverlight. When you reference a service the designer of visual studio generate a ServiceReferences.ClientConfig  with configuration of the service, it contains the address of the service and it gets compiled inside the .xap file generated by compilation I use to [...]

kick it on DotNetKicks.com

Continue reading about modify silverlight ServiceReferences.ClientConfig after a build

alkampfer on July 29th, 2008

Yesterday I moved my first steps on silverlight, I’m working on a big solution with a big Web site, and the solution build time is really increased when I add silverlight project to the solution. It is really frustrating because I change something in the silverlight control, then I had to at least issue a [...]

kick it on DotNetKicks.com

Continue reading about Visual studio for big web project… so slow

alkampfer on July 29th, 2008

These days I’m playing a bit with Silverlight, to realize a little piece of backoffice of an ASP.NEt classic application. We decided to give a chance to silverligth because the backoffice is used only internally and so we can make experience with a noncritical piece of software. Even If I do not adopt a MVC [...]

kick it on DotNetKicks.com

Continue reading about Binding combobox to Enum in silverlight

alkampfer on July 28th, 2008

I’m doing the first steps with silverlight, and today I incurred in a very strange behavior. First of all I see that in my web project I can add WCF service or Silverlight-enabled WCF services. My first thought was…”why a wcf service should be different for silverlight”? The only difference is that with a silverlight [...]

kick it on DotNetKicks.com

Continue reading about WCF services and silverlight

DisposableAction pattern is one of the most useful I , I used it to manage transaction for a DataAccess helper. I begin a transaction with DataAccess.BeginTransaction() that returns an IDisposable object that automatically dispose the tranasction. Here is an example of a typical use using (DataAccess.BeginTransaction()) { //Do whatever query you want with DataAccess DataAccess.CommitTransaction(); [...]

kick it on DotNetKicks.com

Continue reading about detecting if finally block is executing for an manhandled exception