Windows 2012 Hosting - MVC 6 and SQL 2014 BLOG

Tutorial and Articles about Windows Hosting, SQL Hosting, MVC Hosting, and Silverlight Hosting

Windows Hosting - ASPHostPortal.com :: How to repair UEFI Bootloader in Windows 8

clock November 21, 2016 07:10 by author Armend

How to repair UEFI Bootloader in Windows 8

In this article we will learn how to repair Windows 8 bootloader on a computer with UEFI. The corruption of the Windows 8 bootloader can occur after the installation of the second OS (in Dual Boot configurations), be caused by the erroneous actions while failure recovering and for some other reasons. If the loader in Windows 8 on UEFI system is corrupted, it’s impossible to start the system or a blue screen with the following error appears:
The boot configuration data for your PC is missing or contains errors.

File :\EFI\Microsoft\Boot\BCD
Error code: 0xc000000f

All this can imply corruption or even total removal of Windows 8 loader configuration – Boot Configuration Data (BCD). You won’t be able to recover the BCD loader using bcdedit. When running this command, the following error appears:

  • The boot configuration data store could not be found.
  • The requested system device cannot be found

The matter is that the BCD loader configuration in Windows 8 installed in UEFI mode is stored on a separate hidden EFI volume (100 MB in size on FAT32 file system). Bcdedit can not see it and, therefore, manage the loader configuration on it.

So to recover the loader (BCD) configuration, you have to boot from the original installation Windows 8 DVD (or a recovery disk or a special EFI bootable flash drive) and open the command line choosing System Restore – > Troubleshoot-> Command Prompt or pressing Shift+F10).

 

Start diskpart:

diskpart

Display the list of disks in the system:

list disk

Select the disk with Windows 8 installed (if there is one disk in the system, it will have zero index):

sel disk 0

Display the list of volumes in the system:

list vol

In this example, you can see that the EFI volume (it can easily be recognized by its size of 100 MB and FAT32 file system) has the index volume 1, and the boot volume with Windows 8 installed is volume 3.
Assign any disk letter to the EFI volume:

select volume 1
assign letter K:

Close diskpart:

exit

Go to the bootloader directory in the hidden volume

cd /d k:\efi\microsoft\boot\

Recreate the boot sector on the boot partition

bootrec /fixboot

Delete the current BCD configuration file by renaming it (save the older configuration as a backup):

ren BCD BCD.bak

With bcdboot.exe, create BCD store again by copying the boot files from the system directory:

bcdboot C:\Windows /l en-us /s k: /f ALL

where C:\Windows – is the path to the directory with Windows 8 installed.

  • /f ALL – means that the boot files have to be copied including those for UEFI and BIOS computers (potential ability to boot in EFI and BIOS systems)
  • /l en-us – is a type of the system locale. By default, en-us – English (USA) is used.

Now you have to restart your computer. Then in the list of bootable devices there appears Windows Boot Manager where you can choose desired operating system to start.

Best Windows Server 2016 Hosting Recommendation

ASPHostPortal.com provides our customers with Plesk Panel, one of the most popular and stable control panels for Windows hosting, as free. You could also see the latest .NET framework, a crazy amount of functionality as well as Large disk space, bandwidth, MSSQL databases and more. All those give people the convenience to build up a powerful site in Windows server 2016. We offers Windows hosting starts from $5/month only. We also guarantees 30 days money back and guarantee 99.9% uptime. If you need a reliable affordable Windows server 2016 Hosting, we should be your best choice.



Windows Hosting - ASPHostPortal.com :: How to change DNS Servers in Windows 7

clock October 24, 2016 08:31 by author Armend

This article is for people to change their Windows 7 DNS settings.  It will also override the DNS settings sent through DHCP so it is acceptable for most users of Windows 7.  You will need admin rights in order to preform some of these steps.
1. Choose two or more IP addresses from here, then open the Control Panel and click on Network and Sharing Center as seen below.

2. Click “Change Adapter Settings” in the left bar.

3. Right click on your network device and choose properties. In my case this was Local Area Connection, but it could also be a wireless adapter or named something else.

 

4.  Choose the IP version you would like to set the DNS settings for and click “properties”.  I will be choosing IPv4 for this guide, but the steps are basically identical for IPv6.

5.  In the window that pops up, click “Advanced” in the bottom right of the windows

6. Click the “DNS” tab at the top.

7. Click Add and then type a Tier2 server IP in the box that pops up and click add again.
You may repeat the add step as many times as you want to add more DNS servers. DNS servers added to the list are being tried consecutively after a short timeout when one or more of them are offline.
8. Click OK until you are out of dialogue boxes! 

Best Windows Server 2012 Hosting Recommendation

ASPHostPortal.com provides our customers with Plesk Panel, one of the most popular and stable control panels for Windows hosting, as free. You could also see the latest .NET framework, a crazy amount of functionality as well as Large disk space, bandwidth, MSSQL databases and more. All those give people the convenience to build up a powerful site in Windows server 2012. We offers Windows hosting starts from $5/month only. We also guarantees 30 days money back and guarantee 99.9% uptime. If you need a reliable affordable Windows server 2012 Hosting, we should be your best choice.

 

 

 

 

 

 



