Upgrade an Application’s Internet.config File from the .NET Framework 3.5 to the .NET Framework 4
1. Make confident that the application currently targets ASP.NET 3.five.
two. Open the Web.config file in the application root.
three. In the configSections section, take away the sectionGroup element that is named “system.internet.extensions”.
4. In the program.web section, in the compilation collection, eliminate each and every add element that refers to an assembly of the .NET Framework.
Framework assemblies usually commence with “Method.”. Typically these have Version=3.five.. in the assembly attribute. However, some assembly entries that have the three.five.. version number may refer to assemblies that had been set up as component of add-on releases, or to custom assemblies. Do not delete these. If the Web.config file contains any of these references, you should investigate them individually to decide regardless of whether a later version is offered and whether the version reference ought to be modified.
5. Add a targetFramework attribute to the compilation element in the program.web section, as shown in the following example:
In the opening tag for the pages section, add a controlRenderingCompatibility attribute, as shown in the following example:
A lot of ASP.NET 4 controls render HTML that is compliant with XHTML and accessibility standards. Nonetheless, the Internet website that you are converting might have CSS guidelines or client script that will not perform properly if Web pages change the way they render HTML. If you want to take advantage of the handle rendering enhancements in ASP.NET 4, you can omit this attribute.
6.
In the system.codedom section, in the compilers collection, remove the compiler components for c# and vb.
7. Delete everything amongst the method.webserver section begin and finish tags, but leave the tags themselves.
8. Delete every thing amongst the runtime section start off and end tags, but leave the tags themselves.
9. If you have customized the Internet.config file, and if any customizations refer to custom assemblies or classes, make confident that the assemblies or classes are compatible with the .NET Framework version 4.
The following instance shows an example Internet.config file for a straightforward Net application that was converted from the .NET Framework version 3.five to the .NET Framework version 4.
Associate an IIS Application with the .NET Framework 4 in IIS 7.
1. In Windows, begin Inetmgr.
2. In the Connections pane, expand the server node and then click Application Pools.
3. On the Application Pools web page, choose the application pool that consists of the application that you want to change.
four. In the Actions pane, click View Applications.
five. Select the application whose application pool hat you want to change and then click Alter Application Pool in the Actions pane.
six. In the Select Application Pool dialog box, select an application pool that is related with .NET Framework version 4 from the Application pool list, and then click OK.
What is so Unique on ASPHostDirectory.com ASP.NET 4. Hosting?
We know that obtaining a cheap, dependable net host is not a straightforward job so we’ve place all the details you want in one particular spot to support you make your selection. At ASPHostDirectory, we pride ourselves in our commitment to our clients and want to make positive they have all the specifics they want prior to making that huge selection.
We will function tirelessly to offer a refreshing and friendly level of customer service. We think in creativity, innovation, and a competitive spirit in all that we do. We are sound, sincere organization who feels that company is far more than just the bottom line. We contemplate each and every enterprise opportunity a opportunity to engage and interact with our customers and our neighborhood. Neither our clients nor our staff are a commodity. They are element of our family.
The followings are the leading 10 factors you should trust your on the internet enterprise and hosting demands to us:
- No cost domain for Life – ASPHostDirectory gives you your own totally free domain name for life with our Skilled Hosting Plan and 3 totally free domains with any of Reseller Hosting Strategy! There is no want to panic about renewing your domain as ASPHostDirectory will automatically do this for you to make certain you in no way lose the all important identity of your site
- 99,9% Uptime Guarantee – ASPHostDirectory promises it really is consumers 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 Help – We by no means fall asleep and we run a service that is opening 24/7 a year. Even absolutely everyone is on holiday during Easter or Christmast/New Year, we are constantly behind our desk serving our consumers
- Consumer Tailored Assistance – if you compare our hosting plans to other people you will see that we are providing a much greater deal in each element efficiency, disk quotas, bandwidth allocation, databases, safety, control panel features, e-mail services, real-time stats, and service
- Income Back Guarantee – ASPHostDirectory offers a ‘no questions asked’ cash back guarantee with all our plans for any cancellations created inside the initial 30 days of ordering. Our cancellation policy is extremely simple – if you cancel your account within 30 days of initial signing up we will supply you with a complete refund
- Professionals in ASP.NET four. Hosting – Provided the scale of our atmosphere, we have recruited and developed some of the finest talent in the hosting engineering that you are employing. Our team is powerful because of the knowledge and talents of the folks who make up ASPHostDirectory
- Every day Backup Service – We realise that your web site is extremely essential to your company and therefore, we never ever ever forget to generate a day-to-day backup. Your database and internet site are backup every single night into a permanent remote tape drive to guarantee that they are constantly protected and safe. The backup is constantly ready and accessible anytime you want it
- Simple Internet site Administration – With our potent control panel, you can usually administer most of your internet site features effortlessly with out even needing to contact for our Assistance Group. Additionally, you can also install more than one hundred Totally free applications directly by means of our Control Panel in 1 minute!
Content Hosting!
At ASPHostDirectory.com, our mission is to offer a range of modern, dependable and effortless-to-use Web solutions to our clients and to support them with unprecedented, personalized assistance. For much more info, check out http://asphostdirectory.com.
Upgrade an ASP.NET Net Application to ASP.NET four.0
No comments:
Post a Comment