What’s new in ASP.NET 4.5 - Performance improvements

by Dmitry Kirsanov 29. November 2011 19:40

A long time ago, when dinosaurs were still operational,  we tried to improve performance of our HTML / CGI pages by various ways, but also having different goals for such improvements.

In the dawn of web, when U.S. Robotics 14.4kbps modem was a de-facto standard and traffic compression wasn’t widely implemented by ISP call centers, our biggest concern was the size of our files. I wouldn’t say “output”, as it was mainly static, but even when it was dynamic, like the output from CGI modules written in Visual Basic 4 or 5, it was paramount that users would not wait more than 2 seconds to get the HTML part of it.

Now even mobile phones are having unlimited data plans, home connections reach 100 Mbit/s heights and in order to decrease the size of the output we just have to tick a checkbox in IIS, so the output – be it static or dynamic, is compressed. So the era of “HTML optimizers” – tools that remove extra spaces and “unneeded” tags from your markup, is over.

Another thing that helped us to avoid traffic jams, was Ajax. It killed 2 rabbits with a single shot – decreased the traffic flow by only up/down loading the data our application needs at this time, and thus increased the response time. But this came at a cost.

Each small callback made by Ajax is no different than ordinary callback, except that it transfer smaller amount of data. But it’s a connection nevertheless. Even if keep-alive is used by browser, it still consumes a connection from server and still there are protocol issues involved. More...

Two words about employment

by Dmitry Kirsanov 28. November 2011 03:12

It appears like in some things Chinese have more sense than the rest of the world. According to the article, they are going to cancel majors (i.e. higher education programs) which don’t lead to employment. They are going to analyze the stats of employment for those, who finished their majors and how lucky they are to land a job. So, if you are teaching Turbo Pascal and call it “Computer Science”, your days are numbered. If you teach it in China, of course.

I wish the same would be implemented in EU. During my career I found out one thing – an IT specialist with higher education is less preferable than the one without it. The reason is simple – higher education in Eastern Europe works just like in “Profession” – novel by Isaac Asimov. Dumb memorizing of irrelevant data which won’t do any good for business. They are not taught creativity and open-mind behavior.

Besides, the situation with employment becomes so interesting for those mentally challenged IT administrators, that some of them become very… I almost said “creative”… In finding a new job opportunity.

According to Security Week, a 26 year-old Hungarian male called Attila Nemeth hacked into the network of American hotel network Marriot through some dumb social engineering technique, and then… Tried to extort the employment opportunity at that company, at his terms. And as if it wasn’t stupid enough, he sent them a copy of his passport, and used plane ticket paid by Marriot to come for his job interview. After he was “interviewed” by Secret Service “HR personnel”, he’s about to be employed by one of American prisons for next 15 years and during that time he will have to pay up to $ 1 million to Marriot.

This makes me think, that Hungary has problems with two things, and one of them is employment.

Talking about employment and HR, a new research shows, that there is a direct relation between intellect and the sense of humor. Apparently, the sense of mirth is a reward given by brain when you discover the logical error in statement. According to my own experience and opinion, research results looks valid and natural. Bad news for people with undeveloped sense of humor.

And one ring to rule them all

by Dmitry Kirsanov 27. November 2011 13:08

As discussed previously, there is a noticeable trend in casual IT these days – cut spending on IT infrastructure management as much as possible. Companies are using all chances to eliminate the “human factor” from systems administration, and while it’s scary for incompetent administrators, it adds to the innovation factor of modern IT management offering.

So it’s quite controversial trend. But trends of that kind are very natural for innovation. Let’s see what it’s all about.

There are two questions, depending from who you are – either CEO or IT professional. If you manage the company, any company, then the question is – how much your IT infrastructure costs, and how much – the IT department?

By IT infrastructure I mean all the computer devices you are using in your business, your internet connection and costs of ownership. The IT department, on the other hands, are people and servers used to make the rest of the company operational.

Depending from your personal qualities, chances are that as CEO you dream about getting rid of all the IT guys, as usually keeping own system administrator looks like having own telecommunications specialist just because you own a bunch of phones.

