Windows 2012 Hosting - MVC 6 and SQL 2014 BLOG

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

Visual Basic 2010 Hosting - ASPHostPortal :: What's New in the Visual Basic 2010

clock May 20, 2010 07:16 by author Jervis

This topic contains brief information about Visual basic 2010. If you looking for Visual basic 2010 hosting, you can always consider ASPHostPortal. At ASPHostPortal you can get a professional Visual basic installation with your Visual basic 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?

Visual Basic Complier and Language

Auto-Implemented Properties


Auto-implemented properties provide a shortened syntax that enables you to quickly specify a property of a class without having to write code to Get and Set the property.

Collection Initializers

Collection initializers provide a shortened syntax that enables you to create a collection and populate it with an initial set of values. Collection initializers are useful when you are creating a collection from a set of known values, for example, a list of menu options or categories.

Implicit Line Continuation

In many cases, implicit line continuation enables you to continue a statement on the next consecutive line without using the underscore character (_).

Multiline Lambda Expressions and Subroutines

Lambda expression support has been expanded to support subroutines in addition to multiline lambda functions and subroutines.

New Command-Line Option for Specifying a Language Version

The /langversion command-line option causes the compiler to accept only syntax that is valid in the specified version of Visual Basic.

Type Equivalence Support

You can now deploy an application that has embedded type information instead of type information that is imported from a Primary Interop Assembly (PIA). With embedded type information, your application can use types in a runtime without requiring a reference to the runtime assembly. If various versions of the runtime assembly are published, the application that contains the embedded type information can work with the various versions without having to be recompiled.

Dynamic Support

Visual Basic binds to objects from dynamic languages such as IronPython and IronRuby.

Covariance and Contravariance

Covariance enables you to use a more derived type than that specified by the generic parameter, whereas contravariance enables you to use a less derived type. This allows for implicit conversion of classes that implement variant interfaces and provides more flexibility for matching method signatures with variant delegate types. You can create variant interfaces and delegates by using the new In and Out language keywords. The .NET Framework also introduces variance support for several existing generic interfaces and delegates, including the IEnumerable<(Of <(T>)>) interface and the Func<(Of <(TResult>)>) and Action<(Of <(T>)>) delegates.

Integrated Development Environment

Navigate to

You can use the Navigate To feature to search for a symbol or file in source code. You can search for keywords that are contained in a symbol by using Camel casing and underscore characters to divide the symbol into keywords.

Highlighting References

When you click a symbol in source code, all instances of that symbol are highlighted in the document.

For many control structures, when you click a keyword, all of the keywords in the structure are highlighted. For instance, when you click If in an If...Then...Else construction, all instances of If, Then, ElseIf, Else, and End If in the construction are highlighted.

To move to the next or previous highlighted symbol, you can use CTRL+SHIFT+DOWN ARROW or CTRL+SHIFT+UP ARROW.

Generate from Usage

The Generate From Usage feature enables you to use classes and members before you define them. You can generate a stub for any class, constructor, method, property, field, or enum that you want to use but have not yet defined. You can generate new types and members without leaving your current location in code. This minimizes interruption to your workflow.

Generate From Usage supports programming styles such as test-first development.

IntelliSense Suggestion Mode

IntelliSense now provides two alternatives for IntelliSense statement completion: completion mode and suggestion mode. Suggestion mode is used when classes and members are used before they are defined.

Sample Application

Visual Basic includes new sample applications that demonstrate the following features: auto-implemented properties, implicit line continuation, collection initializers, covariance and contravariance, and multiline lambda expressions and subroutines.


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 Hosting :: Web.Config Entries in the DotNetNuke Framework

clock May 20, 2010 06:44 by author Jervis

This topic contains brief information about DNN. If you looking for DNN hosting, you can always consider ASPHostPortal. At ASPHostPortal you can get a professional DNN installation with your DNN 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?

Basic configuration settings are stored in the web.config file to include encryption keys, provider information, and database connection strings. When you first install DotNetNuke, immediately make a copy of your release.config file that comes with it. This is so that you can always go back to the baseline installation if you have to. Rename the copied release.config file to web.config and this becomes your version 1 configuration file for DotNetNuke. This way when you upgrade DotNetNuke, the release.config will change with the new install but the original web.config will remain the same. You want this so that specific application setting will remain the same and not be lost.

A typical web.config file will have the following skeletal structure. A combination of you and the DotNetNuke CMS will be filling in the customized settings:


