Skip to main content

Questions tagged [asp.net-mvc-3]

For Questions about the ASP.NET MVC 3 Framework

Filter by
Sorted by
Tagged with
1 vote
2 answers
875 views

I'm working on an MVC application using C#/asp. The project is following an n-tier architecture style with a separate data layer, domain layer and presentation layer. My question is related to the use ...
AnabolicMike's user avatar
0 votes
1 answer
561 views

I am creating some helper functions (mvc.net) for creating common controls that I need in almost every project such as alert boxes, dialogs etc. If these do not contain any business logic and it's ...
Menelaos Vergis's user avatar
4 votes
2 answers
1k views

This question is a result out of the discussion HERE and was moved from HERE. Is it really good practice to supply EVERY value you display in any view via a model? Especially variables like the ...
Christoph Fink's user avatar
1 vote
1 answer
2k views

I've become aware of an itch due to some non-DRY code pertaining to view model classes in an (ASP.NET) MVC web application and I'm thinking of scratching my itch by organizing code in various 'partial ...
Kenny Evitt's user avatar
0 votes
2 answers
686 views

I have a customer who has a client app and when they log in to their client app, they will see a link to my website. When they click on the link, it should log in them in automatically to the website ...
Xaisoft's user avatar
  • 147
1 vote
1 answer
212 views

It was suggested on my Stack Overflow question that this might be better suited to this site, so I'm cross-posting it. I'm working on my first ground-up build of an MVC site. I have a collection of ...
Jeff's user avatar
  • 131
1 vote
2 answers
212 views

We've just finishing up the first release of a database driven web application, which is now in regression testing. The application has an advanced search with many different filtering criteria. When ...
Rayshawn's user avatar
  • 279
0 votes
1 answer
1k views

So I am working on an MVC ASP.NET web application which centers around lots of data and data manipulation. PROBLEM OVERVIEW: We have an advanced search with 25 different filter criteria. I am using a ...
Rayshawn's user avatar
  • 279
2 votes
2 answers
3k views

I'm a bit confused if saving the information to session code below, belongs in the controller action as shown below or should it be part of my Model? I would add that I have other controller methods ...
newbie's user avatar
  • 121
4 votes
1 answer
762 views

I'm currently planning a new ASP.NET MVC3 project which will be quite bespoke. However, there will be a lot of common features (login, profile edit, blog etc). Initially I was planning on building ...
Curtis's user avatar
  • 441
3 votes
0 answers
802 views

I thought of asking on SO, but it seems this is more of a "concept" type question than a "problem" type question. If it needs to be moved, please do so. Anyway, I'm having a tough time finding ...
Ivan Pintar's user avatar
  • 1,177
3 votes
2 answers
569 views

I am working on an asp.net MVC web application which contains several projects. One is BusinessObjects, which contains business logic / processes. Another is EmailGeneration which is used to send ...
Kev's user avatar
  • 177
0 votes
3 answers
1k views

For my final project in school we have to develop an online shop. This shop should have a cart where items can be placed whether or not you are logged in. If you log out the cart shouldn't empty and ...
The_Cthulhu_Kid's user avatar
3 votes
1 answer
1k views

I am using MVC3 and Enitty Framework 4 with the Database first approach. It created the context template with its own validation for the fields based on the database. My question is where should I put ...
DFord's user avatar
  • 1,250
0 votes
2 answers
537 views

We have very recently started a new project (MVC 3.0) and some of our early discussion has been around how the work and development will be split amongst the team members to ensure we get the least ...
dreza's user avatar
  • 3,474
0 votes
1 answer
2k views

Can anyone name any usefull strategy/architectural pattern for allocating actions between different controllers when using MVC pattern for developing web application? I am now developing web app ...
singleton's user avatar
  • 103
5 votes
3 answers
3k views

I have an unpaid internship for a very new startup company with little tech experience that's trying to be a Groupon clone. They're currently using Wordpress and I've been trying to decide what web ...
Ein Doofus's user avatar
-1 votes
1 answer
436 views

