Windows 2012 Hosting - MVC 6 and SQL 2014 BLOG

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

Magento Hosting with ASPHostPortal :: Writing a Custom Module in Magento

clock May 17, 2010 08:49 by author Jervis

At ASPHostPortal you can get a free professional Magento installation with your Magento Hosting account. You can always start from our Portal ONE hosting plan (from @$5.00/month) to get this application installed on your website. So, why wait longer?

Before we start with the explanation on how to actually write a module let’s take a deeper look at the module philosophy. You can look at the module as your application (that’s the way we look at it) within the main application (Magento). Just for the consistency let’s stick to the module terminology. Each module is comprised of various parts working together for the common goal. If your module is named, let’s say, SomeCoolPaymentServiceModule then the common goal of the module parts is to achieve full integration (inner workings) of Magento system with the SomeCoolPaymentService service.

So what are the parts that make the module? In MVC architecture even the bare bone application is (mostly) written across three separate files. Model, View and Controller. Ideal case is the one where Model manages all of the database connections and queries, then passes the information to controller. Controller then reorders, maps, filters, does some logic on the data and passes it to the View. View is the thing we see. View is the file served to our browsers. In Magento case View is called Block. The same block whose name we see when we turn on System > Current Configuration Scope > Developer > Add Block Names to Hints to Enabled.

Magento is built on top of Zend framework. Since Zend is pure MVC framework so is Magento’s architecture MVC based. Open you Magento installation directory and drill down into the app/code/core/Mage/Catalog/ folder. Notice the word Catalog in this path? Well, the Catalog is one of the modules inside the Magento. And the app/code/core/Mage/ path is the path to all the Magento modules, the building blocks of Magento. Now that we know where to find modules, let’s look at the content of a module. This is the content of the Catalog module:

Block /
controller/
etc /
Helper /
Model /
sql /
Exception.php

As you might notice, there are more than three type of files here. By types we think of Model, View (Block), Controller. Magento’s structure is therefore more divided. We can see the Helper and sql folders as well. Although not every Model contains the same sub folder structure like this one you need to understand that this is somewhat of a blueprint of how Magento modules are built.

So how does one write a custom module? Presumption is that you already know how to create a custom theme. Across this walktrough we will be using paths showing mycustom as the name of our theme folder. Remember this so you don’t get confused. Our module will be called ActiveCodeline.

Folder /app/code/core/Mage/ is used to store default Magento modules NOT the custom created ones. User (custom) modules are to be stored inside the app/code/local/ folder. The thing with PHP is that it lacks the support for namespaces. However, this did not stop Magento guys and girls for creating them. In the default Magento module folder /app/code/core/Mage/ word (folder) Mage is actually a namespace. Why is this important? Well, as I sad I’ll create a module named ActiveCodeline. Creating a directory app/code/local/ActiveCodeline/ simply means I created a new namespace named ActiveCodeline inside the user module folder. Therefore you should look at the ActiveCodeline folder as the namespace name not the module name for now.

Under the /app/code/local/ActiveCodeline/ folder (or shall we say under the namespace ActiveCodeline) create a folder (module) named Example like

app/code/local/ActiveCodeline/Example/

Now if we were to look at the newly created folder we should look at it the same way we look at the app/code/core/Mage/Catalog/ folder. Example (in our case) and Catalog (in Magento default case) are both modules. Now we can say Example is our custom module. This however is a bit contradictory since we are most likely to say that ActiveCodeline is the name of our module. What’s important is that you know the difference and avoid getting confused by the naming.

Now, let’s go into the /app/code/local/ActiveCodeline/Example/ folder (module) and create two subfolders there, Block and etc. Our folder structure should now look like

/app/code/local/ActiveCodeline/Example/
Block/
etc/

So far, we haven’t done anything that would make Magento see our new module. In order to get our module seen by Magento we need to register it. How do we register our module in Magento? drill down into the newly created

/app/code/local/ActiveCodeline/Example/etc/

folder and create config.xml file.

What do we write into this file? If you open up the app/code/core/Mage/Catalog/etc/config.xml file and have a look inside, you’ll see the stuff it contains. For our bare bone module we need to write the following into the config.xml file:

0.1.0

ActiveCodeline_Example_Block

After we save our config.xml file we can go to Magento admin, go to System > Configuration > Advanced. There you should see the ActiveCodeline_Example on the list among other modules.

Now we need to add some logic to our module. To keep things simple, we’ll make our module simply echo some stuff to the browser. Now lets create second file that we need to make our module work. Open up the app/code/local/ActiveCodeline/Example/Block/ folder and create a View.phtml file.

Place the following content into it:

class ActiveCodeline_Example_Block_View extends Mage_Core_Block_Template {

public function doSomeAction(){
$message = ‘

Hello from ActiveCodeline sample module…

’;
return $message;
}
}

Finaly, we go to our theme folder. As we told you at the beginning of this article, our theme folder is called mycustom. Therefore, inside the app/design/frontend/default/mycustom/template/ folder you need to create the example folder like

app/design/frontend/default/mycustom/template/example/

Now you create a file called view.phtml with the following content

/*
$this is now instance of ActiveCodeline_Example_Block_View
*/
?>

This is the output of the activecodeline example:


echo ‘Class name: ’. get_class($this) .’’;
echo $this->doSomeAction();
?>

Basically these three files conclude the creation of your bare bone module. To test if the module is working, go to Magento admin > CMS > Manage Pages > Home page then write the following somewhere on the page

Sample activecodeline message…

{{block type=”ActiveCodeline_Example/view” template=”example/view.phtml”}}

Notice the type=”ActiveCodeline_Example/view”. If you were to write it like type=”activecodeline_example/view” it wont work. Watch for the capital letters.

Now if you refresh the home page of Magento shop, you would see the result message of the new module.

As we said at the beginning, this is a bare bone module, dummy module or whatever you like to call it. My intention was show you how simple it is to create a basis for module. We haven’t mentioned sql folder here or helpers folder. We leave some things for you to do. Most of the tutorials out there on creating a custom module jump right into the fire going over trough stuff we intentionally left out but they leave the basis unmentioned. Then you end up with the tutorial on how to create something cool but you are missing few steps and you go crazy trying to figure out what’s missing.

