Posted by Vakul Kumar More on October 22, 2009
Me being an ardent fan of Microsoft and its new Operating System Win 7 hoping that its first operating system in three years, Windows 7, makes a big splash, starting with its official launch Thursday 22nd October,2009.
To follow the event in New York, and you can watch CEO Steve Ballmer’s keynote at the streaming video here.
Posted in General | Leave a Comment »
Posted by Vakul Kumar More on August 17, 2009
MSDN Magazine is the publication to read for up-to-the-minute, comprehensive coverage of Microsoft technologies, whether you’re building applications for desktop, the Web, the cloud, or mobile devices. MSDN Magazine connects you with industry leading authors, to provide practical solutions to real-world problems.
All the CHM version of magazines from 2003-present edition can be found at
http://msdn.microsoft.com/en-us/magazine/cc159440.aspx
Even the code can be downloaded.
After downloading the magazine….
To view the content of chm file, click to clear the Always ask before opening this file check box, and then click Open.
Or, right-click the file, click Properties, and then on the General tab click Unblock.
Thanks Microsoft !!!
Posted in ASP.NET | Tagged: MSDN, MSDN MAGAZINE, Vakul, Vakul Kumar, Vakul Kumar More | Leave a Comment »
Posted by Vakul Kumar More on August 16, 2009
Recently, we tried to test our site in IE8 and found all the styles in the page are not applied properly.We know that we can’t always get a cross-browser result, but that’s mostly because IE6 blows. However, if we write standards-based code, test it in a browser like Firefox that has pretty good standards support, and then make minor tweaks for the broken browsers, the development process is much easier.
After some research, we found that during the IE7 beta concerned sites that looked fine in IE6 but looked bad in IE7. The reason was that the sites had worked around IE6 issues with content that – when viewed with IE7’s improved Standards mode – looked bad.
Now, when a site hands IE8 content and asks for Standards mode, that content would expect IE7’s Standards mode and not appear or function correctly. This creates a “get ready” call to action for site owners to ensure their content will continue to display seamlessly in IE8.
EmulateIE7 tells IE8 to display standards DOCTYPEs in IE7 Standards mode, and Quirks DOCTYPEs in Quirks mode. We believe this will be the preferred IE7 compatibility mode for most cases.
- On a per-page basis, add a special HTML tag to each document, right after the <head> tag
<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" />
Using the IE=EmulateIE7 compatibility tag is a simple way for users to continue their current experience when browsing your site until you can update with more standards-compliant content. Although adding this tag will prevent most display issues, you may also need to update your site to properly detect IE8.
To my surprise, all the Microsoft sites have this tag implemented !!!
Posted in Technical | 2 Comments »
Posted by Vakul Kumar More on July 29, 2009
Dr Tobias Weltner has been involved with Windows scripting for many many years. He was very active in the VBScript and WMI communities and then an very early adopter of PowerShell. He is on of the PowerShell MVPs and the inventor of the amazing PowerShell Plus.
Tobias is making waves again by releasing a FREE PowerShell book “Mastering PowerShell”. This appears to be a very comprehensive book at 567 pages. Here is the TOC:
Chapters
1. The PowerShell Console
2. Interactive PowerShell
3. Variables
4. Arrays and Hashtables
5. The PowerShell Pipeline
6. Using Objects
7. Conditions
8. Loops
9. Functions
10. Scripts
11. Finding and Avoiding Errors
12. Command Discovery and Scriptblocks
13. Text and Regular Expressions
14. XML
15. The File System
16. The Registry
17. Processes, Services, Event Logs
18. Windows Management Instrumentation
19. User Management
20. Your Own Cmdlets and Extensions
Note that the book is focused on PowerShell V1.
Enjoy!
Posted in Technical | Leave a Comment »
Posted by Vakul Kumar More on July 29, 2009
When I got an out of memory exception in my early days of programming, I believed that there is no memory for the program or process to use.
Now, when I started using High end PCs with 4 gigabytes of RAM, I am facing the same problem.
I realize now that memory is not the case but the common language runtime(CLR) throws an OutOfMemoryException error if it cannot allocate physical memory or reserve sufficient virtual memory to fulfill allocation request.
I tried to understand two concepts before further going into the explanation, the operating system manages processes, and the operating system manages files on disk.
Each process can access as much as data storage it wants. It asks the operating system to create for it a certain amount of data storage, and the operating system does so.
I understand that even if we have 512 MB of memory of 8 GB when running a 32 bit operating system no one process is going to get more than 2GB of RAM.
Eric Lippert has written a blog post on “Out Of Memory” Does Not Refer to Physical Memory. Click here for the blog post.
Robert L. Bogue has written in more detail in his post , What does an OutOfMemoryException in .NET (on 32 bit) really mean? Click here for the post.
Happy Coding !!
Posted in Technical | Leave a Comment »