Monthly Archives: March 2011

Get data from parent-child relationship using edmx

Many developers are creating the View in database for tables’ relationship. Revisit Nancy ADO sample in 2010. I do think that it is a good way to loop through the parent-child relationship without creating a view.   The edmx model … Continue reading

Posted in .Net | Tagged , , | 3 Comments

MySQL and Sun websites hacked using SQL injection

http://thenextweb.com/industry/2011/03/27/irony-mysql-and-sun-websites-hacked-using-sql-injection/ http://www.theregister.co.uk/2011/03/28/mysql_hack/

Posted in .Net | Tagged | Leave a comment

Add a simple report to ASP.NET Web Application using Report Wizard in Visual Studio 2010 – (Video)

1. The first part of the video is to create a report (Report1.rdlc)   Add a simple report to ASP.NET Web Application using Report Wizard in Visual Studio 2010 Part 1   2. Second part of the video is to … Continue reading

Posted in .Net | Tagged | 7 Comments

Hey, there is a Report Builder in Visual Studio 2010 – (Video)

When people have told me “no Crystal Report, no SSRS”, I hope the Report Application in Visual Studio 2010 works.   Let’s watch the video below.   Report Application

Posted in .Net | Tagged | 1 Comment

Simplest Asynchronous WCF Service Call sample from Silverlight – C# (Video)

1. Create a WCF Service as in Creating and Accessing WCF Services simple sample.   2. Create Silverlight application.   3. Drag a textbox and Button from toolbox.   4. Add service reference.   5. Add the callback and button … Continue reading

Posted in .Net | Tagged | 4 Comments

An error occurred while trying to make a request to URI ‘http://localhost/WCFService/Service.svc’. This could be due to attempting to access a service in a cross-domain way without a proper cross-domain policy in place, or a policy that is unsuitable for SOAP services. You may need to contact the owner of the service to publish a cross-domain policy file and to ensure it allows SOAP-related HTTP headers to be sent.

When you call WCF Service using Silverlight you might receive the error message above.   To fix this:   1. Create an xml file using notepad and save as clientaccesspolicy.xml with the following content.   <?xml version=“1.0“ encoding=“utf-8“?> <access-policy>   … Continue reading

Posted in .Net | Tagged | 7 Comments

Team Foundation Server 2010 SP1 Installation Did Not Succeed

If you receive an error “Installation Did Not Succeed” when installing Team Foundation Server 2010 SP1, picture as below. Issue the command TfsServiceControl quiesce because run the Service Pack again. It works for us. Resources:How to troubleshoot installation problems for … Continue reading

Posted in .Net | Tagged | Leave a comment