ASPHostDirectory Cheap .NET 4 Hosting

Blog about .NET Hosting and all its latest technology

ASPHostDirectory.com .NET 4 Hosting :: How do I integrate SSRS Reports with Dashboard Filters?

clock June 30, 2010 07:44 by author Darwin

For this example, we will configure a dashboard configuring containing one page with one scorecard view (OLAP data source) and one SSRS Relational report and a second page containing the same OLAP scorecard and a second SSRS OLAP report. Note, the SSRS reports are both configures in SSRS to have an SSRS parameter based on Geography - the parameters must be set up in SSRS prior to connecting the parameter to a Filter in the PerformancePoint dashboard.

Create report views for your SSRS reports

1. Right click the Reports folder in the dashboard designer and select New Report.

2. Select SQL Server Report and click OK.

3. Enter a name for your report and click Finish.

4. Enter the Server URL to the SSRS report server.

5. Click the Browse button and select the SSRS report you wish to include. Click OK.

6. Ensure that the parameters came through and are listed in the Report Parameters section.

7. Select each parameter, click Edit and set a default value.

8. Publish the report to your PerformancePoint Server by selecting the Home tab and clicking Publish All.

9. Repeat steps 1 through 8 for all your report views you wish to include. Note that the process does not differ for Relational vs OLAP SSRS Reports.

 

Configure your dashboard

1. Right click on Dashboards in the Dashboard Designer and select New Dashboard.

2. Select your template (in this example, we will choose 3 Rows) and click OK.

3. Assign a name to your dashboard and click Finish.

4. Drag your scorecard, in this example I choose an OLAP scorecard, and pull it into the Center Row.

5. Drag your SSRS report, in this example I pull an SSRS Relational Report, into the Bottom Row.

6. Create a Filter in the Dashboard. In this example, I build a filter off of my OLAP data source that sources my scorecard and is the same cube as my SSRS OLAP report is built from.

7. Drag your Filter into the Top Row.

8. Click on the Filter in the top row you will see a list of options listed under your parameter name.

9. Select Display and drag it to your SSRS Relational Report input area in the Bottom Row. Note, in order for this to work, your names in your SSRS Relational Report parameter, must match the captions of your members in the cube. Display specifies that we will provide the cube member name caption as the input to the report.

10. In the Edit Filter Link dialog, select the SSRS Report parameter from the Dashboard item endpoint drop down to create the link between the PerformancePoint filter and SSRS report parameter.

11. Click on the parameter again and select MemberUniqueName and drag it into the input area for the scorecard. We do this because our scorecard is built off of a cube data source and needs the MDX member unique names passed as inputs.

12. In the Edit Filter Link dialog, select Filters form the Dashboard item endpoint to pass the parameter as a filter to the scorecard.

13. Create a second page in your dashboard, also configured with 3 rows.

14. Place your same OLAP scorecard in the Center Row, your SSRS OLAP report in the Bottom Row and the same filter in the Top Row.

15. Click on the filter and drag the MemberUniqueName property to the input of the SSRS OLAP Report. In this case, we need the member unique name because the SSRS report is an MDX query which requires the MDX unique name as the parameter value.

16. In the Edit Filter Link dialog, select the SSRS Report parameter from the Dashboard item endpoint drop down to create the link between the PerformancePoint filter and SSRS report parameter.

17. Click on the parameter again and select MemberUniqueName and drag it into the input area for the scorecard.

18. In the Edit Filter Link dialog, select Filters form the Dashboard item endpoint to pass the parameter as a filter to the scorecard.

19. Publish your dashboard by selecting the Home tab and then selecting Publish All.

Export and view the dashboard

1. Click the Export tab and then select Sharepoint Site from the ribbon bar.

2. Choose the dashboard we just created and click Next.

3. Enter the Sharepoint URL and select the Document Library you wish to publish to, click Next.

4. Select the master page you wish to publish with and click Finish.

What is so SPECIAL on ASPHostDirectory.com Reporting Service Hosting?

We know that finding a cheap, reliable web host is not a simple task so we’ve put all the information you need in one place to help you make your decision. At ASPHostDirectory, we pride ourselves in our commitment to our customers and want to make sure they have all the details they need before making that big decision.

We will work tirelessly to provide a refreshing and friendly level of customer service. We believe in creativity, innovation, and a competitive spirit in all that we do. We are sound, honest company who feels that business is more than just the bottom line. We consider every business opportunity a chance to engage and interact with our customers and our community. Neither our clients nor our employees are a commodity. They are part of our family.

The followings are the top 10 reasons you should trust your online business and hosting needs to us:

- FREE domain for Life - ASPHostDirectory gives you your own free domain name for life with our Professional Hosting Plan and 3 free domains with any of Reseller Hosting Plan! There’s no need to panic about renewing your domain as ASPHostDirectory will automatically do this for you to ensure you never lose the all important identity of your site
- 99,9% Uptime Guarantee - ASPHostDirectory promises it’s customers 99.9% network uptime! We are so concerned about uptime that we set up our own company to monitor people’s uptime for them called ASPHostDirectory Uptime
- 24/7-based Support - We never fall asleep and we run a service that is opening 24/7 a year. Even everyone is on holiday during Easter or Christmast/New Year, we are always behind our desk serving our customers
- Customer Tailored Support - if you compare our hosting plans to others you will see that we are offering a much better deal in every aspect; performance, disk quotas, bandwidth allocation, databases, security, control panel features, e-mail services, real-time stats, and service
- Money Back Guarantee - ASPHostDirectory offers a ‘no questions asked’ money back guarantee with all our plans for any cancellations made within the first 30 days of ordering. Our cancellation policy is very simple - if you cancel your account within 30 days of first signing up we will provide you with a full refund
- Experts in Reporting Service Hosting
- Given the scale of our environment, we have recruited and developed some of the best talent in the hosting technology that you are using. Our team is strong because of the experience and talents of the individuals who make up ASPHostDirectory
- Daily Backup Service - We realise that your website is very important to your business and hence, we never ever forget to create a daily backup. Your database and website are backup every night into a permanent remote tape drive to ensure that they are always safe and secure. The backup is always ready and available anytime you need it
- Easy Site Administration - With our powerful control panel, you can always administer most of your site features easily without even needing to contact for our Support Team. Additionally, you can also install more than 100 FREE applications directly via our Control  Panel in 1 minute!

Happy Hosting!

 



ASPHostDirectory.com .NET 4 Hosting :: New Features in ASP.NET MVC 2.0

clock June 30, 2010 07:19 by author Darwin

Introduction

Microsoft's ASP.NET is a language and platform-neutral technology, arguably, one of the most successful web technologies ever. You can use it to design and develop web applications that can run on top of the managed environment of .NET Framework and inside the context of the IIS web server. Microsoft's MVC Framework is based on the time-tested and proven MVC Design Pattern and provides you a framework for building scalable, robust, high-performance web applications seamlessly. Applications designed using the MVC Design Pattern is easier to test and maintain. This article takes a look at the new features in ASP.NET MVC 2.0 and how one can leverage them in applications.

Getting Started with ASP.NET MVC 2.0

To work with ASP.NET MVC 2.0, you need to install it separately if you are using Microsoft Visual Studio 2008. Alternatively, you can use any one of the following versions of Microsoft Visual Studio 2010 - ASP.NET MVC Framework 2.0 is built-in.

Note that ASP.NET MVC Framework can be installed side by side with your ASP.NET MVC 1.0 and you can easily upgrade your ASP.NET MVC 1.0 applications to ASP.NET MVC 2.0 counterparts with ease. Moreover, Visual Studio 2010 has an built-in upgrade wizard that you can use to migrate your existing ASP.NET MVC 1.x applications to ASP.NET MVC 2.0 counterparts seamlessly. To migrate your old ASP.NET MVC 1.0 applications to ASP.NET MVC 2.0 applications manually, you should replace all occurences of "System.Web.Mvc, Version=1.0.0.0" with "System.Web.Mvc,Version=2.0.0.0", replace the old assemblies with newer ones, and also use bindingRedirect element in the web.config file of your ASP.NET MVC 1.0 application as shown below:

<runtime>

<assemblyBinding xmlns=

"urn:schemas-microsoft-com:asm.v1">

<dependentAssembly>

<assemblyIdentity name="System.Web.Mvc"

publicKeyToken="31bf3856ad364e35"/>

<bindingRedirect oldVersion="1.0.0.0"

newVersion="2.0.0.0"/>

</dependentAssembly>

</assemblyBinding>

</runtime>

Understanding the Model View Controller Design Pattern

The Model View Controller (or MVC as it is commonly called), is a proven design pattern that facilitates testability and easier maintenance of the application's code. It also promotes a cleaner separation of the application's concerns and is primarily based on the following major architectural components:

- The Model - the component that is responsible for storing the application's data and business logic components
- The View - the component responsible for invalidating the view based on the model's state and presenting the data to the user in the user interface
- The Controller - the component responsible for managing the interaction amongst these components

The primary advantage of this design pattern is easier maintenance, reduced cost and a cleaner isolation of the application's concerns.

What is the ASP.NET MVC Framework?

The ASP.NET MVC Framework is a framework from Microsoft that can be used to design and implement applications based on the MVC Design Pattern. The basic advantages of using the ASP.NET MVC Framework include: a cleaner separation of concerns, better code organization, extensibility, scalability and code reusability. It also provides an excellent support for a REST-based model and all existing ASP.NET features. As the ASP.NET MVC framework is built on top of the ASP.NET runtime, you can leverage the existing ASP.NET features like authentication and authorization, profile settings, localization, and so on.

Scott Guthrie states in his blog: "One of the benefits of using an MVC methodology is that it helps enforce a clean separation of concerns between the models, views and controllers within an application. Maintaining a clean separation of concerns makes the testing of applications much easier, since the contract between different application components are more clearly defined and articulated."

New Features in ASP.NET MVC Framework 2.0

ASP.NET MVC 2 is the new version of ASP.NET MVC Framework - a framework for developing highly testable and maintainable Web applications by leveraging the Model-View-Controller (MVC) design pattern. Here is the list of the new features and enhancements in ASP.NET MVC Framework 2.0:

- Support for templated helpers - This is a new feature that you can use to associate templates with views for editing and displaying values based on a particular data type.

