Cheap and Reliable Hosting :: TOP 3 ASP.NET Hosting Companies in Europe

IHostAzure.com | Cheap and Reliable ASP.NET Hosting. There are really few ASP.NET hosting solution in the industry. Maintaining a reliable ASP.NET server needs more patience and skills than running a Linux server. You could host your web site developed in ASP.NET from your personal computer, provided that you have a robust broadband Internet connection, sufficient provisioning from your Internet provider for the broadband traffic that will result from access to your web site and a configured home router that will allow incoming web requests. Both Internet Information Services (IIS) and the .NET framework would have to be installed and configured on your personal computer.

Finding web hosting that matches all of your needs might sometimes seem as a difficult task. To choose the best ASP.NET hosting in Europe for your ASP.NET websites, I recommend you going with the best ASP.NET hosting as following. These days, you can sign up for web hosting services based just about anywhere in the world. But for security and peace of mind, nothing is better than knowing that a European web host is on your side. Not only do you know exactly where your web host is located, but everything is easier – transactions take place in your local currency, the support team is in your time zone (and in your language).
After reviewing hundreds of web hosting, I finally name HostForLIFE.eu as 2015 Best ASP.NET Hosting service providers in Europe. HostForLIFE.eu is Microsoft No #1 Recommended Windows and ASP.NET Hosting in European Continent. Our service is ranked the highest top #1 spot in several European countries, such as: Germany, Italy, Netherlands, France, Belgium, United Kingdom,Sweden, Finland, Switzerland and many top European countries.

hfl

Why Choose HostForLIFE.eu ?

logo (2)HostForLIFE –  HostForLIFE receives Spotlight Status merit award for providing Recommended, Cheap & Fast ASP.NET 4.5 and MVC 5 Cloud Hosting from the leading technology company, Microsoft. HostForLIFE.eu claims to be the fastest growing Windows and ASP.NET Hosting provider in European continent. With the servers located in Amsterdam (The Netherlands), HostForLIFE.eu caters its clients with the newest servers on Dual Xeon Processor, minimum 8 GB RAM, and the fastest 1000 Mbps connection line. All the servers are equipped with the latest Windows Server 2012 R2, SQL Server 2014, ASP.NET 4.5.1, ASP.NET MVC 5.0, Silverlight 5, WebMatrix and Visual Studio Lightswitch. Security, reliability, and performance are at the core of their hosting operations to ensure each site and/or application hosted on their servers is highly secured and performs at optimum level.  As one of the European ASP.NET hosting providers, HostForLIFE guarantees 99.9% uptime and quick loading speed. From € 3.00/month , HostForLIFE provides you with unlimited disk space, unlimited domains, unlimited bandwidth,etc, for your website hosting needs.

For Alternative ASP.NET Hosting in Europe

1231123-Reg123-Reg is a UK based web hosting company and as the name suggests, it’s focused on offering cheap domain names. Despite this, the company does offer a wide range of web hosting plans, including email hosting, cloud hosting, VPS and dedicated hosting.The Startup Package from € 3.03/month with 1 Free .co.uk domain, 1GB Diskspace, 10 Sub-Domains, FTP Access, etc. All of the 123-Reg hosting plans provide access to UK-based support and live chat support during office hours. There is also a support desk for customers which provides user guides, FAQ’s, live system status and video tutorials. There is also a 123-Reg self diagnosis tool to help solve common web site issues, plus a knowledgebase for self-help and reference.

webfusionWebfusion– Webfusion (formerly GX Networks) is a website hosting, email and domain name registrar company. It began by offering internet services to corporations and began trading under the GX name in 1997. It believed that it had developed the first transatlantic IP backbone running native ATM. Webfusion originally started out with major Network Access Points in Washington and San Jose in the US, London’s LINX and Stockholm in Europe. Starting at € 10.95 per month, GearHost offers ASP.NET hosting on the market, Webfusion offer unlimited Web Space & Traffic, unlimited email account, unlimited ftp account, etc.

Conclusion

Whether you’re looking to launch a web application without hiring a full IT department, or you’re in IT and you just want to be sure you can handle large traffic spikes, a cloud hosting service can help you sleep at night, knowing your latest creation is running as it should

Cheap and Reliable Hosting :: How to Fix the Error Establishing a Database Connection in WordPress

How to Fix the Error Establishing a Database Connection in WordPress

IHostAzure.com | Cheap and Reliable WordPress Hosting. If you have been surfing the web for a while, you have at least seen this error a few times. Error Establishing a Database Connection is one of those curses that could be caused by many reasons. As a WordPress beginner, this could be awfully frustrating specially when it happened on its own without you changing anything. We ran into this issue yesterday on our own site. It took a little over 20 minutes to detect and fix the problem. While doing the research to find possible causes, we realized that there was no good article that covered everything. In this article, we will show you how to fix the error establishing a database connection in WordPress by compiling a list of solutions all in one place.

Note: Before you make any database changes, make sure you have sufficient backups.

Why do you get this error?

Well in short, you are getting this error because WordPress is unable to establish a database connection. Now the reason why WordPress is unable to establish a database connection can vary. It could be that your database login credentials are wrong or have been changed. It could be that your database server is unresponsive. It could be that your database has been corrupted. In our experience, majority of the times this error happens because of some sort of server error however there could be other factors as well. Lets take a look at how to go about troubleshooting this problem.

Does the problem occur for /wp-admin/ as well?

First thing you should do is to make sure that you are getting the same error on both the front-end of the site, and the back-end of the site (wp-admin). If the error message is the same on both pages “Error establishing a database connection”, then proceed onto the next step. If you are getting a different error on the wp-admin for instance something like “One or more database tables are unavailable. The database may need to be repaired”, then you need to repair your database.

You can do this by adding the following line in your wp-config.php file:

define('WP_ALLOW_REPAIR', true);

Once you have done that, you can see the settings by visiting this page: http://www.yoursite.com/wp-admin/maint/repair.php

dbrepair

Remember, the user does not need to be logged in to access this functionality when this define is set. This is because its main intent is to repair a corrupted database, Users can often not login when the database is corrupt. So once you are done repairing and optimizing your database, make sure to remove this from your wp-config.php.

