We have created a Page type as a EPiServer.Web.Mvc project in Visaul studio.We can run this from Visual studion and it works ok.
Now we want to install this in Episerver 10.We have published the project. Copied the assemblies/dll's to the episerver/bin directory.Copied the view's to episerver/view directory.
When we put this, <%@ application codebehind="Global.asax.cs" language="C#" inherits="DBBEpiserver.EPiServerApplication" %>, in Episervers Global.asax file we got it working. DBBEpiserver is our Episerver MVC projects name.%@>
We dont think this is right. What happens if we have more then one page type installed in this Episerver 10 installation.
Can someone give us more information how we install this the right way
What do you mean with install in Episerver?
Please go through this getting started guide to learn how Episerver works
Installing an AlloyTech template site would probably help you get started. As Henrik linked, more info is available in the documentation, but examples are available there. There is a video linked as well: https://world.episerver.com/documentation/developer-guides/CMS/getting-started/setting-up-your-development-environment2/