What template to use?

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • vbMark

    What template to use?

    Hi there,

    I need to create an asp page using ASP.NET that does not have an interface
    but only accepts URL Query Strings.

    When starting a new project what template should I use?

    Thanks!

    --

    A good place to start.
  • George

    #2
    Re: What template to use?

    Just do it the regular way
    Then manually remove all HTML except <%Page%> directive.

    Also you might want to move all code into ASPX page to avoid having to move DLL and ASPX.

    George
    My Site - Body Jewelry
    "vbMark" <no@email.com > wrote in message news:Xns9517652 65C1D8noemailco m@130.133.1.4.. .
    Hi there,

    I need to create an asp page using ASP.NET that does not have an interface
    but only accepts URL Query Strings.

    When starting a new project what template should I use?

    Thanks!

    --

    A good place to start.

    Comment

    • vbMark

      #3
      Re: What template to use?

      Okay, that works fine. But I don't understand what you mean by this:

      "Also you might want to move all code into ASPX page to avoid having to
      move DLL and ASPX."

      Thanks.


      "George" <nospam@hotmail .com> wrote in
      news:u$U2pZeXEH A.384@TK2MSFTNG P10.phx.gbl:
      [color=blue]
      > Just do it the regular way
      > Then manually remove all HTML except <%Page%> directive.
      >
      > Also you might want to move all code into ASPX page to avoid having to
      > move DLL and ASPX.
      >
      > George
      > My Site - Body Jewelry
      > "vbMark" <no@email.com > wrote in message
      > news:Xns9517652 65C1D8noemailco m@130.133.1.4.. . Hi there,
      >
      > I need to create an asp page using ASP.NET that does not have an
      > interface but only accepts URL Query Strings.
      >
      > When starting a new project what template should I use?
      >
      > Thanks![/color]

      Comment

      • George

        #4
        Re: What template to use?

        There is 2 ways to code ASPX page.
        1. When code C# for example is embedded into ASPX page. That way when you move your application you need only move the ASPX file. And there is no recompiling ( visible). ASP.NET will recompile page for you.

        2. Using codebehind. This is the only way Visual Studio supports. But then it creates 2 files ASPX page and C# file which has to be compiled into DLL. Then everytime you change the C# file you need to recompile it. And then move new DLL.


        I found it more convenient to keep all code in the ASPX page for small projects.



        George
        My Site - Body Jewelry
        "vbMark" <no@email.com > wrote in message news:Xns95176F6 E9FECFnoemailco m@130.133.1.4.. .
        Okay, that works fine. But I don't understand what you mean by this:

        "Also you might want to move all code into ASPX page to avoid having to
        move DLL and ASPX."

        Thanks.


        "George" <nospam@hotmail .com> wrote in
        news:u$U2pZeXEH A.384@TK2MSFTNG P10.phx.gbl:
        [color=blue]
        > Just do it the regular way
        > Then manually remove all HTML except <%Page%> directive.
        >
        > Also you might want to move all code into ASPX page to avoid having to
        > move DLL and ASPX.
        >
        > George
        > My Site - Body Jewelry
        > "vbMark" <no@email.com > wrote in message
        > news:Xns9517652 65C1D8noemailco m@130.133.1.4.. . Hi there,
        >
        > I need to create an asp page using ASP.NET that does not have an
        > interface but only accepts URL Query Strings.
        >
        > When starting a new project what template should I use?
        >
        > Thanks![/color]

        Comment

        Working...