I work in a small shop at a fairly big company doing intranet web applications. By small, I mean there is 1 other guy in my position... and he graduated with me last December. (we aren't the only IT, ...
developer1234's user avatar
4 votes
5 answers
3k views

I just want to find out the best practice to deploy your MVC3 application and what tool you use to get the job done. I am using Visual Studio 2010. I publish my web site, then manually backup whats ...
qinking126's user avatar
3 votes
2 answers
2k views

I have been using Castle Monorail for some years now with great success, although I haven't bothered to update the version I'm using (2 or 3 year old). Now I'm making a decision on go to ASP.Net MVC 3 ...
yorch's user avatar
  • 133
3 votes
1 answer
2k views

A little background. A developer I used to work with insisted on disabling Tempdata and using Session Flash for passing data in the return view. Question is, is there any advantage to doing it ...
Brian's user avatar
  • 141
4 votes
3 answers
648 views

I'm looking to write a server side service, which will be accessed from a Javascript/HTML5 client. The client will likely be sending a bunch of restful messages over HTTPS. All other things being ...
blueberryfields's user avatar
4 votes
3 answers
5k views

I am implementing a website using MVC3, Entity Framework 4.1 and Repositoty pattern, Unit of work principle. But I am facing a big problem while implementing this. I have developed a static ...
Pravin Patil's user avatar
1 vote
3 answers
1k views

There's thread on stackoverflow about this https://stackoverflow.com/questions/5524046/is-telerik-extensions-for-asp-net-mvc-free It says that it is ok for internal site, but I think it is still not ...
Giedrius's user avatar
  • 1,334
4 votes
3 answers
7k views

Following is the Url for my website, http://www.price-tag.org . If you visit any category link, you will see it performing very slow. For example, if you visit http://www.price-tag.org/Store/Section/...
Pankaj Upadhyay's user avatar
2 votes
2 answers
2k views

Currently I'm starting a new system on my company, and we are using a good separation between models, views and controllers, basically using Asp.Net MVC 3 for the user UI, and a C# class library for ...
Machado's user avatar
  • 4,140
32 votes
5 answers
3k views

I understand this is a very broad question, but I have worked with various aspects of this problem individually and am struggling to bring all the concepts and technologies together. I'd like to ...
Terry's user avatar
  • 421
10 votes
2 answers
13k views

I do quite a bit of ASP.NET work (C#, MVC), but most of it is typical web development. I do Restful architecture using CRUD repositories. Most of my clients don't have a lot of advanced requirements ...
Chase Florell's user avatar
6 votes
3 answers
2k views

I was going to refactor my ASP.NET MVC application and inject some IoC. Last time I was using IoC, Unity was all the rage, but I hated it. It was difficult to setup and had very nondescript errors. ...
Steve3p0's user avatar
  • 181
8 votes
3 answers
11k views

I am working on a project in Asp.net MVC and need to work with images. There is an SQL database with a Product table. Every product in the table will have it's own image. I have two ways to do this : ...
Pankaj Upadhyay's user avatar
0 votes
1 answer
1k views

Possible Duplicate: When to favor webforms over MVC ASP.Net MVC has been around for some time now. The latest one, i.e MVC3 comes with Razor View Engine. My question: How long is traditional ASP....
Pankaj Upadhyay's user avatar
0 votes
1 answer
402 views

The question title may not be correct. I have worked in a very big ASP.NET web application (without using MVC), there I used a simple error handling strategy : Enclose every statement in try..catch ...
Pravin Patil's user avatar
2 votes
1 answer
2k views

Are there are any specific rules and regulation to follow while developing a custom membership provider. Like, implementing a particular Interface or Abstract class. Or a definite model architecture ...
Pankaj Upadhyay's user avatar
3 votes
5 answers
3k views

I have been trying to get my hands dirty with ASP.NET MVC which looks pretty good (I am not certain, but some users say that even StackOverflow and other StackExchange websites made use of it). The ...
Pankaj Upadhyay's user avatar
5 votes
3 answers
2k views

In the previous months I have been asking a lot of questions concerning the architecture of an application I'm working on. Thanks to the answers the architectural design has changed - in fact, it has ...
L-Four's user avatar
  • 333
5 votes
2 answers
4k views

Is there someone who could shed a light on why ambiguous methods are not allowed in ASP.Net MVC?I updated my question just to clarify it (using Carson63000 example from his answer), the question ...
Major Byte's user avatar
7 votes
3 answers
1k views

What aspects of ASP.NET MVC can be considered bad practices of Microsoft or problematic? In ASP.NET web forms, thing like ViewState, Automatically generated Id and names, single form usage and pattern ...
Saeed Neamati's user avatar
13 votes
3 answers
21k views

I am a newbie in terms of Design Patterns. I just started learning MVC when I am hearing a new buzz, MVVM. I want to learn the insights of both of these by redesigning an old inventory and invoicing ...
RPK's user avatar
  • 4,378
0 votes
2 answers
812 views

I am trying to create a small CMS with ASP.NET MVC3, but I got confused in designing the administrator section. I decided to create two areas, one for users and another for admin. In my CMS I have a ...
user avatar
2 votes
3 answers
4k views

I have a database table with many columns, that I want to display over several pages, similar to a turbo tax style information collection form. With only 1 or 2 items per page. Is it right to ...
MVCylon's user avatar
  • 597
2 votes
2 answers
497 views

I have been working on asp.net applications for 6 years but almost all of it has been extending and maintaining existing applications. I now have the need to develop a new application and I am ...
mob1lejunkie's user avatar
5 votes
2 answers
904 views

From Microsoft's own built in template for MVC3 The model is extremely skinny, having basically no code. Model public class RegisterModel { [Required] [Display(Name = "User name")] ...
MVCylon's user avatar
  • 597
6 votes
4 answers
2k views

I have to build a new application from scratch, so I want to implement it using MVC3 and try to follow general best practices as closely as possible. However, I'm developing it as a one man army. ...
MVCylon's user avatar
  • 597
10 votes
2 answers
5k views

The one thing that I am having a hard time figuring out with developing an extensible application platform in ASP.NET MVC 3 is how to modularize everything into an easy to update and distributable ...
ryanzec's user avatar
  • 2,795
7 votes
4 answers
7k views

Last time I checked C# was loved by many because it's a statically typed language but the introduction of ViewBag in ASP.NET MVC 3 brings the same problem that is there with strings: in a controller ...
Muhammad Hasan Khan's user avatar
1 vote
2 answers
437 views

I have an existing ASP.NET MVC 2 application that is working well and is usually easy to maintain. I had a lull in development yesterday so I upgraded the solution to ASP.NET MVC 3 and everything ...
Mayo's user avatar
  • 1,173
3 votes
1 answer
2k views

Say I have 2 controllers, OrderController and StatusController. OrderController has several CRUD actions for Orders and StatusController has several actions pertinent to changing the satus of Orders (...
Sergi Papaseit's user avatar
3 votes
2 answers
671 views

I have a MVC2 project, my question is: should I migrate to MVC3? Why? I'd like the opinion of some who already migrated, or at least used MVC3 and MVC2. Already read http://weblogs.asp.net/scottgu/...
eestein's user avatar
  • 402
44 votes
2 answers
26k views

The process of doing custom error handling in ASP.NET MVC (3 in this case) seems to be incredibly neglected. I've read through the various questions and answers here, on the web, help pages for ...
RyanW's user avatar
  • 829