If this repair did not fix the problem, or you are having trouble running the repair then continue reading this article as you might find another solution to work.

Checking the WP-Config file

WP-Config.php is probably the single most important file in your entire WordPress installation. This is where you specify the details for WordPress to connect your database. If you changed your root password, or the database user password, then you will need to change this file as well. First thing you should always check is if everything in your wp-config.php file is the same.

define('DB_NAME', 'database-name');
define('DB_USER', 'database-username');
define('DB_PASSWORD', 'database-password');
define('DB_HOST', 'localhost');

Remember your DB_Host value might not always be localhost. Depending on the host, it will be different. For popular hosts like ASPHostPortal.com, HostForLIFE.eu, and DiscountService.biz,  it is localhost.

Some folks suggested that they fixed their problem by replacing localhost with the IP. It is common to see this sort of issue when running WordPress on a local server environment. For example on MAMP, the DB_Host value when changed to the IP may seem to work.

define('DB_HOST', '127.0.0.1:8889');

IP’s will vary for online web hosting services.

If everything in this file is correct (make sure you check for typos), then it is fair to say that there is something wrong on the server end.

Check your Web Host (MySQL Server)

Often you will notice this Error establishing database connection when your site gets swarmed with a lot of traffic. Basically, your host server just cannot handle the load (specially when you are on shared hosting). Your site will get really slow and for some users even output the error. So the best thing you should do is get on the phone or livechat with your hosting provider and ask them if your MySQL server is responsive.

For those users who want to test if MySQL server is running yourself, you can do a few things. Test other sites on the same server to see if they are having the issue. If they are also getting the same error, then most definitely there is something wrong with your MySQL server. If you do not have any other site on this same hosting account simply go to your cPanel and try to access phpMyAdmin and connect the database. If you can connect, then we need to verify if your database user has sufficient permission. Create a new file called  testconnection.php and paste the following code in it:

<?php
$link = mysql_connect('localhost', 'root', 'password');
if (!$link) {
die('Could not connect: ' . mysql_error());
}
echo 'Connected successfully';
mysql_close($link);
?>

Make sure to replace the username and password. If the connected successfully, then it means that your user has sufficient permission, and there is something else that is wrong. Go back to your wp-config file to make sure that everything there is correct (re-scan for typos).

If you cannot connect to the database by going to phpMyAdmin, then you know it is something with your server. It does not necessarily means that your MySQL server is down. It could mean that your user does not have sufficient permission.

In our case, our MySQL server was running. All other sites on the servers were working fine except for WPBeginner. When we tried going to our phpMyAdmin, we ended up getting the error:

#1045 – Access denied for user ‘foo’@’%’ (using password: YES)

We got on the phone with ASPHostPortal.com  and their support quickly found the problem. Somehow our user’s permissions were reset. Not sure how that happened, but apparently that was the reason. They went back in and restore the permissions and we were able to get the site back live.

So if you get the access denied error in either connecting to your phpMyAdmin or through testconnection.php results, then you should contact your host right away to get them to fix it.

Cheap and Reliable Hosting :: TIPS for Ajax Developers in ASP.NET MVC

IHostAzure.com | Cheap and reliable ASP.NET MVC hosting. This is another quick blog post for the ASP.NET developers, who’re using ajax (or are going to use the ajax in their applications for async calls for the data to the server), and might be getting confused in the View-part of the MVC pattern. This blog post, would try to tip them up with a simple method of creating ajax functionality in their applications, and how to get the confusion about View-part clear. The background to this post is a question, that arose, of how to use the ajax to get the data in ASP.NET MVC framework. Although that was a simple task, but I know new developers get into trouble in making the logic, that is why I am writing this blog post, to explain the core-concept of the behaviour.

Getting hands dirty in some ASP.NET code

First stage would be to write the back-end code for our application, which is the ASP.NET MVC application. Wait, the first thing I want to elaborate here is that ajax requests don’t usually require you to send entire HTML markup, to be rendered. Usually, ajax requests are used to download just a few details about the user, such as their name, their company name, or a little message such as success message for the process user has started. That is why, sending entire HTML markup would take a lot of time, and network size, by sending entire XML tree as HTML markup.

asp.net2.jpgThat is why, I am going to not-create any View in this project. But I am going to work with just a single Controller. That controller would be used to perform all of the actions, and after the controller has been made, I am going to use the Route mechanism to allow custom URLs in  application; which do not map to our actual HTML files on the application set up. Don’t worry, as the application would build up, the concept of this paragraph would start to get some gravity and you will understand it how did I do and what you would do in order to create your own Ajax running ASP.NET MVC application.

First of all, let us create a Controller. To create a controller, you can get some help from Visual Studio, click on the Controllers folder and Add Controller to it. Name it, what so ever you want to. I named it as AjaxController; to specify that it would control all of the ajax requests over HTTP protocol. Once that has been done, you can create your own action methods that would response to your own personal functions. I didn’t bother creating any complex task, instead I just simply created a function, named it as “CustomAction”. It would be used as the URL to our ajax handling web page.

Inside that page, you would write the following code, to handle it and provide the result to it. Like simple C# application, the functions can have any return data type and thus, in ASP.NET MVC application we can, instead of a View, return a string (or any other data type object) that would be sent down to the client as the response to his ajax request. It would be much simpler, and much shorter in structure.

using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;

namespace AjaxRequests_in_ASPNET_MVC.Controllers
{
   public class AjaxController : Controller
   {
      // GET: Ajax
      public string Index()
      {
         return "Not allowed";
      }

      // Our custom action, URL would be /ajax/customaction
      public string CustomAction()
      {
         // We're going to return a string, not a view.
         return "Hello world, using Ajax in ASP.NET MVC application.";
      }
   }
}

The above code would return a string, that can be then used as a response and rendered into the HTML or done what-so-ever with it.

Now let us change the routes to actually let the application run without having to use a web page that is a View inside the Ajax folder in our Views folder. Open the App_Start folder, and inside there open the RouteConfig file, and inside it. Write this new route.MapPath() function

// Create a new route, set the controller to "Ajax" and the remaining would be the Action
// Note that there are no Views in the Views folder to map to this location.
routes.MapRoute(
   name: "AjaxController",
   url: "Ajax/{action}",
   defaults: new {controller = "Ajax"}
);

