• @thekhuc

Gold Prices Page Updated Every 30 Minutes

Link

6059653739_729a9e323c.jpg

How to Increase Message Size Quota

Issue:
The maximum message size quota for incoming messages (65536) has been exceeded. To increase the quota, use the MaxReceivedMessageSize property on the appropriate binding element.

Solution:
Increase the following properties in web.config
maxBufferSize=”20000000″
maxBufferPoolSize=”20000000″
maxReceivedMessageSize=”20000000″
maxStringContentLength=”20000000″
maxArrayLength=”20000000″

Second Day of Adwords Campaign

After one day of running Adwords campaign: 1359 impressions, 2 clicks, $.80

6055847281_d1d512e59c.jpg

XigniteMetalsSoapClient

using RemoteMetals = NopSolutions.NopCommerce.Web.xMetalService;

private xMetalService.XigniteMetalsSoapClient proxy;

proxy = new xMetalService.XigniteMetalsSoapClient("XigniteMetalsSoap");
RemoteMetals.Header header = new RemoteMetals.Header();
header.Username = "xxxxx";
header.Password = "yyyyy";
RemoteMetals.LondonFixing objLondonFixing = proxy.GetLastLondonFixing(header, RemoteMetals.FixingTypes.LondonGold, RemoteMetals.FixingCurrencyTypes.USD);

chart = proxy.GetLondonFixingChart(header, RemoteMetals.FixingTypes.LondonGold, RemoteMetals.PeriodType.Morning, RemoteMetals.FixingCurrencyTypes.USD, "8/15/2010", "8/15/2011", RemoteMetals.StockChartStyles.Line, 600, 400);

if (objLondonFixing == null)
{
/// add error processing here
/// this condition could be caused by an HTTP error (404,500…)
Response.Write("Service is unavailable at this time.");
}
else
{
switch (objLondonFixing.Outcome)
{
case RemoteMetals.OutcomeTypes.Success:
/// add processing for displaying the results, e.g.
/// display the value for Value
/// other values could be consumed in the same manner
Response.Write(objLondonFixing.Value);
Response.Write(chart.Url);
break;
default:
/// add processing for handling request problems, e.g.
/// you could pass back the info message received from the service
Response.Write(objLondonFixing.Message);
break;
}
}

Trying Out Google Adwords

6053595665_bc6c1b46c4.jpg

6053595599_557084e704.jpg

New May Jewelers Homepage

6043251840_c10ec27b59.jpg

NopEasy Picture Manager

Good application for managing product pictures.

6042674621_e091bb357e.jpg

New C# 4.0 Features

Parameters

  • Optional
  • Named
  • Overload Resolution

Co- and Contravariance

  • Covariance – same relationships
  • Contracovariance – inverted relationships

dynamic

  • run-time
  • DLR – Dynamic Language Run-time

New Compiler Options

  • Embedding COM Interop type information
  • Specifying an app.config file to the C# compiler

Ring Design Pages

Ring Design Page

6005644440_5e1dacb985.jpg

Ring Design Details Page

6005099113_6647b351e8.jpg