- Support for Asynchronous Controllers - You can now use controllers in ASP.NET MVC 2.0 applications to process requests asynchronously.

The abstract class AsyncController in the System.Web.Mvc namespace provides support for asynchronous operations for controller classes in ASP.NET MVC 2.0. Here is how this class looks like:

public abstract class AsyncController : Controller,

      IAsyncManagerContainer, IAsyncController, IController

The AsyncManager in the System.Web.Mvc.Async namespace provides support for asynchronous operations to the AsyncController class.

- Support for areas - You can use this new feature to partition and group functionalities in your ASP.NET MVC projects. This is a great new feature introduced in ASP.NET MVC 2.0. Areas enable you to organize ASP.NET MVC Applications to manage the complexity of large web applications seamlessly. In essence, an area is used to represent a section of a web site that is comprised of a group or a collection of related controllers, views, routes and sections. When you create a new area, Microsoft Visual Studio automatically adds a class that derives from AreaRegistration class to register the area and its routes. Here is an example:

namespace Test.Areas.Employee

   {

    public class EmployeeAreaRegistration : AreaRegistration

     {

        public override string AreaName

        {

            get { return "employee"; }

        }

 

        public override void RegisterArea(AreaRegistrationContext context)

        {

            context.MapRoute(

                "employee_default",

                "employee/{controller}/{action}/{id}",

                new { action = "Index", id = UrlParameter.Optional }

            );

 

            context.MapRoute(

                "employee_whatsnew",

                "whats-new",

                new { action = "WhatsNew", id = UrlParameter.Optional  }

            );

        }

    }

}

- Support for data annotations - You can use this feature to easily attach validation rules to the Model and View Model classes in your ASP.NET MVC applications.


- Support for strongly typed UI helpers - You can use this new feature to perform a compile-time check of the views. This feature also facilitates an enhanced Intellisense support for your view templates in an ASP.NET MVC application.

- Support for Templates and Templated Helpers - The introduction of templates is a major new feature in ASP.NET MVC Framework 2.0. Similar to Dynamic Data for WebForms, this is a feature that allows you to display or edit an object of a simple data or complex type. You can have the following types of templates in ASP.NET MVC Framework 2.0:

Default Template
Custom Object Template

Master Page Template

You can use Templated Helpers to create display and edit templates for various types. Templated Helpers enable you to have a compile time check and provide support for intellisense and code refactoring.


- Support for Client-Side Validation -

ASP.NET MVC 2.0 provides excellent support for client side validation. You can use attributes from the System.ComponentModel.DataAnnotations namespace. An an example, you can make a property or field mandatory using the [Required] attribute as shown in the code snippet below:

[Required]

public string FirstName { get; set;}

- The other attributes you can use include: Range, RegularExpression and StringLength

- Support for DefaultValueAttribute in Action-Method Parameters - This is yet another great new feature that allows you to pass default values as parameters to the action methods in your ASP.NET MVC 2.0 applications. Here is an example:

public class EmployeeController

{

  public ActionResult View(int id, [DefaultValue(1)]int pageNumber)

  {

 

  }

}


Summary

If you’re looking for ASP.NET MVC hosting, you can always consider ASPHostDirectory as the alternatives. You can start from only $ 3.99/month to get ASP.NET MVC hosting.

What is so SPECIAL on ASPHostDirectory.com .NET MVC Hosting?

We know that finding a cheap, reliable web host is not a simple task so we’ve put all the information you need in one place to help you make your decision. At ASPHostDirectory, we pride ourselves in our commitment to our customers and want to make sure they have all the details they need before making that big decision.

We will work tirelessly to provide a refreshing and friendly level of customer service. We believe in creativity, innovation, and a competitive spirit in all that we do. We are sound, honest company who feels that business is more than just the bottom line. We consider every business opportunity a chance to engage and interact with our customers and our community. Neither our clients nor our employees are a commodity. They are part of our family.

The followings are the top 10 reasons you should trust your online business and hosting needs to us:

- FREE domain for Life - ASPHostDirectory gives you your own free domain name for life with our Professional Hosting Plan and 3 free domains with any of Reseller Hosting Plan! There’s no need to panic about renewing your domain as ASPHostDirectory will automatically do this for you to ensure you never lose the all important identity of your site
- 99,9% Uptime Guarantee - ASPHostDirectory promises it’s customers 99.9% network uptime! We are so concerned about uptime that we set up our own company to monitor people’s uptime for them called ASPHostDirectory Uptime
- 24/7-based Support - We never fall asleep and we run a service that is opening 24/7 a year. Even everyone is on holiday during Easter or Christmast/New Year, we are always behind our desk serving our customers
- Customer Tailored Support - if you compare our hosting plans to others you will see that we are offering a much better deal in every aspect; performance, disk quotas, bandwidth allocation, databases, security, control panel features, e-mail services, real-time stats, and service
- Money Back Guarantee - ASPHostDirectory offers a ‘no questions asked’ money back guarantee with all our plans for any cancellations made within the first 30 days of ordering. Our cancellation policy is very simple - if you cancel your account within 30 days of first signing up we will provide you with a full refund
- Experts in .Net MVC Hosting
- Given the scale of our environment, we have recruited and developed some of the best talent in the hosting technology that you are using. Our team is strong because of the experience and talents of the individuals who make up ASPHostDirectory
- Daily Backup Service - We realise that your website is very important to your business and hence, we never ever forget to create a daily backup. Your database and website are backup every night into a permanent remote tape drive to ensure that they are always safe and secure. The backup is always ready and available anytime you need it
- Easy Site Administration - With our powerful control panel, you can always administer most of your site features easily without even needing to contact for our Support Team. Additionally, you can also install more than 100 FREE applications directly via our Control  Panel in 1 minute!

Happy Hosting!

 



ASPHostDirectory.com .NET 4 Hosting :: How to Deploy a Database With a Web Application Project

clock June 30, 2010 06:22 by author Darwin

When you prepare to deploy a Web application project that uses one or more SQL Server databases, you can enter settings that specify database scripts that must run during deployment. These settings apply whether you deploy by using one-click publish or by using a Web deployment package.

The first two procedures in this topic provide instructions for specifying database information to deploy when the database does not already exist in the destination environment. The remaining procedures explain how to change the settings after the application has already been deployed. After you deploy an application the first time, the database will already be on the destination server. You might not want to run database scripts, or you might want to run different scripts.

Configuring for First-Time Deployment

You use the Package/Publish SQL tab of the project Properties page to configure settings that determine which scripts will run during deployment. This tab is organized in a master/detail layout. In a grid at the top, you specify databases to deploy. In the rest of the tab, you specify settings that apply to the database you have selected in the grid.

To specify databases to deploy

1. In Solution Explorer, select the project name and then select Properties.

2. In the Properties page, click the Package/Publish SQL tab.

3. In the Configuration drop-down list, select the build configuration that you want to deploy.

You can configure deployment for the Debug or Release build configurations, or for a custom build configuration that you have created by using the Configuration Manager dialog box. For example, you might want different settings for deploying to a test server and for deploying to a production server.

The default value for the Configuration list is Active. This means that the settings on this tab will apply to the build configuration that is currently selected for the project. The currently selected build configuration is shown in the main toolbar and in the Configuration Manager dialog box. (To open Configuration Manager, select it from the Build menu.)

4. Click Import from Web.config.

A row is created in the grid for each connection string that is found in the Web.config file. By default, "-Deployment" is appended to the connection string name.

5. If the Web application uses databases that are not represented by connection strings in the Web.config file, manually add a row for each of those databases. For rows that you enter manually, you can use any name that helps you remember which database the row applies to.

After you have specified the databases to deploy, you can enter settings for each database. Perform the following steps for each database that you entered in the Database Entries grid.

To enter settings for a database

1. In the Database Entries grid, select the row that you want to enter settings for.

The values that you enter in the Database Entry Details section apply only to the currently selected row in the Database Entries grid. If no rows are selected in the Database Entries grid, the Database Entry Details section is disabled.

2. In the Connection string for destination database box, enter the connection string to use during deployment.

This connection string might be different from the one that you use in the deployed Web.config file for the same database. For example, the connection string to use for deployment might need administrator permissions that you do not want the connection to have when users run the application.

3. If you want to automatically generate scripts from an existing database, select the Pull data and/or schema from an existing database check box.

By default, this check box is selected for rows in the Database Entries grid that were imported from the Web.config file. When this option is selected, the Database Scripts grid includes a row to indicate that automatically generated scripts will run in the destination database.

4. If you selected the Pull data and/or schema from an existing database check box, perform the following steps:

- In the Connection string for the source database text box, enter the connection string to use during deployment.

By default, for rows in the Database Entries grid that were imported from the Web.config file, this field is initialized to the value from the Web.config file.

- In the Database scripting options drop-down list, specify whether you want the scripts that are automatically generated for this database to duplicate only the database structures (Schema Only), to duplicate both the structures and the data (Schema and Data), or to duplicate only the data (Data Only) in the destination environment.

5. If you want to specify custom database scripts to run in the destination database during deployment, add them to the Database Scripts grid by using the Add Script button.

When you click Add Script, a Select File dialog box is displayed. This dialog box enables you to select a script that you have written and to add it to the Database Scripts grid.

6. If the rows in the Database Scripts grid are not in the order in which the scripts should run, rearrange the rows by using the up arrow and down arrow buttons.

7. In the Web.config transform file for the build configuration that you are deploying, add markup that will transform the connection string for this database to the value that it should have in the deployed Web application.

8. If you do not want the automatically generated script to run in a transaction, edit the project file to set the Transacted attribute of the script's Source element to False.

9. If the source or destination database is SQL Azure and if you are running an automatically generated script, edit the script's PreSource element in the project file so that it includes the following attributes:

targetDatabaseEngineType=SQLAzureDatabase

targetServerVersion=version100

prefetchObjects=false

Set the targetServerVersion to version100 for SQL 2008 or version105 for SQL 2008 R2.

Redeploying Without Database Changes

After you have deployed a Web application the first time, you might have to deploy it again. The following procedure describes how to disable database updates for all databases or for selected databases when you redeploy the Web application.

To redeploy without database changes

1. In Solution Explorer, right-click the project name and then click Properties.

2. Click the Package/Publish Web tab.

