Thursday, February 16, 2012

Step by Step : Upload asp.net web application to Window Azure

0 comments
Window Azure is in demand for cloud hosting to host asp.net web application and make scalable that application as per retirements, so I would like to describe here step by step to upload asp.net application on window azure. so let's start!
  1. Create New Project > ASP.NET web application


  2. Create New Cloud Project and Just click OK without selecting anything

  3. Go to Cloud Project > Right click on Roles Folder > Add web role from solution as per below fig.


  4. Here you can configure your cloud project with .csdef config file (you can also add stratup task in that.)


  5. Build Solution then right click on Cloud Project and click Publish, it will open dialog as per below.

  6. Here i will go through "Create Service package only" which will create published files to upload manually on window azure portal, if you want details on 2nd option then please refer this link for Getting Started with the Windows Azure Tools for Visual Studio

  7. Click on "Configure Remote Desktop" if you want RDP connection to that application and chose certificate and credentials as per below

  8. Click Ok on both dialogs and it will generate 2 files which we need to upload on Window azure portal


  9. Create "New Hosted Service" on azure portal then fill details, choose certificates and browse 2 published files in step-9 and click ok




    cheers!




Thursday, February 9, 2012

Alternate way to set default browser in VS2010

0 comments
If you are using Visual studio on daily basis for development then you are familiar about to change default browser setting as per shown in below fig.

Right click on any aspx page and click "browse with" will open window with installed browser list and you can set default browser for that application.

But if you are working with MVC3 application where aspx page is not available then how you can change this setting? because browse with option only available with aspx or html page

Some person prefer to add extra aspx page or html page to application change this setting, however i explore alternate way to do this as per below..

Following are steps i have followed to change my default browser to chrome
  1.     Open the web project properties
  2.     Go to Web tab
  3.     In Start Action section select Start external program and then add chrome executable path and the url as       Command line arguments.
  4.     In Servers section set specific port to the same port set in the URL in step 3.


Wednesday, February 8, 2012

KeyTips plugin : Add keyboard support to Web application

0 comments
It is very useful to add keyboard support to commercial application interface where user can able to fill up details and navigate throughout application without using mouse. Till now this type of accesskey only available with window application but now it is also possible with web application interface as well with KeyTips Jquery Plugin.

The KeyTips (formerly the Access Key Highlighter plugin) provides various options for highlighting access keys on web forms when the user presses their browser's access key shortcut key, e.g. Alt for Internet Explorer and Safari, Shift+Alt in Firefox.
Visit the KeyTips jQuery demo page and hold down ALT + Shift (Alt for IE) to see the key tips.

Following are steps to add this jquery plugin to your application

If you look at source code you found accesskey attributes in all fields which will be used to with combination with ALT + SHIFT (ALT for IE and safari)




You can also add this Jqeruy plugin by
Nuget


AJAX wrapper on basis of this jquery plugin also available at codeplex

Use JIRA for Agile developmnet

0 comments
JIRA is the great web interface tool provided by atlassian.
There are on demand pricing list to use this product also use can take trial at free cost.

JIRA Features
Read more about using jira for agile development
Jira web interface also support keyboard shortcuts
Look at Jira demonstration video
Look at slides presentation Introduction to jira


Tuesday, February 7, 2012

Add "You may also like" widget to your blogger

0 comments
I have found many blogs which have some links at bottom side with title "You may also like these" and did some research how can i add this in to my blogs and found some interesting website http://www.linkwithin.com
would like to share here..

This is very simple process with below features
  •     No registration or e-mail confirmation required except the first field.
  •     You can use this widget on as many of your blogs as you like.
  •     You can choose WordPress or Blogger platform.
  •     You can choose number of stories the widget will display.


    Step-1 Fill Details of your blog
    Step-2 Click Install Widget (you need to login in your blogger account if you are not logged in)
    Step-3 Select blog if your have more then one blog and click "Add widget" you can also drag and drop to
           any area on blog where you want to display it
    Step-4 Click Save and you're done!