It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 10 years ago.
Is there a way to merge 2 mvc 2 project.?
I already try with areas, but that doesn't work.
These 2 projects doesn't have the same structure tree and are not in the same namespace. This is 2 different project made by 2 differents people.
Thanks.
Merging 2 mvc projects is not straight forward as it is with MVC and webforms, the problem here is that the MVC runtime uses its default naming convention for controllers, Actions and views names and it looks in different locations (looks in View/Shared etc folders) by those names...so having different namespaces will not help either...if you have controllers with same names, then you will have to set one of them as partial and also you will have to make sure that there are no duplicate action methods...
Related
It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 10 years ago.
I've been asked to model my application. I'm not clear what this means, Perhaps something related to the architecture of my project?. Does it mean giving them a break-up of the classes? Or something like building a use-case or class diagram? Or perhaps something else?
EDIT: I cannot ask them!
I'd go with UML (Unified Modelling Language). It allows you to lay out classes, methods, inheritance, etc. in a graphical format.
A quick Google search gives this FOSS option:
Umbrello UML Modeller
EDIT: Just realized that's linux-only, so here's the Wikipedia page for a whole bunch of other options.
It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 11 years ago.
I found three related articles on using the DAO pattern with ADO.NET (they're a bit dated, but they seem to make good points about the nature of ADO.NET as of VS2005).
If you were a developer using VS2010 would the points in these articles still hold up?
Part One
Part Two
Part Three
(P.S. I'm a Java developer who recently was picked up for a C#/ASP.NET position)
ADO.NET still work in all version of .NET
For some uses it might be just faster and easier to start with LINQ to SQL or the Entity Framework
I would ignore five year old articles as a general rule. Think how much the industry has changed in the past five years.
I would use Entity Framework instead, and skip right over straight ADO.NET and LINQ to SQL.
It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 12 years ago.
I create an one webpage in asp.net all the time i am facing the following pbm how to rectify it..
if(ds.Tables[0].Rows.Count > 0)
Maybe you need to check that ds.Tables[0] exists first
If you are constantly checking on your pages to see if that dataset has a table with rows, I would think you would want to make some helper class to check that your dataset is not null, and that whatever tables have actual rows. Also you might want to think about moving these to typed datasets.
It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 12 years ago.
Are there any resources that compare the recently released (Jan 13, 2011) asp.net MVC 3 to Rails 3? I've looked around and couldn't find any comparisons but figure there must be something out there.
The last time I used asp.net was with MVC 1 and I'm wondering what sort of improvements they've made since then. I'm fairly new to rails so I'm not sure I can make a good comparison just by looking at asp.net MVC 3 itself. I'm hoping someone more familiar with the two frameworks has already made a comparison.
Sorry if this isn't the right place to ask but I do consider this a programming question.
EDIT:
I'd like to know specific comparisons between the frameworks. Advantages/disadvantages over using one over the other. View engines compared between the two. Static language vs dynamic language (if any comparisons apply). Ease of doing TDD/BDD between them. Features that are unique to each. Tools available, performance considerations, ease of use, etc.
Judging from the lack of responses the answer is either "no" or "not yet".
It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 9 years ago.
asp.net mvc module wise approach or different controller and repository for each table approach is better?
Could you elaborate on your question? I think I understand... I like creating a repository for each table in a LINQ-to-SQL or entities model, for instance. I think that helps group together related logic.
HTH.