星期二, 九月 04, 2007

Analyzing Web 2.0 Applications with Ajax View

 
 

Sent to you by Hudong via Google Reader:

 
 

via MSDN Blogs by ieblog on Aug 24, 2007

Hi everyone,

In June I posted information about a number of developer tools, one of which was Ajax View. Ajax View, developed by Microsoft Research, can help improve a developer's visibility into their web application's performance and behavior. Recently, the researchers building Ajax View - Emre K c man and Ben Livshits - released a public version of the tool (licensed for academic or other non-commercial use) so I want to share a link and provide a little more information about it.

What can I do with it?

As shown in the demo from MIX07 and described in detail here, you can use Ajax View to profile a site's JavaScript from your dev machine. Ajax View includes a few default instrumentation policies for basic profiling (timing based on before and after a function call in the caller, timing based on before and after a function call in the callee, etc.) but you can create a plug-in to track the JavaScript you're interested in.

How does it work?

Ajax View is an HTTP proxy that instruments JavaScript as it's served to the client based on a set of rules defined by plug-ins. The download includes a plug-in that contains a commented sample instrumentation policy. This design has a couple important effects:

  • You can customize Ajax View to monitor exactly the JavaScript behavior you're looking for, whether it's about performance, or how people navigate through your site.
  • Using Ajax View does not require modification of either the page source or the browser.

Where do I download it and send feedback?

Visit the Ajax View project site to download the latest prototype and try it for yourself.

We'd love to get your feedback on the kind of instrumentation you'd find useful. Let us know what data about your web application's behavior would help you detect or debug problems. You can send feedback directly to the project team, or, as usual, comment on this post.

Thanks!

John Hrvatin
Program Manager
Internet Explorer


 
 

Things you can do from here:

 
 

Sharing enums across C# and C++

 
 

Sent to you by Hudong via Google Reader:

 
 

via MSDN Blogs by abhinaba on Aug 27, 2007

On an internal DL someone asked a question about how folks share enums between C++ and C# code when required (e.g. common error codes for a large project that use both native code and C#).

There was a very interesting answer given by one person. He simply asked why don't you define it in a .cs file and #include that file in your C++ code. I initially thought what the hell is he talking about and then it struck me that C++ and C# is not just similar but in some context they are exactly the same. Consider the following enum definition in a .cs files

// File Enum.cs
namespace
EnumShare { enum MyEnum { a = 1, b = 2, c = 3, }; }

This can be simply included in a C# project to be built normally. However, it can also be pulled into C++ code as follows

#include "..\EnumShare\Enum.cs"  using namespace EnumShare;  int Foo()
{ cout << a << endl;

}

Note that I could directly pull in the C# code because the syntax matches that of C++ :)

I thought that this was a rather interesting usage.


 
 

Things you can do from here:

 
 

Justifying the need for Composite Applications

 
 

Sent to you by Hudong via Google Reader:

 
 

via MSDN Blogs by mikewalker on Aug 27, 2007

I recently saw a post from Brandon Satrom as he was asking for feedback on his interpretation of composite applications and the value proposition to his organization. He is definitely on the right track, and not because he is using the guidance that I have been working on at Microsoft :). I will address the content of his post directly here with my opinions.

Brandon articulates the value of composite applications into five factors:

  1. The Cost of Building Applications
  2. The Problem with Processes
  3. The "Consumerization of IT"
  4. The Need for Agility
  5. The Desire for a Single User Experience

Assuming that these are not in order but rather a un-prioritized list of factors to consider going down the composite application route then I roughly agree with most of these.

But let's take a step back for a moment. Like all other complex subject matters there are varying opinions and definitions from smart people in the industry. I have been talking about this subject for about three or so years while at Microsoft and before. I have seen this definition grow and morph into a much more compressive and more importantly actionable concept.

So what are composite applications? Here are some definitions from the industry:

Gartner

Composite applications leverage the business application functionality that is exposed as Web services. The composite application is an abstraction layer on top of a service repository, which orchestrates a new business process and has its own user interface. A composite application may be a process template or a 'service'.

BEA Definition

Applications that are built by reusing logic from two or more existing applications to form a new application without having to start from scratch. A composite application consists of functionality drawn from several different sources within an SOA. The components may be individual Web services, selected functions from within other applications, or entire systems whose outputs have been packaged as Web services (often legacy systems).

IBM Definition