Reasons why you must trust ASPHostPortal.com

Every provider will tell you how they treat their support, uptime, expertise, guarantees, etc., are. Take a close look. What they're really offering you is nothing close to what ASPHostPortal does. You will be treated with respect and provided the courtesy and service you would expect from a world-class web hosting business.

You’ll have highly trained, skilled professional technical support people ready, willing, and wanting to help you 24 hours a day. Your web hosting account servers are monitored from three monitoring points, with two alert points, every minute, 24 hours a day, 7 days a week, 365 days a year. The followings are the list of other added- benefits you can find when hosting with us:

- DELL Hardware
Dell hardware is engineered to keep critical enterprise applications running around the clock with clustered solutions fully tested and certified by Dell and other leading operating system and application providers.
- Recovery Systems
Recovery becomes easy and seamless with our fully managed backup services. We monitor your server to ensure your data is properly backed up and recoverable so when the time comes, you can easily repair or recover your data.
- Control Panel
We provide one of the most comprehensive customer control panels available. Providing maximum control and ease of use, our Control Panel serves as the central management point for your ASPHostPortal account. You’ll use a flexible, powerful hosting control panel that will give you direct control over your web hosting account. Our control panel and systems configuration is fully automated and this means your settings are configured automatically and instantly.
- Excellent Expertise in Technology
The reason we can provide you with a great amount of power, flexibility, and simplicity at such a discounted price is due to incredible efficiencies within our business. We have not just been providing hosting for many clients for years, we have also been researching, developing, and innovating every aspect of our operations, systems, procedures, strategy, management, and teams. Our operations are based on a continual improvement program where we review thousands of systems, operational and management metrics in real-time, to fine-tune every aspect of our operation and activities. We continually train and retrain all people in our teams. We provide all people in our teams with the time, space, and inspiration to research, understand, and explore the Internet in search of greater knowledge. We do this while providing you with the best hosting services for the lowest possible price.
- Data Center
ASPHostPortal modular Tier-3 data center was specifically designed to be a world-class web hosting facility totally dedicated to uncompromised performance and security
- Monitoring Services
From the moment your server is connected to our network it is monitored for connectivity, disk, memory and CPU utilization - as well as hardware failures. Our engineers are alerted to potential issues before they become critical.
- Network
ASPHostPortal has architected its network like no other hosting company. Every facet of our network infrastructure scales to gigabit speeds with no single point of failure.
- Security
Network security and the security of your server are ASPHostPortal's top priorities. Our security team is constantly monitoring the entire network for unusual or suspicious behavior so that when it is detected we can address the issue before our network or your server is affected.
- Support Services
Engineers staff our data center 24 hours a day, 7 days a week, 365 days a year to manage the network infrastructure and oversee top-of-the-line servers that host our clients' critical sites and services.

 



Cheap Joomla Hosting with ASPHostPortal :: How to Create a Website with Joomla

clock May 17, 2010 08:21 by author Jervis

Joomla! is an easy to use CMS tool, which allows you to create a website with practically no design or programing skills. To start a Joomla site, you need to sign up for a hosting account and have Joomla CMS installed. At ASPHostPortal you can get a free professional Joomla installation with your Joomla Hosting account. You can always start from our Portal ONE hosting plan (from @$5.00/month) to get this application installed on your website. So, why wait longer?

If you have installed Joomla through Fantastico or from source with the sample data, you will already have a few articles created and published. You can take a look at how they are written and organized in order to get used to managing your articles. To see them go to Content > Article Manager from the top admin menu.

There you will see several articles listed. Once you click an article link, you will enter the Edit mode for the article. From the Edit menu you can modify the article's title, text, etc.

Before building your first article, let's remove all default articles to avoid confusion. For this purpose go back to Content > Article Manager from the top admin menu.

Then select all articles by checking the first radio button in the column and click on the [Trash] button from the top admin menu. 

Now let's create your first article which we'll call "About us".

Step 1. From the top admin menu click on [New].

Step 2. Then make the following changes in the corresponding fields:
Title: About us
Alias: (leave it blank)
Section: Uncategorized
Category: Uncategorized
Published: Yes (If the article is not published, it will not be shown to your visitors. It will remain only as a draft.)
Frontpage: Yes (This will allow it to appear on the first page of your site.)

In the main text field write some information about your company...

Step 3. You can also insert your company's logo. For this purpose click on the image icon at the bottom of the page: 

Step 4. Since your logo is not uploaded yet, click on the [Upload file] link to upload it. Browse your local computer and find the logo image. Click on [Start Upload] to upload it. 

Step 5. You will see a confirmation that the file has been successfully uploaded. Now it can be found in the upper part of the window along with the default Joomla images. Click on logo.png (or whatever the name of your logo is) to select it and then on [Insert] to insert it in your article.

The logo's position in the article can be easily adjusted by dragging the image.

Step 6. The last step is to save this article by clicking on the [Save] button.

Reasons why you must trust ASPHostPortal.com

Every provider will tell you how they treat their support, uptime, expertise, guarantees, etc., are. Take a close look. What they're really offering you is nothing close to what ASPHostPortal does. You will be treated with respect and provided the courtesy and service you would expect from a world-class web hosting business.

You’ll have highly trained, skilled professional technical support people ready, willing, and wanting to help you 24 hours a day. Your web hosting account servers are monitored from three monitoring points, with two alert points, every minute, 24 hours a day, 7 days a week, 365 days a year. The followings are the list of other added- benefits you can find when hosting with us:

