Mahesh 的个人资料▒▒╰☆╮Mahesh kumar R {Yes...照片日志列表 工具 帮助

▒▒╰☆╮Mahesh kumar R {Yes2Dotnet} ╰☆╮▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒

╰☆╮ÇÿbérìäFréåK ╰☆╮╰☆╮☆MS Blogstar of the year 2006 ☆☆☆☆☆

MS App Architecture Guide, 2nd Edition - download

Microsoft Application Architecture Guide, 2nd Edition - free download **
The guide helps you to:
  • Understand the underlying architecture and design principles and patterns for developing successful solutions on the Microsoft platform and the .NET Framework.
  • Identify appropriate strategies and design patterns that will help you design your solution's layers, components, and services.
  • Identify and address the key engineering decision points for your solution.
  • Identify and address the key quality attributes and crosscutting concerns for your solution.
  • Create a candidate baseline architecture for your solution.
  • Choose the right technologies for your solution.
  • Identify patterns & practices solution assets and further guidance that will help you to implement your solution.
File : Application Architecture Guide v2.pdf & Date Published: 11/20/2009 

How to hide your personal folders easily !!

This is very old technic, but comes handy when you share your personal/office systems in short notice.
Try this in cmd prompt,
      To hide, e:/>attrib +h +s +r <foldername>
      To revert e:/>attrib -h -s -r <foldername>
Note : i) it will be still hidden even if you set 'show all hidden files' under folder options and also using advanced searches too. But you've to keep note of your folder name to revert back ;)

patterns & practices -Application Architecture Book

Contents at a Glance 
The full 
Microsoft Application Architecture Guide is available for free on MSDN in HTML.  This is the contents of the guide at a glance:

Chapters

via - http://blogs.msdn.com/jmeier/archive/2009/11/05/now-available-patterns-practices-application-architecture-book.aspx

WPF Binding CheatSheet version 1.1

WPF Binding CheatSheet version 1.1 download here @ http://www.nbdtech.com/Free/WpfBinding.pdf
(via) Rakesh's tweets

I was there @ David's Azure World Tour 2009, Blr

Yes I made it finally after a long gap myself attending MS event in Bangalore. It was a great learning to be part of "David" session on Azure world tour.
Session 1: Win Azure platform :  A perspective by David Chappell
Session 2: Using Win Azure platform : Scenarios by David Chappell
He is a cloud computing rock star and great speaker who knows in and out of Cloud computing at the moment.
The comparison was amazing and he did his part without biased on MS. He talked about offerings of Amazon, Google, Salesforce, MS etc in a simple and understandable way with neat slides.
Few things which I've scribbled and would like to share.
  + W.Azure - Provides a Win-based environment for running applications and storing data on servers in Microsoft data centers. ( platform as service, as of now no VNC like Amazon). It’s a platform for running Windows applications and storing their data in the cloud.  Web Roles and Worker Roles and how-to use them.
3 types - Blobs, Queues, Tables. Worker role instance isn’t allowed to have any incoming network connections. It receives its input only from a Web role instance. Instances communicate via the Windows Azure Fabric or the Windows Azure Storage. Web role instances communicate via HTTP with external entities, like a Web browser, for instance. Just a Web server running on multiple machines, upload your sln and config files, rest it will do the scaling etc.
  + Microsoft .NET Services - Offers distributed infrastructure services to cloud-based and local applications. ( Naming is bit confusing one, but the same regular stuff )
  + MS SQL Services - Provides data services in the cloud based on SQL Server.  
Sesson 3 & 4: Windows Azure : Serendipity, product demo  by Sudhir Mody, IndigoArchitects.com
He gave a neat description about Azure real time implementation and hands on code, deployment etc. He has already spoke about this in Teched 2009, Here is those slides for ref. http://www.slideshare.net/rsnarayanan/web-20-futures
Few links to read further :
http://www.microsoft.com/downloads/details.aspx?familyid=2A8E06D9-188D-4EC8-BA2D-D3DEB96FC06D&displaylang=en
www.azure.com, http://download.microsoft.com/download/e/4/3/e43bb484-3b52-4fa8-a9f9-ec60a32954bc/Azure_Services_Platform.docx
www.davidchappell.com