Now this code would create a routing scheme in your application, and is able to let your application run without actually having to have a specific file at that location to run and handle the ajax request. In the above code, I am using the URLs of the type “/ajax/customajax“, in this URL ajax is a constant string value, used as a path, and then the customajax would be the action of the controller. When this URL would be called, ASP.NET would execute the CustomAjax action of the controller, and would return the string result inside the function.

TIPS for Ajax Developers in ASP.NET MVC

Performing the ajax code

The ajax code for this project is simple jQuery code to create an async request to the server, to download some more data. But before I share the code for the ajax request, I would like you to make a few changes in the _Layout.cshtml file of your project. The change is to include the jQuery library in the project, so that in the web page you can use the jQuery (because we will be using that layout). Add this line of code to your HTML markup’s <head> element.

<script src="~/Scripts/jquery-1.10.2.js"></script>

Now that the jQuery has been added to your HTML DOM, you can use this library in other pages which has this page set as their layouts, to make use of the jQuery syntax and other objects. I will be using the ajax.

The following code depicts the code used for an example ajax request

$(document).ready(function () {
   $.ajax({
      // The URL
      url: "ajax/customaction",
      // If the request was successfull; which will be, if it is not successfull check for errors
      success: function (data) {
         // Alert the data; it would be "Hello world, using Ajax in ASP.NET MVC application."
        alert(data);
      }
   });
});

Now once this code would run, it would try to make a call to the URL specified, in the above section we discussed how ASP.NET would handle that request using the routings and action methods, and then would return a single string value. It would finally alert the user with the string that would be returned. That would be a single ajax running application, which would return simple plain message to the user without any complex and large sized View.


No #1 Recommended ASP.NET MVC Hosting

ASPHostPortal.com

ASPHostPortal.com  is the leading provider of Windows hosting and affordable ASP.NET  MVC Hosting. ASPHostPortal proudly working to help grow the backbone of the Internet, the millions of individuals, families, micro-businesses, small business, and fledgling online businesses. ASPHostPortal has ability to support the latest Microsoft and ASP.NET technology, such as: WebMatrix, WebDeploy, Visual Studio 2015, .NET 5/ASP.NET 4.5.2, ASP.NET MVC 6.0/5.2, Silverlight 6 and Visual Studio Lightswitch, ASPHostPortal guarantees the highest quality product, top security, and unshakeable reliability, carefully chose high-quality servers, networking, and infrastructure equipment to ensure the utmost reliability.

HostForLIFE.eu

HostForLIFE.eu guarantees 99.9% uptime for their professional ASP.NET MVC hosting and actually implements the guarantee in practice. HostForLIFE.eu is the service are excellent and the features of the web hosting plan are even greater than many hosting. HostForLIFE.eu offer IT professionals more advanced features and the latest technology. Relibility, Stability and Performance of  servers remain and TOP priority. Even basic service plans are equipped with standard service level agreements for 99.99% uptime. Advanced options raise the bar to 99.99%. HostForLIFE.eu revolutionized hosting with Plesk Control Panel, a Web-based interface that provides customers with 24×7 access to their server and site configuration tools.

DiscountService.biz

DiscountService.biz is The Best and Cheap ASP.NET MVC Hosting. DiscountService.biz was established to cater to an under served market in the hosting industry web hosting for customers who want excellent service. DiscountService.biz guarantees the highest quality product, top security, and unshakeable reliability, carefully chose high-quality servers, networking, and infrastructure equipment to ensure the utmost reliability. DiscountService.biz has ability to support the latest Microsoft and ASP.NET technology, such as: WebMatrix, WebDeploy, Visual Studio 2015, .NET 5/ASP.NET 4.5.2, ASP.NET MVC 6.0/5.2, Silverlight 6 and Visual Studio Lightswitch. DiscountService.biz is devoted to offering the best Windows hosting solution for you.


Cheap and Reliable Hosting :: TOP 3 Recommendation Best and Cheap Nucleus Hosting

logo_nucleusIHostAzure.com | Cheap and reliable nucleus hosting. At present, many of our readers are inquiring about the best Nucleus hosting providers, for this software has become one of the most widely used blogging tools available online. As a flexible and easy to use content management system, Nucleus allows bloggers to focus on the post content only, without the need to worry about the format and design.

Besides, it supports a great set of features that are useful to help people build a successful blog with ease, such as the maintenance of multiple authors, built-in commenting system, and XML-RPC interface.

Why choose Nucleus CMS hosting?

Nucleus CMS is the ideal package for creating and managing multiple blogs in just a few clicks. Here is an overview of the main assets of Nucleus hosting.

[rtbs name=”nucleus-hosting”]

The Best and Recommended Nucleus Hosting

Due to the fact that there are a tremendous number of web hosts claiming to offer this service well, our experienced editors decide to carry out a comprehensive comparison to pick up the best options. After reviewing more than 100 hosting solutions based on price, features, speed, uptime, and support, we award ASPHostPortal.com, DiscountService.biz and  HostForLIFE.eu  as the winners.

[rtbs name=”best-nucleus-hosting”]

Summary

Whether you’re looking to launch a web application without hiring a full IT department, or you’re in IT and you just want to be sure you can handle large traffic spikes, a cloud hosting service can help you sleep at night, knowing your latest creation is running as it should

Cheap and Reliable Hosting :: Recommendation Crystal Reports 2013 Hosting in Rusia

IHostAzure.com | Cheap and Reliable Crystal Reports 2013 Hosting. Crystal Reports is a popular Windows-based report writer (report generation program) that allows a programmer to create reports from a variety of data sources with a minimum of written code. Developed by Seagate Software, Crystal Reports can access data from most widely-used databases and can integrate data from multiple databases within one report using Open Database Connectivity.

Crystal reports web hosting generally comes with additional costs since it requires extra configuration on iis server in order to generate your reports. The hosting server must be windows with multiple .NET frameworks as well as Sql Server configured. You must ensure that your hosting plan provides sql server remote access. Crystal reports web hosting is more expensive than asp.net hosting.