- DELL Hardware
Dell hardware is engineered to keep critical enterprise applications running around the clock with clustered solutions fully tested and certified by Dell and other leading operating system and application providers.
- Recovery Systems
Recovery becomes easy and seamless with our fully managed backup services. We monitor your server to ensure your data is properly backed up and recoverable so when the time comes, you can easily repair or recover your data.
- Control Panel
We provide one of the most comprehensive customer control panels available. Providing maximum control and ease of use, our Control Panel serves as the central management point for your ASPHostPortal account. You’ll use a flexible, powerful hosting control panel that will give you direct control over your web hosting account. Our control panel and systems configuration is fully automated and this means your settings are configured automatically and instantly.
- Excellent Expertise in Technology
The reason we can provide you with a great amount of power, flexibility, and simplicity at such a discounted price is due to incredible efficiencies within our business. We have not just been providing hosting for many clients for years, we have also been researching, developing, and innovating every aspect of our operations, systems, procedures, strategy, management, and teams. Our operations are based on a continual improvement program where we review thousands of systems, operational and management metrics in real-time, to fine-tune every aspect of our operation and activities. We continually train and retrain all people in our teams. We provide all people in our teams with the time, space, and inspiration to research, understand, and explore the Internet in search of greater knowledge. We do this while providing you with the best hosting services for the lowest possible price.
- Data Center
ASPHostPortal modular Tier-3 data center was specifically designed to be a world-class web hosting facility totally dedicated to uncompromised performance and security
- Monitoring Services
From the moment your server is connected to our network it is monitored for connectivity, disk, memory and CPU utilization - as well as hardware failures. Our engineers are alerted to potential issues before they become critical.
- Network
ASPHostPortal has architected its network like no other hosting company. Every facet of our network infrastructure scales to gigabit speeds with no single point of failure.
- Security
Network security and the security of your server are ASPHostPortal's top priorities. Our security team is constantly monitoring the entire network for unusual or suspicious behavior so that when it is detected we can address the issue before our network or your server is affected.
- Support Services
Engineers staff our data center 24 hours a day, 7 days a week, 365 days a year to manage the network infrastructure and oversee top-of-the-line servers that host our clients' critical sites and services.

 



ASPHostPortal - Reseller Hosting :: Hot for File Hosting? Don't Opt For Less Than 1gb Hosting Reseller Web Space

clock May 17, 2010 07:52 by author Jervis

If file hosting is your main priority, you should look at larger reselling hosts. Get no less than 1gb hosting reseller web space!

Say you're a multimedia expert, and you want a safe place to archive your works. You should know that the standard affordable web hosting packages of 200-500mb may not be enough to meet needs. A 1gb hosting reseller web space would be a good start to building a great archive.

Even if you're not a multimedia expert, say you want to start a legal mp3 hosting business... or any other sort of business that requires you to archive and transfer large files. You'll need a manageable space for that, even if you plan to "cycle" your files and only keep certain files "live" for a specific period of time. Anything less than 1gb of space is hardly enough for this!

You also have to look into bandwidth. If you just want space for archiving purposes, transfer limits may not bother you so much... but if you plan to distribute your large files, you definitely need to know your reseller's terms of hosting. Otherwise, you may be banned from your account, and at the worst case scenario, you could lose your files forever!

Some web hosts employ, spiders or robots -programs created specifically to crawl through the files on a server, or a network of servers, while sniffing out illegal files. Make sure the files that you host are completely legal, otherwise they may be automatically deleted! Just to be on the safe side, make sure to discuss hosting terms with your reseller. Ask your reseller if he or she has additional safeguards against accidental loss of files.

Don't forget to ask your prospective resellers about their preferred backup methods. All web hosts should have rock-solid routines for backing up the files hosted on their servers - and if your reseller is not in charge of maintaining the servers, he or she should at least be able to inform you what they are. If they can't, don't take the risk!

Of course you need your 1gb hosting reseller web space provider to be absolutely reliable. You need an online vault where you can store your files, and you need to protect those files from corruption and abuse!

Reasons why you must trust ASPHostPortal.com

Every provider will tell you how they treat their support, uptime, expertise, guarantees, etc., are. Take a close look. What they're really offering you is nothing close to what ASPHostPortal does. You will be treated with respect and provided the courtesy and service you would expect from a world-class web hosting business.

You’ll have highly trained, skilled professional technical support people ready, willing, and wanting to help you 24 hours a day. Your web hosting account servers are monitored from three monitoring points, with two alert points, every minute, 24 hours a day, 7 days a week, 365 days a year. The followings are the list of other added- benefits you can find when hosting with us:

- DELL Hardware
Dell hardware is engineered to keep critical enterprise applications running around the clock with clustered solutions fully tested and certified by Dell and other leading operating system and application providers.
- Recovery Systems
Recovery becomes easy and seamless with our fully managed backup services. We monitor your server to ensure your data is properly backed up and recoverable so when the time comes, you can easily repair or recover your data.
- Control Panel
We provide one of the most comprehensive customer control panels available. Providing maximum control and ease of use, our Control Panel serves as the central management point for your ASPHostPortal account. You’ll use a flexible, powerful hosting control panel that will give you direct control over your web hosting account. Our control panel and systems configuration is fully automated and this means your settings are configured automatically and instantly.
- Excellent Expertise in Technology
The reason we can provide you with a great amount of power, flexibility, and simplicity at such a discounted price is due to incredible efficiencies within our business. We have not just been providing hosting for many clients for years, we have also been researching, developing, and innovating every aspect of our operations, systems, procedures, strategy, management, and teams. Our operations are based on a continual improvement program where we review thousands of systems, operational and management metrics in real-time, to fine-tune every aspect of our operation and activities. We continually train and retrain all people in our teams. We provide all people in our teams with the time, space, and inspiration to research, understand, and explore the Internet in search of greater knowledge. We do this while providing you with the best hosting services for the lowest possible price.
- Data Center
ASPHostPortal modular Tier-3 data center was specifically designed to be a world-class web hosting facility totally dedicated to uncompromised performance and security
- Monitoring Services
From the moment your server is connected to our network it is monitored for connectivity, disk, memory and CPU utilization - as well as hardware failures. Our engineers are alerted to potential issues before they become critical.
- Network
ASPHostPortal has architected its network like no other hosting company. Every facet of our network infrastructure scales to gigabit speeds with no single point of failure.
- Security
Network security and the security of your server are ASPHostPortal's top priorities. Our security team is constantly monitoring the entire network for unusual or suspicious behavior so that when it is detected we can address the issue before our network or your server is affected.
- Support Services
Engineers staff our data center 24 hours a day, 7 days a week, 365 days a year to manage the network infrastructure and oversee top-of-the-line servers that host our clients' critical sites and services.

 



