Click here to Skip to main content
15,881,938 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Hi,

I'm planning to create a web browser from scratch using C#. However I don't know how and where to start. I also need to know all the components needed. I would appreciate any advice or help.
Posted
Updated 5-May-13 19:15pm
v2
Comments
_Damian S_ 6-May-13 1:10am    
Why? Sounds like you are way out of your depth here... what exactly are you wanting to create a new web browser for?
Chris N.P. 6-May-13 1:25am    
I want to create a browser for following reasons: 1.) To have a 100% customized browser that will benefit all my web applications. 2.) Learning how browser completely works. 3.) To make a secure browser for my server. I'm a web developer either personal or enterprise and now I want to extend it by creating my own web browser. And this is only for personal use and free for others who want to use it but not commercially.
_Damian S_ 6-May-13 1:28am    
I see... I think you might underestimate the complexity of developing such a product... Personally I'd use one of the browsers already in the marketplace - if for no other reason than they have teams of people keeping on top of things such as security issues etc... Good luck with it though!!

Try the WebBrowser control.

 
Share this answer
 
Comments
Chris N.P. 6-May-13 1:29am    
Thanks. However I'm fully aware of WebBrowser control. So now I want to try from scratch. Or creating a new webbrowser control not related to any IE component.
You can use the webbrowser control, I think there is one for both WPF and winforms?
But then you would have internet explorer rendering under it.

Not even Google Chrome is programmed from the ground up, it uses WebKit for rendering.
I made a wpf app before with browser possibilities. I used cefsharp for it and it worked really well (html5 support).

Doing it from scratch is a bad idea and it feels like it would take a lifetime to get javascript and css working.
 
Share this answer
 
Comments
Chris N.P. 6-May-13 2:00am    
Thank you. I know this is complex but I want to try wpf instead. If you could provide a tutorial for the wpf app you made before I would highly appreciate it.
Per Söderlund 6-May-13 2:08am    
I kind of hacked my way into it because there are some issues in designtime.Maybe its solved by now?
Anyway, go here https://github.com/chillitom/CefSharp and press the button that says "ZIP".
Examples are included.
I don't think you realize quite how much work is involved, and how many (conflicting) standards are going to be involved here...but probably the best route is to start with an open source browser and see how they do it. There are a few, and a quick google will find you a fair amount of info, but have a look at The Chromium Project[^] - it's the OS browser behind Google Chrome.

Bear in mind that if you need detailed help with an OS project like this, you are probably going to have to talk to people who have worked on it, which means the site you get the source from, not here! :laugh: There are not going to be many people who have worked on their own browser...
 
Share this answer
 
Comments
Chris N.P. 6-May-13 1:55am    
Thanks. I know how complex this project is but still I want to give it a try. What I want is to create it in C# .Net however I will try to look at Chromium and see what I can find there.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900