While choosing the right crystal reports web hosting service, the hosting server must be windows with multiple asp.net frameworks as well as Sql Server configured. You must ensure that your hosting plan provides sql server remote access. Since it requires extra configuration on iis server in order to generate your reports, Crystal reports web hosting is more expensive than asp.net hosting. Most of the shared Windows hosting companies do not provide Crystal report because of license fees.

Recommendation Crystal Reports 2013 Hosting in Rusia

If you’ve done a bit more search the internet, you can find there’re only a few web hosting companies who can support crystal reports and choosing an affordable and quality crystal report hosting is a very difficult job. I’ve reviewed many crystal report web hosting providers personally and here I’d like to recommend one of the best web hosting who can full support crystal reports for you to check further ASPHostPortal.com web solutions.

cr

In order to choose the cheap and reliable Crystal Reports Web Hosting service, you must ensure your hosting service is configured with sql server remote access. In short, you should look for the latest windows server platform support with verified microsoft partnership. ASPHostPortal.com offers microsoft SQL Server 2012 and the latest SQL Server 2014 database with remote access support. With only $5.00/ month you can get full access over all Crystal Reports advantages, you can find nowhere else with this great offer.

ASPHostPortal.com Crystal reports web hosting is real attractive, since they can offer powerful web hosting features with unmatched prices to their clients. ASPHostPortal.com also has a group of experienced crystal reports support team and they have 30 days long time money back guarantee, even more, they can accept monthly payment web hosting, so you don’t need to feel worry to choose their crystal reports web hosting service.


Cheap and Reliable  Crystal Report Hosting

ASPHostPortal.com hosting offers one value-priced basic web-hosting plan with 5 GB disk space and 60 GB data transfer. The basic package includes the Plesk control panel, and a long list of general web hosting, domain name, email, and database features, as well as a list of supported technologies. From there, users can build a hosting package to their own specifications, selecting from a wide range of add-on features (such as additional disk space, bandwidth, or email storage). ASPHostPortal.com ASP.NET web hosting is starting at $5.00/mo, providing unlimited domain name, 2 SQL Server, 200 MB SQL Server / db, Dedicated Application Pool and etc. For add ons Crystal Report, you can start from $5/month.

Cheap and Reliable Crystal Report Hosting Performance

ASPHostPortal.com doesn’t seem to post a minimum uptime guarantee, though industry reviews place their real uptime at 99.9% or better. All web servers are hosted in secure Tier-1 data centers in the US and the Europe; the company consistently rates high for reliability, consistency, and speed.

Cheap and Reliable Crystal Report Hosting Custommer Support

ASPHostPortal.com does not offer a call center but only provides customer support via helpdesk and email only, although it’s available at 24×7. For any Crystal Reports related hosting issues, customers can feel free to contact ASPHostPortal.com via its Support Portal, which is accessible in the control panel. Its technicians will provide timely response and give customers professional feedbacks. Before contacting support service, customers can also check out ASPHostPortal Knowledgebase, where they can find answers for most common errors when hosting a site

Cheap and Reliable Hosting :: How To Draw Route Between Current Location and Destination On Google Maps in ASP.NET

IHostAzure.com | Cheap and Reliable ASP.NET Hosting. Today I will explains about how to draw route between current location and destination on google maps in ASP.NET. Let me to show you.

Please following this code

The following is my aspx:

<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="_Default" %>  
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">  
<html xmlns="http://www.w3.org/1999/xhtml">  
<head runat="server">  
    <title>Search Route Direction</title>  
    <script type="text/javascript" src="https://maps.googleapis.com/maps/api/js?sensor=false"></script>  
    <script type="text/javascript" src="https://maps.googleapis.com/maps/api/js?key=AIzaSyC6v5-2uaq_wusHDktM9ILcqIrlPtnZgEk&sensor=false">  
    </script>  
    <%--Getting User Current Location--%>  
    <script type="text/javascript">  
        if (navigator.geolocation) {  
            navigator.geolocation.getCurrentPosition(success);  
        } else {  
            alert("There is Some Problem on your current browser to get Geo Location!");  
        }  
        function success(position) {  
            var lat = position.coords.latitude;  
            var long = position.coords.longitude;  
            var city = position.coords.locality;  
            var LatLng = new google.maps.LatLng(lat, long);  
            var mapOptions = {  
                center: LatLng,  
                zoom: 12,  
                mapTypeId: google.maps.MapTypeId.ROADMAP  
            };  
            var map = new google.maps.Map(document.getElementById("MyMapLOC"), mapOptions);  
            var marker = new google.maps.Marker({  
                position: LatLng,  
                title: "<div style = 'height:60px;width:200px'><b>Your location:</b><br />Latitude: "  
                            + lat + +"<br />Longitude: " + long  
            });  
            marker.setMap(map);  
            var getInfoWindow = new google.maps.InfoWindow({ content: "<b>Your Current Location</b><br/> Latitude:" +  
                                    lat + "<br /> Longitude:" + long + ""  
            });  
            getInfoWindow.open(map, marker);  
        }  
    </script>  
    <%--Getting Route Direction From User Current Location to Destination--%>  
    <script type="text/javascript">  
        function SearchRoute() {  
            document.getElementById("MyMapLOC").style.display = 'none';  
  
            var markers = new Array();  
            var myLatLng;  
  
            //Find the current location of the user.  
            if (navigator.geolocation) {  
                navigator.geolocation.getCurrentPosition(function(p) {  
                    var myLatLng = new google.maps.LatLng(p.coords.latitude, p.coords.longitude);  
                    var m = {};  
                    m.title = "Your Current Location";  
                    m.lat = p.coords.latitude;  
                    m.lng = p.coords.longitude;  
                    markers.push(m);  
                    //Find Destination address location.  
                    var address = document.getElementById("txtDestination").value;  
                    var geocoder = new google.maps.Geocoder();  
                    geocoder.geocode({ 'address': address }, function(results, status) {  
                        if (status == google.maps.GeocoderStatus.OK) {  
                            m = {};  
                            m.title = address;  
                            m.lat = results[0].geometry.location.lat();  
                            m.lng = results[0].geometry.location.lng();  
                            markers.push(m);  
                            var mapOptions = {  
                                center: myLatLng,  
                                zoom: 4,  
                                mapTypeId: google.maps.MapTypeId.ROADMAP  
                            };  
                            var map = new google.maps.Map(document.getElementById("MapRoute"), mapOptions);  
                            var infoWindow = new google.maps.InfoWindow();  
                            var lat_lng = new Array();  
                            var latlngbounds = new google.maps.LatLngBounds();  
                            for (i = 0; i < markers.length; i++) {  
                                var data = markers[i];  
                                var myLatlng = new google.maps.LatLng(data.lat, data.lng);  
                                lat_lng.push(myLatlng);  
                                var marker = new google.maps.Marker({  
                                    position: myLatlng,  
                                    map: map,  
                                    title: data.title  
                                });  
                                latlngbounds.extend(marker.position);  
                                (function(marker, data) {  
                                    google.maps.event.addListener(marker, "click", function(e) {  
                                        infoWindow.setContent(data.title);  
                                        infoWindow.open(map, marker);  
                                    });  
                                })(marker, data);  
                            }  
                            map.setCenter(latlngbounds.getCenter());  
                            map.fitBounds(latlngbounds);  
                            //***********ROUTING****************//  
                            //Initialize the Path Array.  
                            var path = new google.maps.MVCArray();  
                            //Getting the Direction Service.  
                            var service = new google.maps.DirectionsService();  
                            //Set the Path Stroke Color.  
                            var poly = new google.maps.Polyline({ map: map, strokeColor: '#4986E7' });  
                            //Loop and Draw Path Route between the Points on MAP.  
                            for (var i = 0; i < lat_lng.length; i++) {  
                                if ((i + 1) < lat_lng.length) {  
                                    var src = lat_lng[i];  
                                    var des = lat_lng[i + 1];  
                                    path.push(src);  
                                    poly.setPath(path);  
                                    service.route({  
                                        origin: src,  
                                        destination: des,  
                                        travelMode: google.maps.DirectionsTravelMode.DRIVING  
                                    }, function(result, status) {  
                                        if (status == google.maps.DirectionsStatus.OK) {  
                                            for (var i = 0, len = result.routes[0].overview_path.length; i < len; i++) {  
                                                path.push(result.routes[0].overview_path[i]);  
                                            }  
                                        } else {  
                                            alert("Invalid location.");  
                                            window.location.href = window.location.href;  
                                        }  
                                    });  
                                }  
                            }  
                        } else {  
                            alert("Request failed.")  
                        }  
                    });  
                });  
            }  
            else {  
                alert('Some Problem in getting Geo Location.');  
                return;  
            }  
        }  
    </script>   