ASPHostPortal Community Server Hosting :: Adding Pages to Community Server 2007

clock May 15, 2010 09:21 by author Jervis

Step 1
Start off by creating a new directory called "Sample" in your root web directory. (referred to web/sample/ from here on out).

Now create a new text file called "Default.aspx", open up this file with notepad, and add the following lines.

<%@ Page %>
<%--
This is my placeholder, my actual file is located in web/themes/[THEME NAME]/sample/sample.aspx
--%>


Step 2 - Creating the themed page
For this article, we will only be covering how to do this on the default theme, you can pretty much apply this to all other themes.

In your web/Themes/ directory, create a new directory called "sample".

Next, create a new text file and name it "sample.master", open up this file with notepad, and add the following lines.

<%@ Master Language="C#" AutoEventWireup="true" MasterPageFile="../Common/master.Master" %>

<asp:Content ContentPlaceHolderID="HeaderRegion" runat="server" >
    <CSControl:SelectedNavigation Selected="sample" runat="Server" />
    <CSControl:ThemeStyle runat="server" href="~/style/forum.css" mce_href="~/style/forum.css" />
    <CSControl:ThemeStyle runat="server" href="~/style/gallery.css" mce_href="~/style/gallery.css" />
    <CSControl:ThemeStyle runat="server" href="~/style/forum_print.css" mce_href="~/style/forum_print.css" media="print" />
    <CSControl:ThemeStyle runat="server" href="~/style/gallery_print.css" mce_href="~/style/gallery_print.css" media="print" />
</asp:Content>

<asp:Content ContentPlaceHolderID="bcr" runat="server">
    <asp:ContentPlaceHolder id="bcr" runat="server" />
</asp:Content>

<asp:Content ContentPlaceHolderID="rcr" runat="server" >
    <asp:ContentPlaceHolder ID="rcr" runat="server" />
</asp:Content>

Just to explain a bit, we have created a new master page that inherits the master.Master for the website, we have overridden the header region to select the "sample" page, and finally we have created two content regions for the page (CS 2007 style).

At this point, you can add any custom code to the your new pages "main" template, but for now, lets just leave it as is.

Now, lets create another text file, and call it "sample.aspx" and open it up in notepad.

The first thing we want to do in this file, is all of the standard asp.net page definitions, as well as import some common namespaces, useful for coding later on.  This also keeps our "ad support".

<%@ Page EnableViewState="false" Language="C#" AutoEventWireup="true" Inherits="CommunityServer.Controls.CSThemePage" MasterPageFile="sample.Master" %>
<%@ Import Namespace="CommunityServer.Components" %>
<%@ Import Namespace="System.Collections.Generic" %>
<%@ Register TagPrefix="CSUserControl" TagName="AdTop" src="../Common/Ad-Top.ascx" mce_src="../Common/Ad-Top.ascx" %>
<%@ Register TagPrefix="CSUserControl" TagName="AdBottom" src="../Common/Ad-Bottom.ascx" mce_src="../Common/Ad-Bottom.ascx" %>

Next, we will set the pages title, this is something that we can't remember seeing in CS 2.1, its quite useful for creating "sub" sites within your main site.  For now we will set the title to the default site name.

<script language="C#" runat="server">

    void Page_Load()
    {
        SetTitle(CurrentCSContext.SiteSettings.SiteName, false);
    }

</script>

Now we will move on to adding our bcr area or, Body Content Area.  This is much cleaner then the previous way of adding content parts, as you now don't have to be a html code guru and can simply enter in regular html code.

<asp:Content ID="Content1" ContentPlaceHolderID="bcr" runat="server">
    <div class="CommonContentArea">
 <CSControl:AdPart runat = "Server" contentname="StandardTop" ContentCssClass="CommonContentPartBorderOff" ContentHoverCssClass="CommonContentPartBorderOn">
     <DefaultContentTemplate>
         <CSUserControl:AdTop runat="server" />
     </DefaultContentTemplate>
 </CSControl:AdPart>

 <div class="CommonContent">
            <CSControl:ContentPart ContentName="sample" runat="server" ContentCssClass="CommonContentPartBorderOff" ContentHoverCssClass="CommonContentPartBorderOn">
                <DefaultContentTemplate>
                    <h2 class="CommonTitle">Sample Page</h2>
                    <div class="CommonContent">
                        <div style="line-height: 140%;">
           You have created a sample page!
                        </div>
                    </div>
                </DefaultContentTemplate>
            </CSControl:ContentPart>
       
 </div>
 
 <CSControl:AdPart runat="Server" ContentName="StandardBottom" ContentCssClass="CommonContentPartBorderOff" ContentHoverCssClass="CommonContentPartBorderOn">
     <DefaultContentTemplate>
         <CSUserControl:AdBottom runat="server" />
     </DefaultContentTemplate>
 </CSControl:AdPart>
    </div>
</asp:Content>

Finally, lets add our rcr area or, Right Content Area.

<asp:Content ContentPlaceHolderID="rcr" runat="server">
    <div class="CommonSidebar">
 <CSControl:ContentPart ContentName="sampleSidebar1" runat="server" ContentCssClass="CommonContentPartBorderOff" ContentHoverCssClass="CommonContentPartBorderOn">
            <DefaultContentTemplate>
                <div class="CommonSidebarArea">
                 <div class="CommonSidebarRoundTop"><div class="r1"></div><div class="r2"></div><div class="r3"></div><div class="r4"></div></div>
                 <div class="CommonSidebarInnerArea">
                  <h4 class="CommonSidebarHeader">Sidebar 1</h4>
                  <div class="CommonSidebarContent">
                            <p>
                                Sign-in with your Admin account and double-click to edit me!
                            </p>
                        </div>
                 </div>
                 <div class="CommonSidebarRoundBottom"><div class="r1"></div><div class="r2"></div><div class="r3"></div><div class="r4"></div></div>
                </div>
            </DefaultContentTemplate>
        </CSControl:ContentPart>
    </div>