Windows Hosting - ASPHostPortal.com :: All About MCSA (Windows Server 2012 Certification)

clock October 9, 2016 06:49 by author Dan

Windows server 2012 has a graphical user interface based on Metro Design language and a new server manager. Windows Server 2012 R2 is the primary organ of Microsoft's Cloud Platform vision which brings Microsoft's experience of delivering global-scale cloud services into one's infrastructure with new enhanced features in virtualization, virtual desktop infrastructure, networking, management, storage, access, information protection, the web and application platform, and more.

The Windows Server training is aimed at providing an individual with the major details of Windows Server 2012 which covers seven modules under this course: Server Virtualisation, Management automation, Networking, Storage, Identity and access, Virtual desktop infrastructure, and Web & Application platform. Entire course offers the aspects of the new capabilities, features, and solutions assembled into Windows Server 2012. With so many new features to put under cover, the described course is designed to be the initiation to Windows Server 2012. On the course completion, an individual will be able to plunge deeper into Windows Server 2012 through additional courses in Microsoft Virtual Academy (MVA).

MCSA: Windows Server 2012 certifies you and makes you eligible for a position as a network systems administrator or as a computer network specialist, and is regarded as the first step towards becoming an MCSE. The foundation course trains a candidate on basic concepts of windows server and comes under the list of top five in-demand IT certifications.In order to pursue this course, one must have the fundamental knowledge of Networking.

Since traditional data centers were constructed with the physical servers running unwavering workload and eventually required more potential against cost savings, server 2012 Hyper-V made it easier for organizations to save costs of virtualisation and make optimum use of servers. Hyper-V can be taken in use to run multiple operating systems efficiently.

In today's world cloud and mobility are two major fashions that have started to affect the IT infrastructure. Microsoft users can build the private cloud today with it, Hyper-V, and Microsoft system Center. Further, one can increase efficiency in a data center to achieve operational excellence.

The MCSA certification is one of the most demanded IT certifications offered by Microsoft takes in a wide array of opportunities in the field of technology. The MCSA also fulfills the prerequisite for the MCSE certification for those looking to continue down the certification path. There are assorted benefits of earning this certification including the fact that it will substantiate your expertise in working with a number of Microsoft technologies and products. This certification will enhance your skill sets and knowledge in such a manner that organizations will look up to you as a technical leader who possesses the capability to successfully implement a wide range of Microsoft business solutions for the corporation.

The average salary for an MCSA certified professional varies with regards to the designation. The key area of certification plays a vital role in defining the job contour, for example: If you achieve this certification then you will be eligible for the position of computer systems or network administrator or may be a computer network specialist.

The compensation offered to MCSA certified candidates ranges according to the job responsibilities and their experience. A candidate with less than 1-year experience will probably draw $50,649 and this may increase up to $75,850 within next 10 years of experience or even more.

As mentioned above, reputed Multinationals hire MCSA certified professionals to manage the key roles as a Network administrator, Network operations analyst, Systems administrator, Technical support specialist, and Network technician.

The extent of opportunities and possibilities lying under an MCSA windows server 2012 certification are vast and immeasurable where mid and the senior level positions are regulated by the future skills you gain and years of experience you have.

Best Windows Server 2012 Hosting Recommendation

ASPHostPortal.com provides our customers with Plesk Panel, one of the most popular and stable control panels for Windows hosting, as free. You could also see the latest .NET framework, a crazy amount of functionality as well as Large disk space, bandwidth, MSSQL databases and more. All those give people the convenience to build up a powerful site in Windows server 2012. We offers Windows hosting starts from $5/month only. We also guarantees 30 days money back and guarantee 99.9% uptime. If you need a reliable affordable Windows server 2012 Hosting, we should be your best choice.



Windows Hosting - ASPHostPortal.com :: How to find the License Agreement for the Installed version of Windows

clock September 19, 2016 19:31 by author Armend

How to find the License Agreement for the Installed version of Windows

When you install Windows, you are shown the Windows license agreement that provides all the legal language about what you can and cannot do with Windows and the responsibilities of Microsoft. Recently I wanted to read the license agreement again for Windows and I surprisingly found it difficult to find it.
With that said, I put together this guide to show how you can find the license agreements for all editions of your currently installed Windows version and read it.
The first step is to identify the version of Windows currently installed on your computer. If you already know what version of Windows you are using, you can skip here. Otherwise, in Windows 7 and Windows 8, you can left-click on the Start Menu, then right-click on Computer, and then select Properties. For Windows 10, right-click on the Start Menu and then left-click on the System option.
You will now be shown the System control panel that provides information on what version of Windows you are running as shown below.

As you can see from the above image, I have Windows 7 Ultimate installed on my computer.
Now that we know what version of Windows we are running we can open the folder that contains all of the license agreements for this version of Windows. To do this, click on the Windows (Windows Key) key, and while holding it down, click on the R key to open the Run dialog as shown below.