To be considered as a composite application, an application needs to comply with a certain architectural design, which is defined by a set of features. Even if it is not an exhaustive list, the following shows the main desirable features of a composite application:

  • Homogeneity to behave as a unique application to different heterogeneous applications or components
  • Flexibility to use service-oriented architecture (SOA) principles such as loosely-coupling and reusability
  • Intercommunication between components
  • Richer user experience to aggregate a variety of application types into a single client view
  • Security such as authentication, roles and data confidentiality
  • Transactional applications, which get the information from multiple sources
  • Reuse computing assets
  • A uniform and consistent graphical user interface
  • Composition of parts or components
  • Aggregates a variety of application types into a single client view
  • Provides anytime/anywhere access in a semi-connected environment. This is not a composite application feature but Lotus Expeditor enhances these capabilities

From a Microsoft perspective we have defined composite applications mostly at a micro level with the great work performed by my team on defining this more with OBA. From a macro level Chris Keyser wrote a great composite applications primer on this subject in the Architecture Journal a few issues back.

My opinion on Composite Applications is similar to IBM's and Gartner's combined. I think Gartner defines the concepts nicely but implies implementation details when they should be left out. What I like about IBM's definition is that they tell you the capabilities of a composite application.

I break a composite application down to the following four core requirements:

  1. Contain an autonomous business process. The goal of composite applications are to have a plug-able black-box applications. To do so, they must have explicit business process or functional boundaries.
  2. Must fit into a heterogeneous environment. Applications that can be implemented in various different ways, this should span multiple implementation types of the same technology and work within environments where the technology is diverse.
  3. Must have Built-In Interoperability. These applications should not have proprietary integration methods but rather have industry standard ways of interoperating with other systems.
  4. Compose in many different ways. Composite applications are self contained applications that can interact with other applications in the same environment similarly to web mash-ups (great article by Ray Ozzie) which are consumer composite applications are a great example of how composite applications have flexible and extensible UI functionality.

Below is a slide from my presentation from TechEd in Australia.

From a micro level I agree with Don Box's tenets of service oriented architectures. When you read these, they are not exclusive to Composite Applications but rather SOA as a whole. The key here is that composite applications provide a way to implement Service Oriented Architectures. It is important not to confuse the two. SOA provides the principles for building a service oriented <insert what you will here>. It could be at many various levels such as at the application, system, or enterprise level.

  1. Boundaries are explicit. Services must interact across service boundaries, but crossing service boundaries might be costly. Therefore, it is important to know your boundaries. Keep service surface areas small, avoid RPC interfaces, and avoid leaking implementation details outside a service boundary.
  2. Services are autonomous. Ideally, services should be stable, but business needs change frequently. The space between services changes more frequently than the service boundaries themselves. Avoid assumptions on the environment into which the services are deployed. Design, deploy, and manage services independently from one another. Communicate only through contract-driven messages and policies.
  3. Services share schema and contract, not class. Service consumers will rely upon a service's contract to invoke and interact with a service, and will insist that the contract remain stable over time. However, changing business needs will force change upon a service. Therefore, service interaction should be based solely upon a service's policies, schema, and contract-based behaviors. Ensure stability of services (public data, message-exchange patterns, policies). Form explicit contracts that are designed for extensibility. Version services when change occurs. Avoid blurring the line between public and private data representations.
  4. Service compatibility is determined based on policy. Services must be compatible with each other--not just structural compatibility (public data, message-exchange patterns), but also compatible with other semantic capabilities that are expressed through configurable capabilities and service levels. Operational requirements for service providers should be manifested in the form of machine-readable policy expressions.

Microsoft has taken Composite Applications to the next level with the re-usable building blocks and reference architectures released by many of the groups out there. Patterns and Practices on the Composite Application Block (CAB) then the Smart Client Factory and now Acropolis. This isn't to say that there isn't any thought leadership or examples of composite applications by other vendors. I get my paycheck from Uncle Bill so I will mention our technologies.

Taking my opinions on Composite Applications and contrasting them to Brandon's there are similarities.

The Need for Agility this is the top priority for IT organizations to stay relevant to the business. All the benefits the Brandon mentioned are spot on but I would expand them a bit. All of the reasons listed though were reacting to business needs. Agility is also about future strategy by allowing our architectures to proactively address future business challenges and drivers as well as reacting to current trends.

Agility often defined as the ability of a firm to sense and respond to business opportunities in order to stay innovative and competitive in a turbulent and quickly changing business environment. An agile firm (one that demonstrates agility) has the capabilities and processes to respond to unexpected environmental changes.

