For Questions about the ASP.NET MVC 3 Framework
1
vote
2answers
127 views
MVC : Does Code to save data in cache or session belongs in controller?
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 ...
-2
votes
0answers
82 views
How to prevent download video online for website learning online? [closed]
As over question, i'm building website with asp.net mvc. i can't make my site when get this problem. Please, some body give me solution for over problem.
Thank very so much.
2
votes
1answer
214 views
Should I use a CMS for a new large application with a lot of common features (login, profile edit, blog etc)?
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 ...
0
votes
0answers
213 views
ASP.NET Mvc3 - application/request lifetime and dependency injection
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 ...
2
votes
2answers
171 views
Overcoming circular reference
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 ...
0
votes
3answers
225 views
Using xml datatype to store a “shopping cart”
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 ...
3
votes
1answer
373 views
Where to put custom validation while using Entity Framework
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 ...
0
votes
2answers
155 views
Separation of development responsibilities in a new project
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 ...
0
votes
1answer
447 views
Actions and Controllers managing strategy in MVC apps
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 ...
4
votes
3answers
978 views
Is the .NET/Microsoft technology stack a financially viable option for a startup with limited finances?
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 ...
0
votes
1answer
279 views
Why would he say “We don't want to support MVC3”?
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, ...
3
votes
4answers
1k views
How do you deploy your ASP.Net MVC3 application to the production server?
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 ...
3
votes
2answers
655 views
What are the differences between Castle Monorail 3 over ASP.Net MVC?
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 ...
4
votes
1answer
1k views
Session Flash vs TempData C# MVC 3
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 ...
-1
votes
2answers
616 views
Problem with MVC3 application [closed]
I am working on MVC3 application. I use entity framework, NInject, Fluent Validation and some more Nuget packages. I am using Tortoise SVN for versioning.
Recently I changed the structure of my SVN ...
0
votes
1answer
369 views
Building Portfolio ASP.Net MVC
I have been working on building a sample application to add to my portfolio (for freelancing). I am working on building a Shopping website using ASP.Net MVC. My question is - what are the good ...
4
votes
4answers
401 views
Javascript client - which is likely to be better serverside? WCF or MVC3 controller with restful messages?
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 ...
3
votes
3answers
1k views
Unit of work principle is causing a problem in MVC3 application
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 ...
2
votes
3answers
710 views
Telerik ASP.NET MVC components licensing
There's thread on stackoverflow about this
http://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 ...
2
votes
3answers
1k views
My Asp.net MVC is running like a dodo ! Any recommendations
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 ...
1
vote
2answers
638 views
Best practice modelling an active record entity using Linq-To-SQL as DAL
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 ...
25
votes
4answers
976 views
Javascript modularity, server based MVC & business reality
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 ...
9
votes
2answers
6k views
Use-cases for node.js and c#
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 ...
3
votes
2answers
620 views
ASP.NET MVC 3 Blogs to Follow [closed]
What are some good blogs about ASP.NET MVC 3 out there to follow? Anybody know of any?
Thanks in advance.
6
votes
5answers
1k views
Inversion of Control in ASP.NET MVC
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.
...
2
votes
4answers
4k views
Which is better : Storing/retrieving images on/from SQL server or in a directory on server
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 :
...
0
votes
1answer
563 views
Traditional ASP.Net WebForms vs ASP.Net MVC [duplicate]
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 ...
0
votes
1answer
178 views
ELMAH - Where does it fit right…?
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 ...
1
vote
1answer
2k views
Asp.Net MVC CMS or Shopping Cart or any other type of System [closed]
I have been learning Asp.Net MVC for a while now and have gone through numerous tutorial ranging from MVC Music Store to Code-First to Custom Membership to Data Annotations.
In essence, I have a firm ...
2
votes
1answer
1k views
Implementing your own Membership Provider in ASP.NET MVC
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 ...
3
votes
5answers
967 views
Are ASP.NET MVC automated code good enough to be used in real live applications
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 ...
3
votes
3answers
588 views
What is the best way to scale a CQRS system?
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 ...
3
votes
2answers
618 views
ASP.Net MVC ambigious action methods - why the path choosen
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 ...
9
votes
1answer
385 views
Is there a way to visualize an ASP.NET MVC project, ie class diagram but with the web pages too?
Maybe I'm looking for a dependency visualizer/matrix. I'm not sure. I'm just trying to wrap my head around an existing and large web app, and I like pretty pictures. I know of Autodiagrammer but I ...
7
votes
3answers
587 views
What is the biggest obstacle ASP.NET MVC ever had for you? Why and how it can be fixed? [closed]
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 ...
46
votes
22answers
21k views
When to favor webforms over MVC
I know Microsoft has said "MVC is not a replacement for webforms". Some developers say webforms is faster to develop than MVC, but I believe this all comes down to comfort level with the technology; ...
4
votes
3answers
2k views
MVVM or MVC? Want to use the same set of classes for WPF and ASP.NET
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 ...
3
votes
4answers
4k views
Is Microsoft certification a waste for ASP.NET MVC development? (MCTS 70-515 and MCPD) [closed]
I'm at a point where I want to improve my 'marketability' as much as possible before dropping out of permanent programming roles and getting into contracting. I've looked at Microsoft ceritifcation in ...
0
votes
2answers
662 views
Designing an administrator area in my CMS
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 ...
1
vote
3answers
725 views
Models should match table structure, Viewmodels match how the data need to be displayed?
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 ...
1
vote
1answer
848 views
Tips and Tricks on Web Page Design on ASP.NET MVC (Razor Syntax)
I am a newbie in web development and have started studying ASP.NET MVC. I noticed that cshtml replaces aspx when using Razor syntax and design view is not supported. Now designing ASP.NET MVC webpages ...
1
vote
2answers
316 views
Solution organisation
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 ...
5
votes
2answers
783 views
Why does microsoft's own included MVC3 template not follow fat models, skinny controllers?
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")]
...
4
votes
4answers
426 views
When developing a MVC web application should views or models be created first?
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. ...
10
votes
2answers
4k views
How Do You Organize Your ASP.NET MVC 3 Applications? [duplicate]
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 ...
6
votes
4answers
2k views
Whats the logic behind making ViewBag a dynamic object in ASP.NET MVC 3
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 ...
1
vote
2answers
348 views
MVC 3 - Any new features to explore for an existing MVC 2 application?
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 ...
3
votes
1answer
192 views
Merging functionality from two controllers; should I place all actions in one controller?
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 ...
1
vote
2answers
377 views
What are some recommended NuGet packages?
Thought about posting this on programmers.stackexchange.com but figured I would try here first:
Has anyone here worked with NuGet for their projects? I am looking for some recommendations on ...
2
votes
2answers
560 views
Should I migrate to MVC3?
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 ...