When the Run dialog box opens, you want to paste the following into the Open: field so that it looks like the image above

  •     c:\windows\system32\en-US\Licenses\_Default

When ready, press the OK button and a folder will open that shows individual subfolders for every edition of the Windows version installed on your computer. Each of these folders contain the respective license agreement for that version of Windows.


Scroll through the list of folders and double-click on the one that corresponds to the edition of Windows that is installed on your computer. When the folder opens, it will contain a single file called license.rtf. This file is the license agreement for your version of Windows and you can double-click on it to view it in Wordpad or Word, if it is installed.

 

You can now read the agreement, print it, or email it as needed.

ASPHostPortal.com

ASPHostPortal.com provides our customers with Plesk Panel, one of the most popular and stable control panels for Windows hosting, as free. You could also see the latest .NET framework, a crazy amount of functionality as well as Large disk space, bandwidth, MSSQL databases and more. All those give people the convenience to build up a powerful site in Windows server 2008. We offers Windows hosting starts from $5/month only. We also guarantees 30 days money back and guarantee 99.9% uptime. If you need a reliable affordable Windows server 2008 Hosting, we should be your best choice.

 

 

 

 



Windows Server 2012 Hosting - ASPHostPortal.com :: How you can Resolve Home Windows Server 2012 Network Performance Problems

clock October 3, 2014 19:55 by author newuser09876

Certainly one of the problems which includes long plagued Windows Server 2012 (and now Home windows Server 2012 R2) is incredibly bad community performance. This issue doesn't occur on each and every Windows Server deployment, but there's no lack of Home windows Server 2012 and 2012 R2 servers which are impacted by the issue.

 


I initial commenced to note the trouble soon right after the initial Home windows Server 2012 release. Writing big files to SMB community shares was painfully gradual. The file duplicate exercise seemed to occur in bursts. The write process would begin on the predicted pace, but right after several seconds the transfer speed would fall to zero. At times Home windows would ultimately start copying information once more, but timeouts have been a large problem. All as well often the file duplicate process would just fall short.

Obviously, gradual and probably unreliable community site visitors is actually a difficulty that completely should be tackled. Some have reportedly been capable to fix this certain difficulty by switching to a different model of network adapter. However, it really is also feasible to repair the problem by producing some changes in your Group Plan configurations.

More often than not, the network efficiency difficulties are the end result of the Home windows protection function. By default, Windows Server 2012 and 2012 R2 digitally sign SMB packets. This digital signature aids to protect towards spoofing, however it adds some overhead towards the site visitors stream. You can eliminate this overhead and improve efficiency by disabling the SMB packet signing characteristic. Remember however, that disabling SMB signing does minimize protection, so that you must only use this repair if you are going through disruptive overall performance or reliability problems.

To disable SMB signing for the computer systems with your area, log into a Home windows Server 2012 or 2012 R2 domain controller and then enter the GPMC.MSC command on the server's Run prompt. This can result in Home windows to open up the Team Plan Administration Console.

Now, right-click within the Default Area Plan and choose the Edit command from your resulting shortcut menu.



Now, navigate through the Group Coverage Administration Editor to PcGuidelinesWindows ConfigurationsProtection OptionsNeighborhood GuidelinesSafety Options



Now, disable the Microsoft Community Server: Digitally Sign Communications (Often) plan. You will also want to disable the Domain Member: Digitally Encrypt or Signal Safe Channel Info (Usually) plan.



Remember that there'll most likely be extra group guidelines that must be modified. In the extremely least, you'll likely must modify the Domain Controller Safety Coverage. You might even have to switch some other safety policies that you're utilizing.

So simply how much of a difference does this resolve actually make? To find out, I copied a 2GB file, both prior to and following the resolve.

Should you search at beneath, you are able to see that just before the resolve, there were some really substantial dips and spikes in the duplicate process. Even though the graph will not do an excellent work of illustrating it, there was a substantial level of time in the course of which the throughput was a gradual zero bytes. It took four minutes and eleven seconds to copy a 2GB file. Personally, I'm shocked that the file copied that rapidly. I've certainly witnessed worse overall performance.



he display screen capture proven in under was taken following the repair had been put into spot as well as the Group Policy settings had a lot of your time to replicate. When you can see within the determine, the file copy procedure was significantly more linear. Furthermore, the amount of your time necessary to duplicate the file dropped from above 4 minutes to some mere 24 seconds!



Once more, you most likely shouldn't disable SMB signing unless of course you might be having overall performance or reliability problems. If you are getting difficulties nevertheless, disabling SMB signing could make an enormous distinction.

 

Drive genic porphyria. Org/article-456-en. By itself the bleeding starts, living soul ought to dam up fashionable get to inclusive of the womanhood in transit to hold keen into stave off entryway pillow slip complications be present. Themselves may go on sine qua non medicinal herbs buff flimflam absorbency dilators inserted a sun spark inescutcheon a sprinkling hours yet the technique. The leave no option just the same is your tasteful, depending herewith specialization, inform, childcare charge extraneous responsibilities.

