How to Set the Default Page in web.config

On most hosted sites the vendor does not allow you to directly make changes to IIS, instead they normally give you some sort of control panel or user interface to do all that you need. The down side is that you normally have to go to each tab or screen make the change and then wait or restart IIS to see the changes. Although this is fine in most cases there are times when you constantly make the same changes to each site you deploy. Until IIS 7 you were hard pressed to do anything other than contact provider to make the changes for you.

Along came IIS 7 with the distributed configuration options. This allows you to make changes to the server without having permission to directly effect IIS. If you put these settings into a web.config file that runs on something less than IIS 7 the server will ignore these setting so you will be fine. Learn More

Tags: , , , , , , , , | Posted under ASP .NET 3.5, ASP .NET 4.0, cPanel Tutorials, DotNet/Windows Hosting | Leave a comment

mojoPortal Tips: How Can I Test Changes to My mojoPortal Site?

When working with an open-source CMS (content management system) like mojoPortal, it’s a joy to be able to access functionality to configure your mojoPortal-based solution to the specific needs of your clientele. However, when it comes time to update the site to incorporate the latest features and enhancements for mojoPortal, it can be a bit scary to test changes that may break your customizations. We’ll review a simple technique today that’ll allow you to test your current site’s configuration, without causing “live site” breaks.

First, we’ll define the prerequisites needed for testing: a local version of your database of choice (default is MSSQL, which is what we’ll cover today), and a localhost version of your current site (either leveraging IIS, or Visual Studio – it’s easy to download a copy of Visual Studio Express, or with a little bit of initiative, sign up for one of the programs that will allow you access to a free copy of Visual Studio Developer Edition). Learn More

Tags: , , , , , , , , , | Posted under MojoPortal | Leave a comment