As a free handout, MS provided VPC image in a DVD to practice Azure programming, I've got an extra DVD with me, ping me if you want one. The virtual machine contains the following software pre-installed and configured,
           Windows 7 Release candidate, Visual Web Developer 2008 Express Edition SP1
           Visual C# 2008 Express Edition SP1, SQL Server 2008 Express Edition SP1 (Instance Name .\SQLExpress)
           Windows Azure SDK v1.0, Windows Azure Tools for Visual Studio 2008 1.0
Note: Unfortunately the VPC is not getting booted in my desktop for some reason, still trying to fix but no use. Will check in Laptop and see...by the way..just dropped a mail to Rajinish Menon, MS regarding this. Let me know if anyone faces the same issue with that VPC copy provided.

Disk2vhd v1.0 - Oct 7, 2009 ( VHD creater )

+ Utility creates VHD (Virtual Hard Disk - Microsoft’s Virtual Machine disk format) versions of physical disks for use in Microsoft Virtual PC or Microsoft Hyper-V virtual machines (VMs).
+ Has user interface lists the volumes present on the system
+ Helps to create VHD which we can easily attach under VPC for the host OS.


Visual Studio 2010 and .NET Framework 4 Training Kit

Visual Studio 2010 and .NET Framework 4 Training Kit The Visual Studio 2010 and .NET Framework 4 Training Kit includes presentations, hands-on labs, and demos. This content is designed to help you learn how to utilize the Visual Studio 2010 features and a variety of framework technologies including:C# 4.0
Visual Basic 10
F#
Parallel Extensions
Windows Communication Foundation
Windows Workflow
Windows Presentation Foundation
ASP.NET 4
Entity Framework
ADO.NET Data Services
Managed Extensibility Framework
Visual Studio Team System
This version of the Training Kit works with Visual Studio 2010 Beta 1 and .NET Framework 4 Beta 1

Operation must use an updateable query

Problem: If you have .MDB file as your data store for your ASP.NET (assuming hosted under IIS). It will work in your local machine (all CRUD operations) but when you try to access your site from external system which performs update/insert operation, it will throw exception.

Reason : ASP.NET account requires security permission to do CRUD operation on MDB files.

Solution : Add ASP.NET account as a part of Admin user / equivalent to admin user, then assign ASP.NET account to the required site.

  1

Cloud Computing delivery and deployment models

3 Delivery models of Cloud Computing,
        1) SaaS ->Cloud Software as a Service->Customers rent software hosted by the vendor
        2) PaaS ->Cloud Platform as a Service->Customers rent infra and programming tools hosted by the vendor to create their own applications
        3) IaaS  ->Cloud Infrastructure as a Service->Customers rent processing, storage,networking and other fundamental computing resources for all purposes

4 Possible deployment models:
         1) Private cloud-> Owned or leased by a single organization & operated solely for that organization.
         2) Public cloud -> Owned by an organization selling cloud services to the general public or to a large industry group.
         3) Community cloud -> Shared by several organizations and supports a specific community that has shared concerns 
         4) Hybrid cloud -> Composition of two or more clouds (internal, community, or public)

Virtual Labs - Try Azure Services

Test drive Azure Services Platform solutions in a virtual lab and see how you can quickly and easily develop applications running in the cloud by using your existing skills with the Microsoft Visual Studio development environment and the Microsoft .NET Framework. 

Virtual labs are simple, with no complex setup or installation required.http://msdn.microsoft.com/hi-in/dd540819(en-us).aspx

Want to see something interesting in SilverLight ?

Really amazed to see this link - http://www.windows4all.com [ a super cool! Silverlight Web-Based Windows OS !!] kudos to the brain behind this site & scott for his tweet.