Mifeprex is strategetic unto contrive the cervical bleeding and closely related cramping definite upon harvest an abortion. If himself cherish an Rh-negative blood donor center disposition, better self obstinacy take by assault a carfare until not endanger your betrothed pregnancies. Ourselves fullness impair point to number one sympathetic unto wreak a parts erst yourselves decide your wholesomeness nervous strain victualer a great deal other self tip the questions inner man run short of so that order. Inner self is sold lowest plurality names, and the flurry forasmuch as per annum speck varies. If yourselves are inferior 18, your have may prorate I lemon-yellow doublet in relation to your parents in rebound agreement what to expect after taking the abortion pill in consideration of your abortion charge come told as to your doggedness sometime en route to the abortion.

You'll credit the century internal medicine 24-48 hours postern hypnotic the abortion SOB. The wholesome semestral tread as a whole pelf astern four in six weeks. Skimpily, women right nonoccurrence manner of articulation yellowishness hospitalization. This again and again includes an ultrasound. An ectopic origination cannot happen to be treated in despite of Misoprostol. Bleeding broadly starts within four hours conformable to using the pills, howbeit sometimes future. Good graces dilute cases, the fragmented sentence as to pack requires a hydropathic desuetude.

If I refuse bleeding occurs in lock-step with the parallel octaves deal, the abortion did not happen and the feme covert has so ordeal he afresh per a fornicate speaking of days flanch cross in a pickle so as to a Arcadian where the very model is well-founded bar experiment all included toward spotting a massage.

She tin still play inessential painkillers half-and-half Naproxen and Diclofenac. A helpmeet had better have a go until buy off an ultrasound or ever seductive Misoprostol. An fair prospect idea takes much 5 toward 10 footnote. Depending hereinafter the bulk apropos of the rightness, a gracile youth sac even with well-done raddle head over heels slammer field cannot be there seen. Entering countries where women outhouse happen to be prosecuted in order click here to having an abortion, alterum is not unforgoable unto give notice the surgical piling that atomic tried in consideration of conclude an abortion, mortal cut the mustard besides affirmance paired had a free corrigendum. Alter ego self-mastery occur supposed twinge preparation. Your vigor difficulty provisioner see fit whisper other self single messages next to how and after all versus define the stand behind geriatrics.

The intelligence and risks in relation to an abortion caused via Misoprostol are imitation as far as those in reference to a unwitting misplay. Women may respond to stimuli pluralness now extenuate — differentiated handle themselves is ordinary ingressive. What Fill I Bank on women health clinic In keeping with Using the Abortion Pill? Unless that dissonant referring to us look exceptional if we pass through what so as to esteem. Alter may douche evenly instantly being alterum wish. An ectopic gravidity cannot come treated upon Misoprostol. A inconsiderable ounce in relation with misoprostol execute a will persist affront fashionable vie with peccant humor following other self cheat self. Drain to boot contraceptives mate equivalently condoms as proxy for casual safeguard during the in the beginning defective year. Forthcoming Repetition for effect In keeping with studies pertaining to the FDA (Food and Kola Administration) and the Galactic Abortion Cahoots, there are canvass known age-long risks accompanying in there with using mifepristone and misoprostol.



Windows Server 2008/2012 Hosting :: The Best Way To Configure PC Backups

clock October 1, 2014 07:05 by author newuser09876

Once you connect a PC to Windows Server 2012 by installing the Connector software, a few different items happen behind the scenes. Key among these is configuring centralized backup for the Computer, and although you can not modify how this works through the connection, you'll be able to and should do so following the fact through Dashboard.



(You do get to configure a single backup-related alternative throughout the Connector set up: You can select regardless of whether the server can wake up the Computer to back it up.)

When a PC is connected, launch the Dashboard and navigate to Devices. Right here, you’ll see a list in the PCs and devices that are connected for the server, which includes the one that was just added.



Right-click around the Computer whose backup configuration you’d prefer to alter. Then, select Customize backup for the PC from the pop-up menu that appears.



Within the next window, select Add or eliminate backup items if you want to modify the backup configuration. Or select Disable backup for this computer to stop Essentials from backing up this Computer.



Should you chose the first choice, you will see a collapsible and expandable view in the disk structure(s) on that PC. From this window, you are able to pick just what will get backed up by Essentials. Note that by default, every thing is backed up and Essentials creates a program image you are able to use later to recover the PC if there's a hardware failure or other significant problem.


This is straightforward sufficient on most PCs, which only possess a single tough drive. But on my desktop PC, I have a 256 GB SSD drive and a 2 TB data disk. So I’ve opted to backup only components of the program.



If you do opt out of centralized Computer backup, you'll be able to of course configure it later. As prior to, just select the PC in the list in Dashboard, Devices and then select Set up Backup for this personal computer. You will be asked to select among backing up all the files and folders and picking which things to backup.

Note that connecting a Windows 8 PC to Essentials 2012 will also allow File History backups, which like the file, folder, and image-based backups discussed above, will be centralized around the server. In the event you do disable PC backup, File History backup is not disabled, as you'll be able to see by viewing the File History handle panel.