3. Make sure that the build configuration that you want to change settings for is selected in the Configuration drop-down list.

4. If you want to disable updating for all databases that are listed in the Database Entries grid, clear the Include all databases configured in Package/Publish SQL tab check box.

5. If you want to disable updating for selected databases that are listed in the Database Entries grid, clear the Deploy check box for each database that you do not want to run scripts for.

Redeploying By Using Automatically Generated Scripts

After you have deployed a database by using automatically generated scripts, you might make database changes and then redeploy the database. In that case, the deployment process must drop existing database objects before the objects are re-created. The following procedure describes how to specify that automatically generated scripts should include SQL Drop statements.

To redeploy a database by using automatically generated scripts

If you want the automatically generated script to drop database objects such as tables, views, and stored procedures individually before it creates new versions of these objects, edit the project file to set the ScriptDropsFirst attribute of the PreSource element of the automatically generated script to True.

This setting causes a SQL Drop statement to be generated for each database object that is created from the source database. This Drop statement for a particular object will run just before the statement that creates that object. If an object occurs in the destination database but not in the source database (typically because it was dropped from the source database after the previous deployment), no Drop statement will be generated for it.

If you want to drop the entire database before re-creating individual database objects, set the DropDestinationDatabase attribute of the Source element to True.

Deploying Database Changes by Using Custom Scripts

After you have deployed a database, you might make database changes and then want to deploy only the changes to the destination database. This lets you preserve any data that might have been entered in the destination database. The following procedure describes how to disable automatically generated scripts and add custom scripts that update the database.

To deploy changes to a database and preserve data

1. Create custom database scripts that will make the changes that you want in the destination database.

2. In Solution Explorer, right-click the project name and then select Properties.

3. Click the Package/Publish SQL tab.

4. In the Database Scripts grid, clear the Include check boxes in the rows for scripts that should not run.

If you selected the Pull data and/or schema from an existing database check box, clear the Include check box for the automatically generated script.

5. Add the custom database scripts for the selected database by using the Add Script button.

When you click Add Script, a Select File dialog box is displayed that enables you to select a script that you have written and add it to the Database Scripts grid. By default, the Include check box will be selected.

6. Optionally, if the rows in the Database Scripts grid are not in the order in which the scripts should run, rearrange the rows by using the up arrow and down arrow buttons.

What is so SPECIAL on ASPHostDirectory.com ASP. Net 4 Hosting?

We know that finding a cheap, reliable web host is not a simple task so we’ve put all the information you need in one place to help you make your decision. At ASPHostDirectory, we pride ourselves in our commitment to our customers and want to make sure they have all the details they need before making that big decision.

We will work tirelessly to provide a refreshing and friendly level of customer service. We believe in creativity, innovation, and a competitive spirit in all that we do. We are sound, honest company who feels that business is more than just the bottom line. We consider every business opportunity a chance to engage and interact with our customers and our community. Neither our clients nor our employees are a commodity. They are part of our family.

The followings are the top 10 reasons you should trust your online business and hosting needs to us:

- FREE domain for Life - ASPHostDirectory gives you your own free domain name for life with our Professional Hosting Plan and 3 free domains with any of Reseller Hosting Plan! There’s no need to panic about renewing your domain as ASPHostDirectory will automatically do this for you to ensure you never lose the all important identity of your site
- 99,9% Uptime Guarantee - ASPHostDirectory promises it’s customers 99.9% network uptime! We are so concerned about uptime that we set up our own company to monitor people’s uptime for them called ASPHostDirectory Uptime
- 24/7-based Support - We never fall asleep and we run a service that is opening 24/7 a year. Even everyone is on holiday during Easter or Christmast/New Year, we are always behind our desk serving our customers
- Customer Tailored Support - if you compare our hosting plans to others you will see that we are offering a much better deal in every aspect; performance, disk quotas, bandwidth allocation, databases, security, control panel features, e-mail services, real-time stats, and service
- Money Back Guarantee - ASPHostDirectory offers a ‘no questions asked’ money back guarantee with all our plans for any cancellations made within the first 30 days of ordering. Our cancellation policy is very simple - if you cancel your account within 30 days of first signing up we will provide you with a full refund
- Experts in ASP. Net 4 Hosting
- Given the scale of our environment, we have recruited and developed some of the best talent in the hosting technology that you are using. Our team is strong because of the experience and talents of the individuals who make up ASPHostDirectory
- Daily Backup Service - We realise that your website is very important to your business and hence, we never ever forget to create a daily backup. Your database and website are backup every night into a permanent remote tape drive to ensure that they are always safe and secure. The backup is always ready and available anytime you need it
- Easy Site Administration - With our powerful control panel, you can always administer most of your site features easily without even needing to contact for our Support Team. Additionally, you can also install more than 100 FREE applications directly via our Control  Panel in 1 minute!

Happy Hosting!

 



ASPHostDirectory.com .NET 4 Hosting :: Build a Simple Application with .Net RIA Services (Silverlight 3)

clock June 19, 2010 07:39 by author Darwin

This article describe Build a Simple Application with .Net RIA Services in Silverlight 3. If you’re looking for more information about Silverlight, you can visit ASPHostDirectory. We always ready to host your site. You can start from only $ 3.99/month to get this hosting. So, what are you waiting for?

Use a DomainDataSource to easily connect the data

Remove the code that retrieves the data from the server. Open Views\HomePage.xaml and comment out all the code in the Page_Loaded method.

Instead of loading the data manually, add a DomainDataSource control to the page. To do this, add a reference to System.Windows.Ria.Controls.dll, and add the Xml namespace that relates to its contents:

<navigation:Page x:Class="BankApp.HomePage"

  ...
  xmlns:ria="clr-namespace:System.Windows.Controls;
    assembly=System.Windows.Ria.Controls"

  Loaded="Page_Loaded"

  Title="HomePage Page">

  ...

</navigation:Page>

Add the DomainDataSource to the page

<navigation:Page x:Class="BankApp.HomePage"
  ...

  <Grid x:Name="LayoutRoot" Background="White">

    <ria:DomainDataSource x:Name="customersDataSource"

                          LoadMethodName="GetCustomers"

                          AutoLoad="True"

                          LoadSize="5">

    </ria:DomainDataSource>

   ...

  </Grid>

</navigation:Page>

Reminder: After creating the DomainService in the server side, Visual Studio has generated a client side DomainContext that does all the magic of connecting to the server for us.

Assign the DomainContext to the DomainDataSource so it can use it to pull data from the server. To do that, add a local xml namespace:

<navigation:Page x:Class="BankApp.HomePage"

   ...

 
   xmlns:local="clr-namespace:BankApp.Web"

   Title="HomePage Page">
   ...

 
</navigation:Page>

And do the assignment:

<ria:DomainDataSource x:Name="customersDataSource"

                      LoadMethodName="LoadCustomers"

                      AutoLoad="True"

                      LoadSize="5">

  <ria:DomainDataSource.DomainContext>

    <local:BankDomainContext />

  </ria:DomainDataSource.DomainContext>

</ria:DomainDataSource>


The last thing we need to do is to bind the DataGrid to the DomainDataSource.

<data:DataGrid MinHeight="200"

              x:Name="dataGrid"

              ItemsSource="{Binding Data, ElementName=customersDataSource}">

</data:DataGrid>

Run the application, and see how the data is being loaded in chunks according to the LoadSize property of the DomainDataSource.

Add a DataPager Control to enable paging through the data. To do that, add a reference to System.Windows.Controls.Data.DataForm.dll the following xml namespace:

xmlns:dataControls=
    "clr-namespace:System.Windows.Controls;assembly=System.Windows.Controls.Data.DataForm”

Add the DataPager control and bind it to the DomainDataSource:

<data:DataGrid MinHeight="200" ...>

</data:DataGrid>

<dataControls:DataPager PageSize="3"

              Source="{Binding Data, ElementName=customersDataSource}" />

Data Grouping

Add Grouping support to the DataGrid. Add the following xml namespace:

xmlns:riaData="clr-namespace:System.Windows.Data;assembly=System.Windows.Ria.Controls"

Then, add a group descriptor to group the results by the property City.

<ria:DomainDataSource ...>
  <ria:DomainDataSource.GroupDescriptors>
    <riaData:GroupDescriptor PropertyPath="City" />
  </ria:DomainDataSource.GroupDescriptors>
</ria:DomainDataSource>

Data Sorting

To add sorting support, add a SortDescriptor:

<ria:DomainDataSource ...>

  <ria:DomainDataSource.SortDescriptors>

    <riaData:SortDescriptor PropertyPath="CustomerID"

                            Direction="Descending" />

  </ria:DomainDataSource.SortDescriptors>

</ria:DomainDataSource>

Rich Data Filtering

Add a dynamic filtering support based on a selected value of a CheckBox. Add a Checkbox above the DataGrid.

<CheckBox x:Name="chkBusiness"

          Content="Business Customer ?" />

<data:DataGrid x:Name="dataGrid" ...> </data:DataGrid>

Add a FilterDescriptor that filters data according to the IsBusiness property of each item. Bind the FilterDescriptor  to the IsChecked property of the above checkbox.

<ria:DomainDataSource x:Name="customersDataSource" ... >

  ...

  <ria:DomainDataSource.FilterDescriptors>

    <riaData:FilterDescriptorCollection>

      <riaData:FilterDescriptor PropertyPath="IsBusiness"

                                Operator="IsEqualTo">

        <riaData:ControlParameter ControlName="chkBusiness"

                                  PropertyName="IsChecked"

                                  RefreshEventName="Click" />

      </riaData:FilterDescriptor>

    </riaData:FilterDescriptorCollection>

  </ria:DomainDataSource.FilterDescriptors>

</ria:DomainDataSource>

What is so SPECIAL on ASPHostDirectory.com Silverlight Hosting?

We know that finding a cheap, reliable web host is not a simple task so we’ve put all the information you need in one place to help you make your decision. At ASPHostDirectory, we pride ourselves in our commitment to our customers and want to make sure they have all the details they need before making that big decision.

We will work tirelessly to provide a refreshing and friendly level of customer service. We believe in creativity, innovation, and a competitive spirit in all that we do. We are sound, honest company who feels that business is more than just the bottom line. We consider every business opportunity a chance to engage and interact with our customers and our community. Neither our clients nor our employees are a commodity. They are part of our family.