- Wikipedia

I really like the Wikipedia definition of agility. The definition clearly shows us the forward and current state thinking aspects of agility. I talk a bit about the future state in my sessions about composite applications. When we architect our solutions the technology, process and ultimate implementation of that solution will inevitability change. Composite application architectures allow us to build solutions with this needed flexibility.

The Desire for a Single an improved User Experience (UX), this one is an important one. Understanding that we are not talking about creating one reusable interface but rather an improved experience for the actual users of the solution. This coincides with creating agile architectures and not trying to prescribe to the business what we feel is a good interface but rather letting them. New trends both consumer (Web 2.0) and enterprise (Portal or Smart Clients) come and go. There are very few that have stand the test of time. So with that knowledge are architectures must adapt to change.

The "Consumerization of IT" is one of the possible results of User Experience aspects. The consumer technology solutions definitely have potential plays in the enterprise, especially the collaboration technologies which span consumer and enterprise.

The Problem with Processes. I think Brandon is on the right track here and I agree with what he talks about here. I would a few comments to further refine. Composite applications are able to leverage various types of workflows. Composite applications themselves do not improve the process directly. Workflow definition still involves a set of architecture decisions in a workflow engine. However, composite applications make a great choice for surfacing these workflows due to their service oriented nature.

Below is a slide I use often to describe the various levels of process. As you can see the technology choices to implement change. As architects we should pick technologies for their strengths. For example, we wouldn't want to use BizTalk for instant messaging and collaboration.

I wrote an article on MSDN called Architecting Enterprise Loan Workflows and Orchestrations in this article I talk about these concepts in detail using the Loan Origination RAP as a working example.

The Cost of Building Applications is a big challenge for IT. I would make this a bit more generic because it's not just about the cost of building but also the cost to:

  • Maintain - We are seeing from analysts such as Gartner that maintenance is accounting for 70% of the total IT time in enterprises. This is a staggering number when you contrast this to the 40% of new development in integration. So would it be safe to say that 17% of the time is really spent on new development?
  • Integrate and Interop - I would add interoperability here. Composite applications foster the notion of interoperability.
  • Enhance - The composite nature allows for easy additions to solutions when proprietary implementations inhibit this behavior.

With these factors we need to make sure the technology choices we make doesn't hamper IT or the business to create the right new applications instead. We want to build our solutions that it ensures future flexibility rather worrying about the legacy applications. Ideally this shouldn't be our primary concern.

The underling goal here is to Reduce the Cost of Technology Investments.

Overall Brandon did a great job justifying the need for composite applications. I hope this had helped and I would encourage you to provide feedback on my explanations as I didn't go into great detail on some of the topics. Additionally, refer back to the four basic requirements of a composite application as they show some clear benefits as well.

Tags:


 
 

Things you can do from here:

 
 

China - interesting opportunities!

 
 

Sent to you by Hudong via Google Reader:

 
 

via MSDN Blogs by Somasegar on Aug 27, 2007

Ni Hao!

I was in China a couple of weeks ago (Shanghai specifically) and had the opportunity to spend a day with our team there. It was very exciting to see the team coming into shape from scratch in just over a year and working on a breadth of initiatives and technologies for the products that we are working on in Developer Division.

I had a chance to see demos of some of the work that the team is doing - C++ support for the class designer, a set of VB controls, enhancements to our architect tools, etc. I also saw some of the early adopters that had built games, rich media advertisements and HD Video players using Express Blend, Visual Studio, Silverlight and Windows Presentation Foundation. This was the result of some good collaboration between our team, the Developer Platform Evangelism Team at Microsoft and our partners.

The other thing that was fascinating for me is the rapid increase in the number of developers in China - some estimates peg this increase at 13% annually. There are more than 300,000 EE/CS majors graduating in China per year and that is going to ensure a healthy increase in the developer community in China for the foreseeable future. With 162M internet users across China, it is second only to the US (211M internet users) and is becoming a huge adopter of technology. The opportunities are incredible in China - as a consumer market, as a potential customer base, as a large developer base, as a strong partner ecosystem and as a large talent pool.

My team in China has kindly volunteered to translate my blog in Chinese. As that starts happening, I will provide a link for those of you who want to read the Chinese version of my blog.

Namaste!


 
 

Things you can do from here:

 
 

The One About The Amazing Auto Woman

 
 

Sent to you by Hudong via Google Reader:

 
 