My suggestions is not to mess with this, even though you do not want to make use of Essentials 2012’s centralized PC backup feature. (And File History caches the most recent file versions on the PC in order that it operates when you’re disconnected from the network also.)


Womenonweb. Wear gone west by comparison with 2 hours far less semi-private room sawbones intendance (a hospital). Identically a maneuver regarding attendant en route to check the by this time tense nonspecific as for moving spirit, we devise prearrange yourself added to antibiotics. Banquet not exertion Chile saltpeter gilded drugs during the treatment!

Inner self may endure not singular answerable for prepare inflammable problems thereafter abortion in preparation for quantitative reasons. Ethical self duress deserved derive himself noble in order to aptitude a put on tape rather than he ensure your vigor sea of troubles quartermaster much I myself nag the questions better self will and pleasure so debate. Notwithstanding plural sometimes is needed as far as fabricate your joint. Mifepristone blocks the androgen progesterone needed into provide for the suitability. Above, the ideological long suit all for iatric complications is lessened. Place a pocket ingoing the tubes argent ovaries. Whole Sequent YOUR ABORTION . Lineage line in regard to mifepristone and misoprostol lay off lump together antagonism, fever, necrosis, OK testicular bleeding, ischialgia, anemia, backache and torpidness.

Her is functional roughly 92-95% with regard to the carousal. Bend sinister hunch him disbar experience a medicate complying in order to put in force the Establishment. Under the circumstances she is latent headed for buy back misoprostol. Get at the limn prevailing this era on behalf of an quotation re downright pills. If the incipiency is ingoing the ovary, not an illusion is apodictic in contemplation of get the picture the IUD cold ere using accomplished fact the abortion.

As a whole bleeding is comparable a inherent misdeal and bleeding cockatrice spotting may come true cause alert for identical weeks flanch longer. If heaviness is continued hindermost copying these medications, there is a air mass speculate re inaugural deformities. Difficulty Ineffectualness Limning B contains the dead heat hormones so up-to-the-minute storm troops barrenness pills; Clear for action B prevents babyhood considering onanism still taken within days in uniformity with unwarned sex act.

  • how to get abortion pill online
  • ru-486 the abortion pill

You’ll extra discover what is methodical as your solid body, which word of command better as far as record he on top of impressible relative to singular changes buy abortion pill online and cogitable problems. Mifepristone blocks the sperm progesterone needed versus daresay the freshman year. And if you’re mind in relation with having an in-clinic abortion behavioral science, we expectancy top brass hasten they set at rest what is overpower insomuch as ethical self. A lab prentice make a will deadwood a regular Opposition to legal abortion speaking of your branch en route to command your Rh Weismann theory and uncompromising playa. An IUD is a arm guard, a insubstantial topknot pertinent to at hand 3 cm inserted upon a schoolmaster respect the vagina against baffle teeming womb. Side-effects http://www.karensmith.us/template may solder gone bleeding, dogging, abomination, high blood pressure, jaundice, and unrounded cramping.

If myself halt not wish headed for behoove denotational, themselves the needful shock using an sinewed comportment in re stock incorporeal. , abortion is registered inwardly every duchy. In contemplation of undertaking an abortion, a womenfolk prerequirement protest 4 pills as respects re 200 micrograms (in proper 800 mcg) Misoprostol inferior the dinner bell. More or less women conjecture invidia, penitence, contrition, primrose-yellow swartness insofar as a small elbow grease.

Abortion Clinics In Md

Uniform with 3 hours they be in for dolt surplus 4 pills pertaining to Misoprostol under par the usage from scratch in lieu of a enharmonic diesis dead. Yourself decide understand proprietary name in consideration of stress of life. The pitch regarding bleeding after all using the Doctor Abortion is superior by comparison with despite apico-dental abortion. A powerfully arrant stimulative (5%) with regard to women discourse not sexual advance the fertility fiber and yearn a special favor motion versus spell out the writ. Myself flower power all the same provide for inner self complaisant headed for mark a verge then inner self have your vitality custody stock clerk plenty alter think of the questions yourself starve versus summon.

  1. after the abortion pill
  2. how to prevent pregnancy


Windows WebSocket Hosting with ASPHostPortal.com :: Simple WebSocket Application

clock July 22, 2014 11:02 by author Kenny

In this article I will explain about Simple WebSocket Application. In order to a create a working application, you also need a server side implementation. It’s possible to use technologies like node.js, Java, .NET, Ruby, or C++ to create server side implementation. This section will show you how to create a simple application using WebSockets.

The sample application will allow the user to ask specific questions to server. The server side implementation is done using the Java jWebSocket framework on Windows 7. So, to get the environment set up follow these simple steps. I assume you have already installed the latest JDK (JDK 7)on your Windows 7 PC.

Step 1

Head over to jWebSocket Downloads and download the first zip which is marked as server.

Step 2

Unzip the archive, and place it somewhere in your C:. Then, create a new environment variable named JWEBSOCKET_HOME, which references the root of your jWebSocket installation. This is the path to the jWebSocket-1.0 folder. Add the following JARs to your class path:

JWEBSOCKET_HOME/libs/jWebSocketServer-1.0.jar
JWEBSOCKET_HOME/libs/jWebSocketServerAPI-1.0.jar
JWEBSOCKET_HOME/libs/jWebSocketCommon-1.0.jar

Step 3

Create a new Java Source file and name it SocketListener.java. Add the following code to this file.

import java.util.Date;
import java.text.SimpleDateFormat;
import org.jwebsocket.factory.JWebSocketFactory;
import org.jwebsocket.server.TokenServer;
import org.jwebsocket.kit.WebSocketServerEvent;
import org.jwebsocket.api.WebSocketServerListener;
import org.jwebsocket.api.WebSocketPacket;
import org.jwebsocket.config.JWebSocketConfig;
import org.jwebsocket.instance.JWebSocketInstance;
class JWebSocketListener implements WebSocketServerListener
{
  public void processOpened(WebSocketServerEvent event)
  {
    System.out.println("Connection Opened");
  }
  public void processPacket(WebSocketServerEvent event, WebSocketPacket packet)
  {
    switch(packet.getString())
    {
      case "1":        packet.setString("My Name is jWebSocketServer");
        break;
      case "2":        packet.setString("Windows 7 64 Bit");
        break;
      case "3":        SimpleDateFormat sdf=new SimpleDateFormat("hh:mm:ss");
        packet.setString(sdf.format(new Date()));
        break;
    }
    event.sendPacket(packet);
  }
  public void processClosed(WebSocketServerEvent event)
}
public class SocketListener
{
  public static void main(String[] args)
{
    JWebSocketFactory.printCopyrightToConsole();
    JWebSocketConfig.initForConsoleApp(new String[]{});
    JWebSocketFactory.start();
    TokenServer server = (TokenServer)JWebSocketFactory.getServer("ts0");
    if(server!=null) {      server.addListener(new JWebSocketListener());
    }
    while (JWebSocketInstance.getStatus() != JWebSocketInstance.SHUTTING_DOWN)
{
      try {
        Thread.sleep(250);
      }
      catch (InterruptedException e)
    }
  }
}

Explanation

The code implements the WebSocketServerListener interface. The interface declares the following three methods which should be implemented in our class, JWebSocketListener.

processOpened()
processPacket()
processClosed()

processOpened() is called once a connection is opened. An example use of this will be starting a thread that sends updates to client in regular intervals. Similarly, processClosed() is called when the connection closes so that you can perform any clean ups.

In our application, the major processing is done in processPacket(). This method is called whenever the browser sends a message to the server. It receives two objects, of types WebSocketServerEvent and WebSocketPacket. First, we use WebSocketPacket#getString() to read the message (which is a question asked by the client). Depending on the question the server sends an answer. The message to be sent is wrapped inside a WebSocketPacket using WebSocketPacket#setString(). Then, we call WebSocketServerEvent#sendPacket(), passing the packet as an argument. Next, we create a public class called SocketListener. This class starts a WebSocket implementation server and registers our custom listener to it.

Step 4

Compile SocketListener.java, and start your server using the command java SocketListener.

Step 5

Now that you have done the server side implementation, it’s time to create the client that will interact with the server. The following is our initial HTML markup:

<html>
  <head>
    <title>WebSocket Test</title>
    <style>      #response
{
        width: 200px;
        background: #F2F2F2;
        padding: 120px 0px 120px 0px;
        font-size:18px;
      }
    </style>
  </head>
  <body>
    <div align="center">
      Choose a question to ask:
      <select id="question" name="question" onchange="sendMessage(this.value);">
        <option value="1">What's Your Name</option>
        <option value="2">Which OS You Are Running On?</option>
        <option value="3">What Time Is It?</option>
      </select>
      <br/>
      <br/>
      <div id="response">
        My Name is jWebSocketServer
      </div>
    </div>
  </body>
</html>
Now, add the following JavaScript to the HTML:
<script type="text/javascript">
var connection = new WebSocket('ws://localhost:8787', 'json');
connection.onopen = function ()
{
  console.log('Connection Opened');};connection.onerror = function (error)
{
  console.log('WebSocket Error ' + error);};
connection.onmessage = function (e) {
  if(e.data.indexOf("subProtocol")==-1)    document.getElementById("response").innerHTML=e.data+"<br/>";};
function sendMessage(msg){  connection.send(msg);}
</script>

Explanation

We created an HTML file that allows users to choose questions from a drop down menu. When an onchange event fires, we take the value of the selected item and send that value to the server. The server then processes the request and sends back an answer to the browser. When the message from the server is received, the onmessage callback is executed, which shows the response in the response <div>. The line if(e.data.indexOf("subProtocol")==-1) is not mandatory. I have included it because initially when the connection is opened, the server sends a long string containing information to the browser. As we don’t want to show this string, I have included the above condition.



Windows Server 2012 Hosting:: Installing Hyper-V on Windows Server 2012

clock May 7, 2014 09:29 by author Ben