</asp:Content>

Adding the page to the SiteUrls
Unlike CS 2.1, you must complete this next step for a page to even load in the web application.

Open up the "SiteUrls.config" file with notepad.

Scroll down to around line 562. You will see a comment that says "When adding custom locations, add above here."  We are going to do just that.

Add the following just above the comment.

  <location name="sample" path="/sample/" themeDir="sample">
    <url name="samplehome" path="" pattern="default.aspx" vanity="{2}" physicalPath="##themeDir##" page="sample.aspx" />
  </location>

Now, before you go jumping off to your newly created page, we have a few more things to do, or else you are going to get some errors.

Adding the link to the top menu
With the SiteUrls.config file still open, scroll down the bottom to the "navigation" section.  Just under the "home" link, add the following.

<link name="sample" resourceUrl="samplehome" resourceName="sample" roles="Everyone" />

Save the file, and go ahead and close the SiteUrls.config.

As you noticed in my previous articles, until you add the resource to the resources.xml, your link will not show up on the main link menu.

Navigate to "web/languages/[YOUR LANGUAGE]/" and open up the file "Resources.xml" with notepad.

Around line 44, you will see the text "<!-- Main Navigation -->"  just below the "Home" resource, add the following code.

<resource name="sample">Sample</resource>

Save the file.

Restarting the web application
At this point we need to just "touch" the web.config file, this is done by opening the file with notepad, saving, then closing the file.

Navigate to your newly created page
Finally, you should be able to goto your home page, click on the sample link, and see your new page!

If you don't see it, start back at the beginning and find out what you did wrong.  Or post up in my forums for help and We will try to help you out.

Contact us at http://www.asphostportal.com.

Reasons why you must trust ASPHostPortal.com

Every provider will tell you how they treat their support, uptime, expertise, guarantees, etc., are. Take a close look. What they're really offering you is nothing close to what ASPHostPortal does. You will be treated with respect and provided the courtesy and service you would expect from a world-class web hosting business.

You’ll have highly trained, skilled professional technical support people ready, willing, and wanting to help you 24 hours a day. Your web hosting account servers are monitored from three monitoring points, with two alert points, every minute, 24 hours a day, 7 days a week, 365 days a year. The followings are the list of other added- benefits you can find when hosting with us:

- DELL Hardware
Dell hardware is engineered to keep critical enterprise applications running around the clock with clustered solutions fully tested and certified by Dell and other leading operating system and application providers.
- Recovery Systems
Recovery becomes easy and seamless with our fully managed backup services. We monitor your server to ensure your data is properly backed up and recoverable so when the time comes, you can easily repair or recover your data.
- Control Panel
We provide one of the most comprehensive customer control panels available. Providing maximum control and ease of use, our Control Panel serves as the central management point for your ASPHostPortal account. You’ll use a flexible, powerful hosting control panel that will give you direct control over your web hosting account. Our control panel and systems configuration is fully automated and this means your settings are configured automatically and instantly.
- Excellent Expertise in Technology
The reason we can provide you with a great amount of power, flexibility, and simplicity at such a discounted price is due to incredible efficiencies within our business. We have not just been providing hosting for many clients for years, we have also been researching, developing, and innovating every aspect of our operations, systems, procedures, strategy, management, and teams. Our operations are based on a continual improvement program where we review thousands of systems, operational and management metrics in real-time, to fine-tune every aspect of our operation and activities. We continually train and retrain all people in our teams. We provide all people in our teams with the time, space, and inspiration to research, understand, and explore the Internet in search of greater knowledge. We do this while providing you with the best hosting services for the lowest possible price.
- Data Center
ASPHostPortal modular Tier-3 data center was specifically designed to be a world-class web hosting facility totally dedicated to uncompromised performance and security
- Monitoring Services
From the moment your server is connected to our network it is monitored for connectivity, disk, memory and CPU utilization - as well as hardware failures. Our engineers are alerted to potential issues before they become critical.
- Network
ASPHostPortal has architected its network like no other hosting company. Every facet of our network infrastructure scales to gigabit speeds with no single point of failure.
- Security
Network security and the security of your server are ASPHostPortal's top priorities. Our security team is constantly monitoring the entire network for unusual or suspicious behavior so that when it is detected we can address the issue before our network or your server is affected.
- Support Services
Engineers staff our data center 24 hours a day, 7 days a week, 365 days a year to manage the network infrastructure and oversee top-of-the-line servers that host our clients' critical sites and services.

 



Reseller Hosting ASPHostPortal :: Make Your mark - Get a Brandable Web Hosting Reseller

clock May 15, 2010 09:00 by author Jervis

Thinking of going into web hosting? Maybe you've had experience working with your personal web space and would like to take the next step in webmastering. You could make money from hosting, certainly - but if you want to go the hardcore entrepreneurial route, you need to think seriously about marketing. If so, think about getting a brandable Web hosting reseller account. We offer our services to solve your problem. Visit our website at http://www.asphostportal.com. We will provide the best service to you.

Why does it matter that your reseller space is brandable? Well, for one thing, a brandable Web hosting reseller account would allow you to mark all the services with your own name, so that you can make entirely new footprints in cyberspace - and cut your umbilical cord from your web host, so to speak.

As a reseller, you can go into various agreements with web hosts over the kind of marketing you will do for their space. With non-brandable reseller accounts you may put up your own hosting company - with its own name, dedicated marketing and tech support agents and everything - but you still need to acknowledge that you're just using someone else's account. This will make you merely an agent of your web host, not an independent distributor.

If you want to be an independent distributor, you need to be free of advertising commitments to a web host. In effect, you will be marketing YOUR services and leaving the heavy server side stuff to the tech guys at your web host. This leaves your hands freer to attend to improving the other vital aspects of your reseller business, such as marketing and promotion. As a reseller, after all, you are essentially a marketer. Efficient advertising should be your first priority!