The followings are the top 10 reasons you should trust your online business and hosting needs to us:

- FREE domain for Life - ASPHostDirectory gives you your own free domain name for life with our Professional Hosting Plan and 3 free domains with any of Reseller Hosting Plan! There’s no need to panic about renewing your domain as ASPHostDirectory will automatically do this for you to ensure you never lose the all important identity of your site
- 99,9% Uptime Guarantee - ASPHostDirectory promises it’s customers 99.9% network uptime! We are so concerned about uptime that we set up our own company to monitor people’s uptime for them called ASPHostDirectory Uptime
- 24/7-based Support - We never fall asleep and we run a service that is opening 24/7 a year. Even everyone is on holiday during Easter or Christmast/New Year, we are always behind our desk serving our customers
- Customer Tailored Support - if you compare our hosting plans to others you will see that we are offering a much better deal in every aspect; performance, disk quotas, bandwidth allocation, databases, security, control panel features, e-mail services, real-time stats, and service
- Money Back Guarantee - ASPHostDirectory offers a ‘no questions asked’ money back guarantee with all our plans for any cancellations made within the first 30 days of ordering. Our cancellation policy is very simple - if you cancel your account within 30 days of first signing up we will provide you with a full refund
- Experts in Silverlight Hosting
- Given the scale of our environment, we have recruited and developed some of the best talent in the hosting technology that you are using. Our team is strong because of the experience and talents of the individuals who make up ASPHostDirectory
- Daily Backup Service - We realise that your website is very important to your business and hence, we never ever forget to create a daily backup. Your database and website are backup every night into a permanent remote tape drive to ensure that they are always safe and secure. The backup is always ready and available anytime you need it
- Easy Site Administration - With our powerful control panel, you can always administer most of your site features easily without even needing to contact for our Support Team. Additionally, you can also install more than 100 FREE applications directly via our Control  Panel in 1 minute!

Happy Hosting!

 



ASPHostDirectory.com .NET 4 Hosting :: SharePoint Application Services for Reporting and Dashboards

clock June 19, 2010 07:20 by author Darwin

Microsoft's SharePoint technology architecture delivers a foundation of APIs and functionality that makes it easier for developers to build and deploy applications for a variety of scenarios. Workflow-enabled forms solutions, business intelligence and reporting aggregation tools, Excel-based publishing tools for Web reports, and records management tools are a few of the many functions that SharePoint supports out of the box with hooks for customization and extensibility built in. These products have been packaged into Microsoft Office SharePoint Server and are primarily delivered through SharePoint's Enterprise edition product.

One key set of functionality in Microsoft Office SharePoint Server 2007 is the support for delivery of reports, particularly Excel-based reports, through the Web browser. The Report Center in SharePoint 2007 is designed to provide a solution to integrate Excel-based reports, dashboards, Key Performance Indicators (KPI) lists based on SharePoint lists, and SQL Server Analysis Services and manually entered data to develop reporting and dashboard sites that can be deployed within SharePoint and managed like other SharePoint sites.

While the SharePoint platform has delivered integration with reporting tools in the past through Web Parts for Reporting Services and a variety of Web Parts published by other business intelligence tools vendors in previous versions, SharePoint Server 2007 builds the concept of business intelligence (BI) into the core of the product with a site template for the Reports Center, the introduction of Excel Services, and integrated support for KPI dashboards. To understand how the BI features in the Report Center work, the following presents an example of publishing reports and building a dashboard with Excel-based data with an integrated KPI dashboard.

Publishing a Report

The Report Center is a site template in SharePoint that serves as an aggregation point for various reports, dashboards, and Web Parts to construct reporting solutions. To get started with the Report Center, this example starts with an Excel-based report that you can publish to the reports library. The following steps deploy the report:

1. First, create a sample Excel workbook for your report.

2. The Report Center site template includes a library for reports that will automatically render Excel workbooks through Excel Services. To upload the workbook to the Reports Library, click the Upload option to upload a single report document or multiple report documents in the Reports Library. This will launch a page that will prompt you for the location of the report file and for Version Comments. Click OK to initiate the upload.

3. Once the report document has been uploaded to the report library, you'll be prompted to provide additional metadata about the report.

4. To extend a content type to include options that are relevant to your organization or site requirements, such as defaults for the Report Category element of the Report content type, click on the Document Library Settings option from the main page of the Report Library. From the resulting Customize Reports Library page, follow the Content Type link for the Report Content Type by clicking on its link.

5. On the List Content Type: Report page, follow the link for Report Category and click the "Edit column in new window" link.

6. Add or customize choices for report category. These categories can be used to provide descriptive metadata for search, list filters in the report library, and workflows that are associated with reports. When creating your own categories, be sure to provide clear and descriptive categories that are likely to be reused.

After these steps are completed, a new report is published and can be assigned to the appropriate business category, department, or other organizational element used to categorize reports. This level of categorization and the resulting ability to effectively search for, filter on, and assign workflow actions to reports based on these categories deliver a substantial portion of the benefit to developers building their reporting applications on SharePoint Server 2007.

Now that you have a basic report published you can take a look at the functionality for dashboards and further customization of reports.

Creating Dashboards for Reports

Microsoft Office SharePoint Server 2007 delivers dashboard support for BI applications within your portal and collaboration web sites. These dashboards are supported in the Report Center and are designed to help you create reporting dashboards featuring links to reports, text-based content related to the reporting data, lists of Key Performance Indicators (KPIs), and data from Excel-based reports using the Excel Services Web Parts. This enables you as a developer to create reporting applications targeted at a department or specific organizational function with all of the key reporting elements required for business managers and decision makers to use when running the business.

From the Reports Center site, you can select the Dashboards link to see a library of dashboard sites. The Dashboards link takes you to a specific view of the Reports Library that you worked with earlier when publishing reports. There are several default filters applied to this library to allow you to view only the dashboard pages, reports, or other combinations of the data within the library when building your applications.

To create a new dashboard site containing Excel-based reports and a KPI list follow these steps:

1. Navigate to the dashboard view of the Reports Library within the Report Center site template. Click the New menu item and select New Dashboard Page. This launches a new page called New Dashboard where you can begin configuring the dashboard application.

2. On the New Dashboard page, select a layout for the dashboard page. The default options include a multi-column horizontal layout or two different vertical column layouts. For this example, select the two-column vertical layout. There is also an option on this page to create a KPI list automatically. Select this option to create KPI list on the new page. When naming your dashboard application, think about how your reporting users will navigate to the application and whether or not they'll need to browse the dashboard library to find their reporting content. Use descriptive terms in the dashboard page name to help the users identify with the content of the dashboard reporting data. To create the new page after configuring the dashboard options, click OK.

3. Now you should see the new dashboard page in its configuration mode. By default, you'll see a KPI Web Part and two Excel Services Web Parts where can you configure connections to Excel workbooks or data connections. To assign an existing Excel workbook in the reports library to both Web Parts, you can use the workbook published earlier in the first example on report publishing to get started. Select one of the Excel Services Web Parts on the dashboard page and click the "Click here to open the tool pane" link. This will launch the configuration menu on the right side of the screen for configuring the Excel Web Part.

There are several configuration options for connecting a workbook to the Web Part in Excel Services. To get started with this dashboard, you'll need to select the location of the workbook using the Workbook field and the number of rows and columns to display. Advanced options such as which toolbar menu commands to expose, what level of interactivity is supported — such PivotTable support, for example — filtering, and sorting can be configured for each workbook connection. In addition, the Audiences feature in SharePoint can be used to target this Excel reporting content to specific audiences based on group membership or organizational role. This enables you to create more dynamic dashboard applications that can be targeted to a large range of users with data delivery targeted towards specific organizational membership or role functions.

Another component of the new dashboard page that has been created is the KPI Web Part. The KPI Web Part is used to present manually entered data, list data, or data from other sources such as Analysis Services in a banded fashion based on rules and configuration settings. These settings can be used to identify which values are "better," which icons should be used as indicators, and what calculations might be displayed based on underlying KPI data. To configure the KPI Web Part on the dashboard page, go through the following steps:

1. Select a new KPI indicator based on an existing SharePoint list.

2. On the page for defining the KPI items, you'll need to provide a name, description, and comments about your indicator. Note that there are multiple sections of this page, and each subsequent configuration step for the KPI will occur on this same configuration page.

3. Still on the page for defining the KPI items, there is a section called Indicator Value. In this section, you need to enter the List URL for the SharePoint list.

4. Since we want to set our KPI to monitor profitability of parts, we need to configure the indicator value to be based on the price of the items in the parts list.

5. Finally, you need to configure the status icon for the KPI. This is where the "banding" occurs.

6. Green, yellow, and red indicators are defined for each band. You need to define the threshold percentage for which the green, or good, indicator should be shown and the value for which the yellow icon should be shown.

Conclusion

The articles above contains brief information about SharePoint application services. If you search for SharePoint hosting, ASPHostDirectory ready to help you. Only with $ 30.00/month, you can get the professional SharePoint hosting. What are you waiting for?

What is so SPECIAL on ASPHostDirectory.com Sharepoint Hosting?

We know that finding a cheap, reliable web host is not a simple task so we’ve put all the information you need in one place to help you make your decision. At ASPHostDirectory, we pride ourselves in our commitment to our customers and want to make sure they have all the details they need before making that big decision.

We will work tirelessly to provide a refreshing and friendly level of customer service. We believe in creativity, innovation, and a competitive spirit in all that we do. We are sound, honest company who feels that business is more than just the bottom line. We consider every business opportunity a chance to engage and interact with our customers and our community. Neither our clients nor our employees are a commodity. They are part of our family.

The followings are the top 10 reasons you should trust your online business and hosting needs to us:

- FREE domain for Life - ASPHostDirectory gives you your own free domain name for life with our Professional Hosting Plan and 3 free domains with any of Reseller Hosting Plan! There’s no need to panic about renewing your domain as ASPHostDirectory will automatically do this for you to ensure you never lose the all important identity of your site
- 99,9% Uptime Guarantee - ASPHostDirectory promises it’s customers 99.9% network uptime! We are so concerned about uptime that we set up our own company to monitor people’s uptime for them called ASPHostDirectory Uptime
- 24/7-based Support - We never fall asleep and we run a service that is opening 24/7 a year. Even everyone is on holiday during Easter or Christmast/New Year, we are always behind our desk serving our customers
- Customer Tailored Support - if you compare our hosting plans to others you will see that we are offering a much better deal in every aspect; performance, disk quotas, bandwidth allocation, databases, security, control panel features, e-mail services, real-time stats, and service
- Money Back Guarantee - ASPHostDirectory offers a ‘no questions asked’ money back guarantee with all our plans for any cancellations made within the first 30 days of ordering. Our cancellation policy is very simple - if you cancel your account within 30 days of first signing up we will provide you with a full refund
- Experts in Sharepoint Hosting
- Given the scale of our environment, we have recruited and developed some of the best talent in the hosting technology that you are using. Our team is strong because of the experience and talents of the individuals who make up ASPHostDirectory
- Daily Backup Service - We realise that your website is very important to your business and hence, we never ever forget to create a daily backup. Your database and website are backup every night into a permanent remote tape drive to ensure that they are always safe and secure. The backup is always ready and available anytime you need it
- Easy Site Administration - With our powerful control panel, you can always administer most of your site features easily without even needing to contact for our Support Team. Additionally, you can also install more than 100 FREE applications directly via our Control  Panel in 1 minute!

Happy Hosting!

 



ASPHostDirectory.com .NET 4 Hosting :: How to - Upgrade to SQL Server 2008 R2

clock June 16, 2010 06:59 by author Darwin

This topic  descibes brief information about how to upgrade to SQL Server 2008 R2. So, if you seek more information about SQL Server 2008, you can choose ASPHostDirectory as alternatives. You’ll get the best service at an affordable price. Only with @ 3.99/month, you can directly get the services you want. So, what are you waiting for? Try it!!

To upgrade to SQL Server 2008 R2

1. Insert the SQL Server installation media, and from the root folder, double-click Setup.exe. To install from a network share, move to the root folder on the share, and then double-click Setup.exe. If the Microsoft SQL Server 2008 R2 Setup dialog box appears, click OK to install the prerequisites, then click Cancel to exit SQL Server 2008 R2 installation.

2. If the .NET Framework 3.5 SP1 installation dialog box appears, select the check box to accept the .NET Framework 3.5 SP1 License Agreement. Click Next. To exit the SQL Server 2008 R2 installation, click Cancel. When installation of .NET Framework 3.5 SP1 is complete, click Finish.

3. Windows Installer 4.5 is also required, and may be installed by the Installation Wizard. If you are prompted to restart your computer, restart, and then run SQL Server 2008 R2 Setup.exe again.

4. When prerequisites are installed, the Installation Wizard starts the SQL Server Installation Center. To upgrade an existing instance of SQL Server, click Upgrade from SQL Server 2000, SQL Server 2005, or SQL Server 2008.

5. If Setup support files are required, SQL Server Setup installs them. If you are instructed to restart your computer, restart before you continue.

6. The System Configuration Checker runs a discovery operation on your computer. To continue, click OK. If Setup detects SQL Server 2008 on the machine, you will see a warning about the automatic upgrade of shared components to SQL Server 2008 R2.

7. On the Language Selection page, you can specify the language for your instance of SQL Server if you are installing on a localized operating system and the installation media includes language packs for both English and the language corresponding to the operating system.
To continue, click Next.

8. On the Product key page, click an option button to indicate whether you are upgrading to a free edition of SQL Server, or whether you have a PID key for a production version of the product.

9. On the License Terms page, read the license agreement, and then select the check box to accept the license terms and conditions. To help improve SQL Server, you can also enable the feature usage option and send reports to Microsoft. Click Next to continue. To end Setup, click Cancel.

10. On the Select Instance page, specify the instance of SQL Server to upgrade.

11. On the Feature Selection page, the features to upgrade will be preselected. A description for each component group appears in the right pane after you select the feature name. Be aware that you cannot change the features to be upgraded, and you cannot add features during the upgrade operation.

12. On the Instance Configuration page, specify whether to install a default or a named instance.

Instance ID — By default, the instance name is used as the Instance ID. This is used to identify installation directories and registry keys for your instance of SQL Server. This is the case for default instances and named instances. For a default instance, the instance name and instance ID would be MSSQLSERVER. To use a nondefault instance ID, select the Instance ID check box and provide a value.

Instance root directory — By default, the instance root directory is C:\Program Files\Microsoft SQL Server\. To specify a nondefault root directory, use the field provided, or click Browse to locate an installation folder.

All SQL Server service packs and upgrades will apply to every component of an instance of SQL Server.

Detected instances and features — The grid will show instances of SQL Server that are on the computer where Setup is running. If a default instance is already installed on the computer, you must install a named instance of SQL Server 2008 R2. Click Next to continue.

13. The Disk Space Requirements page calculates the required disk space for the features that you specify, and compares requirements to the available disk space on the computer where Setup is running.

14. Work flow for the rest of this topic depends on the features that you have specified for your installation. You might not see all the pages, depending on your selections.

15. On the Server Configuration -— Service Accounts page, specify login accounts for SQL Server services. The actual services that are configured on this page depend on the features that you are upgrading.

Authentication and login information will be carried forward from the previous instance of SQL Server. You can assign the same login account to all SQL Server services, or you can configure each service account individually. You can also specify whether services start automatically, are started manually, or are disabled. Microsoft recommends that you configure service accounts individually so that SQL Server services are granted the minimum permissions they have to have to complete their tasks.

To specify the same login account for all service accounts in this instance of SQL Server, provide credentials in the fields at the bottom of the page.

Security Note   Do not use a blank password. Use a strong password.

When you are finished specifying login information for SQL Server services, click Next.

16. Use the Server Configuration — Collation tab to specify nondefault collations for the Database Engine and Analysis Services.

17. On the Full-Text Search Upgrade Options page, specify the upgrade options for the databases being upgraded.

18. On the Error Reporting page, specify the information that you want to send to Microsoft to help improve SQL Server. By default, option for error reporting is enabled.

19. The System Configuration Checker will run one more set of rules to validate your computer configuration with the SQL Server features that you have specified before the upgrade operation begins.

20. The Ready to Upgrade page displays a tree view of installation options that were specified during Setup. To continue, click Install.

21. During installation, the progress page provides status so that you can monitor installation progress as Setup continues.

22. After installation, the Complete page provides a link to the summary log file for the installation and other important notes. To complete the SQL Server installation process, click Close.

23. If you are instructed to restart the computer, do so now. It is important to read the message from the Installation Wizard when you have finished with Setup.

Next Steps

After you upgrade to SQL Server, complete the following tasks:

- Register your servers — Upgrade removes registry settings for the previous instance of SQL Server. After you upgrade, you must reregister your servers.

- Update statistics — To help optimize query performance, we recommend that you update statistics on all databases following upgrade. Use the sp_updatestats stored procedure to update statistics in user-defined tables in SQL Server databases.

- Configure your new SQL Server installation — To reduce the attackable surface area of a system, SQL Server selectively installs and enables key services and features. For more information about surface area configuration, see the readme file for this release.

What is so SPECIAL on ASPHostDirectory.com Reporting Service Hosting?

We know that finding a cheap, reliable web host is not a simple task so we’ve put all the information you need in one place to help you make your decision. At ASPHostDirectory, we pride ourselves in our commitment to our customers and want to make sure they have all the details they need before making that big decision.

We will work tirelessly to provide a refreshing and friendly level of customer service. We believe in creativity, innovation, and a competitive spirit in all that we do. We are sound, honest company who feels that business is more than just the bottom line. We consider every business opportunity a chance to engage and interact with our customers and our community. Neither our clients nor our employees are a commodity. They are part of our family.

The followings are the top 10 reasons you should trust your online business and hosting needs to us:

- FREE domain for Life - ASPHostDirectory gives you your own free domain name for life with our Professional Hosting Plan and 3 free domains with any of Reseller Hosting Plan! There’s no need to panic about renewing your domain as ASPHostDirectory will automatically do this for you to ensure you never lose the all important identity of your site
- 99,9% Uptime Guarantee - ASPHostDirectory promises it’s customers 99.9% network uptime! We are so concerned about uptime that we set up our own company to monitor people’s uptime for them called ASPHostDirectory Uptime
- 24/7-based Support - We never fall asleep and we run a service that is opening 24/7 a year. Even everyone is on holiday during Easter or Christmast/New Year, we are always behind our desk serving our customers
- Customer Tailored Support - if you compare our hosting plans to others you will see that we are offering a much better deal in every aspect; performance, disk quotas, bandwidth allocation, databases, security, control panel features, e-mail services, real-time stats, and service
- Money Back Guarantee - ASPHostDirectory offers a ‘no questions asked’ money back guarantee with all our plans for any cancellations made within the first 30 days of ordering. Our cancellation policy is very simple - if you cancel your account within 30 days of first signing up we will provide you with a full refund
- Experts in Reporting Service Hosting
- Given the scale of our environment, we have recruited and developed some of the best talent in the hosting technology that you are using. Our team is strong because of the experience and talents of the individuals who make up ASPHostDirectory
- Daily Backup Service - We realise that your website is very important to your business and hence, we never ever forget to create a daily backup. Your database and website are backup every night into a permanent remote tape drive to ensure that they are always safe and secure. The backup is always ready and available anytime you need it
- Easy Site Administration - With our powerful control panel, you can always administer most of your site features easily without even needing to contact for our Support Team. Additionally, you can also install more than 100 FREE applications directly via our Control  Panel in 1 minute!

Happy Hosting!

 



ASPHostDirectory.com .NET 4 Hosting :: How to Install a SharePoint Web Front-end on a Report Server Computer

clock June 16, 2010 06:45 by author Darwin

This topic explains briefly about SharePoint. In case, you are looking for SharePoint, you can always consider ASPHostDirectory and you can start from our lowest Standard Plan @5.99/month to host your SharePoint site.

If you are configuring a report server to run in SharePoint integrated mode in a SharePoint farm that consists of multiple servers, you must install the Web Front End application of a SharePoint product on the report server computer so that you can join the report server computer to the farm.

A SharePoint farm consists of multiple servers that all use the same version of the SharePoint product. For example if the server farm uses SharePoint Foundation 2010, you must install SharePoint Foundation 2010 on the report server computer.

