Search

You searched for the word(s): userid:613878

Matching Posts

  • Can't Change Security for .asmx/js, .asmx/jsdebug, .svc/js, .svc/jsdebug

    ASP.Net and WCF generate javascript files to help calling web services over ajax. I wan't to keep my webservices themselves locked by security but I want to free up the javascript files from security. However, something like this is not working: <location path="MyService.asmx/js"> <system.web> <authorization> <allow users="*"/> </authorization> </system.web> </location> Also, this requires my to individually free up each web services
    Posted to ASP.NET AJAX Networking and Web Services (Forum) by tbcarver on 11/19/2008
    Filed under: ajax, atlas javascript webservices, atlas webservice, asp.net ajax webservice
  • Re: Configuration Compilation Assemblies Settings and Web Application Projects

    [quote user="hongping"] For web application projects, only the code files (.aspx.cs) are compiled into the single dll that is then put into the bin folder. The .aspx pages are not yet compiled by default. When you deploy, the .aspx pages will only be compiled dynamically during runtime upon request. Thus, those references in web.config will be used at that time. [/quote] That makes sense. Thanks for the reply!
    Posted to Configuration and Deployment (Forum) by tbcarver on 10/2/2008
  • Re: Configuration Compilation Assemblies Settings and Web Application Projects

    [quote user="hongping"] This section specifies the reference assemblies to use when compiling the web site, so you only need to include assemblies which you are referencing. http://msdn.microsoft.com/en-us/library/bfyb45k1.aspx [/quote] Thanks for quick response. I understand that this section is for referencing assemblies for compilation. But a website application project compiles all the code into a single dll, and this can be done before deployment. For example my website application
    Posted to Configuration and Deployment (Forum) by tbcarver on 9/30/2008
  • Configuration Compilation Assemblies Settings and Web Application Projects

    New web.config files for VS 2008 Web Application Projects include the Compilation Assembly settings with several settings configured. We had been removing this section for our deployment web.configs thinking that all was already compiled down to the single dll and that these settings wouldn't have any effect on the system. However, today I found that they do have an effect on the deployed web site. By adding in the following section to the web.config I found different behavior: <compilation
    Posted to Configuration and Deployment (Forum) by tbcarver on 9/30/2008
  • Re: Control Registration

    I am having a similar issue where I have several ajax web controls on a page and they all register with a manager web.component control. The problem is the ordering of the Sys.Application.add_init. If the manager isn't the first control on the page then the other controls can get created first and then are not able to find the manager. Is there a way to change the ordering? How about creating a dependency on other items being loaded first? What about doing my own init? I'm not sure that would
  • Re: A first chance exception of type 'System.Runtime.Serialization.SerializationException' occurred in mscorlib.dll

    I am getting this same exception and have narrowed it down to the this setting in the web.config file: cacheRolesInCookie="true" This setting is part of the rolemanager settings for the role provider <roleManager defaultProvider="AspRoleProvider" enabled="true" cacheRolesInCookie="true" cookieName=".ASPROLES" cookieTimeout="30" cookiePath="/" cookieRequireSSL="false" cookieSlidingExpiration="true" cookieProtection="All"> The exception is a problem and I am looking for a solution or to log a
    Posted to Security (Forum) by tbcarver on 4/26/2007
  • Re: Programmatically Two-Way Data Binding

    This is an old post but I cannot find any answer to this. Is <%# Bind(".....") %> only for use with declaritive syntax and DataSources? Can two-way binding be used without a DataSource? Can you access the return values in the codebehind on a postback using something like databinder? Thanks, Tyler
    Posted to Data Presentation Controls (Forum) by tbcarver on 2/15/2007
  • Re: Really need some suggestion on SQLCacheDependency.

    There is a know issue with .Net 2.0 and SQLCacheDependency that causes the caching to stop working after 5 minutes. Here is the link to the hot fix. http://support.microsoft.com/kb/913364/EN-US/ Tyler
  • Re: PopupControlExtender Stopped Working in FormView Beta1

    jleung: I have a CollapsiblePanelExtender in the ItemTemplate of a Repeater which was not getting initialized. I was able to fix this by removing the DataSourceID="SqlDataSource1" attribute on the Repeater and calling DataBind() in the Page_Load instead. John This worked for me only in the case of the default mode and not after a post back. If I set the default mode to Insert and the called DataBind() in the Page_Load (I didn't matter if I removed DataSourceID and added it a Page_Load
    Posted to ASP.NET AJAX Control Toolkit (Forum) by tbcarver on 10/23/2006
  • Re: PopupControlExtender Stopped Working in FormView Beta1

    Initializing the FormView in different ways has helped my popup to start working, however, the extender was still acting like I was calling PopupControlExtender.GetProxyForCurrentPopup(this.Page).Cancel(); after any click on in the popup. I had the PopupControlExtender inside an UpdatePanel. When I removed the update panel the PopupControlExtender started acting normal again and not closing after every click. I also noticed that when I wrapped an outer UpdatePanel just around the PopupControlExtender
    Posted to ASP.NET AJAX Control Toolkit (Forum) by tbcarver on 10/23/2006
Page 1 of 6 (60 items) 1 2 3 4 5 Next > ... Last »