</head>  
<body>  
    <form id="form1" runat="server">  
    <table style="border: solid 15px blue; width: 100%; vertical-align: central;">  
        <tr>  
            <td style="padding-left: 20px; padding-top: 20px; padding-bottom: 20px; background-color: skyblue;  
                text-align: center; font-family: Verdana; font-size: 20pt; color: Green;">  
                Draw Route Between User's Current Location & Destination On Google Map  
            </td>  
        </tr>  
        <tr>  
            <td style="background-color: skyblue; text-align: center; font-family: Verdana; font-size: 14pt;  
                color: red;">  
                <b>Enter Destination:</b>  
                <input type="text" id="txtDestination" value="" style="width: 200px" />  
                <input type="button" value="Search Route" onclick="SearchRoute()" />  
            </td>  
        </tr>  
        <tr>  
            <td>  
                <div id="MyMapLOC" style="width: 550px; height: 470px">  
                </div>  
                <div id="MapRoute" style="width: 500px; height: 500px">  
                </div>  
            </td>  
        </tr>  
    </form>  
</body>  
</html>

 Now run the application.

I hope this article helpful for you. Happy Coding 🙂

Best Recommendation ASP.NET 5 Hosting

ASPHostPortal.com

asp

Cheap and Reliable Hosting :: Best ASP.NET 4.5 Websockets Hosting

IHostAzure.com | Cheap and Reliable ASP.NET 4.5 Websockets Hosting. WebSockets is an advanced technology that makes it possible to open an interactive communication session between the user’s browser and a server. With this API, you can send messages to a server and receive event-driven responses without having to poll the server for a reply.

The WebSocket specification—developed as part of the HTML5 initiative—introduced the WebSocket JavaScript interface, which defines a full-duplex single socket connection over which messages can be sent between client and server. The WebSocket standard simplifies much of the complexity around bi-directional web communication and connection management.

WebSocket represents the next evolutionary step in web communication compared to Comet and Ajax. However, each technology has its own unique capabilities.

HTML5 WebSocket represents the first major upgrade in the history of web communications. Before WebSocket, all communication between web clients and servers relied only on HTTP. Now, dynamic data can flow freely over WebSocket connections that are persistent (always on), full duplex (simultaneously bi-directional) and blazingly fast.

What WebSocket means for businesses

The Web is moving into its next phase morphing from a static and stale network to a live, interactive, and constantly changing mesh of communication and connectivity, a living Web. This new living Web will allow us to interact with our friends and colleagues at levels we couldn’t have imagined 5 years ago, solve business problems that seemed impossible, continue to innovate using the Web as a foundation for new solutions benefiting humanity, accessing systems and share information at levels never seen before. The Web as we know it today was only the beginning, now the Living Web will change everything. In addition, as more and more machine devices come online, the need for rapid communications in real time becomes even greater. More and more products are created every day that are designed to be in contact with the web 24 hours, 7 days a week. WebSocket is the foundation for all the technology that is fueling this revolution.

Cheap and Reliable WebSocket Hosting

web

[pricingtable id=’832′ ]

Best ASP.NET 4.5 Websockets Hosting with ASPHostPortal.com

ASPHostPortal.com, as the premier provider of ASP.NET and Windows Hosting service, proudly announces that we have supported the latest Windows Server 2012. This Windows Server version does support WebSocket technology and ASP.NET developers can maximize this opportunity directly. In the Windows 8 consumer preview and Server beta, IE10 and all other Microsoft WebSocket client and server features now support the final version of the IETF WebSocket Protocol.

