Questions tagged as 'asp.net-mvc'

1
answer

Save Request - ASP.NET MVC

I want to make simple ecommerce on my website based on this question: Implementation of Cart Shopping in ASP.NET MVC However, I am in doubt when doing two things: 1st Save the data in the Order table and OrderData, with some data coming fro...
asked by 03.12.2014 / 13:14
1
answer

Design pattern or best practices for dealing with files on virtual disk

Is there a standard or best practices for handling shipping, storage, file publishing, and access control? Environment example: I have a system that will need to have a registration for Calls and News and both need to allow insertion of at...
asked by 26.11.2014 / 02:47
1
answer

Several methods in the same ApiController

I'm creating an Api web project and wanted to put a set of methods on the same ControllerApi. But in methods, I pass a Json object as a parameter. And since their structure is similar (see example), the controller is confused because it think...
asked by 27.10.2014 / 15:07
1
answer

Filter search with Checkbox values

For example, the user entered the title of a publication, and marked the genres Action and Adventure, or the user did not enter any title, but want to see all the publications that fit into these genres. How can I do this search query? My tab...
asked by 17.11.2014 / 00:48
2
answers

click on table and load the information on the screen

This is my table: <div class="col-md-13"> <table data-url="data1.json" data-height="500" data-sort-name="name" data-sort-order="desc" class="table table-striped table-bordered"> <thead> <...
asked by 09.10.2014 / 13:42
1
answer

Lists do not load next to the model

My model: public class Grupo: ModelBase { public Grupo() { this.Itens = new List<Item>(); } public Grupo(string nome): this() { this.Nome = nome; } public string Nome { get; set; } public v...
asked by 16.09.2014 / 22:25
1
answer

Execute procedure with CodeFirst

I'm trying to run a procedure in ASP.NET MVC with CodeFirst. I saw some examples on the internet but they are not working, can anyone help me? public void Copiadados(int Cod_Cli, int Cod_Obra) { SqlParameter p1 = ne...
asked by 13.08.2014 / 19:55
1
answer

Shopping Cart Implementation in ASP.NET MVC

I'm trying to build a "simple" sales system, however, I do not have any knowledge in e-commerce. What I want is the following: The user chooses the products he wants, assembles a cart, and completes the order. Then my question starts: the car...
asked by 18.11.2014 / 06:53
1
answer

Edit list of objects with form POST in MVC C #

I have both classes below. I know how to make a screen to enter the data, and get the data of PERSON and PHONE, by% with% and by% with%. But how to do this on an editing screen? I want to display the data of model and the list of Li...
asked by 27.08.2014 / 02:57
1
answer

Error in foreach

Good evening guys. I have a project for a school that records student data and its occurrences. going straight to my problem: What happens is that I have a page where to show the new occurrences that were generated in the system by a Partial tha...
asked by 26.07.2014 / 01:22