What I believe is the 'best framework' for website development, or maybe MVC 5 ?
Recently, I've started to be more interested in web development. I've played around with PHP, quickly shifted to ASP.NET MVC. I like the "out of the box" defaults there, so there are minimal settings required to create a "nice" website. I like the automatic parameter mapper too.
I also started playing with Entity Framework, using its LINQ to SQL feature. I like that you don't have to "leave" C# when doing database queries.
We all know you have to write both client-side and server-side code. But why make the code different? Lets say I want to manipulate the DOM. In WebForms, you could do it like in a method similar to WinForms - sending out a new page with the manipulated DOM. I'm also pretty sure you could do it with Ajax instead, which is even nicer. But if you want to manipulate it in client side, you have to write
$(id).html(...) or such. Basically, you didn't do much.
Let's try making a standard library for the DOM, which will include all features, like WebForms has, which will work both server side and client side. It's basically taking both positive sides from WebForms AND MVC. You will write regular HTML websites, using the Razor syntax. If you, for example, write a Single Page App, and you want some code to run locally, you mark it with
[ClientSide], and if you want some code to access the database and such, you mark it with
[ServerSide]. Then, if you add an event listener to an
OnClick event, it will automatically know whether to simply execute the client side
<input id="SearchButton" type="button" value="Hey!" />
<input id="SearchTB" type="text" />
public void DoSomething()
var button = Buttons.SearchButton;
button.Style.Left += 10;
button.Value = "Search";
button.OnClick += new EventHandler(Search);
public void Search()
var text = TextBoxes.SearchTB.Value;
var results = from entry in DB.Entries