Archive for March, 2012

Let us discuss how you can deploy ASP.NET MVC 3 application on server without any support from web hosting providers. .NET framework 4.0 is required to run MVC application. This approach does not require ASP.NET MVC 3 installation on the server.

Background:

When we install ASP.NET MVC 3 on a machine, required assemblies are automatically registered in Global Assembly Cache (GAC). GAC is a directory where .NET assemblies can be installed for global sharing. If we use shared hosting we might not be able to deploy these assemblies in GAC. Following simple steps will help you to deploy MVC application while using shared hosting services:

Manual method:

This is a manual way to deploy ASP.NET MVC 3 with Razor in BIN directory. When you run application in Visual Studio 2010 with .net framework 4 and MVC 3 installed on your machine the following folders are automatically created: C:\Program Files\Microsoft ASP.NET\ASP.NET MVC 3 C:\Program Files (x86)\Microsoft ASP.NET\ASP.NET Web Pages. These folders also contain an “Assemblies” folder. ASP.NET MVC references following additional assemblies: System.Web.Mvc Microsoft.Web.Infrastructure System.Web.Razor System.Web.WebPages System.Web.WebPages.Razor To deploy your application on shared server with no support from your hosting company you can simply copy these DLL files and paste them to your BIN folder.

Make DLLs local while publishing:

If you don’t want to copy these files manually or don’t have permissions to copy and paste these files you can use this method. The DLL files mentioned in the manual method can be included in the Bin folder when you publish your project to a production. To include them to the Bin folder, go to your MVC application project and expand the ‘References’ node in project tree. Select above assemblies then right click and select ‘Properties’ and change ‘Local Copy’ to True as it is False by default. If Local Copy attribute is set to TRUE then selected DLL will be included in ‘Bin’ folder when you publish your project.

Lets start with the designing of the overlay, before procedding with the overlay i would like to introduce why this overlay is named as such. as this overlay is designed using <div> tags used inside html programming language so i named it as such (you are free to name it as like you want)

Like this:

Installing apps on Android is relatively straightforward with the Android Market. You search for an app, select it and click install. However, there are often times when you may want to install a newly released app or an app that is not available in the Android Market. In these cases you will usually have to manually download and install an .apk file. An .apk file behaves in a similar manner to a “.exe” file on Windows, you need to copy it to your device and run it. Here are some ways that you can manually install an application without going through the market.

Enable Unknown Sources

Before attempting a manual installation of apps using the .apk files, you must first allow your phone to install from “Unknown Sources” (i.e. non-Market apps).

1. Installing app Using The Conventional Method

Step 1: Install File Manager

Android does not natively come with any method of browsing the data on your SD card, so you will need to install a file manager from a market. There are a large variety of file managers available on Android, but my personal favourite is ASTRO File Manager.

Step 2: Copy .apk file to SD card

Once you have ASTRO File Manager installed, connect your Android device to your PC using your USB cable. Mount the SD card and copy over the .apk file you would like to install.

Step 3: Install .apk

On your Android device, navigate to the .apk file using ASTRO File Manager and select it.

This will open a dialog box allowing you to install the app. Select “Open App Manager“.

On the next two pages, select “Install” and “Install” again to install the .apk.

Your new app is now installed.

2. Installing app using Dropbox

Dropbox is really a versatile app and is a waste if we don’t fully utilize it. The method is simple. In your computer, download the apk file to your Dropbox folder. Let it finish syncing. In your phone, open the Dropbox app, navigate to the folder where you keep the apk file, click on it. Dropbox will then download the apk file. The usual installation follows.

3. Installing app Using the Online Apk Installer

The online apk installer is a web app created by a helpful XDA-Developers forum member htc-hd2, with the aim to make manual installation of an .apk file much easier. It is useful if you want to share an apk file with a friend.

Once the QR code has scanned, you can click on the link to download the .apk file straight to your device.

Step 3: Install .apk

After the .apk file has downloaded to your Android device you can install it by simply clicking on it and navigating through the installation pages.

Conclusion

Most users will probably be comfortable using the conventional method of installing Android apps. However, if you have a less tech-savvy friend who you want to share an apk with, you can always remotely upload it and send them the QR code to scan using their phone. This way they will not have to fiddle around with copying the apk to their phone and opening it using a file manager.

Like this:

Although there are lots of options we can design a mobile Phone interface using any language but there is an ultimate tool named jquery for giving your website a perfect UI. now we will discuss about the same.

while we get start with the design let me explain what is the need for this overlay to design

1. html language

2. thickbox jquery files

3. language editor (i am using notepad ++)

the overlay consists of a main page which will be responsible to call our newly designed overlay into it to show up some of the designs. let we call this page as index.html. and htm5.htm is used for overlay look and html5check.html is used for showing some contents inside the overlay.

which is covered by a style sheet document for giving it some UI and the files included in link tag are thick box jquery files (will let you give all of the files using zip link). by following the design we have got the design ike the image :-

the link behind file is named as html5.htm which is responsible to give a design to GoogBox overlay using thick box jquery files.

Rate this:

Share this:

Like this:

An often overlooked combination of scripting technologies is ASP.NET with MySQL (instead of Access [slow] or SQL Server [expensive]). MySQL is a fast and popular database and you can find numerous ISPs which offer it with ASP.NET

If you are installing it on your own server, you need to download MySQL and install it, then run c:\mysql\bin\winmysqladmin.exe. You also need to download the ODBC driver (choose Windows Downloads Driver Installer) and install it. Then use this code to access your MySQL database.