Reasons to Trust Your ASP.NET 4.5 Websockets Website to ASPHostPortal.com

  • Excellent Uptime Rate | Their key strength in delivering the service to you is to maintain their server uptime rate. ASPHostPortal never ever happy to see your site goes down and they truly understand that it will hurt your onlines business. If your service is down.
  • Uptime & Support Guarantees | They are so confident in their hosting services . They will not only provide you with a 30 days money back guarantee, but also will give you a 99.9% uptime guarantee.
  • A Powerful User-Friendly Control Panel | ASPHostPortal Control Panel provides the tools and utilities, which give you true control over your account and web pages.
  • Setup Installation | They’ll get you up and running within 30 seconds of placing your order.

ASPHostPortal | is a windows-based hosting service provider. ASPHostPortal.com offers the most cheap and reliable Websocket hosting infrastructure on the net with great features, fast and secure servers. they hosting can be done via USA, Amsterdams or Singapore based server. Depending your requirements, they can scale so we can deliver the right service for the right price. All of their windows hosting plan supports Websocket and you can install Websocket with just one click.

ASPHostPortal has been in the industry for many years, followed by numerous loyal webmasters around the world. Among all the companies we have reviewed, this company offers the fastest hosting speed by using 5 first-class data centers on the USA, Europe, and Asia, quality Dell servers, and their own Max Speed Zone technology. Besides, they also guarantee you with uptime and 30 days money back guarantee. So, ASPHostPortal is the best choice in choosing the Best Websocket Hosting.

Cheap and Reliable Hosting :: How to Send Mail to Multiple Users Using Parallel Programming in ASP.NET

How to Send Mail to Multiple Users Using Parallel Programming in ASP.NET

IHostAzure.com| cheap and reliable ASP.NET 5 Hosting. Hi guys today I will sharing code about how to Send Mail to Multiple Users Using Parallel Programming in ASP.NET C#. Ok let me to show you.

The following is the table design from where I am fetching employee records.

Code

CREATE TABLE [dbo].[Employee](  
    [Emp_ID] [int] IDENTITY(1,1) NOT NULL,  
    [Name] [varchar](50) NULL,  
    [Email] [varchar](500) NULL,  
    [Designation] [varchar](50) NULL,  
    [City] [varchar](50) NULL,  
    [State] [varchar](50) NULL,  
    [Country] [varchar](50) NULL,  
 CONSTRAINT [PK_Employee] PRIMARY KEY CLUSTERED   
(  
    [Emp_ID] ASC  
)WITH (PAD_INDEX  = OFF, STATISTICS_NORECOMPUTE  = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS  = ON, ALLOW_PAGE_LOCKS  = ON) ON [PRIMARY]  
) ON [PRIMARY]  
  
GO 

 The following is my aspx:

<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Default.aspx.cs" Inherits="SendMailToMultipleUsers.Default" %>  
<!DOCTYPE html>  
<html xmlns="http://www.w3.org/1999/xhtml">  
<head runat="server">  
    <title>Send Mail To Multiple Users in ASP.NET C#</title>  
</head>  
<body>  
    <form id="form1" runat="server">  
        <div>  
            <table style="border: solid 15px blue; width: 100%; vertical-align: central;">  
                <tr>  
                    <td style="padding-left: 50px; padding-top: 20px; padding-bottom: 20px;   
                            background-color: skyblue; font-size: 20pt; color: orangered;">  
                        Send Mail To Multiple Users in ASP.NET C#  
                    </td>  
                </tr>  
                <tr>  
                    <td style="text-align: left; padding-left: 50px; border: solid 1px red;">  
                        <asp:GridView ID="GridViewEmployee" runat="server" AutoGenerateColumns="False" Width="90%"  
                            BackColor="White" BorderColor="#3366CC" BorderStyle="None" BorderWidth="1px"  
                            CellPadding="4" GridLines="Both">  
                            <Columns>  
                                <asp:TemplateField HeaderText="Select">  
  
                                    <ItemTemplate>  
                                        <asp:CheckBox ID="chkSelect" runat="server" />  
                                    </ItemTemplate>  
                                </asp:TemplateField>  
                                <asp:BoundField DataField="Name" HeaderText="Employee Name" />  
                                <asp:BoundField DataField="Email" HeaderText="Email" />  
                                <asp:BoundField DataField="Designation" HeaderText="Designation" />  
                                <asp:BoundField DataField="City" HeaderText="City" />  
                                <asp:BoundField DataField="State" HeaderText="State" />  
                                <asp:BoundField DataField="Country" HeaderText="Country" />  
                            </Columns>  
                            <FooterStyle BackColor="#99CCCC" ForeColor="#003399" />  
                            <HeaderStyle BackColor="#003399" Font-Bold="True" ForeColor="#CCCCFF" />  
                            <PagerStyle BackColor="#99CCCC" ForeColor="#003399" HorizontalAlign="Left" />  
                            <RowStyle BackColor="White" ForeColor="#003399" />  
                            <SelectedRowStyle BackColor="#009999" Font-Bold="True" ForeColor="#CCFF99" />  
                        </asp:GridView>  
                    </td>  
                </tr>  
                <tr>  
                    <td align="right">  
                        <asp:Button ID="btnSendMail" Text="Send Mail" OnClick="btnSendMail_Click" runat="server" />  
                    </td>  
                </tr>  
            </table>  
        </div>  
    </form>  
</body>  
</html> 
using System;  
using System.Collections.Generic;  
using System.Linq;  
using System.Web;  
using System.Web.UI;  
using System.Web.UI.WebControls;  
using System.Data;  
using System.Data.SqlClient;  
using System.Net.Mail;  
using System.Net;  
using System.Threading.Tasks;  
  
namespace SendMailToMultipleUsers  
{  
    public partial class Default : System.Web.UI.Page  
    {  
        SqlDataAdapter da;  
        DataSet ds = new DataSet();  
        DataTable dt = new DataTable();  
  
        protected void Page_Load(object sender, EventArgs e)  
        {  
            if (!Page.IsPostBack)  
                this.BindGrid();  
        }  
  