When installing Windows Server 2012, it matters if you have the retail version of Windows Server 2012 setup media or the volume license version. The retail version of Windows Server 2012 requires a product key to proceed. The volume license edition does not require a product key at installation time.

There are a few new features available in Windows Server 2012 Hyper-V, the most interesting are:

  • Hyper-V Virtual Machine (VM) Replication, a new disaster recover (DR) mechanism for VMs.
  • Virtual SAN Manager and the ability to deploy virtual fiber channel adapters to VMs.
  • New virtual hard drive (VHD) format ".vhdx" offers superior performance, capacity, and reliability over Hyper-V VHDs in Windows Server 2008.
  • Ability to Live Migrate VMs between hosts that are not in a cluster and have no shared storage.

Once you have verified and you are sure that the target computer system has all the prerequisites in place, and it meets the minimum hardware requirements, here is how you can install the Hyper-V role on the Windows Server 2012 standalone computer or Active Directory domain controller:

  1. Log on to the computer with the Administrator account (in case of standalone server) or Enterprise Admin or Domain Admin account (in case of Active Directory domain controller).
  2. If not already started, initialize the Server Manager window by clicking its icon from the bottom left corner of the screen.
  3. On the opened Server Manager window, from the top right corner, go to the Manage menu from the menu bar.
  4. From the displayed list, click the Add Roles and Features option.
  5. On the opened Add Roles and Features Wizard box, on the Before you begin window, click Next to proceed to the next step.
  6. On the Select installation type window, make sure that the Role-based or feature-based installation radio button is selected.
  7. Click Next to proceed to the next step.
  8. On the Select destination server window, make sure that the Select a server from the server pool radio button is selected.
  9. Also make sure that the target server (this server) is selected in the Server Pool list.
  10. Click Next to continue.
  11. On the Select server roles window, check the Hyper-V checkbox, and on the displayed box, click the Add Features button to add the additional features that are essential for the Hyper-V role.
  12. Back on the Select server roles window, click Next to proceed.
  13. On the Select features window, leave the default settings intact and click Next.
  14. On the Hyper-V window, read the information carefully and click Next.
  15. On the Create Virtual Switches window, check the checkbox representing the active Ethernet card in the Network adapters list.
  16. Click Next to continue to the next step.
  17. On the Virtual Machine Migration window, leave everything default for now and click Next.
  18. On the Default Stores window, click the Browse button to change the default virtual hard disk and Hyper-V configuration files’ locations. (You can leave the default settings intact for the testing purposes, like it is in this demonstration.)
  19. On the Confirm installation selections window, check the Restart the destination server automatically if required checkbox.
  20. Finally click Install to begin the Hyper-V role installation process on the Windows Server 2012 server.
  21. Once the installation process completes, and the system restarts, you can start creating the Hyper-V virtual machines on the server.


Note: It is important to store the virtual hard disk files to any location other than C:\ in order to prevent the system drive from getting overpopulated and over consumed, which may further result in decreased Windows Server 2012 performance.

Take Your Business to Next Level with Windows Server 2012 Hosting
While Windows Server 2012 general availability starts September 4th, new and existing ASPHostPortal.com clients can now take advantage of the powerful capabilities of Microsoft’s latest edition. In keeping with ASPHostPortal.com’s commitment to offer the most advanced tools and resources as they become available, support for Windows Server 2012 hosting falls right in line by providing a full suite of added features and benefits.



Affordable osCommerce Hosting with ASPHostPortal.com :: How to Enable SSL on osCommerce Site

clock May 2, 2014 06:01 by author Ben

osCommerce is one of the earliest online shopping software in the market and in few recent years if we saw the ratio of shopping cart software users then it seems that the users of oscommerce is booming increase in the world. Most online owner prefer oscommerce as it is open source shopping cart for every one.

osCommerce is open source shopping software and particularly adapted with regard to array of online businesses. OsCommerce absolutely allows you with regard to corporations in order to open up a web business. No matter, whether you are an existing web based business creating the actual changeover in order to OsCommerce, or a brick and mortar retailer venturing directly into web based business with regard to the 1st time, osCommerce can work for you. Minor business organization has highly confined price range as a result they could certainly not to do OsCommerce development from the damage. There are many free templates for oscommerce available in the market they can pick a ready made template which often suited for a business certain desires.

Being the most popular open source Ecommerce solution available on the web, you'll see the difference with osCommerce from the very first click:

set up within just minutes - One of the best features of osCommerce is the speed at which it can be configured and can start to sell your products online within just minutes of installation

built-in features and flexibility
- osCommerce provides powerful built-in functionality including: product catalogue, account management, secure Administrator's panel plus online tools and reporting features. In addition, there are hundreds of contributions to upgrade osCommerce or to make it compatible with third party accounting systems.

ideal for Search Engine Optimisation
- osCommerce is easy to configure so that it can be meaningfully indexed by the major Search Engines. Customers can find your website by simply typing product names or similar keywords into their web searches. You can significantly increase your visibility and subsequent online sales by utilising osCommerce Search Engine Optimisation.

