jquery - Are virtual servers quirky with Windows Server 2003, IIS 6, ASP.NET MVC? -


For several months I used to work on the creation of a web site using ASP.NET MVC with CS #, SQL Server I am here. 2005, ADO Net Entity Framework, JOCAR and some ESRI Web APIs and Geodadabs. The test server is running IIS6 on Windows Server 2003. During this time I have seen some strange things that do a lot of work:

  1. Javascript files on the client's server will not be commonly identified as relative paths for scripts or URLs: '/ Instead of installing a jqGrid with the URL of 'Reports.mvc / GridData', I would like to start it in & lt;% = ResolveUrl ("~ / reports.mvc / GridData")%> a scene or application path & lt; Head & gt; The tag of the main page:
 // Declare a variable to go to the jQuery function which does not look like the // handle URL in the IIS6 at top of top-level pages on MVC. Var _applicationPath = new string (''); // Reset the variable after the loading of the jQuery document / ensure that // sees every jQuery library and plugin value. JQuery (document) .ready (function () {_applicationPath = new string ('');}); 
  1. I have tested the form and functions, which show the data on the two development machines and the servers that post the data to the database in new data and edit the data. I am able to do everything that works, even then, every time they take the test, the customer comes back and says this area or he does not save the area, or "shows a joke."

At this point, to use a user's account only to log on to the web, my entity structure code is in a data DLL and works with the database by a single user user login . Therefore there should be no problem with permission or security.

When someone logs in, the code does not change, the views do not change, and the database does not even know who is logged in to the website. So I had to go back in code time and try to program just more safely. But I had reached some time ago that nothing was left to do this

Tomorrow, the customer tells me that the server I am using on my network is a virtual server. It is in an academic environment, and the server is in another building under the control of another department.

After working for the first time on this test server, I was successful in creating an ASP.NET site, but most data controls prevented pages from loading and other components in ASP.NET did not work. . This is the reason for the development system that I switched to ASP.NET MVC.

We have transferred to a physical test server, I have not worked with virtual servers before, whether anyone working with virtual servers with ASP.NET or any other Is strange experience?

Many virtual servers available in the hosting market (especially low cost with limited resources and "flexible" Promising additional resources) I do not trust the virtual server to host the public web site because flexible allocation of resources does not often work for peak traffic, sometimes crashes and instability occur is. The description that you are describing may be equipped with very limited resources from the virtual server, or can run in an unstable or over-burdened environment. However, this can also be how the machine is set up, and how the web server is configured. (Problem of that path in 1. Probably a configuration problem, I would say.)

You can try asking people who have resources (Processors to increase resources for some time) Time, RAM, network traffic) and see if it gets any better. If this happens, you have to see whether the growth can be made permanent or instead a dedicated server can be used.


Comments

Popular posts from this blog

oracle - The fastest way to check if some records in a database table? -

php - multilevel menu with multilevel array -

jQuery UI: Datepicker month format -