Filed under: Uncategorized | Leave a comment »
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″
Filed under: Uncategorized | Leave a comment »
Second Day of Adwords Campaign
After one day of running Adwords campaign: 1359 impressions, 2 clicks, $.80
Filed under: Uncategorized | Leave a comment »
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;
}
}
Filed under: Uncategorized | Leave a comment »
Trying Out Google Adwords
Filed under: Uncategorized | Leave a comment »
New May Jewelers Homepage
Filed under: Uncategorized | Leave a comment »
NopEasy Picture Manager
Good application for managing product pictures.
Filed under: Uncategorized | Leave a comment »
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
Filed under: Uncategorized | Leave a comment »