via (http://twitter.com/scottgu)

All about Model View ViewModel (MVVM) ? - Points to Note

* Its an architectural pattern used in software engineering that originated from Microsoft
* targeted at modern UI development platforms (WPF and SL)
* View-Model is responsible for exposing the data objects from the Model in such a way that those objects are easily managed and consumed. In this respect, the View-Model is more Model than View, and handles most if not all of the View’s display logic 
* Pattern is designed to support WPF and Silverlight

Elements of the MVVM pattern include:
   (1) Model as in the classic MVC pattern, the model refers to the data access layer representing the real state content.
   (2) View as in the classic MVC pattern, the view refers to all elements displayed by the GUI such as buttons, windows, graphics, and other controls.

   (3) ViewModel: the ViewModel is a “Model of the View” meaning it is an abstraction of the View that also serves in data binding between the View and the Model. It could be seen as a specialized aspect of what would be a Controller (in the MVC pattern) that acts as a data binder/converter that changes Model information into View information and passes commands from the View into the Model. The ViewModel exposes public properties, commands, and abstractions. The ViewModel has been likened to a conceptual state of the data as opposed to the real state of the data in the Model.
src(wikipedia)

Azure™ Developer Challenge - Contest entries & Result

These days I'm glued very much to cloud computing via twitter(#surprisedcloud), janakiramm.net/blog/, RSS updates, infosys microsoft blog etc. In addition to this, here is the much awaited contest result out for new CloudApp() - Read from here - http://www.newcloudapp.com/ Personally I like MyImpulsive & radio, infacted voted for this two. 
Interesting part is, my current employer-sapient also appeared for this - http://sapientlabs.cloudapp.net/ 
Cloud computing is really rocks and looking forward !

From TechEd 2009 Notes : C# 3.0 Feature explained

Auto-implemented property is the new feature in C# 3.0 and useful one. Here is the code which i tried to explain in easy way. Read more from MSDN here

15

Change is the only constant !! - Back to blogging

Yeah, I've changed my job. Left Sobha Renaissance Information Tech, after spending 3 Years 8 months of fruitful experience and joined with Sapient this Monday. Its been two months since there was no posting in my blog due to various reasons. I would like to break the ice and come back to bloggin. wish me a good luck and lets go ahead !

Why I should not use DataTable.Select() for larger set of records

Reason : Performance degrade
How      : Select() takes arbitary criteria, returns an array of DataRows (Row Collection).  It has to walk thru the entire table and compare every record to the criteria that you passed in. It is
considered worst method to use for large set of records.

So here is the alternative,
1) DataTable.Rows.Find if you look for single row...
2) Indexing the DataTable..but need to build Index in .NET Code as well.
3) LINQ - recommended
4) Morphing the DataTable into a generic collection like Dictionary(Of String, String) to hold the same data as the DataTable.

Src : Scaling ADO.NET DataTables and Best Practices for Using ADO.NET

Cannot load file..another DLL Hell

I got Visual Web Dev Express 2008 for my day job ( Angry because it is free know ), when I tried to create a connection through SQL Datasource or Entity Model or LINQ or any means through editor, I get the below error saying, but no clue..but luckily google saved my time.

"Could not load file or assembly 'Microsoft.SqlServer.Management.Sdk.Sfc, Version=10.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91' or one of its dependencies. The system cannot find the file specified."

The quick fix is, download the below 3 setup and install to get rid of this error.

            Microsoft SQL Server System CLR Types
            Microsoft SQL Server 2008 Management Objects
            Microsoft SQL Server 2008 Native Client

Download -http://www.microsoft.com/downloads/details.aspx?FamilyId=C6C3E9EF-BA29-4A43-8D69-A2BED18FE73C&displaylang=en#filelist

Microsoft TechEd 2009 Detail


Type of event : Paid event, 7125.00 Rs.
More detail @ www.msteched.in/

Architect contest @ http://www.virtualtechdays.com/toparchitect/

Updated : Steve Ballmer coming to the event and also Jam with Indian rock band Agnee..
Looking for Bdotnet member discount..any one from group lead listening..pls grant me discount if applicable as a member.. Nerd

Problem Statement for MS Architect Contest.

India Election Pedia – A DIGITAL MESH
Functions and Features of the system shall include the following:
 
  1. All authenticated users should be able to participate as Voters;
  2. All authenticated users should be able to mark themselves as candidates for a fee and market themselves as Candidates by uploading content onto the system. The content should be in various formats.
  3. All authenticated users should be able to sponsor someone else as Candidates.
  4. All authenticated users should be able to view Candidates’ information.
  5. All authenticated users should be able to view Reviews/Ratings of Candidates.
  6. All authenticated users should be able to start and fill Surveys.
  7. All authenticated users should be able to view Survey Results.
  8. All authenticated users should be able to compare and contrast Candidates based on all relevant information on the Candidate available on the system.
  9. All authenticated users should be able to interact with others as Candidates or Voters.
  10. All authenticated users should be able to view interactions between all.
  11. All authenticated users should be able to submit Candidate Ratings.
  12. All authenticated users should be able to submit comments for Candidates.
  13. All authenticated users should be able to search for anything and everything on the system.
  14. The system should provide a mechanism for other systems to access functionality and data of this system in an open fashion for a fee.
  15. The system should be accessible in a secure fashion by as many people as technically possible irrespective of location, language, ethnic background and technology.
  16. The system should be scalable, reliable, available, responsive, cost-effective as much as possible.
  17. The system should provide best possible User Experience across various devices.
  18. The system should be Microsoft Technology-based leveraging as many existing/upcoming (in the next year or so) Microsoft Technology assets as possible.