<configuration>

            <configSections>
            <!-- here is where sectionGroups will be defined -->
            </configSections>

             <system.web>

            <!-- here is where the sectionGroups defined above will be implemeted -->

            <httpModules>
            <!-- here is where the httpModules are added -->
            </httpModules>

            </system.web> 

</configuration>

Typically, not much needs to be changed in a new web.config file. Of course in the AppSettings node, you will need to change the SiteSqlServer connection string. If you are upgrading, you will need to maintain your original MachineValidationKey and MachineDecryptionKey settings. These settings are kept in the system.web section and can look something like this:

<add key="MachineValidationKey" value="12345678901234567890" />
<add key="MachineDecryptionKey" value="1234567890123456789012345678"/>

As mentioned earlier, the one setting you will more than likely change in a web.config file is the database connection string and the server parameters. This is where you would also specify the database password and database owner username. Are passwords stored unencrypted in the web.config file? Yes. But when the site is deployed, no one can access this file anyways.

Here is a typical connection string located within the connectionStrings tag of the web.config file:

<connectionStrings>
    <!-- Connection String for SQL Server 2000/2005-->
    <add
      name="SiteSqlServer"
     connectionString="Server=vista;Database=Demo;uid=someuser;pwd=somepwdr;"
      providerName="System.Data.SqlClient" />
 </connectionStrings>

The key SiteSqlServer must be described as well. So there is an additional key modified in the web.config file and appSettings tag to reflect the following:

<add key="SiteSqlServer" value="Server=vista;Database=Demo;uid=someuser;pwd=somepwd;"/>

The first question you are going to ask is what settings go in the web.config file. The answer is, “It depends.” It depends on what types of addins and customized modules you are using. Any of these would provide you with documentation as to the web.config parameters required.

Here is another setting that you can configure in the web.config file:

<httpRuntime useFullyQualifiedRedirectUrl="true" maxRequestLength="8192" requestLengthDiskThreshold="8192" />

This httpRuntime parameter defines how large of files you can upload into the DotNetNuke framework. Let’s say you have a custom language pack that interfaces with DotNetNuke and it exceeds the default of 4 MB (4096) in size. In this case, you would want to change the maxRequestLength to 8192 (8 MB) and the requestLengthDiskThreshold to 8192. Change the setting to handle the largest file you will upload.

System logging is a very important activity on any website. When things are not going right you need to be able to check the logs. System logging can be implemented to either a database or XML file. All versions of DotNetNuke 4.0 have the system logging provider located in the web.config file by default. The default system logging file can be found in this configuration setting:

<logging defaultProvider="DB_Logging_Provider">

The EventLog in a database provider contains the event types. In a XML file-based provider, the logs will be found in the default portal root directory. You can filter records to display as only the ones generated by your specific portal. What is an interesting feature is the list can be filtered by event type by the Portal Administrator and only the relevant messages can be emailed to a recipient.

And what would a web be without flexible role and member-ship based security. In Dotnetnuke, you can find these settings in the web.config file as well. Here is a sample of what a roleManager configuration might look like:

   <roleManager cacheRolesInCookie="true" cookieName=".SQLROLES"
    cookieTimeout="30" cookiePath="/" cookieRequireSSL="false"
    cookieSlidingExpiration="true" createPersistentCookie="false"
    cookieProtection="All">
      <providers>
        <add name="DNNSQLRoleProvider" type=
        "DotNetNuke.Security.Membership.AspNetSqlRoleProvider,
        DotNetNuke.Provider.AspNetProvider" connectionStringName=
        "SiteSqlServer" applicationName="/" description="Store/retrieve role info
         from local MS SQL Server DB" />
      </providers>
    </roleManager>

Even though you can edit a DotNetNuke web.config file with any text editor, make sure you know what you are doing before making the change. Many of these parameters are very cryptic and just one wrong setting can cause unexpected results. Remember that when you are editing the web.config file, you are actually altering Internet Information Services (IIS) settings. Always have some type of reference readily available and keep plenty of backups of your web.config file before making changes.

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.

 



Community Server Hosting :: Creating, Editing, Deleting Articles

clock May 19, 2010 05:39 by author Jervis

This topic contains brief information about Community Server. If you looking for Community Server hosting, you can always consider ASPHostPortal. At ASPHostPortal you can get a professional Community Server installation with your Community Server 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?

Creating Articles

