Questions tagged as '.net'

2
answers

How to remove mascara from the field before calling the controller with asp net MVC

In my registration form I have a CNPJ field with the mask set via jquery $("#cnpj").mask("99.999.999/9999-99"); however the value is arriving in my formatted controller, in my database this field is float, is there a way to handle this w...
asked by 04.11.2015 / 00:47
2
answers

Best way to bind objects from 1 to N - asp.net MVC

I'd like to know how to best give the Binding of data in object FuncaoGrupo of my Controller . Each item in the Funcoes list will generate 4 Checkbox in the View. I have the following class: public class GrupoDeUsuari...
asked by 17.11.2015 / 02:39
1
answer

Delay in the first WCF service call

I am developing an application using WCF to distribute, everything is working quietly, however it has a strange thing, whenever I use the service the first time it takes a lot, (almost a minute for a simple search in the database), however I mak...
asked by 25.03.2015 / 03:14
1
answer

Sense / NET: Installation and programmatic configuration

I'm currently working on solutions that require storing files uploaded by users, associating metadata with these files, and making them available to other users and common clean-up tasks. As I do not want to reinvent the wheel, I looked for C...
asked by 13.10.2014 / 20:10
2
answers

Protect ASP.NET source code (aspx)

I have a question regarding ASP.NET: In the case of PHP when placing an application on the server means putting the application's source code. In the case of ASP.NET, (specifically C # with pages in .aspx), is there any way to use it without...
asked by 25.06.2015 / 13:25
0
answers

Views do not recognize @model, @ViewBag, @ViewData

I'm using Mono 5.10.1 and Visual Studio Professional for Mac (Version 7.5.4 build 3) Views do not recognize tags like @model, @ViewBag, and @ViewData, either in old projects that were originally created in Visual Studio 2017 Windows, or in a...
asked by 30.07.2018 / 14:18
1
answer

Can a list of a type not be a list of its 'top' type?

There are some entities in the application I'm developing that need to be sorted by a predefined routine. Thinking about this has created a contract class called ElementoOrdenavel and all entities that can be ordered inherit from thi...
asked by 21.06.2017 / 21:05
2
answers

How to use HTML Agility pack?

How to use the HTML Agility Pack in my Visual Studio project in C #, since I have a table extracted by a webbrowsers object, more when I give some splits in it it gets as an array of almost 700 indexes, I would like to find the elements I wa...
asked by 24.02.2014 / 21:26
0
answers

Post Office - XML PLP

In the post office web service there is a process of sending plp (pre-mailing list), which contains information on postal objects. I'm sending this plp by fechaPlpVariosServicos method. But when the client goes to the agency, this plp giv...
asked by 06.04.2016 / 16:10
3
answers

How to compare two List and delete repeated fields?

How to compare lista1 and lista2 , excluding repeated items in one of them?     
asked by 09.01.2017 / 14:45