Reputation: 890
The company I work for is creating pixel perfect high performance oriented large scale systems. One of our system's stack is based on simple straightforward highly tuned ASP.NET without any web controls, just simple PHP/ASP style server pages.
HTML content is mostly generated on the code behind C# environment. This is the most efficient and "performant" way of using ASP.NET (a prerequisite for us), at least according to our thorough benchmarks.
We are seriously thinking to get on with ASP.NET 5, mostly due to it's cross platform capabilities, more lightweight approach than the older ASP.NET, OWIN support and JSON based conf style.
The thing is: we won't go with MVC. It is simply a huge overkill and over-design for our needs. We are looking to work the way we do now, a simple PHP/ASP style ASP.NET but over the new framework, the ASP.NET 5.
The question is, can we work that ASP.NET WebForms style with ASP.NET 5? even if using Web Pages, how is it comparing to ASP.NET Web Forms (remember we don't use any web controls)?
Thanks!
Upvotes: 2
Views: 1501
Reputation: 30035
The only available framework for generating HTML in ASP.NET 5 currently is MVC. The next version of ASP.NET Web Pages (which is more like PHP using C# than anything) won't be included in ASP.NET 5 until the first major update after RTM. That's likely to be later in 2016.
In the meantime, you could conceivably write your own middleware to generate HTML and plug that into the ASP.NET 5 pipeline.
Upvotes: 1