Click here to Skip to main content
13,095,921 members (50,712 online)
Rate this:
Please Sign up or sign in to vote.
See more:

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 5-May-13 19:00pm
Updated 5-May-13 19:15pm
_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!!
Rate this: bad
Please Sign up or sign in to vote.

Solution 1

Try the WebBrowser control.

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.
Rate this: bad
Please Sign up or sign in to vote.

Solution 2

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.
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.
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 and press the button that says "ZIP".
Examples are included.
Rate this: bad
Please Sign up or sign in to vote.

Solution 3

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...
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)

  Print Answers RSS
Top Experts
Last 24hrsThis month

Advertise | Privacy |
Web04 | 2.8.170813.1 | Last Updated 6 May 2013
Copyright © CodeProject, 1999-2017
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100