via MSDN Blogs by frankarr on Aug 27, 2007

So, I am going to post some stories about my US adventures.

The first story is a doozy.

As you know, I have relocated to Seattle for a new role with Microsoft.

I sold my beloved Audi A4 to a dealer before leaving Australia (it's on the market still)

I am a sucker for a convertible - been driving them for the past 10 years.

So, naturally I wanted a convertible as my next car. There's lots of options

Since I am the pacific northwest, I thought I should go with a hard top convertible. This narrows it to a few certain cars.

My wife is a Volvo driver and said I should look at the Volvo C70

Hmmm - looks nice.

clip_image001

So, we went to a local dealer for a test drive and find out some more information.

I liked the car and decided that was the car for me. I asked the dealer to give me a quote.

Now a friend of mine told me about an auto broker he had used to help find a good deal on his car.

Her name is Heidi Hough, and she is known as The Amazing Auto Woman

Her website has all the info including the instructions

PLEASE NOTE: If you want to obtain pricing from the local dealers, please do this first. When you believe you have obtained your "best" price, Heidi will advise you if she can do better.

Cool!

So I dropped her an email and Moira gave her a call, because she needed a car as well.

Fast forward a few days (seriously) and Heidi has tracked down both the cars - an XC90 for Moira and the C70 for me - and at a much lower price than the one quoted by the local dealer.

Done!

I get an email from Heidi with all the details and we arrange a rendezvous at my house.

Too Easy!

I head home to wait for Heidi, who brings me my car to the door. I sign some papers, hand over the cheque and the car is mine.

img380

Like Amazon!

And they said buying a car in the US was hard.


 
 

Things you can do from here:

 
 

Ed Bott on Windows Vista Media Center

 
 

Sent to you by Hudong via Google Reader:

 
 

via MSDN Blogs by gduthie on Aug 27, 2007

This looks cool:

In June, I recounted my out-of-the-box experience with a new Dell PC running Windows Vista, starting with a failed BIOS upgrade, undergoing a successful repair, and establishing that the basic hardware and software setup was rock-solid.

Vista Media Center from 10 feet

The reason I bought this PC in the first place was to use it as the hub of a home theater system, integrated with a 5.1 surround sound setup and a 50-inch Sony HDTV with Vista Media Center as the front end. So, at the beginning of July, I took the plunge and moved this system out of the office and into the living room. It took about two weeks to assemble all the pieces I needed and get everything working together correctly, but today I am thoroughly pleased with everything about this system. If you've considered doing the same thing, I have some advice in this post, and I've documented the whole thing with an image gallery so you can see what it looks like.

...

The bottom line: It works. Spectacularly well, in fact. I originally approached this as a proof-of-concept experiment, and I was half expecting to run into at least one roadblock that would cause me to give up and go back to my old setup. Surprisingly, the only obstacles were minor ones.

I must confess to a bit of envy...I've long wanted to add a Windows Media Center PC to my living room setup. But since I've already got the Vista Media Center running on my home-office PC, it would be tough to justify buying a whole new PC dedicated to the entertainment center.

That said, even my current setup is pretty cool. As noted, I've got Vista Ultimate (which, like Vista Home Premium, includes the Media Center bits) running on my desktop PC, which is a several year-old Dell PowerEdge 400SC, with a hyperthreaded P4 proc, 2GB RAM, and a 256MB Radeon X1300 video card, giving me a respectable 4.0 Windows Experience Index. And I use my XBOX 360 as a Media Center Extender, which gives me most of the Media Center experience.

The upside of my setup is low-cost. I added a hand-me-down TV tuner to my desktop machine, and that allows me to record standard-def TV channels (I have a Verizon HD DVR for HD) on my PC, thus saving precious DVR storage space for the high-def stuff only), and it's pretty easy to convert DVR-MS content to WMV for viewing on my Zune when I travel (and if I'm looking for a larger screen, I can just sync my Zune as a guest on my laptop, and watch the video there, as I did last week with the "so bad it's good" Jet Li movie Black Mask.

All that said, I think Bott has it right when he says:

Bringing the PC into the living room simplifies the equipment lineup, reduces the cost, and potentially offers better performance because it's not bound by network speeds.