The trend these days is to fulfil that dream. To create service which would substitute your entire IT department without your employees noticing any change. Imagine, that you give up all your expensive servers, all your expensive IT administrators and their rooms, by simply signing up for online service for a fraction of previous monthly expenses of your IT department.

If you are system administrator, on the other hands, then perhaps you think that it’s hard to replace you and your knowledge, so the question for you is simple – what do you know?

What if that service will care about antivirus, updates, backups, software deployment, license management, asset management, various policies and would provide users with answers to all their questions and arrange local company to fix hardware problems at the best price and speed? What would you do against the power of totally automated workflow system, backed up by top IT professionals somewhere in the middle of nowhere?

One of the first birds of the trend is system called Microsoft Intune. You probably know their Windows Small Business Server (SBS) – the Windows Server for poor, available since 2003 and now it’s Small Business Server 2008. The difference between normal Windows Server and SBS is that you don’t have to be a professional Windows System Administrator to operate it. Wizards replaced the command line tools (literally, replaced – some tools are simply not available), you can do anything using your mouse. Also, it comes together with Exchange, which is installed and managed automatically. If you have a decent server hardware – it will everything you need to power a company with up to 500 workstations. Still, you would need to have an IT guy who would take care about stuff.

Well, the reason why I mentioned SBS is that Microsoft Intune is a natural enhancement to SBS offer, but now you can go to the web page and manage your environment without all that Computer Science – everything through one nice looking Silverlight powered web page. And it allows you to do most of the stuff I mentioned before, allowing your CEO to fire half of your IT department.

But you know how it works – someone should provide a platform, and others will build their offers on it. That’s true for just about every product of Microsoft – the network of partners doesn’t fail. So expect Intune to become a platform to something more dramatic, as well as inspiration for copycats. Most likely we’ll see similar solutions from Citrix, VMWare or whoever else. And this will end the system administrator career as we know it.

So, CEOs should enjoy the new offering and take a waiting stance, while still employed system administrators should plan their training – if what you do can be covered by some cloud offering, your next and last assignment will be to implement it in your company.

I will publish video presentation of Windows Intune soon, so you will see what I am talking about.

Updating currency exchange rates in Microsoft Dynamics CRM 2011

by Dmitry Kirsanov 22. November 2011 08:36

As promised earlier, I’ve created a small utility which updates currency exchange rates for currencies used by Microsoft Dynamics CRM 2011 server. It’s fast, reliable and can be run in unattended mode, so you can set it once and forget about it.

A bit about Microsoft Dynamics CRM first

Microsoft Dynamics CRM 2011 is the most advanced CRM system created so far. It allows you to keep track on your customers, partners and rivals and monitor relations in real time. So you can create marketing campaign for all your customers in Denmark with turnover higher than 200 000 euro and who’s main industry is Finance. And send them personalized proposal. And each of that customers will reply to manager, assigned to that customer. And you will track the success of that action in real time, being able to test your genius as CEO. Well, not only that. More...

Team Foundation Server 2010 for Developers - part 1

by Dmitry Kirsanov 21. November 2011 02:50

As I finished the series of presentations for Quality Assurance specialists on Team Foundation Server 2010 Test Manager, it was obvious to continue with TFS and now do it for the biggest audience of it’s users – for .NET developers.

Microsoft Visual Studio is the most advanced RAD platform made so far. We could argue about the languages and platforms, like .NET vs. J2EE or ASP.NET vs. Ruby, but one thing is for sure – when you are software developer, no matter what language you are using, the Visual Studio is the most advanced and friendly platform  for any level.

Saying that, Microsoft Visual Studio Team Foundation Server 2010 (that’s the official name of the product) is a very advanced and sophisticated part of Visual Studio, arguably the most advanced product Microsoft created, apart from operating systems.

Systems administrators having hard hours installing it, developers spend hours learning it’s concepts, but then it starts working and software development becomes a pleasant and highly productive process.

Once you’ve started working with TFS, you can’t imagine working without it on any more or less complex team project. It takes the burden of source and version control, the whole agile workflow, sophisticated automated testing, control over policies and a lot more.  That’s definitely a product which costs every penny of it’s price.