To create an article you must be a System Administrator. Open up Control Panel. In the System Administration box, select Site Administration. Under the Site Content tab, select Manage / Create Articles. To create a new article, press the Create new article button.

When the Create Article page opens you have three fields to fill in.
- Name – This is the name you’ll see when viewing articles in the Control Panel, and will also be used as the url for the article. The article url will be /content/ARTICLENAME.aspx. Because of this any spaces in the article name will be removed.
- Headline – The Headline is the title users appear
- Body – the main body of your article goes in the HTML Editor

Editing the Articles

There are two ways you can edit an article, but both require you to be a system administrator.
1. Open the article in your browser, and then press the Edit button in the breadcrumb area (just under the Navigation).

2. Open up Control Panel. In the System Administration box, select Site Administration. Under the Site Content tab, select Manage / Create Articles. Find the article in the list you want to edit.

Deleting Articles

To delete an article, follow the steps above to edit an article, but instead of editing the article and saving it, press the ‘clear’ 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.

 



ASP.NET 4 Hosting - ASPHostPortal :: What's New in .NET 4 Framework

clock May 19, 2010 05:10 by author Jervis

This topic contains brief information about .NET 4 Framework. If you looking for ASP.NET 4 hosting, you can always consider ASPHostPortal. At ASPHostPortal you can get a professional ASP.NET 4 installation with your ASP.NET 4 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?

Other new features and improvements in the .NET Framework 4 are described in the following sections:

1. Application Compatibility and Deployment
The .NET Framework 4 is highly compatible with applications that are built with earlier .NET Framework versions, except for some changes that were made to improve security, standards compliance, correctness, reliability, and performance.

The .NET Framework 4 does not automatically use its version of the common language runtime to run applications that are built with earlier versions of the .NET Framework. To run older applications with .NET Framework 4, you must compile your application with the target .NET Framework version specified in the properties for your project in Visual Studio.

The following sections describe deployment improvements.

- Client Profile
The .NET Framework 4 Client Profile supports more platforms than in previous versions and provides a fast deployment experience for your Windows Presentation Foundation (WPF), console, or Windows Forms applications.

- In-Process Side-by-Side-Execution
This feature enables an application to load and start multiple versions of the .NET Framework in the same process. For example, you can run applications that load add-ins (or components) that are based on the .NET Framework 2.0 SP1 and add-ins that are based on the .NET Framework 4 in the same process.

2. Core New Features and Improvements
The following sections describe new features and improvements provided by the common language runtime and the base class libraries.

- Diagnostics and Performance
Earlier versions of the .NET Framework provided no way to determine whether a particular application domain was affecting other application domains, because the operating system APIs and tools, such as the Windows Task Manager, were precise only to the process level. Starting with the .NET Framework 4, you can get processor usage and memory usage estimates per application domain.

You can monitor CPU and memory usage of individual application domains. Application domain resource monitoring is available through the managed and native hosting APIs and event tracing for Windows (ETW). When this feature has been enabled, it collects statistics on all application domains in the process for the life of the process.

- Garbage Collection
The .NET Framework 4 provides background garbage collection. This feature replaces concurrent garbage collection in previous versions and provides better performance.

- Code Contracts
Code contracts let you specify contractual information that is not represented by a method's or type's signature alone. The new System.Diagnostics.Contracts namespace contains classes that provide a language-neutral way to express coding assumptions in the form of preconditions, postconditions, and object invariants. The contracts improve testing with run-time checking, enable static contract verification, and support documentation generation.

- Design-Time-Only Interop Assemblies
You no longer have to ship primary interop assemblies (PIAs) to deploy applications that interoperate with COM objects. In the .NET Framework 4, compilers can embed type information from interop assemblies, selecting only the types that an application (for example, an add-in) actually uses. Type safety is ensured by the common language runtime.

- Dynamic Language Runtime
The dynamic language runtime (DLR) is a new runtime environment that adds a set of services for dynamic languages to the CLR. The DLR makes it easier to develop dynamic languages to run on the .NET Framework and to add dynamic features to statically typed languages. To support the DLR, the new System.Dynamic namespace is added to the .NET Framework.

The expression trees are extended with new types that represent control flow, for example, System.Linq.Expressions..::.LoopExpression and System.Linq.Expressions..::.TryExpression. These new types are used by the dynamic language runtime (DLR) and not used by LINQ.