To install the Web front end, you must be a SharePoint farm administrator. You must also know the name of the database server and the configuration database that is used by the server farm.

The following steps are required only if you are deploying a report server in a SharePoint server farm. If all server applications run on a single computer, installing the Web front end on the report server is not required.

After you install the Web front end and join the report server computer to the farm, you can use SharePoint Central Administration to turn off the web application service if you do not require it.

To install the Web front end

1. On the server that runs Reporting Services, run Setup for the SharePoint product used for the farm.

2. On Installation Types, click Advanced.

3. On Server Type, select Web Front End.

4. The Data Location tab specifies file location for search index files. On Data Location, use the default value or choose a computer that has excess disk space.

5. Click Install Now.

After Setup is finished, you must configure the Web front end to join it to the server farm.

To configure the Web front end

1. Run the SharePoint Products Configuration Wizard to join the Web front end to the remote SharePoint farm. The SharePoint Product and Technology Configuration Wizard should start after Setup is finished. If it does not, start it from Administrative Tools.

2. Click Next on the Welcome screen.

3. Click Yes to restart the services if required.

4. In the Connect to a Server Farm page, select Yes to connect to an existing server farm. Click Next.

5. In the Specify Configuration Database Settings page, specify the SQL Server Database Engine instance that hosts the configuration database. If you do not know the name of the configuration database, click Retrieve Database Names and then select the configuration database.

6. Enter a user name and password that the Web front end will use to connect to the configuration database. Click Next.

7. In the Completing the SharePoint Products and Technologies Wizard page, click Advanced Settings.

8. In Advanced Settings, verify that Do not use this machine to host the Web site is selected.

9. Click OK, click Next, and then finish the Wizard.

What is so SPECIAL on ASPHostDirectory.com Sharepoint Hosting?

We know that finding a cheap, reliable web host is not a simple task so we’ve put all the information you need in one place to help you make your decision. At ASPHostDirectory, we pride ourselves in our commitment to our customers and want to make sure they have all the details they need before making that big decision.

We will work tirelessly to provide a refreshing and friendly level of customer service. We believe in creativity, innovation, and a competitive spirit in all that we do. We are sound, honest company who feels that business is more than just the bottom line. We consider every business opportunity a chance to engage and interact with our customers and our community. Neither our clients nor our employees are a commodity. They are part of our family.

The followings are the top 10 reasons you should trust your online business and hosting needs to us:

- FREE domain for Life - ASPHostDirectory gives you your own free domain name for life with our Professional Hosting Plan and 3 free domains with any of Reseller Hosting Plan! There’s no need to panic about renewing your domain as ASPHostDirectory will automatically do this for you to ensure you never lose the all important identity of your site
- 99,9% Uptime Guarantee - ASPHostDirectory promises it’s customers 99.9% network uptime! We are so concerned about uptime that we set up our own company to monitor people’s uptime for them called ASPHostDirectory Uptime
- 24/7-based Support - We never fall asleep and we run a service that is opening 24/7 a year. Even everyone is on holiday during Easter or Christmast/New Year, we are always behind our desk serving our customers
- Customer Tailored Support - if you compare our hosting plans to others you will see that we are offering a much better deal in every aspect; performance, disk quotas, bandwidth allocation, databases, security, control panel features, e-mail services, real-time stats, and service
- Money Back Guarantee - ASPHostDirectory offers a ‘no questions asked’ money back guarantee with all our plans for any cancellations made within the first 30 days of ordering. Our cancellation policy is very simple - if you cancel your account within 30 days of first signing up we will provide you with a full refund
- Experts in Sharepoint Hosting
- Given the scale of our environment, we have recruited and developed some of the best talent in the hosting technology that you are using. Our team is strong because of the experience and talents of the individuals who make up ASPHostDirectory
- Daily Backup Service - We realise that your website is very important to your business and hence, we never ever forget to create a daily backup. Your database and website are backup every night into a permanent remote tape drive to ensure that they are always safe and secure. The backup is always ready and available anytime you need it
- Easy Site Administration - With our powerful control panel, you can always administer most of your site features easily without even needing to contact for our Support Team. Additionally, you can also install more than 100 FREE applications directly via our Control  Panel in 1 minute!

Happy Hosting!

 



ASPHostDirectory.com .NET 4 Hosting :: Extend SharePoint 2010 With Product Lifecycle Management Tools

clock June 16, 2010 06:32 by author Darwin

As one of the companies that was originally invited to take part in the Microsoft Technology Adoption Program for SharePoint 2010, the company has been looking at ways of extending its own reach with SharePoint extensions. As a result it has released new solutions linking Windchill — its flagship PLM product — and SharePoint.

Windchill is content and process management software that enables companies to streamline the development of products with a specific focus on ‘time-to-market’. Targeting the industrial, hi-tech, defense and medical device industries amongst others, PTC provides collaborative software that enables global enterprises to communicate and work across different geographies.

And Windchill is a core element of its software stable. As process management software it gives users the ability to share content and collaborate on it through a simple web browser. Some of its features include:

- Content and product information stored in single location
- Cross-enterprise production outlines and collaboration possibilities
- Lifecycle process support with automation of repetitive task

SharePoint 2010 and PTC

With the new SharePoint 2010 extensions, the ability to collaborate and speed up those processes will improve both Windchill and SharePoint 2010’s capabilities. There are four different new solutions in all.

Windchill PPMLink

With configurable stage and gate processes along with scorecards that aggregate project management measurements, PPM Link extends SharePoint 2010’s project management capabilities. It also includes product-related metrics that give users better insight into product performance.

Windchill Web Parts

Web parts give a single view from SharePoint 2010 of all product-related information as well enable users to search and view data and content from other applications including enterprise resource planning and finance applications. It also extends the assignment and executive reporting features.

Windchill SocialLink

With SocialLink, PTC has extended Windchill by adding SharePoint 2010’s social computing abilities. This means that users of any of PTC’s products will be able to use SharePoint 2010 content tagging and filtering. Activity feeds will share necessary information to all the different product communities, and even to external communities that are linked by their interest in a particular product on development. Features here include:

- Intelligent extraction and sharing of content on aspects of product development to relevant communities
- Expertise identification by constant profile updates based on Windchill use
- Easy access to all PTC solutions through a familiar, user-friendly tool bar

Windchill ProductPoint

Comes with CAD vaulting, sharing and visualization as well as data reuse and mark-up while new data loading tools enable migration of content from PTC’s engineering data management solution Pro/INTRALINK 3.x into Windchill.

These are the first PLM solutions built around SharePoint 2010 with PTC citing one of the principal advantages as the ability of all level of product developers to work and collaborate in a familiar environment.

What is so SPECIAL on ASPHostDirectory.com Sharepoint Hosting?

We know that finding a cheap, reliable web host is not a simple task so we’ve put all the information you need in one place to help you make your decision. At ASPHostDirectory, we pride ourselves in our commitment to our customers and want to make sure they have all the details they need before making that big decision.

We will work tirelessly to provide a refreshing and friendly level of customer service. We believe in creativity, innovation, and a competitive spirit in all that we do. We are sound, honest company who feels that business is more than just the bottom line. We consider every business opportunity a chance to engage and interact with our customers and our community. Neither our clients nor our employees are a commodity. They are part of our family.

The followings are the top 10 reasons you should trust your online business and hosting needs to us:

- FREE domain for Life - ASPHostDirectory gives you your own free domain name for life with our Professional Hosting Plan and 3 free domains with any of Reseller Hosting Plan! There’s no need to panic about renewing your domain as ASPHostDirectory will automatically do this for you to ensure you never lose the all important identity of your site
- 99,9% Uptime Guarantee - ASPHostDirectory promises it’s customers 99.9% network uptime! We are so concerned about uptime that we set up our own company to monitor people’s uptime for them called ASPHostDirectory Uptime
- 24/7-based Support - We never fall asleep and we run a service that is opening 24/7 a year. Even everyone is on holiday during Easter or Christmast/New Year, we are always behind our desk serving our customers
- Customer Tailored Support - if you compare our hosting plans to others you will see that we are offering a much better deal in every aspect; performance, disk quotas, bandwidth allocation, databases, security, control panel features, e-mail services, real-time stats, and service
- Money Back Guarantee - ASPHostDirectory offers a ‘no questions asked’ money back guarantee with all our plans for any cancellations made within the first 30 days of ordering. Our cancellation policy is very simple - if you cancel your account within 30 days of first signing up we will provide you with a full refund
- Experts in Sharepoint Hosting
- Given the scale of our environment, we have recruited and developed some of the best talent in the hosting technology that you are using. Our team is strong because of the experience and talents of the individuals who make up ASPHostDirectory
- Daily Backup Service - We realise that your website is very important to your business and hence, we never ever forget to create a daily backup. Your database and website are backup every night into a permanent remote tape drive to ensure that they are always safe and secure. The backup is always ready and available anytime you need it
- Easy Site Administration - With our powerful control panel, you can always administer most of your site features easily without even needing to contact for our Support Team. Additionally, you can also install more than 100 FREE applications directly via our Control  Panel in 1 minute!

Happy Hosting!

 



ASPHostDirectory.com .NET 4 Hosting :: Riding the SharePoint 2010 Product Wave

clock June 15, 2010 08:46 by author Darwin

Microsoft’s SharePoint “wave” promises to swell to epic proportions as enterprises begin to recover from the economic downturn. The myriad new features, new products, and new messaging offer a lot for any IT pro or developer to interpret and digest. Let’s take a look at what Microsoft SharePoint 2010 has to offer and try to make sense of it all.

Enterprise Edition

The king of SharePoint SKUs is SharePoint Server 2010 Enterprise Edition and the corresponding Enterprise CAL. The Enterprise edition enables the full capabilities of SharePoint Server for intranet usage. It gives you full interoperability with line-of-business (LOB) applications through Business Connectivity Services (BCS) and the Business Data Connector (BDC), and the ability to use that external data along with SharePoint data to deliver business intelligence solutions through Excel Services and PerformancePoint Services (PPS). The latter service application represents the unification of PerformancePoint Server 2007 with SharePoint 2010. Through PPS you can establish enterprise-level BI using advanced analytics, business intelligence scorecards, dashboards, dashboards, and key performance indicators (KPIs).