A brandable web hosting reseller would be most beneficial if you are thinking of playing in the big leagues and distributing large web space allocations, for heavy corporate use. If you want to attract business owners who want to put up medium to high traffic online stores, for example, brandable resellers are a good way to gain their trust in your service. At the very least, you will prove to your clients that you can appreciate the value of making a unique impression.

Reasons why you must trust ASPHostPortal.com

Every provider will tell you how they treat their support, uptime, expertise, guarantees, etc., are. Take a close look. What they're really offering you is nothing close to what ASPHostPortal does. You will be treated with respect and provided the courtesy and service you would expect from a world-class web hosting business.

You’ll have highly trained, skilled professional technical support people ready, willing, and wanting to help you 24 hours a day. Your web hosting account servers are monitored from three monitoring points, with two alert points, every minute, 24 hours a day, 7 days a week, 365 days a year. The followings are the list of other added- benefits you can find when hosting with us:

- DELL Hardware
Dell hardware is engineered to keep critical enterprise applications running around the clock with clustered solutions fully tested and certified by Dell and other leading operating system and application providers.
- Recovery Systems
Recovery becomes easy and seamless with our fully managed backup services. We monitor your server to ensure your data is properly backed up and recoverable so when the time comes, you can easily repair or recover your data.
- Control Panel
We provide one of the most comprehensive customer control panels available. Providing maximum control and ease of use, our Control Panel serves as the central management point for your ASPHostPortal account. You’ll use a flexible, powerful hosting control panel that will give you direct control over your web hosting account. Our control panel and systems configuration is fully automated and this means your settings are configured automatically and instantly.
- Excellent Expertise in Technology
The reason we can provide you with a great amount of power, flexibility, and simplicity at such a discounted price is due to incredible efficiencies within our business. We have not just been providing hosting for many clients for years, we have also been researching, developing, and innovating every aspect of our operations, systems, procedures, strategy, management, and teams. Our operations are based on a continual improvement program where we review thousands of systems, operational and management metrics in real-time, to fine-tune every aspect of our operation and activities. We continually train and retrain all people in our teams. We provide all people in our teams with the time, space, and inspiration to research, understand, and explore the Internet in search of greater knowledge. We do this while providing you with the best hosting services for the lowest possible price.
- Data Center
ASPHostPortal modular Tier-3 data center was specifically designed to be a world-class web hosting facility totally dedicated to uncompromised performance and security
- Monitoring Services
From the moment your server is connected to our network it is monitored for connectivity, disk, memory and CPU utilization - as well as hardware failures. Our engineers are alerted to potential issues before they become critical.
- Network
ASPHostPortal has architected its network like no other hosting company. Every facet of our network infrastructure scales to gigabit speeds with no single point of failure.
- Security
Network security and the security of your server are ASPHostPortal's top priorities. Our security team is constantly monitoring the entire network for unusual or suspicious behavior so that when it is detected we can address the issue before our network or your server is affected.
- Support Services
Engineers staff our data center 24 hours a day, 7 days a week, 365 days a year to manage the network infrastructure and oversee top-of-the-line servers that host our clients' critical sites and services.

 



SharePoint Hosting - ASPHostPortal :: Creating Applications Using SharePoint

clock May 15, 2010 08:38 by author Jervis

Clients often contact us with the need for Corporate Portal or Website. Usage of Microsoft SharePoint platform is one of the easiest and convenient ways to solve their tasks. In the article we’ll try to briefly describe the powerful tool for creating the similar solutions.
Microsoft SharePoint is a web-oriented platform for collaboration and documents management. The solution can be used to create different web-sites with shared documents or dedicated applications (i.e. Wiki, blogs, forums). SharePoint functionality is presented to the User by control elements that display the data which can also be edited. Such webparts are placed on pages which in turn are placed on the Portal and are available to the User via browser.

If you’re looking for MOSS, you can contact us at ASPHostPortal. ASPHostPortal will give you many benefits. Hosting plans started from only $ 5.00/month. So, don’t think too long!

1. Windows Sharepoint Services

Windows SharePoint Services (WSS) – is a platform for deployment and content management by Microsoft. WSS has the following features:
- is a basis of files and folders;
- gives basic option for information search;
- gives content management system;
- management of access rights definition;
- gives an option for webpart extension.

After the application deployment the standart or customized webparts can be used. Blogs, private address books, documents store websites, internet shops, news websites, pages with audio and video players can be easily created with the help of the applications. All the above functionality can also be combined on the single portal. Our developers can alter any website component per your requirements.
The Lists can be set up to display various document types in different views as per the User's specific tasks. Microsoft SQL Server is used as DBMS for applications based on SharePoint.

2. Microsoft Office Sharepoint Server

Microsoft Office SharePoint Server (MOSS) is the best component for integration SharePoint functionality into MS Office applications. It expands Windows SharePoint Services with new options. If a document have to be saved as parts of web-applications, the solution to use is MOSS. Client Office applications (including Word, Excel, Outlook, InfoPath) can be easily used in composition of Corporate solutions, build on SharePoint. All MOSS functions can be extended by our developers for a wide range of products realization: from the simple web-panels to the complex web-applications.

Sharepoint Advantages
SharePoint products and technologies give the wide range of advantages not only for developers, but also for separate users and organizations of any level:

- Full functionality of the portal right after the installation
All SharePoint Server options are available right after the installation. Though the set of Server options is wider and includes news, catalogues, topic areas, private web-sites- “my site”, supposed audience selection, tools for searching and viewing employees, work groups and information as well as web-sites creation that gives the necessary structure for building a single workspace.  SharePoint is based on Microsoft Windows SharePoint Services, that is why tools of Windows SharePoint Services for co-working will be available at once.

- Performance and scalability
SharePoint Server supposes the following flexible means of deployment that provides distributed structure and optimal work of the portal: SharePoint supports server farms creation with distributed task servers, database severs, search option and option of indexation by different external services. Shared Services could provide from the single center and employ on the several portal farms the services like search or support of private web-sites.  Besides SharePoint Server can serve up to 1,000,000 Users simultaneously registered in Active Directory, and it has capacity of 250 pages per second.

