Questions tagged as 'asp.net-mvc'

0
answers

Call procedure in the OnClick area of the Image Map in ASP.NET

Good afternoon, I have this code: <img src="../Image/sala.png" USEMAP="#sala" BORDER=0> <area name="window" shape="poly" coords="633,82,631,117,627,145,625,160,644,162,671" href="" alt="window" title="" OnMouseOver="window.stat...
asked by 30.10.2017 / 21:32
0
answers

Communion socket in Windows service [closed]

Next, I have a problem with an application that I am developing, I need to communicate between a Windows service and a web application, the Windows service will stay on the local machine (client) and I need somehow to communicate with this Windo...
asked by 04.11.2017 / 21:31
2
answers

but this dictionary requires a model item of type 'System.Collections.Generic.IEnumerable'1 [WebApplication4.Models.modelExample]

I can not perform enumeration, I have already switched to another information reception in the View but I do not know how to correct it, I checked other forms in StackOverflow but I did not understand. Model: namespace WebApplication4.Mod...
asked by 25.10.2017 / 15:06
0
answers

Control Dslr camera via web

Personal is as follows: I have a web application that I would like to be connecting to a dslr (professional camera) camera that would be displaying the live image on a Canvas in html or something, and that could literally control the camera thro...
asked by 28.10.2017 / 05:56
1
answer

Parameter passing by GET with Asp.Net MVC?

I am creating a search screen and for this I created a Model with some attributes of type DateTime to do a search by date period. The problem is that when I pass these parameters to the method I always get nulls, but getting the values with R...
asked by 19.10.2017 / 19:04
0
answers

Request status after browser closes

I have an Asp.Net MVC project and I realized that closing the browser immediately after starting a request (without waiting for its due) causes the server to somehow not continue in the next lines of code. / p> I did some research but could no...
asked by 19.10.2017 / 15:57
0
answers

How do I minify a string with CSS or JS content in ASP.NET MVC?

I have some records that contain CSS and JS content that are saved in the database. I want to rescue them and minify them. I've been taking a look at Microsoft Ajax Minify, but I did not think it would solve the problem. Is there a solution?   ...
asked by 06.11.2017 / 15:40
0
answers

Help with error Non-static method requires a target when creating txt file

I have a C # code that creates a txt file and then drops it. The code works fine on my local machine, but when I upload it to the server, it gives an error:    Non-static method requires a target. public ActionResult GeraBpa() {...
asked by 28.10.2017 / 15:45
1
answer

The template item entered in the dictionary is of type 'System.Collections.Generic.List'

I'm developing a project where I have the Patient class inheriting from the User class and I'm using the Entity Framework to map the database tables by type (TPT), when I try to access the browser from the Class View Patient I get the following...
asked by 03.10.2017 / 06:11
0
answers

How to compile C # code at runtime in an ASP.NET MVC5 project?

I tried to use CodeDom , but when I try to search for a specific DLL to execute my code, the Assembly.GetEntryAssembly().Location command always returns me null . It seems that ASP.NET projects are executed an...
asked by 30.10.2017 / 14:44