-
Recent Posts
Archives
- May 2013
- April 2013
- March 2013
- February 2013
- January 2013
- December 2012
- November 2012
- October 2012
- September 2012
- August 2012
- July 2012
- June 2012
- May 2012
- April 2012
- March 2012
- February 2012
- January 2012
- December 2011
- November 2011
- October 2011
- September 2011
- August 2011
- July 2011
- June 2011
- May 2011
- April 2011
- March 2011
- February 2011
- January 2011
- December 2010
- November 2010
- October 2010
- September 2010
- August 2010
- July 2010
- June 2010
- May 2010
- April 2010
- March 2010
- February 2010
- January 2010
- December 2009
- November 2009
- October 2009
- September 2009
- August 2009
- July 2009
- June 2009
- May 2009
- April 2009
- March 2009
- February 2009
- January 2009
- December 2008
- November 2008
- October 2008
- September 2008
- August 2008
- July 2008
- June 2008
- May 2008
- April 2008
- March 2008
- February 2008
- January 2008
- December 2007
- November 2007
- October 2007
- September 2007
- August 2007
- July 2007
- June 2007
- May 2007
- April 2007
- March 2007
- February 2007
- January 2007
- December 2006
Categories
Meta
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
MySQL and Sun websites hacked using SQL injection
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
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
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
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
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
Simplest Asynchronous WCF Service Call sample from ASP.NET – C# (Video)
1. Edit this Web Client from Creating and Accessing WCF Services simple sample. Simplest Asynchronous WCF Service Call sample from ASP.NET Key takeaway: 1. When add the Service Reference click the Advance button and choose Generate asynchronous … Continue reading
Creating and Accessing WCF Services simple sample – C# (Video)
Watch the video. The steps in the video shows: 1. Create a WCF web site named WCFService. 2. Right click Service.svc and select View in browser. 3. Copy the url from the browser. 4. Go … Continue reading
Asynchronous operations are not allowed in this context. Page starting an asynchronous operation has to have the Async attribute set to true and an asynchronous operation can only be started on a page prior to PreRenderComplete event.
If you have the asynchronous code below in Page Load Event in aspx page public partial class Default : System.Web.UI.Page { ServiceReference1.ServiceClient svc = new ServiceReference1.ServiceClient(); protected void Page_Load(object sender, EventArgs e) { svc.GetDataCompleted += … Continue reading