usagene

Stories submitted by usagene

Include javascript to a customized component as web resource(mypath2us.com)

submitted by usageneusagene(85) 2 years, 5 months ago

This post describes how to include javascript, css or images as webresource to a customized .NET webcontrol. read more...

add a comment |category: |Views: 7

tags: another

Work with RESTful service using LINQ to XML(mypath2us.com)

submitted by usageneusagene(85) 2 years, 6 months ago

Recently I've been working on a project that uses third party RESTful service a lot. The main response format of the service is XML, I found it is a big headache to parse the data using XmlDocument, so wondering if it can be easily done by using LINQ... read more...

add a comment |category: |Views: 13

tags: another

Silverlight interactive with database(mypath2us.com)

submitted by usageneusagene(85) 2 years, 6 months ago

Due to security reason, Silverlight is not allowed to talk to database directly. There are multiple ways of doing this, here I only listed 3 ways for an silverlight gadget or application to talk to database... read more...

add a comment |category: |Views: 6

tags: another

RadComboBox AutoComplete Hightlight Keyword?(mypath2us.com)

submitted by usageneusagene(85) 2 years, 7 months ago

RadComboBox is a good control to use for auto-suggestion/type-head/auto-complete, the only thing is when using webservice to get the item, the client template is pre-defined and can not be customized. However, we do find hightlighting the keyword in the auto-complete item list is really important for user experience. Because that tells the user visiually why certern items are suggested. The question is how can we do that? Here comes the solution... read more...

add a comment |category: |Views: 49

tags: another

Batch Job timeout in a webpage?(mypath2us.com)

submitted by usageneusagene(85) 2 years, 7 months ago

Sometimes you may need to do that due to environment limitation or whatever reason. The question becomes how we handle the request timeout issue... read more...

add a comment |category: |Views: 5

tags: another

Get Client Geo Location in C#(mypath2us.com)

submitted by usageneusagene(85) 2 years, 7 months ago

This post describes how to get client geo location in c#, this is useful if the application is globalized and needs to be intialized differently based on GEO location read more...

add a comment |category: |Views: 285

tags: another

Cache a page conditonally(mypath2us.com)

submitted by usageneusagene(85) 2 years, 7 months ago

Cache is one of the ways to improve site performance, however, if we want to cache multiple version of the page based on different status, is that doable? read more...

add a comment |category: |Views: 7

tags: another

Stop crawler spamming(mypath2us.com)

submitted by usageneusagene(85) 2 years, 7 months ago

It is great when search engines frequently visit your site and index your content at most of the times. But sometimes these crawlers are really bad and may break your site down by sending thousands of request every second. Is there anyway we can work with search engines better? Answer is yes. read more...

add a comment |category: |Views: 4

tags: another

Single Sign On by using Forms Authentication(mypath2us.com)

submitted by usageneusagene(85) 2 years, 7 months ago

This post introduces a very simple way of doing single sign on for multiple sites under the same main domain (eg. www.test.com, community.test.com). read more...

add a comment |category: |Views: 41

tags: another

BlogEngine issue with WebResource in another Assembly(mypath2us.com)

submitted by usageneusagene(85) 2 years, 7 months ago

This post introdues a walk around for the issue that BlogEngine.net has while integrating with third party controls has CSS as webresource. read more...

add a comment |category: |Views: 9

tags: another

LINQ to XML in 2 minutes(mypath2us.com)

submitted by usageneusagene(85) 2 years, 7 months ago

Work with XML is never easier by using LINQ, this post shows a simple example of how to read data from XML and bind it to a data control, in this case, it is a repeater control. read more...

add a comment |category: |Views: 23

tags: another

javascript interactive with webservice via JSON(mypath2us.com)

submitted by usageneusagene(85) 2 years, 7 months ago

This post demonstrates how to call webservice from javascript, this is useful while doing server side validation on a big form and do not want to postback the whole form, as well as retrieve server side data without refresh the page. read more...

add a comment |category: |Views: 27

tags: another

Using JQuery to call WCF service(mypath2us.com)

submitted by usageneusagene(85) 2 years, 7 months ago

This post introduces how to user jQuery to call WCF Service. read more...

add a comment |category: |Views: 81

tags: another