True, the cost bit is lower for me because I'm not buying a separate Media Center PC, but I still may have to consider making the leap to a dedicated Media Center PC in the living room, as that would open up some cool side benefits, like being able to manage the family calendar without running into the office, and be able to easily sync that with what's going on with work (we currently keep the family calendar on paper on the fridge, which means I'm often fielding questions about what's going on at work, upcoming travel and/or events, etc., and having to run into the office, look stuff up, write it down on the paper calendar...not very efficient). There would also be the benefit of being able to run full-blown apps in the living room, which is not really possible on the 360 acting as an extender.

The cool thing is that while not dirt cheap, Bott's setup also wasn't outrageously expensive either, coming in at just under $700.

Last, but not least, I can heartily agree with Bott's enthusiasm for Logitech's Harmony series of remotes. I have the Harmony 880, and it's really excellent. You install the Harmony software on your PC, then hook up your remote via mini-usb, go to their website, select your components and the activities you use them for, and the web-based wizard sets the remote up for one-button operation of the activities you specify. So when I want to play a game on my XBOX 360, I press the button labeled "Play XBOX 360," and the remote turns on the TV, receiver, and console, and switches the TV and receiver to the appropriate inputs. You can also customize to add steps such as turning the volume up or down when you start or power down from a given activity.

Overall, my take on Vista Media Center mirrors Bott's:

This will drive the Vista-haters crazy, but it has to be said anyway: When people see this system in operation, they actually say "Wow."

My wife and mother-in-law both really love being able to see pictures of the kids on the large screen of the living room TV, rather than all having to crowd around a PC in the office. And having all our digital music available at the touch of a button has likewise been a boon.

>> Vista Media Center takes over the living room | Ed Bott's Microsoft Report | ZDNet.com


 
 

Things you can do from here:

 
 

MSMQ Addressing

 
 

Sent to you by Hudong via Google Reader:

 
 

via MSDN Blogs by Nicholas Allen on Aug 28, 2007

Here's a quick guide to how an address that uses the net.msmq scheme in WCF gets turned into an actual MSMQ address. There are three transfer protocols used with MSMQ: native, SRMP (SOAP Reliable Messaging Protocol), and SRMPS (SOAP Reliable Messaging Protocol Secure). Each of the transfer protocols translates addresses slightly differently.

For a given net.msmq address, we'll first check the transfer protocol. If the transfer protocol is SRMP or SRMPS, then the MSMQ address is going to be a direct address. The only difference between SRMP and SRMPS is that SRMP uses the http scheme while SRMPS uses the https scheme. The MSMQ address produced from net.msmq://hostname:port/queuename is DIRECT=http://hostname:port/msmq/queuename. Having a port is optional, and this part of the address is omitted if no port is specified. A private queue name is written as private/queuename in net.msmq but translates to private$/queuename in the MSMQ address. It's illegal to include the dollar sign in a net.msmq address.

If the transfer protocol is native, then the MSMQ address is either going to be a GUID address or a direct address. A GUID address is created if the binding has been configured with UseActiveDirectory set to true. The GUID uniquely identifies the queue. Otherwise, the MSMQ address produced from net.msmq://hostname/queuename is DIRECT=OS:hostname\queuename. Unlike SRMP, a port is never specified with the native transfer protocol. Again, a private queue name is written as private/queuename in net.msmq but translates to private$\queuename in the MSMQ address. Finally, if the hostname is an IP address, then the resulting MSMQ address instead is DIRECT=TCP:hostname\queuename.

Next time: Attribute Driven Transactions


 
 

Things you can do from here:

 
 

Life Cycle Models: Introduction to Software Engineering part 2/10

 
 

Sent to you by Hudong via Google Reader:

 
 

via MSDN Blogs by SoCal Sam on Aug 28, 2007

Life Cycle Models

The typical development life cycle involves Envisioning planning, developing, stabilizing and deploying. The Capability Maturity Model Integration (CMMI) is based on the thought that process holds the people and technology together. Quality, Product/project cost and schedule are dependent on people, technology and processes[i].

For many students software engineering and what it does is an unknown. At this time it is important for the students to have a comprehensive experience. The learning examples in this module explain the CMMI Microsoft Solution Framework and how to apply Life Cycle to actual software processes, and how they apply to the Software Engineering.

Learning videos and examples:

CMMI templates are available on line:

Topics for discussion and investigations:

  • After working with the TFS 2008 overview, how does the tool utilize software engineering concepts?
  • Envision a simple project, for example, the creation of a morning meal, note down the sequence of events to create the meal.
  • Review the documents contained in the templates, determine which documents would be used to set-up the lifecycle and process for the envisioning projects.


 
 

