Saturday, November 14, 2009

.Net Framework 4 Client Profile

WHAT IS IT:
It is a subset of .net assemblies that ‘most’ of the .net applications will require which is designed to decrease installation package size, installation time and thus overall deployment experience.
Full .net framework package should be used only by pure server applications like ASP.NET apps, WCF services, by developers who will be compiling applications (msbuild is not included in Client Profile), and by applications that are using features that are not included into Client Profile. Mainly it’s aiming development machines and web/application servers.


CHANGES COMPARING TO 3.5:
Deployment changes:

  • Installation package is currently ~30Mb and should be less by RTM.
  • Unlike .Net Framework 3.5 Client Profile it is targeting any OS version.
  • It might be redistributed via Windows Update in future. (it would be interesting to see statistics like this for example in Google Analytics but unfortunately only IE is sending installed CLR versions in user-agent string)
  • Speech assemblies are included in client profile starting from .Net Framework Beta 2. Cool! I’m using it J



FURTHER READING:
Deep dive into .Net Framework 4 Client profile:

Regards,
Oleh

Thursday, November 12, 2009

WebResource.axd empty or corrupted when Httpresponse.Filter is modified

I had a problem with WebResource.axd file that was send to client either empty or corrupted. It was a major problem as I was missing auto generated code for client callbacks.
My problem was in an old piece of code modifying HttpResponse.Filter that was updating every page body before transmission to client.


Here you can find workaround for the problem.


Hope this helps someone.
Regards,
Oleh

Saturday, November 07, 2009

Application.Restart in WPF

WPF does not provide Application.Restart() functionality like Windows.Forms does.
What is the best way to restart WPF application?


            Process.Start(Assembly.GetEntryAssembly().Location);
            Application.Current.Shutdown();


Regards,
Oleh

Thursday, November 05, 2009

Create wait gif with ajaxload

Ajaxload.info - nice and simple web page to create free animated 'progress pending' gifs:

  • A lot of types.
  • Adjustable forecolor.
  • Adjustable background color.
Regards,
Oleh

Tuesday, October 20, 2009

VS 2010 Beta 2



VS 2010 and .NET Framework 4.0 Beta 2 have been released. It's available to download for MSDN Subscribers immediately. Others should be able to download it starting from Wednesday, October 21 as it was announced.
  • Official product launch: March 22, 2010
  • Product line consists of 4 options:
    • VS Express: Web, C#, VB, C++
    • VS Professional with MSDN
    • VS Premium with MSDN
    • VS Ultimate with MSDN
  • Beta 2 has side by side support with VS 2008
  • Beta 2 has Go-Live license
Read official announcement here. Another one by Scott Guthrie


Regards,
Oleh

Saturday, October 10, 2009