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

  1. #1

    Default dll from aspx

    hello

    i`m making a web service based on .net..... i use web matrix to make pages
    and code in vbscript... my web pages have .aspx extension and everybody who
    have access to server may read my code from this files.... maybe there is
    somethin to make a dll or ??? from aspx files that allow to hide my code
    from other people ???

    thanks

    VEN


    ven Guest

  2. Similar Questions and Discussions

    1. passing a token from pageA.aspx to pageB.aspx
      I am trying to get pageA.aspx gridView to pass a key (say deptID) to pageB.aspx which will use the value passed as a filter in it's own griView...
    2. Accessing a aspx page using HttpWebRequest from another aspx page on the same webapp
      Did you have any luck on this as I have the same problem. Maybe you can help me out of you solved your problem.
    3. SSL in an ASPX Web App
      Yes, you can use your ASP.NET page as is with the https:// prefix. The web server handles securing the communication. -- James J. Foster,...
    4. including one aspx file in another aspx file
      Is there a way is asp.net that I can include another aspx file ?. We can do this in asp by using include statement.
    5. .aspx
      hello.. i just bought a book called "Learn ASP.NET in 21 days"..lol I am running win2k pro...i installed iis and the .net stuff...now... when i try...
  3. #2

    Default Re: dll from aspx

    If you have aspx then it is not webservices you are building. it is web
    pages (web forms) .

    To hide your code, you can make an ASPX like this:
    <%@ Page Language="C#"
    Inherits="HideCodePage"
    Debug="true"
    Trace="false"
    %>

    And then define the class denoted by "Inherits=" like this:

    using System;
    public class HideCodePage : System.Web.UI.Page {
    private void Page_Load(object sender, System.EventArgs e) {
    Trace.Write(">> hidecode.cs: Page_Load()");
    Response.Write("\nHello, from hidecode.<br/>");
    Response.Write("\nIt is now <font size='+1' color='blue'>" +
    System.DateTime.Now + "</font><br/>\n");
    }
    }

    Compile the above into a DLL, and install it into the webapp's bin
    directory.

    But this won't completely solve the problem. Assemblies can be decompiled.
    All this would do is make it a little more difficult to view the code.

    -Dino


    "ven" <venome_@poczta.onet.pl> wrote in message
    news:c9g9jc$h9c$1@news.onet.pl...
    > hello
    >
    > i`m making a web service based on .net..... i use web matrix to make pages
    > and code in vbscript... my web pages have .aspx extension and everybody
    who
    > have access to server may read my code from this files.... maybe there is
    > somethin to make a dll or ??? from aspx files that allow to hide my code
    > from other people ???
    >
    > thanks
    >
    > VEN
    >
    >

    Dino Chiesa [Microsoft] 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