Calling a .NET Assembly from an ASP.NET page

Ask a Question related to ASP.NET General, Design and Development.

  1. #1

    Default Re: Calling a .NET Assembly from an ASP.NET page

    Do yoou mean that it calls a method of a class in an assembly? You may want
    to make the method call run in a separate thread.

    See the following MSDN article for an example:

    [url]http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cssample/html/vcsamthreadingsample.asp[/url]
    --
    HTH,

    Kevin Spencer
    Microsoft MVP
    ..Net Developer
    [url]http://www.takempis.com[/url]
    Complex things are made up of
    lots of simple things.

    "Eric Levin" <eric@soundsite.com> wrote in message
    news:%23YwtuCyWDHA.2268@TK2MSFTNGP11.phx.gbl...
    > I have an ASP.NET page that is passes parameters to an Assembly, and then
    > executes a procedure.
    > This basically works, but the only problem is that this assembly takes
    about
    > 15 minutes to run.
    >
    > What I want is to have the ASP.NET get the control back as soon as the
    > assembly begins executing.
    > Basically have the assembly run in the background, and when finished it
    will
    > self terminate (Calling application doesn't have to know about it).
    >
    > Any information or links on how to do this would be greatly appreciated.
    >
    > Thanks,
    >
    > Eric Levin
    > Sounddogs.com
    >
    >

    Kevin Spencer Guest

  2. Similar Questions and Discussions

    1. Security Error When calling assembly.CreateInstance
      I don't event know where to begin to solve it. I tried everything I could find on the net, with no avail. I ma loading an assembly using http. Here...
    2. How Do I get ConfigurationSettings from the calling assembly?
      I'm developing a server control for our intranet. This control is only going to be used in two applications on the server, but they must be...
    3. referencing assembly from aspx page
      Earlier, I created an assembly that wrapped the SQLDMO.dll Com object. The assembly is now called Interop.SQLDMO.dll Now, from a seperate...
    4. Calling .NET Assembly from JavaScript...
      I have a requirement to call .NET assembly (Custom component) from thin client Page (ASPX). This Assembly talks only TCP/IP with an external server...
    5. Calling a html page from an asp page then returning to the next statement on the original asp page
      Hi! I have an ASP page that calls excel to create a report. This works fine. Now I need to call a html calendar page to filter what rows are...
  3. #2

    Default Re: Calling a .NET Assembly from an ASP.NET page

    Lookup asynchronous programming in the help for .NET Framework. There are
    some examples, but you basically need to use BeginInvoke and provide a
    callback so that your assembly method acts asynchronously.

    Jeff H.

    "Eric Levin" <eric@soundsite.com> wrote in message
    news:%23YwtuCyWDHA.2268@TK2MSFTNGP11.phx.gbl...
    > I have an ASP.NET page that is passes parameters to an Assembly, and then
    > executes a procedure.
    > This basically works, but the only problem is that this assembly takes
    about
    > 15 minutes to run.
    >
    > What I want is to have the ASP.NET get the control back as soon as the
    > assembly begins executing.
    > Basically have the assembly run in the background, and when finished it
    will
    > self terminate (Calling application doesn't have to know about it).
    >
    > Any information or links on how to do this would be greatly appreciated.
    >
    > Thanks,
    >
    > Eric Levin
    > Sounddogs.com
    >
    >

    Jeffrey Huntsman Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139