All right, enough praises. You should make your own conclusions and for that you should see it in action. While the previous demonstration for QA specialists was convincing enough to use TFS as the platform for automated testing and main environment for testers, now we are going to talk about the main, biggest and greatest part of Team Foundation Server 2010 – the one meant for software developers.

In this first demonstration we are exploring the source control, but as everything is linked in TFS, we also touch working with code and some best practices. In the next part we will explore the source control deeper, before moving further to more complex and wonderful parts of Team Foundation Server 2010.

Team Foundation Server for Software Developers part 1

Introduction to scripting for systems administrators - Windows Scripting Host, part 1

by Dmitry Kirsanov 20. November 2011 08:42

Some time ago, which seems like yesterday, I made an attempt to introduce Windows Systems Administrators to PowerShell. Even before doing that, I realized that professional Windows scripting is still impossible without using of VBScript, or Visual Basic Scripting Edition. And teaching someone PowerShell without at least showing the main concepts of VBScript is not right.

While I am trying to show the work with VBScript from more like practical point of view, I am also not trying to substitute the training course on the subject, so if VBScript or Windows Scripting in general is about to become your main responsibility at your company, please get yourself a reference on it, preferably something as good as VBScript bible.

However, we’ll get closer to VBScript during later sessions and cover even so exotic topics as using VBScript custom actions in Microsoft Installer packages (MSI).

Introduction to scripting for systems administrators - Windows Scripting Host, part 1

This is about self-esteem

by Dmitry Kirsanov 19. November 2011 21:37

“People create their own questions because they are afraid to look straight. All you have to do is look straight and you see the road, and when you see it, don’t sit looking at it – walk!” (Ayn Rand)

One of the most favorite questions asked by all sorts of people (usually – for the sake of asking the question) is what is the most valuable quality of [name the profession]. That is – what do you have to do in order to reach new heights, become a better specialist or succeed in something.

I already had a chance to speak about how to learn more and become more creative, and that topic needs the follow up, but getting the quality of self-esteem wasn’t really discussed. It’s not a psychological trick, not something to put into your checklist or include into the training course – self-esteem is one of the top qualities that makes you a human being. But unlike some others, it can be acquired.

It’s close to impossible to describe everything in one post, I’ll just try to put it as short and informative as possible. More...

Introduction to scripting for Systems Administrators - PowerShell

by Dmitry Kirsanov 19. November 2011 21:28

There was a time, when IT specialists were mainly either systems administrators or developers. There was a time, when being Database Administrator would also mean having perfect knowledge of SQL. New generation of IT specialists don’t remember that time, and that only because technology evolved so greatly, it is considerably harder to possess the whole range of features offered by a monster product such as SQL Server 2008.

But this post is not about databases at all. It’s about how we can manage the growing complexities of enormous range of technologies that we have to use in business. More...

Changing base currency in Microsoft Dynamics CRM 2011

by Dmitry Kirsanov 18. November 2011 01:18

DynamicsCRM2011_logoAccording to Microsoft, you are not able to change your base currency in Microsoft Dynamics CRM 2011, the same as it wasn’t possible in version CRM 4.

However, that’s not true.

Imagine, that during the installation of Microsoft Dynamics CRM 2011 server, you’ve set your currency to EEK (Estonian Krona). However, then your country adopted Euro and there is no EEK anymore. According to Microsoft, you have to delete your organization and export it’s data to new one.

It is considered a big no-no to hack into the CRM database, yet in order to change the base currency you will have to do it. Here is how:
More...

Windows 8 Classic Start Menu

by Dmitry Kirsanov 14. November 2011 21:35

This one will be quite short.

Windows 8 comes with new tablet-oriented Metro graphical user interface. However, just like in previous versions of Windows, there is the possibility to revert to alternative start menu. In Vista and Windows 7 we had ability to switch back to Windows XP style of menu, now we have ability to switch back to Windows 7 style.

In order to do that, you need to switch one key in Windows registry, which is HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\RPEnabled . This video shows how to do that:

Windows 8 Classic Start Menu

Previously we’ve discussed how to run Windows 8 on VMWare and what are the most interesting changes in Windows GUI for end-users.


Month List