Wednesday, September 3, 2014

.NET Questions

Q:  How to add multiple website in one folder  ?
 we have to create a blank solutions like this....

1-File -> new project->other type project->visual


studio solutions->blank solution


2-rightclick on solution explorer of blank solution ->add existing website


many more solution can be added in this one blank solution.


Q:--------How-to make  own namespace ?

  • First make a blank solution as above.right click solution explorer  and
  • Add a class library  you will get the class over there you can add more classes over there.
  • Build this class library after building we will get the dll file of this class library  in the bin folder of that blank solution.
  • Now we have to add our dll in our main required website which is also added in this blank solution.
  • Right click ->add reference->browse->dll add.




No comments:

Post a Comment