The Enterprise edition also delivers the new Visio Services, which can render Visio diagrams to users in a web browser, much like Excel Services renders Excel worksheets. And Visio can retrieve data from a back-end data source, so you could have a diagram of your supply chain with up-to-date information about the supply chain displayed inline in the diagram. Visio diagrams can also be rendered in web parts that integrate with other web parts. Imagine a Visio diagram of your network that pulls data from back-end monitoring tools. The diagram is rendered on a SharePoint page in a web part, and when you select a computer in the diagram, another web part displays detailed information about the selected computer. The Visio product team posted a screenshot of such an example in their blog (blogs.msdn.com/visio/archive/2009/10/20/announcing-sharepoint-2010-and-visio-services.aspx). Finally, Visio Services lets you create SharePoint workflows from diagrams, so that you now can use Visio for workflow management.

As it did in Microsoft Office SharePoint Server (MOSS) 2007 Enterprise edition, InfoPath Forms Services gives you the ability to create robust forms-driven solutions. But in SharePoint 2010, InfoPath Forms Services also lets you customize the standard list and library forms pages, so you don’t have to try to customize pages like EditForm.aspx with SharePoint Designer—InfoPath makes it easy.

The Enterprise edition introduces Access Services, as well. Access Services renders Access tables, queries, and reports in a rich, browser-based experience and can even run a subset of macro code. With Access Services, you will be able to move some or all of your important, decentralized Microsoft Access applications to the web.

Perhaps most compelling is the new Office Web Applications feature, which delivers Microsoft Word, PowerPoint, and Excel in a surprisingly rich and responsive, browser-based experience. We foresee the apps fitting a number of useful scenarios. The first scenario is what a colleague calls the “Office 2010, Granny Edition,” referring to the stripped-down, “just the basics please” feature set. A lot of people don’t use more than this level of functionality. Second, and most obviously, users on a variety of platforms and browsers can now use Office 2010, including Mac users and users of mobile devices, because SharePoint now supports Firefox and other browsers. Third, users at public computers can work using Office Web Applications.

The apps also expose some of the great new collaborative capabilities of Office 2010, including concurrent editing and real-time updates, so multiple users can work on a document at the same time. We foresee this replacing some online meetings which, today, are simply a way to share a PowerPoint presentation or work on a shared document. Speaking of PowerPoint, SharePoint 2010 now supports PowerPoint presentation broadcasting—yet another way to reduce the number of online meetings.

There’s no doubt that SharePoint 2010 Enterprise Edition packs a lot of punch. We believe that the Office Web Apps and Access Services will probably be the biggest driver for businesses. Of course, the Enterprise edition includes all of the functionality of the Standard edition and of SharePoint Foundation 2010, each of which are described below. Minor changes may be made to the feature set of each, so check out Microsoft’s SharePoint site (sharepoint2010.microsoft.com) for the latest info.

Standard Edition and Social Networking

Social networking has been greatly improved since MOSS 2007, and we believe that SharePoint 2010 will be the tipping point for social networking in the enterprise. In SharePoint 2010, users have the ability to create content and to provide feedback on content through ratings, tags, and note boards. Users can tag just about anything they see: sites, pages, lists, items, and documents. Tags can be managed and controlled in a variety of ways, allowing an enterprise to expose a managed taxonomy while allowing user-generated tags (folksonomy). Tags can also be marked as private by a user (“My Tags”). Ratings are also pervasive. Note boards are like posts on a Facebook wall.

All of these types of social content are exposed through search and in Office clients. For example, Outlook shows activity and status update from users’ My Sites, and Word, Excel, and other clients show tags and notes for documents stored in document libraries. A particularly interesting feature is “Inbox mining,” which uses the contents of your Outlook Inbox to establish a feed of content of interest to you.

SharePoint Foundation 2010

Windows SharePoint Services (WSS) has been rebranded SharePoint Foundation 2010, and the new name better represents the fact that it’s both a subset of SharePoint as well as the core code upon which other SharePoint products and technologies are built. SharePoint Foundation now provides some of the functionality handled by MOSS 2007—most importantly the management of service applications (formerly part of the Shared Services Provider).

Like WSS, SharePoint foundation can be installed free on Windows servers, but (like the rest of SharePoint) requires 64-bit versions of Windows Server 2008 or Windows Server 2008 R2.

Also like WSS, SharePoint Foundation can support basic collaboration scenarios, so it’s well suited to provide Team Site and similar functionality for small and remote offices, while the enterprise is serviced by a centralized SharePoint Server 2010 farm. And as with SharePoint 2007, Microsoft will no doubt be pushing organizations into for-fee licenses of SharePoint Server 2010. Though I believe there are truly compelling reasons to deploy SharePoint Server 2010 in any enterprise, I also believe there are numerous places where SharePoint Foundation will satisfy requirements. Be smart about which edition of SharePoint you apply to each of your requirements—they play together quite well.

Search

SharePoint Server 2010 Standard Edition delivers an impressive baseline of enterprise search functionality, with improved algorithms, refiners, performance, and user experience. Search Server 2010 provides the same search functionality in a dedicated product, so that you can deploy Search Server for search-only scenarios to reduce your total cost. Search Server Express 2010 will be a free product limited in scalability and functionality.

The richest enterprise search experience comes from Microsoft FAST Search Server 2010 for SharePoint, a separate product that relies upon and integrates with the Enterprise edition of SharePoint 2010. This product is the fruition of Microsoft’s purchase of FAST Technologies in 2008. FAST includes contextual search (like the ability to recognize departments and geographies), allows you to tag unstructured content with metadata, and increases scalability. To see the type of search experience that FAST delivers, check out Microsoft’s SharePoint site and its Enterprise Search site (www.microsoft.com/enterprisesearch).

Internet Sites

Microsoft is also offering SharePoint Server 2010 for Internet Sites, Standard Edition and SharePoint Server 2010 for Internet Sites, Enterprise Edition. These editions differ from intranet editions by allowing access without user-based CALs. The exact details of functionality differences and licensing weren’t available at press time. A FAST Search Server 2010 for Internet Business will sit on top of the Internet Sites Enterprise Edition to power sophisticated search-based web sites.

SharePoint Online

As if there weren’t enough editions for you to consider, you must also determine which of your business requirements to satisfy with internally hosted SharePoint farms and which to host externally in the cloud. Microsoft offers SharePoint Online as a hosted, per-user service and as a bundle called the Business Productivity Online Suite (BPOS). You can also acquire dedicated SharePoint Online servers, in which case your SharePoint service is not multi-tenant (or “co-hosted”). Dedicated SharePoint Online service is typically provided to companies with 5,000 or more users.

Each of these services will be upgraded to SharePoint 2010 within a few months of RTM, allowing current users to immediately take advantage of new functionality. Easy, quick upgrades are just one advantage of a hosted service. SharePoint 2010 supports multi-tenancy across most of its feature set, including search and social networking, so it is expected that SharePoint Online will begin to include these features.

SharePoint 2010 also provides an isolated environment in which custom code can be executed without interfering with other code. These sandboxed solutions should allow SharePoint Online to support much more customization than the current version, even in multi-tenant versions of the service. SharePoint Online in its 2010 iteration will introduce SharePoint Online for Internet Sites, allowing companies to build their public-facing web sites on Microsoft-hosted SharePoint servers.

Feature Extravaganza

We’ve already discussed many of the major new features of SharePoint 2010. But as you’ve no doubt learned with previous upgrades, sometimes the smaller features make the biggest difference.

The SharePoint UI has been completely revamped. Many operations now appear as pop-up windows, preserving the context of the action and reducing confusion. AJAX enables multi-select operations and much peppier response. And the entire UI is now compliant and accessible (WCAG 2.0) XHTML and supports browsers including IE, Firefox, Safari, and mobile browsers.

As with Office 2007, the Ribbon will require some getting used to, but it makes you far more productive, reducing the number of clicks it takes to complete a task and making it easier to discover commands and capabilities. For example, when we first installed SharePoint 2010 and went to a list, we discovered, thanks to the Ribbon, the new ability to customize list forms (DisplayForm, EditForm, and NewForm) in the browser. Because we had done a lot of page customization in MOSS 2007 using SharePoint Designer, this feature leaped out at me and is, in fact, another great feature.

One of the things we were able to do quite easily by customizing the DisplayForm page of a list was to add “related items.” SharePoint 2010 lists are now relational, so it’s easy to establish and present related lists, such as a list of employees and projects to which they are assigned. The relational list capability also makes it easier to show information in forms without cracking open SharePoint Designer or Visual Studio. If you have an order form, for example, you can pick the customer from a lookup column and then other information about the customer—a phone number for example—can be displayed in the DisplayForm automatically. We can hear a lot of readers saying, “It’s about time!” right now.

When you add content to SharePoint, metadata is pervasive. That metadata is not only useful for search and social features mentioned earlier but can also be used to provide metadata-driven navigation. For example, I can locate documents in a document library using navigation folders dynamically built using the documents’ metadata. We can also route a document to a specific location in SharePoint based on its metadata.

Speaking of documents, it’s now possible to work with “compound documents” consisting of, for example, a Word document, a PowerPoint presentation, an Excel worksheet, and a PDF. They can be bundled together using a new content type called a document set, and the document set can be managed, versioned, and controlled with workflows as a single entity.

Records management features are now available in every library, so archiving and compliance can be established without needing specialized records management libraries. An official “record” can live alongside a document, and the record can be managed through its lifecycle. It’s also now possible to associate a unique document ID with each document, which allows you to create links to documents that “follow” the document regardless of which library hosts the document. This is a common feature of some other enterprise content management tools, so it’s welcome in SharePoint.

Users often want to “publish” content directly to the web. SharePoint 2010’s wiki features are much stronger. Each and every page is a wiki, allowing in-line editing of content; and the Enterprise wiki capability supports a richer wiki syntax, templates, and other enterprise-caliber features. Web content is easier to create, publish, and manage. And it is richer, with full support for multimedia including video and a Silverlight control.

Microsoft has introduced the term “composites” into the SharePoint vocabulary. These are code-free and lite-code applications created by Office clients, including the aforementioned Access Services, as well as SharePoint Designer 2010. SharePoint 2010 offers amazing possibilities for integration with Office 2010 client applications, including using SharePoint Workspaces 2010 (formerly Groove) to work with SharePoint content online and offline.