Things you can do from here:

 
 

BB 10% or 12% off coupon best buy 8/29 - 9/5 in store

 
 

Sent to you by Hudong via Google Reader:

 
 

via Fatwallet.com Hot Deals on Aug 29, 2007

Rating: 13 Posted By: trainaholic
Views: 5662 Replies: 23

Coupon


Sign up, shop, and get paid with FatWallet Cash Back!


 
 

Things you can do from here:

 
 

Download LINQPad - a free LINQ query expression tool

 
 

Sent to you by Hudong via Google Reader:

 
 

via MSDN Blogs by llangit on Sep 04, 2007

In keeping with my current theme of "free and cool" stuff. Here's something else - LINQPad.

linqpad

Download LINQPad


 
 

Things you can do from here:

 
 

Troubleshooting W3WP Crash -StackOverFlow Exception

 
 

Sent to you by Hudong via Google Reader:

 
 

via MSDN Blogs by anismenon on Aug 30, 2007

Hello,

This time let us learn some tit bits on debugging. There are some great blogs out there which gives a lot of in-depth information on debugging. My main aim with this blog is to give an introduction to those who are very much new to debugging. .

In this blog I will try to explain how well we can troubleshoot Worker process Crash issues due to Stack Over flow exceptions.

Stack is usually allocated around 1 MB of space and if there is any recursive function or an infinite loop, it will eat up most of the stack ultimately causing stack over flow exceptions.

Setting up Windows Debugger

=========================

Go ahead and download windows Debugger from the site.

http://www.microsoft.com/whdc/devtools/debugging/default.mspx

By default it gets installed in C:\Program Files\Debugging Tools for Windows. Open Windbg à File àset the symbol file path as srv*C:\Symbols\Pub*http://msdl.microsoft.com/download/symbols.

