How to disable Progress bar’s animation in .NET

The Windows Forms progress bar control comes with re-draw bar function by default, you will see the drawing process from left to right when you have one or multiple progress bar controls on your screen.

So how to disable the animation since in some cases we do not want to see the re-drawing.

There is no a good solution for it. But there is a simple way to resolve the issue, but just looked wired.

Just put the following code, and then you set the value to progress bar, the animation will gone ! Because the progress bar has a wired feature: when you set a value to it, and –1 right away, the animation will be disappear!

this.progressBar1.Maximum = 101;  
this.progressBar1.Value = 101;
this.progressBar1.Maximum = 100;

ASP.NET Cross-Platform Solutions

ASP.NET applications mainly focused on Windows platform with using IIS web server which installed on Windows platform; However, we want ASP.NET applications to support different platforms such as Windows, Linux and Mac OSX.

We known Mono project already, Mono is the most popular solution which supports ASP.NET application to run Linux and OSX. However, Technology is changing time by time. Let us find more solutions here.

Continue reading

ASP.NET vNext vs ASP.NET 5

ASP.NET 5 is just ASP.NET vNext, ASP.NET formally called ASP.NET vNext.

ASP.NET 5 is a significant redesign of ASP.NET.

ASP.NET 5 is a new open-source and cross-platform framework for building modern cloud-based Web applications using .NET. We built it from the ground up to provide an optimized development framework for apps that are either deployed to the cloud or run on-premises…… You can develop and run your ASP.NET 5 applications cross-platform on Windows, Mac and Linux.

Above content was from here.

WCF is Open Source now

Microsoft announced they open sourced WCF which targets .NET core yesterday.

The main target of opening WCF is for supporting cross platforms, because it is the main target of .NET core also.

Currently the opened WCF project on GitHub is a subset of the full WCF product, this is because due to the .NET Core plan.

WPF: Microsoft is still Investing on It (2015 March)

2015 DontnetConf just passed, .NET developers got many existing news from .NET team and community. WPF is the one.

In last year, Nov 12, WPF team announced a new Roadmap for WPF. but there were not enough and details information.

But on the 2015 dontnetConf, we got more information, Microsoft will definitely continue to support WPF, and, they announce they will have the following areas of investment.

Continue reading

Install Mono on Ubuntu

My testing Ubuntu is Ubuntu 14.04 LTS edition.

1: Add the Mono Project GPG signing key and package repository Ubuntu system:

sudo apt-key adv –keyserver –recv-keys 3FA7E0328081BFF6A14DA29AA6A19B38D3D831EF

echo “deb wheezy main” | sudo tee /etc/apt/sources.list.d/mono-xamarin.list

sudo apt-get update

Continue reading