Добавил:
Upload Опубликованный материал нарушает ваши авторские права? Сообщите нам.
Вуз: Предмет: Файл:
ts_tier_2_012010.doc
Скачиваний:
0
Добавлен:
01.07.2025
Размер:
1.25 Mб
Скачать

C) Coding Considerations:

  • Customers are responsible for testing their code before moving to our systems.

  • The live environment should not be used for testing or making coding changes on a regular basis.

  • While coding, customers should be aware that files are not stored locally. All customer files are stored on a network share using dynamic paths.

  • Customers are advised not to hard code paths in their code, but to use Server.MapPath to point to their files. e.g C:\Inetpub\wwwroot\file.aspx, will not work.

  • Project files, i.e .sln, .csproj, .vbproj, vjsproj, .disco, .vsdisco and other files used for development, should be removed before uploading.

  • Dlls should only be places in the public/bin folder. If the customer wishes to run an application from a folder other than the public folder. A ticket can be submitted requesting the folder be converted to an application folder. The customer can then setup a bin folder within that folder and move dlls to that folder.

Why are my changes not showing up on my site?

  • Changes made to files and folders may not be visible immediately in ASP.NET. To maintain the performance of our servers we have disabled the file and folder monitoring feature of ASP.NET.

  • This prevents ASP.NET from constantly monitoring resources and recycling the application, which takes up system resources and causes session issues. In this case our support staff can recycle or change the recycle time for the customer. (default is 120 minutes)

  • Customers may notice a delay in the time from when they upload a new version of an existing filename. i.e., making modifications to their WebForm1.asax file, and overwriting the copy that exists within their web space. It may take up to 7 minutes before this new copy is processed by the .NET servers. This is due to an inherent behaviour of the .NET engine in which compiled assemblies aren’t destroyed and recreated quickly enough. ASP.NET differs from regular ASP on our systems in that we do not need to restart asp services when a modification to their Global.asax file is made.

Before uploading:

  • Customers are advised to make all changes in their development environment and then upload the final site to our servers.

  • The live environment should not be used for testing or making coding changes on a regular basis.

  • While testing, please check all visual studio debug logs, IIS logs and event viewer application logs. Any errors related to the site should be fixed before uploading. This will ensure a smooth transition to the live environment.

Security and performance:

  • Our servers and file systems are constantly being monitored. If any site is found trying to access restricted resources or if our system administrators suspect a site of degrading server performance. ASP.NET services for that site will be suspended and the customer will be notified.

  • Hostopia does not support coding issues, especially with dlls since they are compiled and the code cannot be viewed.

  • Customers are responsible for troubleshooting their code on a development system and providing our support staff with details of what their code is supposed to do. If the site is not performing according to their needs.

Соседние файлы в предмете [НЕСОРТИРОВАННОЕ]