        private void BindGrid()  
        {  
            SqlConnection con = new SqlConnection();  
            ds = new DataSet();  
            con.ConnectionString = @"Data Source=INDIA\MSSQLServer2k8; Initial Catalog=EmployeeManagement; Uid=sa; pwd=india;";  
            SqlCommand cmd = new SqlCommand("SELECT * FROM EMPLOYEE", con);  
  
            da = new SqlDataAdapter(cmd);  
            da.Fill(ds);  
            con.Open();  
            cmd.ExecuteNonQuery();  
            con.Close();  
  
            if (ds.Tables[0].Rows.Count > 0)  
            {  
                GridViewEmployee.DataSource = ds.Tables[0];  
                GridViewEmployee.DataBind();  
            }  
        }  
  
        protected void btnSendMail_Click(object sender, EventArgs e)  
        {  
            DataTable dt = new DataTable();  
            dt.Columns.AddRange(new DataColumn[2] { new DataColumn("Name", typeof(string)),  
                        new DataColumn("Email",typeof(string)) });  
  
  
            foreach (GridViewRow row in GridViewEmployee.Rows)  
            {  
                if ((row.FindControl("chkSelect") as CheckBox).Checked)  
                {  
                    dt.Rows.Add(row.Cells[1].Text, row.Cells[2].Text);  
                }  
            }  
  
  
            string body = "Hi This is test Mail.<br /><br />Thanks.";  
  
  
            Parallel.ForEach(dt.AsEnumerable(), row =>  
            {  
                SendEmail(row["Email"].ToString(), row["Name"].ToString(), body);  
            });  
        }  
  
        private bool SendEmail(string To, string ToName, string body)  
        {  
            try  
            {  
                MailMessage mm = new MailMessage("yourEmailID@gmail.com", To);  
                mm.Subject = "Welcome " + ToName;  
                mm.Body = body;  
                mm.IsBodyHtml = true;  
                SmtpClient smtp = new SmtpClient();  
                smtp.Host = "smtp.gmail.com";  
                smtp.EnableSsl = true;  
                NetworkCredential NetworkCred = new NetworkCredential();  
                NetworkCred.UserName = "yourEmailID@gmail.com";  
                NetworkCred.Password = "<YourGmailPassword>";  
                smtp.UseDefaultCredentials = true;  
                smtp.Credentials = NetworkCred;  
                smtp.Port = 587;  
                smtp.Send(mm);  
                return true;  
            }  
            catch (Exception ex)  
            {  
                return false;  
            }  
        }  
    }  
}

 Happy Coding

Cheap and Reliable ASP.NET 5 Hosting 2015

ASPHostPortal.com

ASPHostPortal.com is the leading provider of Windows hosting and affordableASP.NET 5 Hosting. ASPHostPortal proudly working to help grow the backbone of the Internet, the millions of individuals, families, micro-businesses, small business, and fledgling online businesses. ASPHostPortal has ability to support the latest Microsoft and ASP.NET technology, such as: WebMatrix, WebDeploy, Visual Studio 2015, .NET 5/ASP.NET 4.5.2, ASP.NET MVC 6.0/5.2, Silverlight 6 and Visual Studio Lightswitch, ASPHostPortal guarantees the highest quality product, top security, and unshakeable reliability, carefully chose high-quality servers, networking, and infrastructure equipment to ensure the utmost reliability.

HostForLIFE.eu

HostForLIFE.eu guarantees 99.9% uptime for their professional ASP.NET 5 hosting and actually implements the guarantee in practice. HostForLIFE.eu is the service are excellent and the features of the web hosting plan are even greater than many hosting. HostForLIFE.eu offer IT professionals more advanced features and the latest technology. HostForLIFE.eu has supported  ASP.NET 5,  Relibility, Stability and Performance of  servers remain and TOP priority. Even basic service plans are equipped with standard service level agreements for 99.99% uptime. Advanced options raise the bar to 99.99%. HostForLIFE.eu revolutionized hosting with Plesk Control Panel, a Web-based interface that provides customers with 24×7 access to their server and site configuration tools.

DiscountService.biz

DiscountService.biz is The Best and Cheap ASP.NET 5 Hosting. DiscountService.biz was established to cater to an under served market in the hosting industry web hosting for customers who want excellent service. DiscountService.biz guarantees the highest quality product, top security, and unshakeable reliability, carefully chose high-quality servers, networking, and infrastructure equipment to ensure the utmost reliability. DiscountService.biz has ability to support the latest Microsoft and ASP.NET technology, such as: WebMatrix, WebDeploy, Visual Studio 2015, .NET 5/ASP.NET 4.5.2, ASP.NET MVC 6.0/5.2, Silverlight 6 and Visual Studio Lightswitch. DiscountService.biz is devoted to offering the best Windows hosting solution for you.

Cheap and Reliable Hosting :: Best PHP 5.6.6 Hosting Recommendation

IHostAzure.com | Cheap and Reliable PHP 5.6.6 hosting. If you are looking for Windows hosting provider that support PHP 5.6.6, we will give you the solution. After reviewed more than 100 Windows hosting providers which support PHP, ASPHostPortal is named as the Windows hosting offering the best PHP 5.6.6 hosting by their powerful servers, high-bandwidth network, 24×7 customer service, user-friendly control panel, and low price. The following are some reasons why ASPHostPortal is the cheap and reliable PHP 5.6.6  hosting provider.

Why you should choose ASPHostPortal ?

  • ASPHostPortal is Windows Hosting Provider That Supports The Latest PHP Version. One of most popular development platforms on the web is PHP which powers many popular applications and sites such as Facebook, WordPress and Joomla. While most of these systems are ‘designed’ to be used on a Linux system running the Apache Web Server, you can deploy PHP applications via IIS 7 on your Windows Server 2008 system. But not all Windows hosting providers which support PHP in their Windows Server, however ASPHostPortal as the leader of Windows hosting support PHP on their Windows Server, even to the latest version of PHP.
  • ASPHostPortal Offers Best Price and Big Discount. ASPHostPortal offers best price, but not only that they also offers big discount for all of their hosting plans. You can check their best price and discount at following table price:

Cheap and Reliable PHP 5.6.6 Hosting Plans

Plans

3 Years

1 Year

3 Months

Host Intro

$1.00/mo

$2.00/mo

-

Host One

$5.00/mo

$6.00/mo

$8.00/mo

Host Two

$9.00/mo

$11.00/mo