- Private sites (“My sites” section)
Private site is a site which may have a private view where User stores data inaccessable to others, i.e. unfinished documents, private pieces of news and weblinks; and a general view where data for other Users is stored, i.e. presentations or finished reports. Information in the general view of private sites can be indexed by Administrator with the help of catalogue services, i.e. Active Directory, which provides Users with an option to search for the information and examples to help them complete their tasks, within all the company.
Single signon system
Singe signon allows the users to receive personal data from any system part with just a single login to the system. When Users login the portal, SharePoint saves User data in a secure place. When the portal applications require information from other business-applications, i.e. system of planning company resourses, CRM system of third-party providers, SharePoint uses User data with verifying them in Active Directory. So the User doesn’t need to login into external business-application.

- Flexibility, personalization, adaptation of web-component based pages.
SharePoint provides additional web-components and flexible means of their management, which allow Users to set up portal pages in the necessary way with simple drag-and-drop of the components to the page. In Microsoft Office FrontPage there is a complete support of web-components and web-component based pages including adding, editing and setting up of web-components, web-components zone and differents web-component pages;

- Subject parts
SharePoint provides for subject sorting, which is highly intuitive when searching for survey of random data from documents and people information to web-sites on base of Windows. A document or link can be refered to several subjects, subject parts may contain documents stored in SharePoint, as well as links to the information from outher sources. Management policy has hierarchical distributed structure that allows experts in this field to create and maintain the most favourable parts.

- Active Directory untegration with Microsoft Office products
SharePoint scan through Active Directory catalogues, gathering User data. Users can manage information about them in the portal and get alerts when other Users publish or change information.
SharePoint makes Users’ work more comfortable regardless of the application they use. The User can create and maintain web-sites, i.e. website of the document working area, add news and events to SharePoint web-sites on the portal and get alerts with the help of web-browser.

- Search
SharePoint allows Users to search by key words in the whole text and in the document properties. Users can search for not only the information, but also other people, work groups and web-sites of the portal.

- Key features of Windows SharePoint Services
Private websites, workgroup websites and subject areas of the SharePoint portal has all the features of Windows SharePoint Services document libraries, supporting version alert, simple routing and confirmation mechanism. Users can check in and check out documents or return to previous document versions using their usual applications.
SharePoint provides a wide range of calendar events, advertisements, links, tasks and also an option to define new lists (which serves as a flexible tool for different tasks solving). Additionally SharePoint provides with web-sites creation, uses meeting web-sites and document workspace right from the applications of Microsoft Office group. The websites created with the help of checked templates make it easier to conduct discussion and meetings, improving co-working of the work groups and companies.
Besides SharePoint provides a list of additional facilities:

a. Has a custom design option;
b. Has an option of IE, FireFox, Safari, Opera browsers usage;
c. Has wide  options of User rights distribution;
d. Has a high safety level of the data transfer.

3. Creating Applications Using Sharepoint

Process of web-application development using SharePoint is similar to the process of application development using more traditional means (i.e. PHP).  Nevertheless, product development stage goes much faster and as a result cheaper to the Client.
Simplified process of web-applications creation with the use of SharePoint can be given with the following set of actions:

- SharePoint deployment and web-site creation by default;
- After Windows SharePoint Services deployment the web-site is created by default;
- Web-sites collection for the application with a template is created by default;
- Then there is a creation of the necessary types, lists and user groups;
- User rights are defined for the lists. The full safety of User information is provided.
- Necessary application components (i.e. wikis, blogs, calendars, etc.) are added and set up.
- Web-site interface is setup per Client’s wishes.


Using the action sequence, our developers can shortly create  web-applications starting from Corporate web-sites to internet-portals with wide functionality.
Note: SharePoint is a powerful tool which enables creation of web-sites and a big number of applications that use.

Reasons why you must trust ASPHostPortal.com

Every provider will tell you how they treat their support, uptime, expertise, guarantees, etc., are. Take a close look. What they're really offering you is nothing close to what ASPHostPortal does. You will be treated with respect and provided the courtesy and service you would expect from a world-class web hosting business.

You’ll have highly trained, skilled professional technical support people ready, willing, and wanting to help you 24 hours a day. Your web hosting account servers are monitored from three monitoring points, with two alert points, every minute, 24 hours a day, 7 days a week, 365 days a year. The followings are the list of other added- benefits you can find when hosting with us:

- DELL Hardware
Dell hardware is engineered to keep critical enterprise applications running around the clock with clustered solutions fully tested and certified by Dell and other leading operating system and application providers.
- Recovery Systems
Recovery becomes easy and seamless with our fully managed backup services. We monitor your server to ensure your data is properly backed up and recoverable so when the time comes, you can easily repair or recover your data.
- Control Panel
We provide one of the most comprehensive customer control panels available. Providing maximum control and ease of use, our Control Panel serves as the central management point for your ASPHostPortal account. You’ll use a flexible, powerful hosting control panel that will give you direct control over your web hosting account. Our control panel and systems configuration is fully automated and this means your settings are configured automatically and instantly.
- Excellent Expertise in Technology
The reason we can provide you with a great amount of power, flexibility, and simplicity at such a discounted price is due to incredible efficiencies within our business. We have not just been providing hosting for many clients for years, we have also been researching, developing, and innovating every aspect of our operations, systems, procedures, strategy, management, and teams. Our operations are based on a continual improvement program where we review thousands of systems, operational and management metrics in real-time, to fine-tune every aspect of our operation and activities. We continually train and retrain all people in our teams. We provide all people in our teams with the time, space, and inspiration to research, understand, and explore the Internet in search of greater knowledge. We do this while providing you with the best hosting services for the lowest possible price.
- Data Center
ASPHostPortal modular Tier-3 data center was specifically designed to be a world-class web hosting facility totally dedicated to uncompromised performance and security
- Monitoring Services
From the moment your server is connected to our network it is monitored for connectivity, disk, memory and CPU utilization - as well as hardware failures. Our engineers are alerted to potential issues before they become critical.
- Network
ASPHostPortal has architected its network like no other hosting company. Every facet of our network infrastructure scales to gigabit speeds with no single point of failure.
- Security
Network security and the security of your server are ASPHostPortal's top priorities. Our security team is constantly monitoring the entire network for unusual or suspicious behavior so that when it is detected we can address the issue before our network or your server is affected.
- Support Services
Engineers staff our data center 24 hours a day, 7 days a week, 365 days a year to manage the network infrastructure and oversee top-of-the-line servers that host our clients' critical sites and services.

 