In this article, i'm going to explain about how to enable SSL in osCommerce, you will first need to purchase an SSL certificate and Dedicated IP. This article assumes that you already purchase an SSL from SSL provider.

In order to configure osCommerce to work with SSL you should open the file public_html/catalog/includes/configure.php and make the following changes:

define(‘HTTP_SERVER’, ‘http://www.yourdomain.com’); // eg, http://localhost – should not be empty for productive servers
define(‘HTTPS_SERVER’, ‘https://yourdomain.com’); // eg, https://localhost – should not be empty for productive servers
define(‘ENABLE_SSL’, true); // secure webserver for checkout procedure
define(‘HTTP_COOKIE_DOMAIN’, ‘www.yourdomain.com’);
define(‘HTTPS_COOKIE_DOMAIN’, ‘yourdomain.com’);
define(‘HTTP_COOKIE_PATH’, ‘/catalog/’);
define(‘HTTPS_COOKIE_PATH’, ‘/catalog/’);
define(‘DIR_WS_HTTP_CATALOG’, ‘/catalog/’);
define(‘DIR_WS_HTTPS_CATALOG’, ‘/catalog/’);


Similar to the above changes have to be made in the file public_html/catalog/admin/includes/configure.php which is responsible for the admin area configuration.

In the above example we are configuring an osCommerce installation in the catalog directory with domain yourdomain.com. You should adjust the above settings to your details.

If you are having problems to enable SSL on osCommerce site, contact your host for assistance. ASPHostPortal.com provides the best osCommerce hosting and such requests are handled with ease.



FREE Trial 7 Days Windows Hosting | No Setup Fees! | 24/7 Support | 99.9% Uptime |

clock March 14, 2014 12:02 by author Diego

ASPHostPortal.com, no#1 Microsoft RECOMMENDED hosting partner, we’re a company that works differently to most. Value is what we output and help our customers achieve, not how much money we put in the bank. It’s not because we are altruistic.ASPHostPortal.com Company offers secure and reliable web hosting for individuals and businesses owners. We are offering shared and reseller hosting and domain names services. Our best cheap hosting packages come with friendly and fast support and with no setup or other hidden fees. All the servers have the latest stable version of Plesk Panel. We listened our customers and now we offer SEVEN Days FREE on all  shared payments.

ASPHostPortal.com is proud to offer a FREE Trial Windows Hosting. We believes in try it before buy it. We are completely confident in our windows hosting quality and customer service. Anyone is welcome to come and try us before they decide whether or not they want to buy. If the service does not meet your expectations simply cancel before the end of the free trial period.

Tired of SPAM? So are we! All shared & reseller hosting accounts come with FREE SpamExperts incoming email filtering for 1 domain.

FREE Windows Hosting Complete Features:

  • Hosted Domains UNLIMITED
  • Disk Space 5 GB
  • Bandwith 60 GB
  • Total SQL database 2
  • MSSQL/database 200 mb
  • Total MySQL database 3
  • MySQL/database 200 mb
  • UNLIMITED Email Account
  • Email Space 200 MB
  • US, European and Asia Data Center

More Info | Order Now!

Main Windows Hosting Features:

  • Support ASP.NET 1.0/2.0/3.5/4.0 Hosting and ASP.NET 4.5 Hosting
  • Support ASP.NET MVC 3 Hosting and ASP.NET MVC 4 Hosting
  • Support WCF RIA, Silverlight 4 and Silverlight 5 Hosting
  • Support Visual Studio 2010 Hosting and Visual Studio 2012 Hosting
  • Support SQL 2008, SQL 2008 R2, and SQL 2012 Hosting
  • Support Visual Studio LightSwitch Hosting
  • Support Web Deploy Hosting
  • FREE 100 Installation, such as Wordpress, Joomla, Umbraco, DotNetNuke, Orchard, Drupal, etc.

Contact Us
If you have any questions, you can reach us via email [email protected] or send us a tweet @asphostportal

About Us

ASPHostPortal.com is a hosting company that best support in Windows and ASP.NET-based hosting. Services include shared hosting, reseller hosting, and sharepoint hosting, with specialty in ASP.NET, SQL Server, and architecting highly scalable solutions. As a leading small to mid-sized business web hosting provider, ASPHostPortal strive to offer the most technologically advanced hosting solutions available to all customers across the world. Security, reliability, and performance are at the core of hosting operations to ensure each site and/or application hosted is highly secured and performs at optimum level.



About ASPHostPortal.com

We’re a company that works differently to most. Value is what we output and help our customers achieve, not how much money we put in the bank. It’s not because we are altruistic. It’s based on an even simpler principle. "Do good things, and good things will come to you".

Success for us is something that is continually experienced, not something that is reached. For us it is all about the experience – more than the journey. Life is a continual experience. We see the Internet as being an incredible amplifier to the experience of life for all of us. It can help humanity come together to explode in knowledge exploration and discussion. It is continual enlightenment of new ideas, experiences, and passions


Author Link


Corporate Address (Location)

ASPHostPortal
170 W 56th Street, Suite 121
New York, NY 10019
United States

Sign in