Web Development Company

We offer custom software and Web development services under our proven offshore model

Archive for ''

New Features in ASP.NET 4.5 Developer Preview

Posted in: 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.
ASP.NET MVC Tip # Redirect to another view – RedirectToAction

Posted in: 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 });
Using JSON serialization in ASP.NET

Posted in: 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…

Asp.net Elmah Error Logging Module

Posted in: 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}"
  />
Microsoft Buys Skype – $8.5 Billion

Posted in: 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

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

Posted in: 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>

Web.config 301 Redirect – asp.net

Posted in: Tuesday, May 3rd, 2011 | Asp.Net, asp.net web development, web application development, web designing | admin

The Asp.Net 301 permanent redirect is the most search engine-friendly method of redirection to the new URL or page and is the current standard for SEO purposes.

Step 1

Download and enable the URL Rewrite module for IIS 7. Then the following code is used in the ASP.NET web.config file:

Step 2

<configuration>
  <system.webServer>
    <rewrite>
      <rules>
        <rule name="Redirect to WWW" stopProcessing="true">
          <match url=".*" />
          <conditions>
            <add input="{HTTP_HOST}" pattern="^my-domain-name.com$" />
          </conditions>
          <action type="Redirect" url="http://www.my-domain-name.com/{R:0}"
               redirectType="Permanent" />
        </rule>
      </rules>
    </rewrite>
  </system.webServer>
</configuration>
ReCaptcha with Asp.Net MVC

Posted in: Saturday, November 13th, 2010 | .net development, .Net Technology, .net web development, .net website development, Asp.Net, asp.net developers, aspdotnetstorefront solutions, b2c web development, dotnetnuke development, ecommerce solution | admin

These are just a few steps, as the latest reCAPTCHA library has all the pieces you need for asp.net MVC:

Step 1 – Create Your ReCAPTCHA Account
Go to the ReCAPTCHA site and sign up for your keys. You will get a private key and and a public key.

Step 2 – Download the .Net Library for ReCAPTCHA
Get reCAPTCHA Library and add this to your ASP.NET MVC project as a reference.
Step 3 – Create Action Filter and handle the Captcha validation
Continue reading…

Website Development – ASP.NET

Posted in: Friday, November 12th, 2010 | .Net Technology, .net website development, asp net web application development, Asp.Net, asp.net development, asp.net framework, asp.net programming, web development companies, web development company, web development solutions | admin

Microsoft recommends developing ASP.NET web applications in an isolated development environment. For more information on the various kinds of development environments, read the chapter ASP.NET Web Application Development Models from the article Team Development with Visual Studio .NET .

ASP.NET has introduced its five updated versions with new added features in each version.

  • It was first commenced to web world with version 1.0 in 2002 with Visual Studio .NET,
  • In 2003 version 1.1 with Windows Server 2003 and Visual Studio .NET 2003,
  • In 2005 version 2.0 with Visual Studio 2005, Visual Web Developer Express and SQL Server 2005,
  • In 2007 version 3.5 released with Windows Server 2008 and Visual Studio 2008,
  • In 2008 version 3.5 service pack released with Visual Studio 2008 Service Pack 1

ASP.NET allows developers for web application development to use fully featured languages like VB.NET and C# (C-Sharp). Feature of “web services” is unique by ASP.NET, class library, XML support and complete compatibility with other programming languages.

Website Development Outsourcing- A Booming Trend in India

Posted in: Monday, September 13th, 2010 | Asp.Net, jQuery, Web Application Development, Web Development, Website Designing | admin

India is considered to be the leader in IT and computer software industry without any doubt. You will be able to find the best of computer and IT companies like Tata Consultancy Services, Wipro, Infosys, Mahindra Satyam and many other companies with vast experience, skills and adeptness in this relative field. Many European and foreign companies outsource their web related or computer related tasks to in the form of outsourcing to India. Those overseas companies get the best of service, products and other goods as per their requirement and expectation without any shortcomings. The biggest advantage is the saving of enormous money when they outsource their related website development work to India. India is considered to be the finest place to outsource website development work as it has numerous well qualified and vastly experienced computer software and IT professionals and well renowned companies. So if you want to develop a very useful and advantageous website then outsourcing the work to India can be the best possible solution currently.
Continue reading…