Recently I have been playing with Golang and I found that there few packages that do not work with windows. So for that most of people are using VirtualBox and then installing Linux on that But Actually, you don’t need to do that as now you already have windows Linux subsystem which provides you a complete Linux Environment in your windows environment itself.

To educate, this I have created a video for the same. You can find that video below.

Here in this video, You can see that I have installed Ubuntu Linux subsystem.

What is Linux Subsystem:

Windows Linux Subsystem is a compatibility layer developed by Microsoft and Linux distributions for running Linux Environment natively on Windows 10. It was introduced with the Anniversary update.

While developing a windows service using Linq-To-SQL i was in need of something that will intersect the two list and return a list with the result. After searching on net i have found three great use full operators in Linq Union,Except and Intersect. Here are explanation of each operator.

Union Operator: Union operator will combine elements of both entity and return result as third new entities.

Except Operator: Except operator will remove elements of first entities which elements are there in second entities and will return as third new entities.

Intersect Operator: As name suggest it will return common elements of both entities and return result as new entities.

Let’s take a simple console application as a example where i have used two string array and applied the three operator one by one and print the result using Console.Writeline. Here is the code for that.

For every enterprise level application the key to make that application success is the responsiveness of application. ASP.NET also offers great deal of the features for developing web based enterprise application but some times due to avoiding best practice to write application the performance of application performance of application is not so fast as it should be. Here are the some use full suggestion to make your application super fast.

Always set debug=”false” in web.config production environment.

Always set trace=”false” in web.config production environment

If you are using asp.net 2.0 or higher version then always use precompiled version of your code and also prefer web application project over website. If you are using website then always publish it and then upload that precompiled version of your site in production environment.

Always compile your project in Release Mode before uploading application to production environment.

Decrease your html kb as much as you can for that use tables less html using div’s and if possible then do not give big name to your control it will increase your html kb as asp.net uses client Id to differentiate all the controls. If you are creating custom controls then you can overwrite your clientid and uniqueId.

Use cache api as much as possible it will decrease your server roundtrip and boost application performance. ASP.NET 2.0 or higher version provides functionality called sqlcachedependancy for your database caching. It will validate cache with your database operation like insert,update and delete and if not possible with it then use the file base caching.

Remove blank spaces from your html it will increase your kb. You can use regular expression to remove white spaces. I will post the code for removing white spaces next posts.

For asp.net 2.0 and higher version use master pages. It will increase your performance.

Prefer database reader over dataset unless and until you have specific reason to use database.

Use ADO.NET asynchronous calls for ado.net methods. asp.net 2.0 or higher version is supporting your performance. If you are using same procedure or command multiple time then use ADO.NET Prepare command it will increase your performance.

Do IIS performance tuning as per your requirement.

Disable view state for your controls if possible. If you are using asp.net 2.0 or higher version then use asp.net control state instead of view state. Store view state in session or database by overriding the default methods for storing view state.

User Server.Transfer instead of response.redirect.

Always use inproc session state if possible.

Use Ajax for your application wisely. Lots of Ajax calls for a page will also decrease your performance.

Measure your application performance with tools like redgate profiler,firebug and whyslovw from yahoo.

User System.Text.StringBuilder for string concatenation its 4 times more faster then the normal strings.

Right JavaScript in .Js files and place it as bottom of the application.

The Microsoft code name “Acropolis” Community Technology Preview is a set of components and tools that make it easier for developers to build and manage modular, business focused, client .NET applications. Acropolis is part of the “.NET Client Futures” wave of releases, our preview of upcoming technologies for Windows client development.

Microsoft Announces new version ctp of Microsoft acropolis. For more details and downloadctp of MicrosoftAcropolis please visit following link:

Microsoft code name “Acropolis” Community Technology Preview 1 is a bundle of components and tools that make life easier for developers to build and manage modular, business focused, client .NET smart applications.

The primary goal of Windows Presentation Foundation (WPF) is to help developers create attractive and effective user interfaces. Learn how the WPF unified platform helps make designers active participants in creating user interfaces, and provides a common programming model for standalone and browser applications.

It is a great articles which describes all the aspects of WPF and also give glimpse on how user can developed smart application with Windows Presentation Foundation.

Just like the asp.net starter kits windows forms starter kits provide a very good way to learn windows forms programming. Those who are new to the windows forms programming by .net technology must have the windows forms start kits.