As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 9 years ago.
I've gotten lucky enough to work on a completely new enterprise MVC 3 project. And by new, I mean source control is literally empty at this point.
We're trying to figure out how to lay out out the solution and various projects that will be needed.
We'll be using Razor, WCF, Entity Framework, Moq, Ninject, SpecFlow, MSTest, and CodedUI.
Can anyone point me to a well-laid-out enterprise application that I might be able to use a model for our application structure? I.e. solution and project structure.
All the examples of MVC projects I've found have very poor separation of concerns, and we want to make sure we do this thing right.
Help? :)
I've found Project Silk to be pretty good structurally.
Look at this sample.
If I'd to choose I'd take SharpArchitecture. But if you're new to Asp.Net MVC its pretty big and if you look at the Northwind sample, there are some Asp.Net MVC specific - maybe I'm too strict by saying it - antipatterns in it (leaking Domain Objects into view, not one-view-one-viewmodel,...)
Taking the things I've learned there and understanding the structure called "Onion Architecture" by looking here, I propose a basic project structure like I pointed out in this answer.
It's "basic", as it gives you no example project but an overview of a general well structured web app which uses Asp.net MVC, ORM, DI and some good practices for using Asp.Net MVC "right".
I'd recommend WhoCanHelpMe (http://whocanhelpme.codeplex.com), it follows SharpArchitecture, and although it's using NHibernate you can still understand its architecture easily.
Related
As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 10 years ago.
I a general question. When i want to develop some new web project (not simple page-something bigger and quite complex) what technology should i choose- MVC or Web Forms?
I've tried to find it myself but there are many different opinions about that topic. Is there any general rule or methodology which can help me decide?
No, there is no general rule. It's only a matter of preference. Someone likes MVC, someone likes webforms. Microsoft will support both equally.
Don't pick MVC vs Webforms based on the experience of someone else who says "THIS IS BETTER", because he's just plain wrong, but based on your instinct or how to describe it the best. You need to feel comfortable with the technology you're using, not struggle with it.
Basically both have their pons and cons for an overview of how you can decide see this blog
http://blogs.microsoft.co.il/blogs/gilf/archive/2009/01/16/deciding-when-to-use-asp-net-mvc-framework.aspx
See these questions as well that already ask what you are looking for
When to use ASP.NET MVC vs. ASP.NET Web Forms?
Traditional ASP .NET Web Forms vs MVC
As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 11 years ago.
I am considering creating e-learning SaaS solution so therefore I am evaluating using application development framework like DotNetNuke as a base. I would have loved to use Salesforce Force.com platform but unfortunately it is quite expensive.
The biggest advantage of using stable and solid development framework is that I won't have to concern myself with architectural issues and can concentrate solely on core functionality. Another advantage of using DotNetNuke is that some of the functionality I require like forums, content and user management is already implemented.
Is it worth using DotNetNuke as a development framework so as to avoid dealing with scalability?
If anyone else has been in this situation I would love to hear what you decided on.
Many thanks.
If your looking for a CMS, I would recommend Umbraco (http://www.umbraco.com)
I use is since it uses real asp.net masterpages and allows using .net usercontrols.
It is the only CMS I have tried that allowed me to go from HTML and CSS to a fully working site, without conforming to a preset template.
Edit: And it's free :)
I was involved with one project where the vendor using it was happy with it.
They did tend to do smaller scale stuff - so don't take their say-so if you want to use it for large-scale stuff; your mileage may vary.
Also, I've asked various people the same question. Of those with first hand experience roughly 3 or 4 out of 5 hated it. Still "one mans rubbish is another mans gold", as the saying goes.
As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 10 years ago.
What would be a good 3rd party control package for ASP.NET, easy to use without compromising full functionality? What I noticed from some research is Telrik and DevExpress being fairly popular. Any suggestions?
I can say that in my opinion stay clear of Infragistics.
It has been our experience that their documentation is absolutely terrible. The controls are bug-ridden so be ready for the patches. Their support is slow and ineffective; and it seems like management really does not concern themselves with customers opinions; but would rather preach to you about why you, the customer are incorrect, and why they are so right.
I am concerned with the comments here about Telerik's documnetation being incomplete.
I also am also concerned about the concentration on certain controls rather than the cmany/suite as a whole.
I've used Telerik extensively for business/data web apps and would recommend them.
The RadGrid control is a vast improvement on the standard ASP.NET Grid and you can develop data-driven sites with neat UIs very rapidly.
If your focus is RAD and neat UIs with minimal coding, then I'd say go for Telerik.
I'd say Telerik too.. very easy to use and lots of functionality. Try their demos.
Telerik is what i'd recommend too.
Using it in enterprise domain and in addition to quality of the components, their support is pretty good.
Telerik is the way to go. The documentation isn't always complete but there is a huge community around these controls, which is very helpful.
As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 12 years ago.
I wonder whether I should lern Ruby on Rails 3 (RoR) or ASP .NET MVC 3. Java web development has frustrated me and I'm looking for something better. So I'm looking for a framework and programming environment that lets me concentrate on the essential things.
As far as I know RoR it seems to be mature and much better than direct competitors like Grails. But Rails also looks a bit magic to me (read: I don't understand what actually happens).
On the other hand ASP .NET helps me with static typing and a probably larger ecosystem. But it seems not to be a ready to go system, because you need a separate DB for development, a separate ORM and so on.
The Rails slogan is "Web development that doesn't hurt". But what hurts less: Rails 3 or ASP .NET MVC 3?
Why not learn both?
Sure, it'll take more time and effort. As you go along you'll be able to identify for yourself which aspects of each you prefer and will likely gravitate toward one over the other. But that's a decision better made after you've started using them rather than asked (subjectively) on Stack Overflow.
They're just tools. Might as well ask if a hammer is more useful to wield than a screwdriver. People may have opinions either way, but in the end it's entirely up to you. Use them both, learn them both, learn first-hand the similarities and differences, and apply them accordingly where each one fits.
As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 10 years ago.
can you recommend some good ASP.NET tutorials or a good book?
Should I jump right to ASP.NET MVC/html/javascript or learn web forms first?
Thanks
A great book if you're just beginning is Matthew MacDonald's Beginning ASP.NET 3.5 in C# 2008: From Novice to Professional. Once you're done with that a great reference (also by MacDonald) is Pro ASP.NET 3.5 in C# 2008. One of my favorite sources of information online is 4GuysFromRolla.
MVC or WebForms...it's your choice but if I can offer one piece of advice regarding webforms...I know it'll be tempting to start dropping controls and playing with code, but it will help you A LOT if you don't skip over learning about the request and page lifecycles...a couple weeks later you'll thank yourself for spending the extra time there.
MVC www.asp.net/mvc great videos
Asp.net www.asp.net
If you're going to use ASP.NET MVC, then go straight to it. But it's a fairly new technology, not even in beta yet, so have that in mind. However, the application model is totally different compared to ASP.NET, so it is not in fact a replacement. For tutorials, you can surely check out http://www.asp.net and http://www.asp.net/mvc - there's tons of information there.
A site for web tutorials including ASP.net can be found here.