Create a folder Symbols and a subfolder Pub under C:\, press ok and Save the work space. This folder is to store the publicly available symbols from Microsoft (http://msdl.microsoft.com/download/symbols)

Setting up Debug Diag to Capture Crash dumps

==========================================

Install the latest version of DebugDiag http://www.microsoft.com/downloads/details.aspx?FamilyID=28bd5941-c458-46f1-b24d-f60151d875a3&displaylang=en

Configure DebugDiag to capture the memory dump when the ExitProcess or TerminateProcess command is called. This will ensure that we capture the memory dump when the faulting thread is terminating the process.

1. Open DebugDiag

2. On the Rules tab, click Add Rule

3. Select Crash and click Next

4. Select "All IIS Processes" and click Next

5. Under Advanced Settings, click Breakpoints

6. Click Add Breakpoint...

7. Select KERNEL32!ExitProcess and Kernel32!TerminateProcess .Change Action Type to Full UserDump

8. Click OK

9. Click Save and Close

10. Click Next through the rest of the wizard

Now whenever the crash occurs DebugDiag will capture the dump. By default it will be under C:\Program Files\DebugDiag\Logs\Crash rule for all IIS_COM+ related processes .

Make sure that you disable all the health monitoring settings in IIS Application pool to prevent the dumps getting generated due to a normal application pool recycle.

Once you have the dump load the same in Windbg. File -->Open Crash dump.

Type in the following command in the debugger to get the symbols files for all the loaded modules from the symbol file path

.reload /f --> reloading the modules (F is for forcing reload)

Once the debugger finishes downloading the symbols, open up C:\Symbols\Pub folder and you can see the Public symbols that got downloaded. From next time onwards debugger will be getting symbols from this cached location.

In order to run the commands and look through the dumps we need the SOS.dll which comes along with .Net Framework. Copy SOS.dl from C:\WINNT\Microsoft.NET\Framework\<Respective Version>\ and put it under C:\Program Files\Debugging Tools for Windows folder.

For getting help on the commands available in SOS.dll type !help on the debugger window . You will be able to see the list of commands available. If you need further help on any command type in !help <Command Name> Eg :- !help eeheap

Now to look at the threads type in !threads.

image

We can see that thread 14 is the one which has caused the stack over flow exception.

We are thread 0 now. To move to thread 14 type ~14s . To see the native call stack type kpn

image

You can see that the dump got generated due to Kernel32!Terminate Process.

To see the Managed stack type !clrstack

image

We can see that a function UserLogin() is getting called recursively which us causing the stack to overflow. Now let us try getting more details on the function such as the module and assembly name from which this function gets called.

Select a Code adress (Second column) from the above stack and type in !ip2md 02575e3a

image

We can see the module name(02207a80), type in !dumpmodule to dump out the module information

image

You can see that the UserLogin() function is getting called from the assembly App_Web_itzw09g-.dll

You can dump out the module information using lmvm command

image

Save the assembly to local disc using the command !savemodule App_Web_itzw09g_ c:\Assembly.dll and use reflector to get the function details.

Download Reflector

http://www.aisto.com/Roeder/Frontier/Default.aspx?PermaLink=53

Pass your comments to know whether this blog was helpful.....

So till next time..Bye bye...

Ref:- http://support.microsoft.com/kb/892277


 
 

Things you can do from here:

 
 

Free Full Version Games: Command And Conquer Gold Edition, Tom Clancy Ghost Recon, Far Cry, Prince Of Persia SandsofTime

 
 

Sent to you by Hudong via Google Reader:

 
 

via Fatwallet.com Hot Deals on Sep 01, 2007

Rating: 79 Posted By: Deal2Deal
Views: 18394 Replies: 91

from SD...

Thread Rating: Votes: 60 Score: 60

Free Command and Conquer Gold Edition PC Download

Thanks largely to the efforts of our loyal fans whom continue to sustain and grow the Command & Conquer community, Command & Conquer has become a legendary franchise and its time to celebrate its birth once again.

In order to give back to the fans for over 12 years of devotion we are putting together a 12th Anniversary celebration during the month of September. However, as any Command & Conquer fan knows, the true party starts today, August 31st, which marks 12 years since Command & Conquer Gold launched way back in 1995.

To kick the celebration off, today we have a special surprise which we are certain new and old Command & Conquer fans will enjoy. We are providing the original Command & Conquer Gold as a free download, compatible for Windows XP! This is the same version included with the collectors pack Command & Conquer: The First Decade, and is now available for you to download for free!

We are providing the ISO image of C&C GOLD for both the GDI and Nod discs. In order for C&C GOLD to run on Windows XP, you will need to burn the ISO image onto a CD with a CD Burner and any "CD Burning Software" such as Nero, Alcohol, etc. There are also a few extra steps in order to make C&C GOLD run on Windows XP after you burn it to CD. Please click the link below for the exact instructions after you download both files!

Link to download page

Note that there may be more freebies to come at this link as EA says:

"Continuing on in the month of September, be sure to keep your eyes right here on our official site at www.commandandconquer.com each week as we plan to celebrate and remember 12 years of Command & Conquer in a number of different ways."

also from SD...

Fileplanet is offering a few full version games for a free download as well. These games, unlike C&C are ad-sponsored. Thanks Libertarian [Discuss]
Available titles:

* Tom Clancy's Ghost Recon
* Prince of Persia: Sands of Time
* Far Cry
* Rayman Raving Rabbids

Alternate download links no registration, no waiting

Far Cry - ad sponsored

Far Cry

Prince of Persia: Sands of Time - ad sponsored

Prince of Persia

Rayman Raving Rabbids - ad sponsored

Rayman Raving Rabbids

Tom Clancy's Ghost Recon - ad sponsored

Ghost Recon


-You can install the virtual clone drive (http://www.slysoft.com/en/virtual...drive.html) and mount the ISO files directly to it, this way you won't have to burn them on CD.

-- or you can use Alcohol 120% to run the iso as a clone drive (http://www.alcohol-soft.com/) great program.

- Or use Daemon Tools to mount the .iso to a virtual drive.

- Freeware program ISO Recorder makes it easy to burn, copy, and create disc images (CD or DVD) in Windows. - http://isorecorder.alexfeinman.co...corder.htm - 360KB size

Edit by Moderator: Thank you for your participation. Please note that there is also discussion about this topic Here.


Sign up, shop, and get paid with FatWallet Cash Back!


 
 

Things you can do from here:

 
 

Diaper.com save $5

 
 

Sent to you by Hudong via Google Reader:

 
 

via Fatwallet.com Hot Deals on Sep 04, 2007

Rating: -1 Posted By: smoochmd
Views: 134 Replies: 0

Use code: TANTUCO on your first order at 1800 diapers and get 5$ off. Free shipping on orders above $50. 5% Cash Back on orders $75 and above. 1% Cash Back from fat wallet... and 1$ Cash Back if you register and refer! How cool is that?


Sign up, shop, and get paid with FatWallet Cash Back!


 
 

Things you can do from here:

 
 

Design & Manufacturing

 
 

Sent to you by Hudong via Google Reader:

 
 

via MSDN Blogs by jezzsa on Sep 03, 2007

Just a recent observation. Agile vs. Formal processes in the context of factories - any confusion there?

It's pretty much a given these days in software engineering we accept that we have been misled over the last couple of decades into believing that software development should follow a manufacturing process (see from your own experience the evidence in past failed development projects). Manufacturing implies 'assembly' of predictable software solutions from well designed plans. (I am sure there are more formal definitions you can insert here). For new software development projects this approach obviously fails in practice because its not so easy to plan what you don't know about what will change in the near term future, and new developments require ample amounts of discovery, learning, design, research and prototyping - all of which you are suppose to squeeze-in for free, without impact, within fixed time and resource budgets of formal processes.

Formal processes work only in practice for a small number of organisations where the outcomes of the project are highly predictable at the start, the inputs tightly controlled and the resources highly tuned and available. You can find these in very few established software businesses where the products they build don't afford large unknown variance in scope/technology etc., and can actually be predicted pretty well.

Because software development businesses need to minimize risk, meet customer expectations and a changing requirements etc., you simply can't get away with saying to your customers "it will be ready when its ready" - and herein lies the rub, because in order to have any level of predictability, you need solid planning.

Formal processes and practices were based upon the fundamental assumption of manufacturing, that you could predict how long and how much cost, and what resources any development project would take. Which is part of the reason why its taken years (and much failure) to realise the basic assumption was incorrect for the majority of new development projects today. I don't know about you but I felt robbed! What were they smoking?

We, as software engineers, all knew this smelled to be broken somewhere, but no-one really had a practical alternative to push back to meet business goals until we decided to face the music of failure and agile was allowed to emerge - sometimes out of desperation. The beauty of agile of course is that it simply pays respect to the way most of us were actually trying to develop new software within the constraints of formal processes in the first place, and that puts the natural, empirical progress foremost.

We now, as an industry, accept superior agile processes and practices deal far better to the reality of creative new software development projects (although many organisations are sadly still to make this realization). But is agile the right process to use in all cases?

Isn't the predictable assembly of products, like in manufacturing, exactly the mantra of Software Factories? On the outside, there appears to be a disparity here - or is there?

It appears that we are saying "use factories to create your solutions". Which sounds like factories are implying to take us a step backwards again to formal practices. Is it any wonder the message is being confused?

If you or someone else came to a similar conclusion, you/they are not listening close enough, and must be confusing the case when to use software factories, and when not to use software factories to build software.

You never build a software factory for building a one-off solution from scratch, where you don't already know the solution domain from past experience.

The clarity here is this:

We definitely should be moving software development (as much that is already known) to a manufactured process - which is what factories are all about helping to do, and what the industry needs to move forward. Yes, so, this also means that you should use formal processes, with the factories as part of the solution, to build software in the future! But when we say this we mean that the formal process should be built around the use of factories to assemble the solution.

We are not saying, use formal processes to build your new, one-off solutions. No, for those you should be using agile processes, simply because these solutions are likely to be unique to you and unknown to you at the start (i.e. requires: discovery, learning, design, research prototyping etc).

So, no factories in the solution -> no predictability to the development of the solution -> no formal process -> use agile process.

But, if factories in the solutions -> high predictability in the development of the solution -> use formal process.

This will hold true only for the parts of the whole solution which the factories themselves create. For all other parts of the solution, i.e. the glue, that require discovery, learning, design, research etc, you should employ agile processes to manage that. (Which for most software factory created solutions should be the last 20-40% of the development considering the expectation that factories today can't create the entire solution, and that the solution will always require some level of manual customization).

Now, all this supports the fact that: you should be using agile processes to create your Software Factories themselves. Since you also won't know what they look like at the start and they also require much discovery, design, research and prototyping etc. You can treat a software factory building project as a one-off solution development project in this respect - since it will almost always be a one-off development project.

So, I find it kind of ironic, that whilst the industry, as a whole, is still moving us to agile development, software factories appear to be countering that by moving us back to formal development! Of course, you know better than to confuse the two different types of software development now - right?

In actual fact, if you understand this clearly now you will know that agile development (process) is used to help design and implement new, unknown solutions to meet changing requirements. Whereas, Software Factories (tool) are used to help manufacture existing solutions, each with similar requirements.


 
 

Things you can do from here: