Search

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

Matching Posts

  • Re: Web user control (.ascx ) VS page (.aspx)

    It really depends on your goals for the migration. The architecture you have will continue to work in ASP.NET 2.0 without having to change. ASP.NET still supports ascx controls. The master/content page model was created to make implementing the scenario you have a bit easier, but it doesn't replace ascx controls. So if you just want to get the application running on 2.0 without major revisions, you can leave things alone. If you are migrating with the goal of taking advantage of 2.0 features
  • Re: http handler - allow only certain referers

    The reason why you are getting "jargon" and not real controls is because you are calling Response.WriteFile() when i think you want Server.Transfer() or similar. WriteFile takes the path you pass into it and simply writes out the file contents to the response stream. So in this case it's going to treat the aspx file like a text file and just send back it's contents. If you use Server.Transfer() or Server.Execute() then it will run the page and return the correct response you are
    Posted to HttpHandlers and HttpModules (Forum) by chrisri on 5/19/2009
  • Re: Where to capture the error that is thrown by a http handler?

    All of the normal error handling techniques you would use for aspx pages will apply to http handlers as well. After all, the aspx page framework is an http handler as well. The major difference is that aspx pages expose an error handler on the page which won't be there in a bare bones http handler implementation. You can roll your own handler level error handler if you want, or use the application level error handling, or the custom errors features that will still be there.
    Posted to HttpHandlers and HttpModules (Forum) by chrisri on 5/19/2009
  • Re: unable to uninstall - MVC Templates not visible

    Sorry to hear you've had some trouble with the project templates. You can run the following commands to get VS to reimport the templates (you need to do this from a Visual Studio Command Prompt: Start,Programs,Microsoft Visual Studio 2008, Visual Studio Tools, Visual Studio 2008 Command Prompt) devenv.exe /installvstemplate s devenv.exe /setup then launch VS again
    Posted to ASP.NET 3.5 Extensions Preview (Forum) by chrisri on 12/18/2007
  • Re: Ajax RC not working on production server, works on dev machine

    ShivaKrishnaK - This is fixed in the RTM version of ASP.NET AJAX. Please make sure you have the correct version installed, and recompile your site. Thanks!
  • Re: Ajax RC not working on production server, works on dev machine

    stardust25: You likely have a reference to "microsoft.web.extensions" in a config file or in the register tag of your page. The RTM version of Atlas is System.Web.Extensions.dll ksasp: There's a walkthrough on publishing web sites on msdn. Hope this helps: http://msdn2.microsoft.com/en-us/library/1y1404zt(VS.80).aspx
  • Re: HttpApplicationState Allows Duplicate Keys, Orphaned Values

    Hi, Yeah i can see how that might be confusing. Here's the behaviors of each of the APIs at a high level, then let's walk through the code and verify 1. Application.Add when used with the same key will create an entry for each item. 2. Setting a value is different than adding a value. Setting will replace the value at the index specified. 3. Using the string indexer will only get you the first value found for that string key. int indexers will always get you the correct value 4. Application
    Posted to State Management (Forum) by chrisri on 10/31/2006
  • Re: Running .net2.0 app in a sub directory with .net1.1 in the root

    A few thoughts: 1. If you are running IIS6, then you cannot have mixed versions of applications within the same app pool. You should ensure that your v1.1 app and v2.0 app are in different app pools - If you don't, the first app to be requested will work, the second will return "Server Application Unavailable" 2. By default, the install of ASP.NET 2.0 doesn't upgrade script maps at all. So on a machine with 1.1 installed, and then 2.0 installed, 1.1 will still be the version of
    Posted to Configuration and Deployment (Forum) by chrisri on 10/30/2006
  • Re: Catching a file from an HTTP Post

    Ok. The sample does use a complete solution and uses a server side FileUpload control. If you don't have any control over the client view, and you are just the backend, you can use different code instead. There is a Files Collection on HttpRequest that will be populated with all of the files posted as part of the request. The FileUpload control wraps this code, but you can still use it. foreach (HttpPostedFile f in Request.Files) { String FileName = PostedFile.FileName; String ContentType = PostedFile
    Posted to HttpHandlers and HttpModules (Forum) by chrisri on 8/23/2004
  • Re: Application_OnStart never fires

    I would just stick to inline code then. Move your application_OnStart call directly into a script tag in global.asax and get rid of any directive in global.asax that references the .vb file. So you global.asax looks similar to this: <script runat=server language=vb> Sub Application_OnStart() End Sub </script>
    Posted to State Management (Forum) by chrisri on 8/20/2004
Page 1 of 4 (37 items) 1 2 3 4 Next >