Questions tagged as 'c#'

2
answers

A way to unify calls in WCF Service?

Greetings to all. I currently have a WCF Service Application running on IIS with many services, with each new service I need a new update and a new client side reference. As I am new to WCF, would you like to know if it is possible to centralize...
asked by 01.07.2014 / 19:04
1
answer

Global.asax file does not load

I have a project in Webforms and wanted to do routes on it. I followed a response they gave me on another topic and everything worked very well, but now I've been creating another project and it seems that I do not recognize the routes I've c...
asked by 06.04.2014 / 19:14
2
answers

Problems with cshtml presentation (Visual)

I have a cshtml, which is shown like this: A sequence of filters that are fixed. When I click on search, then I get the return of a method in the controller via json by a jquery function and in the success of ajax, I add the rest of the html on...
asked by 27.06.2014 / 14:41
1
answer

WebService REST request POST error

When ordering from POST, I get this error message: O servidor remoto devolveu um erro: (400) Pedido incorrecto. IService is defined as follows: [WebInvoke(Method = "POST", UriTemplate = "insert/?id={id}&v={v}&dt={dt}&qt={qt}"...
asked by 28.03.2014 / 18:22
2
answers

execute / call a page remotely

I want to run a remote page, I do not care what this page does, I just need to run it and expect it to load 100% to run another, and so on. I do not need to retrieve any information from this page. Can be in Windows.Form, Console App. with...
asked by 27.03.2014 / 15:40
2
answers

Listview within Listview or Repeat within Repeat?

I need to display some products divided by category, the categories are created by the user and both come from the database TB_CATEGORIA, TB_PRODUTOS, how can I do with Listview, Repeat ? For example:    Specials       Product 1   Prod...
asked by 25.03.2014 / 01:18
2
answers

How do I get the BitRate Mode from an MP3 in C #?

The audio that I have is CBR (Constant bit rate), VBR (Variable bit rate) or AVR (Average bit rate), I tried to use ffmpeg, but it does only the conversion does not return me the mode information of the bitrate?     
asked by 31.03.2014 / 23:24
1
answer

ExtractExistingFileAction.OverwriteSilently is not overwriting the files in a given folder

I have an update solution for an application that uses the DotNetZip API ( link ) for handling ZIP files. One of the methods used is to overwrite files in certain folders as follows. ZipFile zipFile = ZipFile.Read(file); {...
asked by 04.04.2014 / 15:45
1
answer

How to return the value of an Entity Framework field C #

using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Forms; using AuditContatos.Dados; using...
asked by 02.04.2014 / 15:46
1
answer

Resources on app_globalresource

I have a class library where I added a resx file, does anyone know how I can at runtime put this resx on app_globalresource so that it is available in all my app web mvc ?     
asked by 01.04.2014 / 13:33