DNN 5.4 Hosting :: DotNetNuke 5.4 Adds Support for .NET 4 and Document Management

clock May 14, 2010 11:54 by author Jervis

Getting Up to Speed with Microsoft

DotNetNuke 5.3 was only released at the end of March. That update included improved content administration through the addition of page level workflow, a new ribbon bar control panel and improved access to page editing.

But they had more work they needed to do. That included ensuring the DotNetNuke platform supported Microsoft's latest platform updates with .NET 4 As you probably know, DotNetNuke is built on ASP.NET, so it was important to ensure it would work with both .NET 3.5 and .NET 4.

As is normal course when testing compatibility with technology updates, there were a few issues, but these were resolved and DotNetNuke 5.4 was on its way to release. If it makes you happy, the issues were resolved through working with the Microsoft Web Platform team.

New Document Management

But support for .NET 4 isn't the only thing new in 5.4. Another major feature introduced to the professional and elite editions is document management. Prior to 5.4 DotNetNuke did not have any strong document management functionality. But according to Shawn Walker, co-founder of DotNetNuke, there were several third party modules available.

So DNN took a look at what was available on their Snowcovered Marketplace and decided to obtain the IP for one of those solutions. The one they chose came from Xepient and was called OpenDocumentLibrary.

Now the commercial editions have document management capabilities such as:
- WebDAV
- Check in / Check out, Versioning, Rollback
- Automatic synchronization with existing document libraries
- Workflow for documents
- Creation of document folders and permissions on folders
- Usage reporting

According to DNN 1 in 4 organizations using the platform use it for intranets or extranets and this functionality fits perfectly with those needs.

What’s in it for the Community

So the commercial editions picked up document management, but the community also got a few things as well:
Folksonomy: In 5.3 DNN taxonomy capabilities were added to the DNN core. In 5.4 the core now has Folksonomies — basically a crowdsourcing approach to tagging content. Because it's added to the core, all editions get the functionality. To make it sweeter, there's an associated API that will enable developers to add the functionality to their own DNN apps.

Ribbon Bar Control Panel: Remember that ribbon bar control panel added to the the commercial editions in 5.3? Well now it's also available in the community edition.

Telerik RAD Editor: The Community Edition also now has the Telerik rich text editor. This is a continuation of the OEM agreement with Telerik. DNN will still ship with the FCK Editor, which was the prior editor, but all new downloads of DNN will have the Telerik RAD editor as the default editor.

Navin Nagiah, CEO of DNN told us that they are committed to both the commercial and community editions of DotNetNuke. In order to strike a balance between the open source edition and the commercial editions, they always think about what they can give back to the community when they introduce new capabilities in the commercial editions.

The functionality they choose to move into the community edition is based on what the community is asking for and how they can make the experience as seamless as possible between their editions. And of course we have already seen that some functionality is added to the core automatically making it available to all editions.

Reasons why you must trust ASPHostPortal.com
Every provider will tell you how they treat their support, uptime, expertise, guarantees, etc., are. Take a close look. What they're really offering you is nothing close to what ASPHostPortal does. You will be treated with respect and provided the courtesy and service you would expect from a world-class web hosting business.

You’ll have highly trained, skilled professional technical support people ready, willing, and wanting to help you 24 hours a day. Your web hosting account servers are monitored from three monitoring points, with two alert points, every minute, 24 hours a day, 7 days a week, 365 days a year. The followings are the list of other added- benefits you can find when hosting with us:

- DELL Hardware
Dell hardware is engineered to keep critical enterprise applications running around the clock with clustered solutions fully tested and certified by Dell and other leading operating system and application providers.
- Recovery Systems
Recovery becomes easy and seamless with our fully managed backup services. We monitor your server to ensure your data is properly backed up and recoverable so when the time comes, you can easily repair or recover your data.
- Control Panel
We provide one of the most comprehensive customer control panels available. Providing maximum control and ease of use, our Control Panel serves as the central management point for your ASPHostPortal account. You’ll use a flexible, powerful hosting control panel that will give you direct control over your web hosting account. Our control panel and systems configuration is fully automated and this means your settings are configured automatically and instantly.
- Excellent Expertise in Technology
The reason we can provide you with a great amount of power, flexibility, and simplicity at such a discounted price is due to incredible efficiencies within our business. We have not just been providing hosting for many clients for years, we have also been researching, developing, and innovating every aspect of our operations, systems, procedures, strategy, management, and teams. Our operations are based on a continual improvement program where we review thousands of systems, operational and management metrics in real-time, to fine-tune every aspect of our operation and activities. We continually train and retrain all people in our teams. We provide all people in our teams with the time, space, and inspiration to research, understand, and explore the Internet in search of greater knowledge. We do this while providing you with the best hosting services for the lowest possible price.
- Data Center
ASPHostPortal modular Tier-3 data center was specifically designed to be a world-class web hosting facility totally dedicated to uncompromised performance and security
- Monitoring Services
From the moment your server is connected to our network it is monitored for connectivity, disk, memory and CPU utilization - as well as hardware failures. Our engineers are alerted to potential issues before they become critical.
- Network
ASPHostPortal has architected its network like no other hosting company. Every facet of our network infrastructure scales to gigabit speeds with no single point of failure.
- Security
Network security and the security of your server are ASPHostPortal's top priorities. Our security team is constantly monitoring the entire network for unusual or suspicious behavior so that when it is detected we can address the issue before our network or your server is affected.
- Support Services
Engineers staff our data center 24 hours a day, 7 days a week, 365 days a year to manage the network infrastructure and oversee top-of-the-line servers that host our clients' critical sites and services.

 



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

 photo ahp banner aspnet-01_zps87l92lcl.png

Author Link

Corporate Address (Location)

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

Sign in