In addition, several new classes that support the .NET Framework infrastructure are added to the System.Runtime.CompilerServices namespace.

- Covariance and Contravariance
Several generic interfaces and delegates now support covariance and contravariance.

- BigInteger and Complex Numbers
The new System.Numerics..::.BigInteger structure is an arbitrary-precision integer data type that supports all the standard integer operations, including bit manipulation. It can be used from any .NET Framework language. In addition, some of the new .NET Framework languages (such as F# and IronPython) have built-in support for this structure.

The new System.Numerics..::.Complex structure represents a complex number that supports arithmetic and trigonometric operations with complex numbers
.

- Tuples
The .NET Framework 4 provides the System..::.Tuple class for creating tuple objects that contain structured data. It also provides generic tuple classes to support tuples that have from one to eight components (that is, singletons through octuples). To support tuple objects that have nine or more components, there is a generic tuple class with seven type parameters and an eighth parameter of any tuple type.
 

- File System Enumeration Improvements
New file enumeration methods improve the performance of applications that access large file directories or that iterate through the lines in large files.

- Memory-Mapped Files
You can use memory-mapped files to edit very large files and to create shared memory for interprocess communication.

- 64-Bit Operating Systems and Processes
You can identify 64-bit operating systems and processes with the Environment..::.Is64BitOperatingSystem and Environment..::.Is64BitProcess properties
.

- Other New Features
The following list describes additional new capabilities, improvements, and conveniences. Several of these are based on customer suggestions.
1. To upport culture-sensitive formatting, the System..::.TimeSpan structure includes new overloads of the ToString, Parse, and TryParse methods, as well as new ParseExact and TryParseExact methods
.

2. The new String..::.IsNullOrWhiteSpace method indicates whether a string is null, empty, or consists only of white-space characters. New overloads have been added to the String.Concat and String.Join methods that concatenate members of System.Collections.Generic..::.IEnumerable<(Of <(T>)>) collections.

3. The String..::.Contract method lets you concatenate each element in an enumerable collection without first converting the elements to strings.

4. Two new convenience methods are available: StringBuilder..::.Clear and Stopwatch..::.Restart.

5. The new Enum..::.HasFlag method determines whether one or more bit fields or flags are set in an enumeration value. The Enum..::.TryParse method returns a Boolean value that indicates whether a string or integer value could be successfully parsed.

6. The System..::.Environment..::.SpecialFolder enumeration contains several new folders.

7. You can now easily copy one stream into another with the CopyTo method in classes that inherit from the System.IO..::.Stream class.

8. New Path..::.Combine method overloads enable you to combine file paths.

9. The new System..::.IObservable<(Of <(T>)>) and System..::.IObserver<(Of <(T>)>) interfaces provide a generalized mechanism for push-based notifications.

10. The System..::.IntPtr and System..::.UIntPtr classes now include support for the addition and subtraction operators.

11. You can now enable lazy initialization for any custom type by wrapping the type inside a System..::.Lazy<(Of <(T>)>) class.

12. The new System.Collections.Generic..::.SortedSet<(Of <(T>)>) class provides a self-balancing tree that maintains data in sorted order after insertions, deletions, and searches. This class implements the new System.Collections.Generic..::.ISet<(Of <(T>)>) interface.

13. The compression algorithms for the System.IO.Compression..::.DeflateStream and System.IO.Compression..::.GZipStream classes have improved so that data that is already compressed is no longer inflated. Also, the 4-gigabyte size restriction for compressing streams has been removed.

14. The new Monitor..::.Enter(Object, Boolean%) method overload takes a Boolean reference and atomically sets it to true only if the monitor is successfully entered.

15. You can use the Thread..::.Yield method to have the calling thread yield execution to another thread that is ready to run on the current processor.

16. The System..::.Guid structure now contains the TryParse and TryParseExact methods.

17. The new Microsoft.Win32..::.RegistryOptions enumeration lets you specify a volatile registry key that does not persist after the computer restarts.

Managed Extensibility Framework

The Managed Extensibility Framework (MEF) is a new library in the .NET Framework 4 that helps you build extensible and composable applications. MEF enables you to specify points where an application can be extended, to expose services to offer to other extensible applications and to create parts for consumption by extensible applications. It also enables easy discoverability of available parts based on metadata, without the need to load the assemblies for the parts.

Parallel Computing

The .NET Framework 4 introduces a new programming model for writing multithreaded and asynchronous code that greatly simplifies the work of application and library developers. The new model enables developers to write efficient, fine-grained, and scalable parallel code in a natural idiom without having to work directly with threads or the thread pool. The new System.Threading.Tasks namespace and other related types support this new model. Parallel LINQ (PLINQ), which is a parallel implementation of LINQ to Objects, enables similar functionality through declarative syntax.

Networking

Networking improvements include the following:

1. Security improvements for Windows authentication in several classes, including System.Net..::.HttpWebRequest, System.Net..::.HttpListener, System.Net.Mail..::.SmtpClient, System.Net.Security..::.SslStream, and System.Net.Security..::.NegotiateStream. Extended protection is available for applications on Windows 7 and Windows Server 2008 R2.

2. Support for Network Address Translation (NAT) traversal using IPv6 and Teredo.

3. New networking performance counters that provide information about HttpWebRequest objects.

4. In the System.Net..::.HttpWebRequest class, support for using large byte range headers (64-bit ranges) with new overloads for the AddRange method. New properties on the System.Net..::.HttpWebRequest class allow an application to set many HTTP headers. You can use the Host property to set the Host header value in an HTTP request that is independent from the request URI.


5. Secure Sockets Layer (SSL) support for the System.Net.Mail..::.SmtpClient and related classes.

6. Improved support for mail headers in the System.Net.Mail..::.MailMessage class.

7. Support for a null cipher for use in encryption. You can specify the encryption policy by using the System.Net..::.ServicePointManager class and the EncryptionPolicy property. Constructors for the System.Net.Security..::.SslStream class now take a System.Net.Security..::.EncryptionPolicy class as a parameter.

8. Credentials for password-based authentication schemes such as basic, digest, NTLM, and Kerberos authentication in the System.Net..::.NetworkCredential class. To improved security, passwords may now be treated as System.Security..::.SecureString instances rather than System..::.String instances.

9. Ability to specify how a URI with percent-encoded values is converted and normalized in the System..::.Uri and System.Net..::.HttpListener classes.

Web

ASP.NET version 4 introduces new features in the following areas:

1. Core services, including a new API that lets you extend caching, support for compression for session-state data, and a new application preload manager (autostart feature).

2. Web Forms, including more integrated support for ASP.NET routing, enhanced support for Web standards, updated browser support, new features for data controls, and new features for view state management.

3. Web Forms controls, including a new Chart control.

4. MVC, including new helper methods for views, support for partitioned MVC applications, and asynchronous controllers.

5. Dynamic Data, including support for existing Web applications, support for many-to-many relationships and inheritance, new field templates and attributes, and enhanced data filtering.

6. Microsoft Ajax, including additional support for client-based Ajax applications in the Microsoft Ajax Library.

7. Visual Web Developer, including improved IntelliSense for JScript, new auto-complete snippets for HTML and ASP.NET markup, and enhanced CSS compatibility.

8. Deployment, including new tools for automating typical deployment tasks.

9. Multi-targeting, including better filtering for features that are not available in the target version of the .NET Framework.

Client

Windows Presentation Foundation
In the .NET Framework 4, Windows Presentation Foundation (WPF) contains changes and improvements in many areas, including controls, graphics, and XAML.

Data

ADO. NET
ADO.NET provides new features for the Entity Framework, including Persistence-Ignorant Objects, functions in LINQ queries, and Customized Object Layer Code Generation.

Dynamic Data
For ASP.NET 4, Dynamic Data has been enhanced to give you even more power for quickly building data-driven Web sites. This includes the following:

- Automatic validation that is based on constraints that are defined in the data model.

- The ability to easily change the markup that is generated for fields in the GridView and DetailsView controls by using field templates that are part of a Dynamic Data project.

Communications and Workflow

Windows Communication Foundation (WCF) provides messaging enhancements and seamless integration with Windows Workflow Foundation (WF). WF provides improvements in performance, scalability, workflow modeling, and an updated visual designer.

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 Hosting :: Benefits of DotNetNuke

clock May 19, 2010 04:57 by author Jervis

This topic contains brief information about DNN. If you looking for DNN hosting, you can always consider ASPHostPortal. At ASPHostPortal you can get a professional DNN installation with your DNN 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?

DotNetNuke (formerly known as the IBuySpy Workshop) is an automated content management framework explicitly intended to be used in intranet and extranet deployments and open source portals. DotNetNuke has a heady set of tools that lets you build dynamic websites. The information in such sites is interactive and data-driven. The information changes automatically as it is contained in file or database. Publishing blogs, showing current affairs, chat system, date, time, weather forecast and other similar stuff are the changing or dynamic data you can easily put on your website using DotNetNuke tools.

Within an organization, portals provide a single web front-end to the many applications within an organization. It may be providing Transactions, HR, Locker info, Customer Services provided in a Banking environment all from one site. The back-end data base systems are also connected to provide businesses with the prospect to combine information and use it fruitfully.

Key benefits and reasons to move to DotNetNuke are:
- Easy Web site administration: While working on this framework no programming knowledge is required. Clients can generate, supervise and publish web content without requiring any technical skill level.

- Ready to use: DotNetNuke is user-friendly framework and is built in such a way as to allow users to deal with all parts of their projects. A well worked out user interface allows an easy operation.

- Advanced Features: The advanced features in DotNetNuke exceed the features in your homegrown applications. Moreover it is a constantly evolving with multi-functionality to cater end-user requirements. It also saves development time.

- Strength: The administrative options are skillfully divided between host level and individual portal level. In one hosting account the administrator at DotNetNuke supports multiple portals or sites- each with its own look.

- Powerful Tools: DotNetNuke comes with a set of powerful tools. These built in tools provide multi-functionality for security, site designing, hosting, site membership options etc. There are various other features that can be manipulated as per your needs with these tools.

- Network of Support: A Core Team of developers is always there to support DotNetNuke. Online Forums, blogs, online help and various websites give DotNetNuke a dedicated network of support.

- Easy Installation: DotNetNuke.com provides the free download software and an install.pdf with install instructions for the latest version of DotNetNuke. DotNetNuke can be made running within minutes.¼LI>Multi-Language Localization: DotNetNuke supports a multi-language localization that allows the websites built on it, to be translated into any language.

- Licensed Open Source Software: DotNetNuke 3.0 is available for free download. The full application source code and sub-projects are distributed under a standard BSD open source license; providing the maximum freedom in both non-commercial and commercial environments.

- Increase Profits Opportunities: DotNetNuke is module based. So you can build up various unique modules and sell them to your clients. Besides this, you can also go commercial with site templates, database options etc.

- Latest Technology:  The working of DotNetNuke utilizes modern day technology- ASP.NET 2.0, Visual Web Developer, Visual Studio 2005 and SQL Server 2005, thus giving the users a hands on to the latest technology.

- Advanced CMS: DotNetNuke has built-in tools to create the most complex content management systems. Moreover, many options of extending and customizing the site are also available.

- Established: DotNetNuke is a now a trademark in web designing. It is a popular brand in the open source community.  With over 250,000 registered users and a talented team of developers. Through end-user feedback and real world trial DotNetNuke continues to grow.

- Easy to integrate: With its flexible infrastructure, DotNetNuke is easy to integrate within your conventional processes.

- Priority on security: Emphasis placed on validation, encryption, “bug” tracking and potential threats provides a secure way to build websites.

- Fully customizable:  Changes can be made to portals at all levels – from basic stylesheet elements like font type, color, and bullet points, to overall site appearance.  New skins and module containers can be easily applied to the site with no repercussion on content.

DotNetNuke is built on a Microsoft ASP.NET (VB.NET) platform.  The most recently released versions are 3.3.x and 4.3.x

A website in DotNetNuke is made up of Pages. These Pages exhibit information to your site visitors. A clickable item called Menu is present on Pages that helps you to navigate across the site. You go to these pages by clicking on Links. When you click on Menu, various Menu Items are displayed hat Link to other pages.

Information on Pages is added by putting Modules on them. Modules impart functionality to your website. Different types of modules are available for displaying different types of content. They may be pooled in different unique ways to design your specific website. Modules can be simple like Text/HTML Module, which allows you to put in HTML or Text that you like or they can be complicated like an import module or an online chat utility.

You may have secure information on your site that you don't want to make visible to anyone. Only the registered visitors are to be given special Permissions to view the secure information. You can make the page visible and just hide some of the Modules, which you don’t want to show. This makes users know that they can access further only if they Register and then Login. So the module, which is to be viewed by specific group or to be made secure, is not visible on the page.

"Skin" describes the visual layout or appearance of your website's pages. A Skin can be simple or complex. The skin can be different for different containers of the pages. It can provide different style for horizontal or vertical Menus and provide for different layouts. Some Skins are included with DotNetNuke install while others are available from other sources. Every new page always has the same look which is the default Skin for your website. Your website's default Skin is managed on a page accessible only to Administrators.  This setting applies to your entire website and to all new pages that you create.

Every Page has predefined areas called Panes that give the Page its appearance. Modules are placed on these Panes. Every page Skin has at least one pane. A skin may have several panes as per the page design like panes may be intended for specific purposes e.g. an emblem or a logo in the header of a website.

There are many Modules available with DotNetNuke that offer wide spectrum of functionality and custom modules with some special functionality are also available on certain other sites. Some examples of DotNetNuke Modules and their functionality are:

- The Announcements module produces a list of simple text announcements consisting of a title and brief description.  It is very handy for making your website visitors aware of items of interest which may have links to additional information.  Options include a "read more" link to a file, tab or other site, announcement publish date and expiration date.

- Banner Modules: Banners can enabled in the header of the portal through the Admin > Site Settings tab.Reporting is provided for banner views and clicks. Each banner module can be set to render from one of two separately managed levels of vendor directories, one for the portal host and one for the portal administrator.  Banners managed by the portal host are available in all child portals managed under the host portal.Banner types include standard Banner, MicroButton, Button, Block, Skyscraper, Text and Script options

- The DotNetNuke Documents module presents a list of files within DotNetNuke for download by end users.  Documents can be stored within a DotNetNuke portal, or accessed from an external website or portal.  Access to documents can be secured using the core role-based security from within DotNetNuke

- The Text/HTML Module provides for the input of simple or HTML-formatted text. Simple text is input in a standard text box and a filter converts carriage returns (paragraph breaks) to HTML breaks. HTML-formatted text can be input directly or generated by an alternate rich text input utility that provides a number of advanced WYSIWYG features as well as a gallery of all uploaded images

DotNetNuke Portal

DotNetNuke has many built-in modules such as content module, Table, Events, Links, Picture and more. Various other modules with functionality to cater different aspects of websites can be found in DotNetNuke Web Forums, Blogs and various other websites. The DotNetNuke portal builder lets you construct various intranet and client/vendor extranets using the modules provided and those imported from other sites. While building up an intranet or an extranet one basically requires the following functionality:

- Post/upload/attach a file or a document to the company standard protocols/procedures that is Central file storage of protocols/procedures is needed. This can be done using the Documentation Module.
- Internal and external contacts: To satisfy this one must have multiple instances of contact Module.
- Calendar: This can be added with Events/AVCalendar module
- Staff in/out board: This cannot be found in core module but is easy.
- A way to display Text: A core Text/HTML module will work well.
- Web links required: Links module provides links to various sites.
- Access restricted by user level possible to link Active Directory: AD integration in core provides this functionality.
- Alert users to new upload: This can be implemented by modules easily available.

However, technology is not one tool but to pick the best from Toolbox.  Share Point Services also provide some Intranet solutions but is generally used when your needs are more collaboration/communication-centric while DotNetNuke provides more document/content-centric.

Localization

DotNetNuke is used internationally to create web applications that must accommodate the specific culture of both the hosting organization, and the individual end users/site visitors. These websites have to serve a wide range of people with specific languages and culture. Therefore, the aim was to provide a set of procedures to simplify creation of multilingual web sites. So certain standard measures to add new languages and translate resource files, an application programming interface for Core Modules as well as other modules is basically needed for localizability of modules.  Since version 3 DotNetNuke provides a set of features to allow static localizability of modules. By static information we mean all data that is not subject to user modification and that can be considered for the most part as not changeable. This includes text labels, error and information messages, help, and graphics that are spread throughout the user interface of the application. The initial release of Multilingual Translations includes only static translations.  This means that DotNetNuke framework will convert static strings, but will not convert dynamic content i.e. content stored in the database. It is now possible to roll out websites that are completely non-English. The DNN 3.1 framework allows monolinguistic non-English sites, but not multilingual ones. The ability to have multilingual sites is especially important in countries that have more than one official language. This brings the concept of Dynamic Localization that is capacity to carry content in multiple languages. The word dynamic refers to content that is changed by users, not the programmers. Generally, current multilingual sites consist of multiple shadowing sites. Different URLs support different language entry points i.e. a different URL for a different language. This is a static website solution. However, a portal structure such as DNN must offer content tailored to the visitor on a single page thus, eliminating the ability to have the shadowing sites. The framework should detect the user’s preferred language and offer the correct content. This gives the concept of dynamic localization.

DotNetNuke puts the authority to build and administer Web site in the hands of your clients. They have an active role in managing information on their Web sites, intranets, and extranets. They can browse to the area on the site where they want to create or edit content, and click on the appropriate content management option. Thus, the clients are site administrator. Moreover, DotNetNuke integrates quickly with your infrastructure and has no licensing restrictions.

The benefits of DotNetNuke for hosters include:
- DotNetNuke is browser based content management system. It simplifies web site management by letting the clients, regardless of their skill; decide the infrastructure and content of the site.

- No Developers, no programmers needed. So a working website is developed quite fast.

- A client can easily make changes in website without any support. So content authoring, deployment, and configuration support is not required hence reducing costs of maintaining a website.

- DotNetNuke separates site content from site design so extremely customized site templates can be provided for your clients.

- DotNetNuke is an advanced and constantly evolving technology. It is versatile, user friendly and has an international community to support thus saves your valuable development time and expenses.

- Leverage existing investments: DotNetNuke is built on Microsoft technology, including the .NET Framework so it leverages your existing investments such as Windows servers, database servers, and development tools.

- It simplifies internal management processes, and makes your hosting packages more attractive and valuable. With an active open source community and more than 150,000 registered users worldwide, DotNetNuke is loved by Hosters.

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.

 



Joomla Hosting - ASPHostPortal :: How to Secure Your Joomla Website

clock May 18, 2010 04:46 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?

How to change the administrative username of your Joomla website

By default your administrative username is admin. The majority of the attackers would expect the username to be admin. Changing it will protect you against many attacks.

To do this, you should:

Step 1. Log in to the Joomla administrative area and click on the User Manager menu.

Step 2. Click on your administrative user in order to edit it. You can either check the box next to the user and click the "Edit" button or directly click on the user's full name.

Step 3. In the next page you should edit the Username field. Change it to something different than "admin" and click on the "Save" button.

Alternatively, you can do this by modifying the database of your Joomla website:

Step 1. Open the phpMyAdmin tool in your cPanel and load your Joomla database.

Step 2. Select the jos_users table from the left column and click on the Browse button to edit the rows in it.

Step 3. Locate the line for the "admin" username and click on the pen icon next to it to edit it.

Step 4. Change the value of the "username" field to something different than "admin". Using lower and upper case characters as well as numbers is highly recommended.

Step 5. Once you change your administrative username, press the Go button at the bottom right part of the page.

Now you can login to the administrative area of your Joomla application with the new username.


How to change the default table prefix of your Joomla database

Changing the default table prefix will stop the majority of attacks against your database. You can use the DB Admin component in order to do this. Although it is originally designed for Joomla 1.0.x, it works on Joomla 1.5 too.

Step 1. Install the component and go to Components > DB Admin.

Step 2. Using the intuitive interface, change the default "jos_" prefix of your Joomla 1.5 tables to a different value.

Step 3. Modify the configuration.php file in your main Joomla folder. In it locate the following line:

var $dbprefix = 'jos_';

You will have to edit it to correspond to the new table prefix you have set. For example, if you have changed the table prefix to "smth_" the line in the configuration.php file should look like this:
var $dbprefix = 'smth_';

The default table prefix of your Joomla database is now changed. This should block the majority of attacks against your database.


Use the .htaccess file to additionally secure your Joomla

You should make the following changes to the .htaccess file in the Joomla directory:

- First, If you don't have a .htaccess file in your Joomla folder, you should rename the htaccess.txt file that comes with your Joomla installation package to .htaccess. To do this, you can use the File Manager tool in your cPanel. In addition, doing this will allow you to enable the SEF functionality of your Joomla application. The rules in it will block the majority of well-known attacks against your website.

- Make sure you are running your website on PHP 5.2 or newer. All SiteGround customers have their accounts running PHP 5.2 by default.

- Block the access to all files except index.php and index2.php. Note, however, that you may have to allow the access to some additional files if your extensions require them. If certain parts of your website do not appear, you can check the files that they rely on. Then, you can add them to the access rules. Generally, if you add the following lines to your .htaccess file, everything should work just fine:

deny from all
<FilesMatch "index.php">
allow from all
</FilesMatch>
<FilesMatch "index2.php">
allow from all
</FilesMatch>

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.

 



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.

 



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