Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C#
  4. ASP.NET project into dll

ASP.NET project into dll

Scheduled Pinned Locked Moved C#
csharpquestionasp-netcomsecurity
6 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • A Offline
    A Offline
    Alex Getman
    wrote on last edited by
    #1

    Hi Gurus! I got an ASP.NET web project, in C# and I want to make some sub systems in my project security for example) into assembly dll in C#. Is it possible? And what is the best way to do it? Should I start new project as dll and copy-paste my code into it? xedom developers team

    S 1 Reply Last reply
    0
    • A Alex Getman

      Hi Gurus! I got an ASP.NET web project, in C# and I want to make some sub systems in my project security for example) into assembly dll in C#. Is it possible? And what is the best way to do it? Should I start new project as dll and copy-paste my code into it? xedom developers team

      S Offline
      S Offline
      sreejith ss nair
      wrote on last edited by
      #2

      hi, this is my small suggection. Before getting into creating .dll. better be very clear about the security and level of access of your asp.net logics. ************************** S r e e j i t h N a i r **************************

      A 1 Reply Last reply
      0
      • S sreejith ss nair

        hi, this is my small suggection. Before getting into creating .dll. better be very clear about the security and level of access of your asp.net logics. ************************** S r e e j i t h N a i r **************************

        A Offline
        A Offline
        Alex Getman
        wrote on last edited by
        #3

        Well actually I createde a Library project, add existing web page (aspx&cs files) and sucessfully compiled it. But when in other test project I add reference an my dll and just inherits my page from page that is in dll the following exception occurs: Exception Details: System.NullReferenceException: Object reference not set to an instance of an object this occurs in public void InitializeComponent() { of the page dll class. Can you answer mr what happpens? xedom developers team

        S 1 Reply Last reply
        0
        • A Alex Getman

          Well actually I createde a Library project, add existing web page (aspx&cs files) and sucessfully compiled it. But when in other test project I add reference an my dll and just inherits my page from page that is in dll the following exception occurs: Exception Details: System.NullReferenceException: Object reference not set to an instance of an object this occurs in public void InitializeComponent() { of the page dll class. Can you answer mr what happpens? xedom developers team

          S Offline
          S Offline
          sreejith ss nair
          wrote on last edited by
          #4

          hi, i am confused. plese little bit more explanation ...:eek: ************************** S r e e j i t h N a i r **************************

          A 1 Reply Last reply
          0
          • S sreejith ss nair

            hi, i am confused. plese little bit more explanation ...:eek: ************************** S r e e j i t h N a i r **************************

            A Offline
            A Offline
            Alex Getman
            wrote on last edited by
            #5

            i found solution - ascx :laugh: I decided to create my form as ascx control xedom developers team

            S 1 Reply Last reply
            0
            • A Alex Getman

              i found solution - ascx :laugh: I decided to create my form as ascx control xedom developers team

              S Offline
              S Offline
              sreejith ss nair
              wrote on last edited by
              #6

              hi, Ok. that is good. please share it to others through this forum.;) ************************** S r e e j i t h N a i r **************************

              1 Reply Last reply
              0
              Reply
              • Reply as topic
              Log in to reply
              • Oldest to Newest
              • Newest to Oldest
              • Most Votes


              • Login

              • Don't have an account? Register

              • Login or register to search.
              • First post
                Last post
              0
              • Categories
              • Recent
              • Tags
              • Popular
              • World
              • Users
              • Groups