$15.00/mo

Feature All Hosting Plans

plans

  • ASPHostPortal’s World Class Data Center.  Their data centers are strategically located around the country to provide their customers with the highest levels of availability, service and support on the market. Their data centers located on US (Washington & Seattle), Netherlands (Amsterdam), Singapore, Hong Kong, United Kingdom (London), Australia (Melbourne), France (Paris). Each Data Center is custom designed with raised floors. Each Data Center is equipped with HVAC temperature control systems with separate cooling zones, seismically braced racks, advanced early smoke detection and fire suppression systems. Their Data Centers are supported by some of the most powerful physical security in the business. They have 24/7 video surveillance, security breach alarms and Biometric thumb print scanners at every entryway.
  • ASPHostPortal 99.9% Uptime As the most reliable hosting company, ASPHostPortal guarantees at least 99.9% uptime, meaning that customers’ websites can be accessible at any time on the web. Besides, ASPHostPortal leverages the power of world-class data center to place these quality and robust web servers. The data center is featuring UPS for unceasing and stable power supply, advanced cooling system for climate control, DDoS response to avoid malicious attack, tier 1 telecom provider to shorten the network path, firewall to block unnecessary ports, and 24/7 monitoring to ensure all the facilities is working properly.

Depending on our assessment above, it can be concluded that ASPHostPortal.com is Best Windows Hosting that support PHP 5.6.6 which you can host.

Cheap and Reliable Hosting :: Cheap DotNetNuke 7.4 Hosting Recommendation

IHostAzure.com | Cheap and Reliable DotNetNuke 7.4 Hosting Recommendation. DotNetNuke (DNN) 7.4, as well known in the web industry and familiar among .NET developers, is a Web Content Management System (WCMS) based on Microsoft .NET platform. It is an excellent open source software that you can use to manage your website without having much technical knowledge.

DotNetNuke 7.4 includes a robust workflow and versioning API which is built around the DNN Content Item store. DNN 7.4 supports localization for 21 different settings which will provide greater control when implementing multi-language sites. In DNN 7.4 considerable effort went into refactoring many internal classes to provide a better foundation for future development. The PortalSettings classes and the EventLogs were overhauled to improve the overall architecture and to pave the way for future enhancements. While most people will never see any of these changes, this work is critical to maintaining the long-term health of the platform.

Features of DotNetNuke 7.4 Hosting Release

DotNetNuke 7.4 includes a number of new features and enhancements that will benefit users and developers alike along with a large number of bug fixes:

  • Added Workflow & versioning API
  • Added multilanguage support to Site Settings
  • Fixed issues where core platform rendered non-HTML5 compliant markup
  • Refactored PortalSettings and Eventlogs to better support future enhancements
  • Enhanced User Search to include email and username
  • Removed obsolete meta tags
  • Updated 51Degrees to 3.1.9.3
  • Added HTML Editor Manager module
  • Fixed issue where enabling content localization fails with multiple languages installed
  • Fixed issue where password reset error prevented updating password
  • Added localization support for Persian
  • Added localization support for additional culture code formats
  • Fixed issue where profile properties were not displayed using UTF-8
  • Fixed issue where scheduler would fail when large number of history items existed
  • Fixed issue where scheduler would fail with InvalidOperationException
  • Fixed issue where module settings could not be accessed after upgrade
  • Fixed issue where files in folder providers were not deleted properly

Cheap  DotNetNuke 7.4 Hosting Recommendation

Based on over 3 months review and real experience with 60+ Windows ASP.NET hosting providers and more than 100 verified customer reviews and ratings, we had come out the top 3  DotNetNuke 7.4 Hosting.

ASPHostPortal.com

ryt

ASPHostPortal.com is a windows-based hosting service provider. ASPHostPortal.com offers the most cheap and reliable DotNetNuke 7.4 web hosting infrastructure on the net with great features, fast and secure servers. they hosting can be done via USA, Amsterdams or Singapore based server. Depending your requirements, they can scale so we can deliver the right service for the right price. All of their windows hosting plan supports DNN and you can install DotNetNuke 7.4 with just one click.

ASPHostPortal has been in the industry for many years, followed by numerous loyal webmasters around the world. Among all the companies we have reviewed, this company offers the fastest hosting speed by using 5 first-class data centers on the USA, Europe, and Asia, quality Dell servers, and their own Max Speed Zone technology. Besides, they also guarantee you with uptime and 30 days money back guarantee. So, ASPHostPortal is the best choice in choosing the Best DotNetNuke 7.4 Hosting.

UK Windows Hosting ASP.NET

ukk

UKWindowsHostASP.NET is the best UK Windows and ASP.NET Hosting provider that offers the most affordable world class DotNetNuke hosting solutions for their customers. They offer high quality web hosting, dedicated servers, web design, domain name registration, and online marketing to help lead your business to online success. They grow to provide a versatile and dependable one-stop online hosting and marketing shop for the small business entrepreneur, and eliminate the need for you to deal with a host of different online vendors.

They never ever overload the server with tons of clients. They always load balance the server to make sure they can deliver an excellent service, coupling with the high performance and reliable server. Given the scale of environment, they have recruited and developed some of the best talent in the hosting technology that you are using. Their team is strong because of the experience and talents of the individuals who make up them.

DiscountASP.NET

Untitled

They are the absolute real deal in value and the most excellent customer service in all areas. They have helped me with complex DNS records for Office 365 before anyone was capable.
If you order an add-on they give a disclaimer that it may take 24hrs to take effect.  DiscountASP.NET  innovate throughout to shared hosting product, service, and infrastructure. They provide the most affordable, reliable, fast, cutting-edge, and feature-rich, enterprise-class, advanced Microsoft-based hosting for the .NET developer community. and also offer two hosting solutions.
If you need the latest Microsoft stack, IIS, and SQL Server, TFS or on the other end of the spectrum – PHP, MySQL with easy to configure pkgs like DNN, Drupal,DotNetNuke,  WordPress. They have it all and all affordable.

Summary

Whether you’re looking to launch a web application without hiring a full IT department, or you’re in IT and you just want to be sure you can handle large traffic spikes, a cloud hosting service can help you sleep at night, knowing your latest creation is running as it should