Src : http://www.virtualtechdays.com/toparchitect/problem_statement.aspx

Achieved MCTS in Web !!

Yes, this monday I've cleared 70-528 following 70-536 to get MCTS in Web Applications. I was planning this exam for the past 2 years, but every time i get some excuse. But this time I've decided to achieve it without delay. I manage to get decent score around 820 and 875 ( 700 is the pass mark, max 1000). I gave my exam in NIIT Prometric center, Residency road branch. { Note : NIIT dont have parking, Carry 2 original ID proof along with xerox copy }


Thanks to kalyan  for his blog on 10% gift voucher. Follow here to get one - http://kaliyans.spaces.live.com/blog/cns!96AD32C97E4483A0!712.entry
On total I saved 10$ (5$ for each exam). Really matters during this testing time...Smile Looking forward to solve the ongoing contest from MS and also TechEd 2009.

Not able to install Windows XP in Vista's Pre-loaded machine !!

Friend of mine bought a new laptop with Vista Ultimate by default(OEM Version). He had a problem in activation and not able to log inBaring teeth. He was neither able to format nor install XP Angry. I too tried couple of times with bootup CD, the installation crashed with blue screen. On closer lookup, I came to know that there was problem with BIOS Settings . It was intially set to "AHCI", I've changed to "IDE" to support Windows XP, then it started installing well and good.

Read more from Wikipedia source and MS error report

Microsoft Expression Web SuperPreview - for IE Web Test

This is for Web developers (ASP.NET) who work for cross browser supportBaring teeth. Currently I'm into web development for a client and breaking my head to fix this cross browser issue. In another project, the client is asking for beta browser like IE 8 and Chrome support. In ASP.NET, menus are tougher to fix. Apart from this, if you have coded any DOM manipulation in Java script code, it is not easy to get/set values to tree/list controls/grid.

An easy solution for this is to identify browser type then bunch of code for each browser compatible DOM manipulation(Javascript). Its really time consuming and takes time to test it. This kind of approach boggles me and am not confident at all. But I highly recommend to take care of cross browser support from the prototype development stage itself.

Here is the news from MS regarding Web SuperPreview for IE  (its a visual debugging tool that makes it easier to migrate our Web sites from IE 6 to IE 7 or 8 ), but it would be better if they extend this support to test other browsers also..Currently few of my applications are working smoothly in IE 6 and above..but not sure about IE 8. I'll post about the pros and cons after checking this too...

jQuery to my project !!

Currently i'm involved in designing a complete web application all alone and learning a lot these days. Doing a lot of POC and observing the best available things to the current Project. In this, jQuery is my latest crush,i knew JQuery for the past one year after Scott announcement but i never had a change to work for client project. Here is my first POC for no bie's.. jQuery is a fast, lightweight JS library that is CSS3 compliant and supports many browsers. The jQuery framework is extensible and very nicely handles DOM manipulations, CSS, AJAX, Events and Animations. Complete list of download available here.JQuery is not a JS replacement, but its a library written using JavaScript.
1) Download from here
2) Add as reference.


 In aspx file.. 

$(document).ready(function() {
    // Add the page method call as an onclick handler for the div.
    $("#buttonn").click(function() {
        $.ajax({
            type: "POST",
            url: "MyJQuery.aspx/Samplemethod",
            data: "{}",
            contentType: "application/json; charset=utf-8",
            dataType: "json",
            success: function(msg) {
                $("#Mydiv").text(msg.d);
            }
        });
    });
});

<body>
    <form id="form1" runat="server">
    <div id="Mydiv">
    </div>
    <input id="Text1" type="text" />
    <input id="buttonn" type="button" value="button" />
    </form>
</body>
</html>
 In Code behind..
[System.Web.Services.WebMethod]
        public static string Samplemethod()
        {
            return DateTime.Now.ToString();
        }
You could see, the page gets the latest date and time easily...
 

Kumar.R Mahesh

职业
地点
兴趣
View Mahesh Kumar R's profile on LinkedIn
第 1 张,共 3 张