What is so SPECIAL on ASPHostDirectory.com Sharepoint Hosting?

We know that finding a cheap, reliable web host is not a simple task so we’ve put all the information you need in one place to help you make your decision. At ASPHostDirectory, we pride ourselves in our commitment to our customers and want to make sure they have all the details they need before making that big decision.

We will work tirelessly to provide a refreshing and friendly level of customer service. We believe in creativity, innovation, and a competitive spirit in all that we do. We are sound, honest company who feels that business is more than just the bottom line. We consider every business opportunity a chance to engage and interact with our customers and our community. Neither our clients nor our employees are a commodity. They are part of our family.

The followings are the top 10 reasons you should trust your online business and hosting needs to us:

- FREE domain for Life - ASPHostDirectory gives you your own free domain name for life with our Professional Hosting Plan and 3 free domains with any of Reseller Hosting Plan! There’s no need to panic about renewing your domain as ASPHostDirectory will automatically do this for you to ensure you never lose the all important identity of your site
- 99,9% Uptime Guarantee - ASPHostDirectory promises it’s customers 99.9% network uptime! We are so concerned about uptime that we set up our own company to monitor people’s uptime for them called ASPHostDirectory Uptime
- 24/7-based Support - We never fall asleep and we run a service that is opening 24/7 a year. Even everyone is on holiday during Easter or Christmast/New Year, we are always behind our desk serving our customers
- Customer Tailored Support - if you compare our hosting plans to others you will see that we are offering a much better deal in every aspect; performance, disk quotas, bandwidth allocation, databases, security, control panel features, e-mail services, real-time stats, and service
- Money Back Guarantee - ASPHostDirectory offers a ‘no questions asked’ money back guarantee with all our plans for any cancellations made within the first 30 days of ordering. Our cancellation policy is very simple - if you cancel your account within 30 days of first signing up we will provide you with a full refund
- Experts in Sharepoint Hosting
- Given the scale of our environment, we have recruited and developed some of the best talent in the hosting technology that you are using. Our team is strong because of the experience and talents of the individuals who make up ASPHostDirectory
- Daily Backup Service - We realise that your website is very important to your business and hence, we never ever forget to create a daily backup. Your database and website are backup every night into a permanent remote tape drive to ensure that they are always safe and secure. The backup is always ready and available anytime you need it
- Easy Site Administration - With our powerful control panel, you can always administer most of your site features easily without even needing to contact for our Support Team. Additionally, you can also install more than 100 FREE applications directly via our Control  Panel in 1 minute!

Happy Hosting!

 



ASPHostDirectory.com .NET 4 Hosting :: .Views and UI Rendering in MVC Applications

clock June 15, 2010 07:44 by author Darwin

The ASP.NET MVC framework supports the use of a view engine to generate views (UI). By default, the MVC framework uses custom types (ViewPage, ViewMasterPage, and ViewUserControl) that inherit from the existing ASP.NET page (.aspx), master page (.master), and user control (.ascx) types as views.

In the typical workflow of an MVC Web application, controller action methods handle an incoming Web request. These action methods use the incoming parameter values to execute application code and to retrieve or update data model objects from a database. The methods then select a view that renders a response to a browser.

If you’re looking for ASP.NET MVC hosting, you can always consider ASPHostDirectory as the alternatives. Only with $ 3.99/month, you can get the professional ASP.NET MVC hosting. So, what are you waiting for?

Rendering UI with Views

In the Model-View-Controller (MVC) pattern, views are intended exclusively for encapsulating presentation logic. They should not contain any application logic or database retrieval code. All application logic should be handled by the controller. A view renders the appropriate UI by using the data that is passed to it from the controller. This data is passed to a view from a controller action method by using the View method.

The following example shows how a view is rendered in a controller class.

Public Function Categories()

    Dim categories As List(Of Category) = northwind.GetCategories()

    Return View(categories)

End Function

In the example, the parameter that is passed in the View method call is a list of Category objects that are passed to the view. The View method calls the view engine, which uses the data in the list to render to the view and to display it in the browser.

View Pages

A view page is an instance of the ViewPage class. It inherits from the Page class and implements the IViewDataContainer interface. The ViewPage class defines a ViewData property that returns a ViewDataDictionary object. This property contains the data that the view should display.

You can create a view page by using templates that are provided in a Visual Studio project for an ASP.NET Web application. By default, views are ASP.NET Web pages that are rendered by the MVC framework. The MVC framework uses URL routing to determine which controller action to invoke, and the controller action then decides which views to render.

The following example shows the markup for the Index.aspx page. This page is one of the default views that is generated when you create a new MVC project in Visual Studio. By convention, the name "Index" is given to the default view for an ASP.NET MVC application.

<h2><%= Html.Encode(ViewData("Message")) %></h2>

<p>

    To learn more about ASP.NET MVC visit <a href="http://asp.net/mvc" title="ASP.NET MVC Website">http://asp.net/mvc</a>.

</p>

The @ Page directive contains the Inherits attribute, which defines the relationship between the application and the view. By default, the value of the Inherits attribute uses the following pattern: Application.Views.Controller.ViewPage

If you are working with a strongly typed view, the Inherits attribute uses the following pattern:

Application.Views.Controller.ViewPage<Type>

Master-Page Views

Like ASP.NET pages in Web Forms-based applications, ASP.NET page views (.aspx files) can use master pages to define a consistent layout and structure. In a typical site, the master page is bound to a content page in the @ Page directive of the content page. You can also use dynamic master pages (that is, you can assign a master page at run time) when you call the View method of the Controller class.

The following example shows the Site.master view, which is the master page that is generated when you create a new MVC project in Visual Studio.

<%@ Master Language="VB" Inherits="System.Web.Mvc.ViewMasterPage" %>

 
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">

<head runat="server">

    <title><asp:ContentPlaceHolder ID="TitleContent" runat="server" /></title>

    <link href="../../Content/Site.css" rel="stylesheet" type="text/css" />

</head>

 
<body>

    <div class="page">

 
       
<div id="header">

            <div id="title">

                <h1>My MVC Application</h1>

            </div>

 
           
<div id="logindisplay">

                <% Html.RenderPartial("LogOnUserControl")%>               

            </div>

 
           
<div id="menucontainer">

 
               
<ul id="menu">             

                    <li><%= Html.ActionLink("Home", "Index", "Home")%></li>

                    <li><%=Html.ActionLink("About", "About", "Home")%></li>

                </ul>

 
           
</div>

        </div>

 
       
<div id="main">

            <asp:ContentPlaceHolder ID="MainContent" runat="server" />

 
           
<div id="footer">

            </div>

        </div>

    </div>

</body>

</html>

Partial Views

A partial view enables you to define a view that will be rendered inside a parent view. Partial views are implemented as ASP.NET user controls (.ascx).

When a partial view is instantiated, it gets its own copy of the ViewDataDictionary object that is available to the parent view. The partial view therefore has access to the data of the parent view. However, if the partial view updates the data, those updates affect only the partial view's ViewData object. The parent view's data is not changed.

Helper Classes and Members for Rendering Views

When you create views, many tasks are repetitive or require special MVC framework knowledge. To address these scenarios and to make it easier to render HTML, the MVC framework includes helper classes and members. The design for helper classes is extensible so that you can add custom helper classes and members.

The MVC framework includes the following helpers:

- Form helpers, which are for form elements such as radio buttons, list boxes, select buttons, text boxes, text areas, hidden content, and password fields.
- URL helpers, which let you generate URLs for routing.
- HTML helpers, which include functions to manage HTML strings, such as Encode, Decode, AttributeEncode, and RenderPartial.

You can access code-based rendering helpers by using properties that are added to the ViewPage, ViewUserControl, and ViewMasterPage classes.

What is so SPECIAL on ASPHostDirectory.com .NET MVC Hosting?

We know that finding a cheap, reliable web host is not a simple task so we’ve put all the information you need in one place to help you make your decision. At ASPHostDirectory, we pride ourselves in our commitment to our customers and want to make sure they have all the details they need before making that big decision.

We will work tirelessly to provide a refreshing and friendly level of customer service. We believe in creativity, innovation, and a competitive spirit in all that we do. We are sound, honest company who feels that business is more than just the bottom line. We consider every business opportunity a chance to engage and interact with our customers and our community. Neither our clients nor our employees are a commodity. They are part of our family.

The followings are the top 10 reasons you should trust your online business and hosting needs to us:

- FREE domain for Life - ASPHostDirectory gives you your own free domain name for life with our Professional Hosting Plan and 3 free domains with any of Reseller Hosting Plan! There’s no need to panic about renewing your domain as ASPHostDirectory will automatically do this for you to ensure you never lose the all important identity of your site
- 99,9% Uptime Guarantee - ASPHostDirectory promises it’s customers 99.9% network uptime! We are so concerned about uptime that we set up our own company to monitor people’s uptime for them called ASPHostDirectory Uptime
- 24/7-based Support - We never fall asleep and we run a service that is opening 24/7 a year. Even everyone is on holiday during Easter or Christmast/New Year, we are always behind our desk serving our customers
- Customer Tailored Support - if you compare our hosting plans to others you will see that we are offering a much better deal in every aspect; performance, disk quotas, bandwidth allocation, databases, security, control panel features, e-mail services, real-time stats, and service
- Money Back Guarantee - ASPHostDirectory offers a ‘no questions asked’ money back guarantee with all our plans for any cancellations made within the first 30 days of ordering. Our cancellation policy is very simple - if you cancel your account within 30 days of first signing up we will provide you with a full refund
- Experts in .Net MVC Hosting
- Given the scale of our environment, we have recruited and developed some of the best talent in the hosting technology that you are using. Our team is strong because of the experience and talents of the individuals who make up ASPHostDirectory
- Daily Backup Service - We realise that your website is very important to your business and hence, we never ever forget to create a daily backup. Your database and website are backup every night into a permanent remote tape drive to ensure that they are always safe and secure. The backup is always ready and available anytime you need it
- Easy Site Administration - With our powerful control panel, you can always administer most of your site features easily without even needing to contact for our Support Team. Additionally, you can also install more than 100 FREE applications directly via our Control  Panel in 1 minute!

Happy Hosting!