Web Development Company

We offer custom software and Web development services under our proven offshore model
Android 4.0 – Error in creating Emulator

Posted on Thursday, October 20th, 2011 | Andoid, Mobile Application | admin

Today I have just updated my ADT plugin and downloaded the Android SDK  version 4.0. But when I try to create a AVD for android 4.0, eclipse tell me ‘Unable to find a ‘userdata.img’ file for ABI armeabi to copy into the AVD folder‘.

Solution:

Start Android SDK Manager, expand Android 4.0, click to select install ARM EABI v7a System Image. Re-start Eclipse after the installation.

Android 4.0 developmnet service

0

Read Comments

New Features in ASP.NET 4.5 Developer Preview

Posted on Wednesday, October 5th, 2011 | Asp.Net | admin

September 14,2011 Microsoft has announced release of “Visual Studio 2011 Developer Preview. You can download that from following link. http://msdn.microsoft.com/en-us/vstudio/hh127353

Below are the main new features in asp.net 4.5 Developer Preview

  • Support for new HTML5 form types.
  • Support for model binders in Web Forms. These let you bind data controls directly to data-access methods, and automatically convert user input to and from .NET Framework data types.
  • Support for unobtrusive JavaScript in client-side validation scripts.
  • Improved handling of client script through bundling and minification for improved page performance.
  • Integrated encoding routines from the AntiXSS library (previously an external library) to protect from cross-site scripting attacks.
  • Support for WebSockets protocol.
  • Support for reading and writing HTTP requests and responses asynchronously.
  • Support for asynchronous modules and handlers.
  • Support for content distribution network (CDN) fallback in the ScriptManager control.
0

Read Comments

ASP.NET MVC Tip # Redirect to another view – RedirectToAction

Posted on Monday, October 3rd, 2011 | Asp.Net, Web Development | admin

ASP.NET MVC Tip #1

Simple :

RedirectToAction("Index", "Home");

With Query String :  

RedirectToAction("Index", "Home", new { id = 22 });
0

Read Comments

Using JSON serialization in ASP.NET

Posted on Saturday, August 13th, 2011 | .net development, .Net Technology, Uncategorized | admin

JSON is another format of expressing data, just like XML. But, JSON is very simpler than XML, and tiny than XML.

Here is a simple example for JSON serialization in ASP.NET .

public class SpotFields
{
    public SpotFields()
    {
    }
    public int ID { get; set; }
    public int ProductID { get; set; }
    public int X { get; set; }
    public int Y { get; set; }
 
    public int X2 { get; set; }
    public int Y2 { get; set; }
 
    public int W { get; set; }
    public int H { get; set; }
    public string SKU { get; set; }
    public string Discription { get; set; }
 
    public string ProductName { get; set; }
    public string ImageName { get; set; }
    public string SeoName { get; set; }
}
using System.Web.Script.Serialization;

WebMethod Continue reading…

0

Read Comments

Thunderbird 6.0 Beta 1 ready to download

Posted on Thursday, July 21st, 2011 | General | admin

Thunderbird is a great email client from Firefox.They released the first beta version of the upcoming Thunderbird 6 email desktop client. Most notable change in this release is support for Windows 7 jumplists, which are accessible via a right click on the Thunderbird icon on the Windows 7 taskbar.

Major  Changes

  • Support for Windows 7 Jump lists
  • fixes when importing email from Microsoft Outlook
  • user interface fixes and improvements
  • bug fixes

Download: Thunderbird 6.0 Beta 1

0

Read Comments

Change or set a CSS background image with jQuery solution

Posted on Thursday, July 21st, 2011 | asp development, web development company, web development solutions | admin

JQuery is not a language but it is a well written JavaScript code, As quoted on official jQuery website “it is a fast and concise JavaScript Library that simplifies HTML document traversing, event handling, animating, and Ajax interactions for rapid web development.“

Solution to “background images are not being change or set”

$('#div_mainimage').css('background-image', 'url(my_image.png)');

or

$('#div_mainimage').css('background', 'url(yourimagepath/my_image.png)');

For more details about the jQuery CSS Manipulation

0

Read Comments

How To Attach a Debugger to Your Android Application

Posted on Tuesday, July 12th, 2011 | Andoid, Application Development Company | admin

The Eclipse plugin automatically attaches a debugger but you can configure other IDE’s to wait on a debugging port by doing the following

The Dalvik Debug Monitor Server (DDMS) tool , which acts as a port forwarding service between your IDE and the emulator.

  • Set optional debugging configurations on your emulator, such as blocking application startup for an activity until a debugger is attached. Note that many of these debugging options can be used without DDMS, such as displaying CPU usage or screen refresh rate on the emulator.
  • Configure your IDE to attach to port 8700 for debugging. We’ve included information higher up on how to set up Eclipse to debug your Android Application.
0

Read Comments

Asp.net Elmah Error Logging Module

Posted on Thursday, May 19th, 2011 | Asp.Net, asp.net developers, asp.net web development | admin

Elmah error logging modules and handlers for ASP.NET is a great error logging module for asp.net application . You can easily set up Elmah to send emails by changing the elmah configuration section in your web.config.

You can find a sample of all the different elmah web.config settings here.  The email configuration settings are the following:

<errorMail
  from="elmah@nooglesoft.com"
  to="admin@nooglesoft.com"
  subject="..."
  async="true|false"
  smtpPort="25"
  smtpServer="smtp.nooglesoft.com"
  userName="johndoe"
  password="secret"
  noYsod="true|false" />

Customize the subject line

You can do that by specifying the String.Format parameters in the configuration section subject attribute like this:

<errorMail
  from="elmah@nooglesoft.com"
  to="admin@nooglesoft.com"
  subject="Cart Application (STAGING): {0}"
  />
0

Read Comments

Microsoft Buys Skype – $8.5 Billion

Posted on Thursday, May 19th, 2011 | .Net Technology | admin

Microsoft has bought Skype for a whopping $8.5 billion in cash.  Few days back there was news about Skype going on sale.

In a BBC interview, Gates said he advocated for the Skype acquisition. Surprise! Did you expect Gates to say that he hated the Skype purchase and that it was too pricey?

In the BBC chat, Gates said video conferencing will improve. He’s alluding to the fact that video phones will be common—you could argue that they are today via tablets and Skype.

.net application development

0

Read Comments

Asp.Net 4 – A potentially dangerous Request.Form value was detected from the client

Posted on Monday, May 9th, 2011 | Asp.Net, asp.net programming, asp.net web development | admin

Request Validation has detected a potentially dangerous client input value, and processing of the request has been aborted. This value may indicate an attempt to compromise the security of your asp.net application, such as a cross-site scripting attack. You can disable ( Asp.net 2.0 ) request validation by setting validateRequest=false in the Page directive or in the configuration section. However, it is strongly recommended that your application explicitly check all inputs in this case. In ASP.Net 4 Please use below configuration

In the web.config file, within the <system.web> tags, insert the httpRuntime element with the attribute requestValidationMode=”2.0″.

Example:

<configuration>
<system.web>
<httpRuntime requestValidationMode=”2.0″ />
</system.web>
</configuration>

0

Read Comments