Changes between Initial Version and Version 1 of CodeSamples/AspDotNet/DevFAQ


Ignore:
Timestamp:
Apr 17, 2008, 10:21:42 AM (16 years ago)
Author:
jng
Comment:

Initial version. More FAQ entries and tips to follow.

Legend:

Unmodified
Added
Removed
Modified
  • CodeSamples/AspDotNet/DevFAQ

    v1 v1  
     1== ASP.net Development FAQ/Tips ==
     2
     3'''General Tips'''
     4
     5 * Make sure the virtual directories /mapguide/mapviewernet and /mapguide/mapviewerajax are configured for '''ASP.net 2.0''' (2.0.50727)
     6 * Ensure that the .php and .fcgi scriptmaps have been configured for the /mapguide virtual directory.
     7 * If you are using Windows XP, you can increase the number of connections to the maximum (40). In your AdminScripts directory (Usually C:\Inetpub\wwwroot\AdminScripts) type the following:
     8
     9{{{ cscript.exe adsutil.vbs set w3svc/MaxConnections 40 }}}
     10
     11'''General FAQ'''
     12
     13'''Q''': In Windows Server 2003, the AJAX viewer or the .net API does not work. The event logs are filled with the message "It is not possible to run different versions of ASP.NET in the same IIS process"
     14
     15'''A''': You are possibly running different versions of ASP.net (1.1 and 2.0) under the same application pool. This is a shortcoming of the MGOS installer, as it installs into the default application pool. The solution is to put your 1.1 or 2.0 applications into a separate application pool. See #360.
     16
     17'''Q''': I get 404 errors accessing /mapguide/mapviewerajax or /mapguide/mapviewernet
     18
     19'''A''': The current MGOS installer has issues with the .net installation option. Basically IIS configuration is not guaranteed to succeed, so make sure these virtual directories exist and are properly configured. See #359
     20
     21'''Q''': Can I use the MapGuide .net dlls in ASP.net 3.5 sites?
     22
     23'''A''': Yes. ASP.net 3.5 uses the same CLR as ASP.net 2.0. Your code should work on ASP.net 3.5 sites with no modification required.
     24
     25'''Q''': Can I use .net 3.5 specific language features with the .net API?
     26
     27'''A''': Depends. The new 3.5 language features still compiles to 2.0 IL, so you should be able to use some of the 3.5 language features against the MapGuide API. For example, you can create Extension Methods on existing MapGuide classes. However, you can't use LINQ against the MapGuide Feature Service.
     28